/* Styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }

  body {
    /*font-family: Arial, sans-serif;*/
    font-family: "ProductSansBold", sans-serif;    
    background-color: #fff;
    color: #333;
  }

/* Titres génériques
h1, h2, h3, h4, h5, h6 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 20px 0 10px;
  color: #1a1a1a;
*/


/* Styles spécifiques par niveau */
h1 {
  font-size: 2.5rem;  /* ~40px */
  color: #0056b3;     /* bleu pro */
}

h2 {
  font-size: 3rem;    /* ~32px */
  color: #007bff;
}

h3 {
  font-size: 1.75rem; /* ~28px */
  color: #007bff;
}

h4 {
  font-size: 1.5rem;  /* ~24px */
  color: #0d6efd;
}

h5 {
  font-size: 1.25rem; /* ~20px */
  color: #1a73e8;
}

h6 {
  font-size: 1rem;    /* ~16px */
  color: #343a40;
}

a:hover{
  text-decoration: none;
  color: #ffffff;
}
/* Responsive pour mobile */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }
}

.separator-gradient {
  border: 0;
  height: 4px;
  background: linear-gradient(to right, transparent, #00bcd4, transparent);
  margin: 40px auto;
  width: 80%;
}



  

  .devis-button {
    position: fixed;
    top: 50%;
    right: -180px; /* caché sur le côté */
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px 0 0 5px;
    transition: right 0.3s ease;
    z-index: 9999;
  }
  
  /* Quand on survole */
  .devis-button:hover {
    right: 0;
  }

  
  /* Header */
  header {
    background-image: linear-gradient( 45deg, #007bff 50%, #ffffff 0%);
    background-size: 100% ;
    background-repeat: no-repeat;
    opacity: 0.97;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    align-content: center;
  }

  
  .logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;

  }
  .logo a:hover {
    text-decoration: none;
    color: #ffffff;
  }
  
  /* Menu */
  .navbar {
    
     background-color: #ffffff;
     padding: 20px 0;
     border-radius: 50px;

  }
  
  .menu {
    display: flex;
    list-style: none;
    text-align: center;
  }
  
  .menu li {
    margin-left: 20px;
  }
  
  .menu li a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
  }
  
  .menu li a:hover {
    color: #ff8c00;
  }
  
  /* Hamburger caché sur grand écran */
  .hamburger {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: #007BFF;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
  #hamburger-icon {
    display: inline-block;
    transition: opacity 0.3s ease;
  }
  
  /* Responsive pour mobile */
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .menu {
      display: none;
      width: 100%;
      flex-direction: column;
      
      background-color: #ffffff;
      position: absolute;
      top: 60px;
      left: 0;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
  
    .menu.show {
      display: flex;
      animation: slideIn 0.3s ease-out;
    }
  
    .menu li {
      margin: 10px 0;
    }
  }
  
  /* Animation du menu */
  @keyframes slideIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }

  /* slider */


  .carousel {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
  }
  
  .carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
  }
  
  .carousel-item.active {
    opacity: 1;
    z-index: 2;
  }
  
  .carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoom 10s ease-in-out infinite alternate;
  }
  
  @keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
  }
  
  .carousel-caption {
    position: absolute;
    bottom: 15%;
    left: 10%;
    max-width: 500px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Fond noir transparent */
    color: white;
    border-radius: 10px;
    backdrop-filter: blur(5px);
  }
  
  .carousel-caption h2 {
    font-size: 3rem;
    margin: 0 0 10px;
  }
  
  .carousel-caption p {
    font-size: 1.4rem;
  }
  
  /* Contrôles */
  .carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 123, 255, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 5;
  }
  
  .carousel-control:hover {
    background: rgba(255, 140, 0, 0.9);
  }
  
  .prev {
    left: 20px;
  }
  
  .next {
    right: 20px;
  }
  
  /* Indicateurs */
  .carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
  }
  
  .indicator {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .indicator.active {
    background: #ff8c00;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .carousel-caption {
      left: 5%;
      right: 5%;
      bottom: 10%;
      padding: 15px;
    }
    .carousel-caption h2 {
      font-size: 2rem;
    }
    .carousel-caption p {
      font-size: 1.2rem;
    }
  }

  

  /* a propos section */
  .about {
    padding: 20px 20px;
    background: #ffffff;
  }
  
  .about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
  }
  
  .about-text {
    flex: 1 1 500px;
  }
  
  .about-text h2 {
    font-size: 3rem;
    color: #007BFF; /* Bleu */
    margin-bottom: 20px;
  }
  
  .about-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .about-button {
    display: inline-block;
    padding: 12px 24px;
    background: #FF8C00; /* Orange */
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: background 0.3s;
  }
  
  .about-button:hover {
    background: #e67300;
  }
  
  .about-image {
    flex: 1 1 500px;
  }
  
  .about-image img {
    width: 100%;
    border-radius: 15px;
    /*box-shadow: 0 8px 20px rgba(0,0,0,0.15);*/
    animation: fadeIn 2s ease forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
    .about-text h2 {
      font-size: 2.5rem;
    }
  }


  /* services section */

  .services {
    padding: 20px 20px;
    background: #f1f5f9;
  }
  
  .services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
  }
  
  .services-container h2 {
    font-size: 3rem;
    color: #007BFF;
    margin-bottom: 50px;
  }
  
  .services-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .service-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }
  
  .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .service-card h3 {
    font-size: 1.8rem;
    margin: 20px 0 10px;
    color: #FF8C00;
  }
  
  .service-card p {
    padding: 0 15px 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .services-cards {
      flex-direction: column;
      align-items: center;
    }
  }



 /* section AI */
 .ai-intelligent-section {
  background: linear-gradient(135deg, #f0f2f5, #ffffff);
  padding: 80px 20px;
  font-family: 'Poppins', sans-serif;
}

.ai-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.ai-text {
  flex: 1 1 550px;
}


.ai-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: #555;
}

.ai-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-box {
  background: #fff;
  border-left: 4px solid #5a3ff2;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(90, 63, 242, 0.08);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
}

.feature-box i {
  color: #5a3ff2;
  margin-right: 10px;
}

.feature-box p {
  font-size: 0.95rem;
  color: #555;
}

.btn-ai {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 24px;
  background-color: #5a3ff2;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ai:hover {
  background-color: #3e2ac1;
}

.ai-illustration {
  flex: 1 1 400px;
  text-align: center;
}

.ai-illustration img {
  max-width: 100%;
  height: auto;
}
 

/* testomania */
.testimonials {
  padding: 20px 20px;
  background: #ffffff;
  text-align: center;
}

.testimonial-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
}

.testimonial-card {
  flex: 0 0 300px;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-scroll::-webkit-scrollbar {
  display: none; /* Cache la barre de scroll */
}


/* pourquoi nous choisir */

.why-choose-us {
  padding: 60px 20px;
  background-color: #fff;
}

.choose-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.choose-text {
  flex: 1;
  min-width: 300px;
}


.accordion .accordion-item {
  margin-bottom: 10px;
}

.accordion-header {
  background-color: #007BFF;
  color: #fff;
  padding: 15px;
  font-size: 1.1em;
  border: none;
  border-radius: 35px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.3s;
}

.accordion-header:hover {
  background-color: #FF8C00;
}

.accordion-body {
  background-color: #ffffff;
  padding: 15px;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion-body p {
  margin: 0;
  color: #333;
}

.choose-image {
  flex: 1;
  min-width: 100px;
  text-align: center;
}

.choose-image img {
  max-width: 500px;
  border-radius: 12px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .choose-container {
    flex-direction: column-reverse;
  }

  .choose-text, .choose-image {
    text-align: center;
  }

  .accordion-header {
    text-align: center;
  }
}

  
/* contact */ 
  .contact {
    padding: 20px 20px;
    background: #f4f4f4;
  }
  
  .contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .contact-container h2 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 30px;
  }
  
  .contact-form {
    display: grid;
    gap: 20px;
  }
  
  .contact-form label {
    font-size: 1rem;
    text-align: left;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .contact-form button {
    background: #FF8C00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .contact-form button:hover {
    background: #e07b00;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .contact-form {
      padding: 0 10px;
    }
  }

  
   /* back to top icon */

  #back-to-top {
    position: fixed;
    bottom: 20px;
    right: 90px;
    background-color: #FF8C00;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    border-radius: 10%;
    cursor: pointer;
    display: none;
    transition: background-color 0.3s ease;
  }
  
  #back-to-top:hover {
    background-color: #e07b00;
  }
  
/*  footer section */

  .footer {
    background: #007bff;
    color: #fff;
    padding: 40px 20px;
    font-size: 1rem;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-about, .footer-links, .footer-social {
    flex: 1 1 300px;
  }
  
  .footer-about h4, .footer-links h4, .footer-social h4 {
    font-size: 1.5rem;
    color: #FF8C00;
    margin-bottom: 15px;
  }
  
  .footer-about p {
    color: #ffffff;
    line-height: 1.5;
  }
  
  .footer-links ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin-bottom: 10px;
  }
  
  .footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: #FF8C00;
  }
  
  .footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }


  
  .social-icons {
    display: flex;
    gap: 15px;
  }
  
  .social-icon {
    color: #bbb;
    font-size: 1.5rem;
    transition: color 0.3s;
  }
  
  .social-icon:hover {
    color: #FF8C00;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
  }
  
  .footer-bottom p {
    color: #bbb;
    font-size: 0.9rem;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
    }
    .footer-about, .footer-links, .footer-social {
      text-align: center;
    }
  }

  

  #quote-request {
    padding: 80px 20px;
    background: #f4f4f4;
  }
  
  .quote-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .quote-container h2 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 30px;
  }
  
  .quote-form {
    display: grid;
    gap: 20px;
  }
  
  .quote-form label {
    font-size: 1rem;
    text-align: left;
  }
  
  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .quote-form button {
    background: #FF8C00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .quote-form button:hover {
    background: #e07b00;
  }

  
  /* Style de la fenêtre modale (pop-up) */
.quote-popup {
    display: none; /* Cache la pop-up par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
  }
  
  .quote-form {
    display: grid;
    gap: 20px;
  }
  
  .quote-form label {
    font-size: 1rem;
    color: #e07b00;
  }
  
  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .quote-form button {
    background: #FF8C00;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .quote-form button:hover {
    background: #e07b00;
  }
  

  /* Bouton flottant */
#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s;
  z-index: 1000;
}

#chatbot-button:hover {
  background-color: #0056b3;
}

/* Fenêtre du chatbot */
#chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: white;
  border: 2px solid #007bff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 1000;
}

/* Cacher le chatbot par défaut */
#chatbot-box {
  display: none;
  /* ou utilise visibility: hidden; selon ton besoin */
}

.hidden {
  display: none;
}

/* Header du chatbot */
#chatbot-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Messages */
#chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

/* Champ de saisie */
#chatbot-input {
  border: none;
  border-top: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

#chatbot-send {
  width: 60px;
  padding: 8px;
  border: none;
  background: #007bff;
  color: #fff;
  cursor: pointer;
}
/* Animation d'apparition */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quand visible, anime */
#chatbot-box.show {
  animation: fadeInUp 0.5s ease forwards;
}


