
body {
    background-color: #084165;
  }
  .compas-left-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 1000px; /* ou 150px si tu veux plus discret */
    height: 100vh;
    background-image: url('/assets/img/compas.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center left;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    margin-left:-200px;
    display: none;
  }
  
#home-slider {
    width: 100%;
    max-height: 75vh; /* 🔁 ajuste selon besoin */
    overflow: hidden;
    position: relative;
  }
  
  #home-slider .carousel-item {
    height: 75vh;
    
  }
  
  #home-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Conteneur texte centré */
.carousel-caption {
    bottom: 20%;
    z-index: 5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  }
  
  .animated-title {
    font-family: var(--baloo);
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  
  /* Classe ajoutée dynamiquement à l'élément actif */
  #home-slider .carousel-item.active .animated-title {
    opacity: 1;
    transform: translateY(0);
  }
  @media (max-width: 767px) {
    .animated-title {
      font-size: 1.4rem;
      padding: 0 10px;
    }
  
    .carousel-caption {
      bottom: 15%;
    }
  }
  @media (max-width: 768px) {
    #home-slider .carousel-item {
      height: 300px;
    }
  
    #home-slider .carousel-item img {
      height: 300px;
    }
  
    #realisations-slider .carousel-item img {
      height: 320px;
    }
  }
  

  /*--------------------------------*/
  #transition-compas {
    background-color: #f8f8f8;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  
  .compas-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
  }
  
  /* Compas tournants */
  .compas-image {
    width: 60px;
    height: 60px;
  }
  
  /* Compas gauche */
  .compas-image.left {
    animation: roll-left 6s linear infinite;
  }
  
  /* Compas droite */
  .compas-image.right {
    animation: roll-right 6s linear infinite;
  }
  
  /* Texte fixe */
  .compas-text {
    font-size: 1.5rem;
    font-family: var(--baloo);
    color: #084165;
    /*white-space: nowrap;*/
    white-space: normal;
  }
  
  /* Animations de rotation continues */
  @keyframes roll-left {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  @keyframes roll-right {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
  }
/* Responsive affiné */
@media (max-width: 767px) {
  .compas-text {
    font-size: 1rem;
  }

  .compas-image {
    width: 40px;
    height: 40px;
  }
}
  
  /*-----------------------------------------------------*/
  #presentation {
    padding: 80px 20px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    font-family: var(--baloo), sans-serif; /* Applique Fredoka ou une alternative */
  }
  
  /* Conteneur principal */
  .presentation-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 40px;
  }
  
  /* Bloc texte à gauche */
  .presentation-text {
    flex: 1;
    text-align: left;
    padding-right: 40px;
  }
  /* Modifier l'apparence des éléments strong */
.presentation-text strong {
    font-weight: 500; /* Utilisation d'un poids plus léger */
    color: var(--or); /* Couleur or pour le contraste et l'impact */
  }
  
  /* Titre */
  .presentation-text h2 {
    font-size: 32px;
    font-weight: 700; /* Plus gras pour donner de l'impact */
    color: #084165; /* Couleur bleu principale */
    margin-bottom: 20px; /* Augmentation de l'espace sous le titre */
  }
  
  /* Paragraphe */
  .presentation-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px; /* Ajout d'un espacement sous chaque paragraphe */
  }
  
  /* Séparateur moderne */
  .presentation-separator {
    width: 5px;
    height: 150px;
    background: linear-gradient(180deg, #084165, #c09e0d); /* Transition entre bleu et or */
    border-radius: 3px;
  }
  
  /* Image à droite */
  .presentation-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
  
  .presentation-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .presentation-content {
      flex-direction: column;
      text-align: center;
    }
  
    .presentation-text {
      padding-right: 0;
      text-align: center;
    }
  
    .presentation-separator {
      height: 5px;
      width: 100px;
      margin: 20px auto;
    }
  
    .presentation-image {
      justify-content: center;
    }
  }
  

/*-------------------------------------------------------*/
/* Section Nos Réalisations */
#realisations {
  padding: 80px 20px;
  background: #ffffff;
}

/* Titre de la section réalisations */
#realisations .section-title {
  font-size: 32px;
  color: var(--bleu); /* Utilisation du bleu principal */
  font-weight: 700;
  margin-bottom: 15px;
  font-family: var(--baloo), sans-serif;
}

/* Sous-titre de la section */
#realisations .section-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
  font-family: var(--lora), serif;
}

/* Grille des réalisations */
.gallery {
  display: flex;
  flex-wrap: wrap;
}

/* Card de chaque réalisation */
.realisation-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  background-color: #f8f8f8; /* Fond clair */
}

.realisation-card:hover {
  transform: scale(1.05); /* Effet zoom sur la carte */
}

/* Pour les images */
.realisation-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 300px;
}

/* Overlay avec texte au survol */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-text {
  font-size: 18px;
  color: white;
  text-align: center;
  font-weight: bold;
}

.realisation-card:hover .overlay {
  opacity: 1;
}

/* Bouton voir plus */
.cta-button {
  background: var(--or); /* Utilisation de la couleur or */
  color: white;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background: var(--bleu); /* Transition vers bleu sur hover */
}

/* Responsive */
@media (max-width: 767px) {
  .gallery {
    gap: 15px; /* Ajustement des espacements pour mobile */
  }

  .realisation-card {
    margin-bottom: 20px;
  }

  .realisation-image {
    border-radius: 5px;
  }
}

/*----------------------------------------------*/
/* Section Accompagnement */
#accompagnement {
    padding: 80px 20px;
    background-color: #f8f8f8;
  }
  
  /* Titre principal */
  #accompagnement .section-title {
    font-size: 32px;
    color: var(--bleu); /* Bleu principal */
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--baloo), sans-serif;
  }
  
  /* Sous-titre */
  #accompagnement .section-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 50px;
    font-family: var(--lora), serif;
  }
  
  /* Conteneur des étapes */
  .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    z-index: 1;
  }
  
  /* Étape individuelle */
  .step {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
  }
  .step1 {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 1000%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    height : 170px;
    background:#fbfbfb;
  }
  .step1:hover {
    transform: translateY(-10px); /* Légère animation lors du survol */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Augmentation de l'ombre */
  }
  .step:hover {
    transform: translateY(-10px); /* Légère animation lors du survol */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* Augmentation de l'ombre */
  }
  
  /* Icône dans l'étape */
  .step-icon {
    background-color: var(--or); /* Or */
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-left: auto; /* Ajouté pour centrer l'icône horizontalement */
    margin-right: auto; /* Ajouté pour centrer l'icône horizontalement */
    z-index: 1;
  }
  
  
  /* Titre de chaque étape */
  .step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--bleu); /* Bleu principal */
    margin-bottom: 10px;
  }
  
  /* Texte de chaque étape */
  .step-content p {
    font-size: 16px;
    color: #666;
  }
  
  /* Adaptation mobile */
  @media (max-width: 1024px) {
    .steps {
      flex-direction: column;
      align-items: center;
    }
  
    .step {
      width: 80%;
      margin-bottom: 30px;
    }
  
    .step-icon {
      width: 50px;
      height: 50px;
      font-size: 25px;
    }
  }
  

  /*------------------------------------------------------*/

  /* Section "Démarrer mon projet" */
#demarrer {
    padding: 80px 20px;
    background-color: #f8f8f8;
  }
  
  /* Conteneur principal */
  .demarrer-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  /* Bloc des images */
  .demarrer-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Images à l'intérieur du bloc */
.demarrer-image {
    width: 100%;
    max-width: 500px;
    max-height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    margin: 0 auto; /* Centrage horizontal des images */
  }
  
  
  /* Bloc de texte explicatif */
 /* Bloc de texte explicatif */
.demarrer-text {
    flex: 1;
    text-align: left;
    font-family: var(--lora), serif;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre le texte verticalement */
    align-items: center; /* Centre le texte horizontalement */
    text-align: center; /* Assure que le texte est centré horizontalement */
  }
  
  
  /* Titre de la section */
  .demarrer-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--bleu); /* Utilisation du bleu principal */
    margin-bottom: 20px;
    font-family: var(--baloo), sans-serif;
  }
  
  /* Paragraphe explicatif */
  .demarrer-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  /* Bouton CTA */
  .cta-button {
    background: var(--or); /* Utilisation de l'or pour le bouton */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 20px;
  }
  
  .cta-button:hover {
    background: var(--bleu); /* Changement de couleur au survol */
    color: white;
  }
  
  /* Responsive */
  @media (max-width: 1024px) {
    .demarrer-content {
      flex-direction: column;
      text-align: center;
    }
  
    .demarrer-images {
      align-items: center;
    }
  
    .demarrer-image {
      max-width: 100%;
    }
  }
  /* Conteneur de l'image pour positionner le texte dessus */
.demarrer-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto; /* Centrer horizontalement */
  }
  
/* Conteneur de l'image pour positionner le texte dessus */
.demarrer-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto; /* Centrer horizontalement */
  }
  
  /* Image */
  .demarrer-image {
    width: 100%;
    max-height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    display: block; /* Assurer que l'image est un élément bloc */
  }
  
  /* Overlay avec le texte superposé */
  .image-overlay {
    position: absolute;
    bottom: 0; /* Positionner l'overlay en bas de l'image */
    left: 50%; /* Positionner au centre horizontalement */
    transform: translateX(-50%); /* Centrer horizontalement */
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    padding: 15px;
    border-radius: 10px;
    color: white;
    text-align: center;
    font-family: var(--lora), serif;
    z-index: 2; /* Assurer que le texte est au-dessus de l'image */
    width: 100%; /* Occuper toute la largeur de l'image */
  }
  
  /* Titre du texte superposé */
  .image-overlay h3 {
    font-size: 18px; /* Taille du texte plus petite pour qu'il ne cache pas trop l'image */
    font-weight: bold;
    color: #fff;
    margin: 0;
  }
/*----------------------testimonial -------------------*/
/* Section Témoignages */
#temoignages {
    padding: 80px 20px;
    background-color: #f8f8f8;
    position: relative;
  }
  #temoignages .section-title {
    font-size: 32px;
    color: var(--bleu); /* Utilisation du bleu principal */
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--baloo), sans-serif;
  }
  /* Spécifique au carrousel testimonial uniquement */
  #testimonial-carousel .carousel-inner {
    /*display: flex;*/
    justify-content: center;
  }
  
  #testimonial-carousel .carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
    /*osition: absolute;*/
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  
  #testimonial-carousel .carousel-item.active {
    opacity: 1;
    transform: translateX(-50%) scale(1); /* L'élément actif est centré et agrandi */
  }
  
  #testimonial-carousel .carousel-item-next,
  #testimonial-carousel .carousel-item-prev {
    opacity: 0.5;
    transform: translateX(-50%) scale(0.85); /* Échelle réduite pour les éléments suivants/précédents */
  }
  
  #testimonial-carousel .carousel-item-next,
  #testimonial-carousel .carousel-item-prev {
    z-index: 0;
  }
  
  /* Carte des témoignages */
  .testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    font-family: var(--lora), serif;
  }
  
  /* Titre et pseudo */
  .testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .testimonial-icon {
    font-size: 24px;
    color: #c09e0d; /* Jaune de la charte */
    margin-right: 10px;
  }
  
  .testimonial-pseudo {
    font-size: 20px;
    font-weight: bold;
    color: var(--bleu); /* Bleu de la charte */
  }
  
  /* Message du témoignage */
  .testimonial-message {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  /* Étoiles de notation */
  .testimonial-rating {
    font-size: 18px;
    color: #c09e0d; /* Jaune de la charte */
  }
  
  /* Contrôles du carrousel */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #084165; /* Bleu pour les flèches */
    border-radius: 50%;
    padding: 10px;
  }
  
  /* Ajustements pour mobile */
  @media (max-width: 768px) {
    .testimonial-card {
      max-width: 100%;
      padding: 20px;
    }
  
    .testimonial-pseudo {
      font-size: 18px;
    }
  
    .testimonial-message {
      font-size: 14px;
    }
  }
  
  
        /*------------------------------------faq----------------------------------*/
        .faq-item {
            border: 1px solid #ddd;
            border-radius: 10px;
            margin-bottom: 20px;
            background-color: #f9f9f9;
            overflow: hidden;
            transition: box-shadow 0.3s ease;
          }
          
          .faq-item:hover {
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
          }
          
          .faq-question {
            width: 100%;
            background: none;
            border: none;
            padding: 20px;
            font-size: 20px;
            font-weight: 500;
            color: var(--bleu);
            text-align: left;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--baloo);
            cursor: pointer;
            transition: color 0.3s;
          }
          
          .faq-question:hover {
            color: var(--or);
          }
          
          .faq-answer {
            padding: 0 20px 20px;
            display: none;
            animation: fadeIn 0.3s ease-in-out;
          }
          
          .faq-item.active .faq-answer {
            display: block;
          }
          
          .faq-item.active .faq-question i {
            transform: rotate(180deg);
            transition: transform 0.3s;
          }
          #faq .section-title {
            font-size: 32px;
            color: var(--bleu);
            font-weight: 700;
            text-align: center;
            margin-bottom: 40px;
            font-family: var(--baloo);
          }
          
          .faq-answer p {
            font-size: 17px;
            color: #555;
            line-height: 1.6;
            margin: 0;
          }
          
          @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-5px); }
            to { opacity: 1; transform: translateY(0); }
          }
            /*----------------------------------------------------formulaire --------------------------------*/
  /* Section Formulaire de Contact */
#contact {
    padding: 80px 20px;
    background-color: #f8f8f8;
  }
  
  /* Titre de la section Formulaire */
  #contact .section-title {
    font-size: 32px;
    color: var(--bleu); /* Bleu de la charte */
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Formulaire de contact */
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
  }
  
  .contact-form button {
    background-color: var(--or); /* Jaune de la charte */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: var(--bleu); /* Survol avec le bleu de la charte */
  }
  

/*----------------------------------------------------------------------------------------------*/
/* Section Types d'extension */
#types-extension {
    background-color: #ffffff;
  }
  
  #types-extension .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--bleu);
    font-family: var(--baloo), sans-serif;
  }
  
  #types-extension .section-subtitle {
    font-size: 18px;
    color: #555;
    font-family: var(--lora), serif;
    margin-bottom: 40px;
  }
  
  /* Carte extension */
  .extension-card {
    background: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }
  
  .extension-card:hover {
    transform: translateY(-5px);
    z-index: 1;
  }
  
  .extension-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }
  
  .extension-content {
    padding: 20px;
    z-index: 1;
  }
  
  .extension-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--bleu);
    font-family: var(--baloo), sans-serif;
    margin-bottom: 10px;
    z-index: 1;
  }
  
  .extension-content p {
    font-size: 16px;
    color: #555;
    font-family: var(--lora), serif;
    z-index: 1;
  }
  
  /*-------------------------------------------*/
  