/* RESET ET POLICES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
}

/* CONTAINER GENERAL */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* ---------------- HEADER ---------------- */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* LOGO */
.logo img {
  height: 60px;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* NAVIGATION DESKTOP */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: #0000FF;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #0000FF;
}

.nav-links li a:hover::after {
  width: 100%;
}

.accueil {
  background-color: #2e3e73; /* Fond bleu foncé sur toute la section */
  padding: 80px 0;
}

.accueil .accueil-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  gap: 40px;
}

.accueil .texte {
  flex: 1;
  padding: 40px;
  color: #fff; /* Texte en blanc */
}

.accueil .texte h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.accueil .texte p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.accueil .buttons {
  margin-top: 25px;
}

.accueil .image {
  flex: 1;
  text-align: center;
}

.accueil .image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}



/* ---------------- MENU HAMBURGER MOBILE ---------------- */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}

#menu-toggle {
  display: none;
}

/* ---------------- SECTION ACCUEIL ---------------- */
.accueil {
  background: #0000FF;
  color: #fff;
  padding: 40px 0;
}

.accueil-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.accueil .texte {
  flex: 1 1 500px;
  max-width: 550px;
}

.accueil .texte h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.accueil .texte p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.buttons {
  margin-top: 12px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #0000FF;
  padding: 7px 16px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 8px;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #0000cc;
  color: #fff;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: #0000FF;
}

.accueil .image {
  flex: 1 1 300px;
  text-align: center;
  margin-top: 15px;
}

.accueil .image img {
  max-width: 30%;
  height: auto;
  border: 10px solid black;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* ---------------- SECTION SOLUTION ---------------- */
.solution {
  background: #fff;
  color: #000;
  text-align: center;
  padding: 25px 20px;
}

.solution h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.solution p {
  font-size: 1rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.5;
}

/* ---------------- SECTION SERVICES ---------------- */
.services {
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.services h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.icon-green { color: #2ecc71; }
.icon-blue { color: #3498db; }
.icon-orange { color: #e67e22; }
.icon-red { color: #e74c3c; }
.icon-purple { color: #9b59b6; }
.icon-teal { color: #1abc9c; }

.card h3 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  font-size: 0.95rem;
  color: #333;
}

/* Effet survol : zoom + translation + ombre plus forte */
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* ---------------- SECTION AVANTAGES ---------------- */
.avantages {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.avantages h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* Les cartes sont déjà en .cards et .card mais on ajoute effet spécifique */
.avantage-card {
  transition: transform 0.4s, box-shadow 0.4s;
}

.avantage-card:hover {
  transform: translateY(-8px) rotateZ(-1deg) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Icônes colorées spécifiques */
.icon-yellow { color: #f1c40f; }
.icon-pink { color: #e91e63; }
.icon-cyan { color: #00bcd4; }
.icon-lime { color: #cddc39; }
.icon-brown { color: #795548; }
.icon-navy { color: #34495e; }

/* ---------------- SECTION A QUI S'ADRESSE ---------------- */
.a-qui {
  background: #f9f9f9;
  padding: 40px 20px;
  text-align: center;
}

.a-qui h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.a-qui p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.a-qui ul {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #333;
}

.a-qui ul li {
  margin-bottom: 6px;
}

/* Petite animation à l'apparition */
.a-qui .container {
  animation: fadeInUp 0.8s ease both;
}
/* ---------------- SECTION TEMOIGNAGES ---------------- */
.temoignages {
  background: #f8f8f8;
  text-align: center;
  padding: 40px 20px;
}

.temoignages h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.temoignages p {
  font-size: 1rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.5;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 992px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fff;
    flex-direction: column;
    width: 180px;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 4px 10px rgba(0,0,0,0.1);
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  #menu-toggle:checked ~ .nav .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .menu-icon {
    display: flex;
  }

  .accueil-content {
    flex-direction: column;
    text-align: center;
  }

  .accueil .texte {
    max-width: 100%;
  }

  .buttons {
    justify-content: center;
  }
}
/* ---------------- SECTION TEMOIGNAGES ---------------- */
.temoignages {
  background: #f8f8f8;
  text-align: center;
  padding: 40px 20px;
}

.temoignages h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.temoignages p {
  font-size: 1rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.5;
  margin-bottom: 30px;
}

/* Carousel */
.carousel {
  overflow: hidden;
  position: relative;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card style */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  min-width: 250px;
  max-width: 250px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.testimonial-card .stars {
  color: gold;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.testimonial-card .since {
  font-size: 0.8rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-track {
    animation-duration: 40s;
  }
}
/* ---------------- SECTION STATS ---------------- */
.stats {
  background: #fff;
  padding: 40px 20px;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: auto;
}

.stat-card {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-card h3 {
  color: #0000FF; /* bleu pur pour le chiffre */
  font-size: 2rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-card p {
  color: #000; /* texte en noir */
  font-size: 1rem;
  margin: 0;
}

/* Texte en bas de la section stats */
.stats-info {
  margin-top: 20px;
  color: #000;
  font-size: 1rem;
}


/* questions */




.faq-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.faq-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #333;
}

.faq-container p {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Question - couleurs différentes et douces */
.faq-item:nth-child(1) .faq-question { background: #e3f2fd; color: #0d47a1; }    /* bleu clair */
.faq-item:nth-child(2) .faq-question { background: #e8f5e9; color: #1b5e20; }    /* vert clair */
.faq-item:nth-child(3) .faq-question { background: #fff3e0; color: #e65100; }    /* orange clair */
.faq-item:nth-child(4) .faq-question { background: #f3e5f5; color: #4a148c; }    /* violet clair */

.faq-question {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-question:hover {
  opacity: 0.95;
}

/* Réponses - couleurs différentes, claires et non frappantes */
.faq-item:nth-child(1) .faq-answer { background: #f1f8ff; color: #0d47a1; }
.faq-item:nth-child(2) .faq-answer { background: #f1f8f4; color: #1b5e20; }
.faq-item:nth-child(3) .faq-answer { background: #fff7ec; color: #e65100; }
.faq-item:nth-child(4) .faq-answer { background: #f7f0f9; color: #4a148c; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* Quand active : montrer réponse avec padding */
.faq-item.active .faq-answer {
  max-height: 200px; /* assez pour tout le texte */
  padding: 12px 18px;
}

.icon {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-item.active .icon {
  transform: rotate(45deg);
}





















/* SECTION CONTACT */
.contact {
  background: #f9f9f9;
  text-align: center;
  padding: 40px 20px;
}

.contact h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.contact-btn {
  background: #0000FF;
  color: #fff;
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.3s, transform 0.2s;
}

.contact-btn:hover {
  background: #0000cc;
  transform: scale(1.05);
}

/* Formulaire caché par défaut */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 20px;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  margin-top: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.submit-btn {
  background: #0000FF;
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background: #0000cc;
  transform: scale(1.05);
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: #000;
  color: #ccc;
  padding: 25px 0 10px;
  font-size: 0.95rem;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-left h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
  color: #fff;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon i {
  font-size: 22px;
  transition: color 0.3s;
}

.footer-icon i:hover {
  color: #25D366; /* vert WhatsApp pour hover */
}

.footer-mail {
  font-weight: 600;
}

.footer-infos {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.footer-infos-left, .footer-infos-right {
  flex: 1 1 300px;
}

.footer-infos-left p, .footer-infos-right p {
  margin-bottom: 6px;
  color: #ccc;
}

.footer-infos-right strong {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 12px;
  font-size: 0.9rem;
  border-top: 1px solid #333;
  padding-top: 8px;
  color: #777;
}
.footer {
  background: #000;
  color: #fff;
  padding: 30px 20px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.footer-right a {
  display: inline-block;
  margin-left: 10px;
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}
.footer-right a:hover {
  color: #25D366;
}
.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 10px;
}

/* Icône WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  font-size: 2rem;
  padding: 12px 14px;
  border-radius: 50%;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.service:hover, .advantage:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.number {
  color: #0000FF;
  font-size: 2.2rem;
  font-weight: bold;
}
.stats p {
  color: #333;
  margin-top: 4px;
  font-size: 0.95rem;
}


.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-infos {
    flex-direction: column;
  }

  .footer-right {
    gap: 10px;
  }
}


/* Chatbot toggle button */
#chatbot-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #0000FF;
  color: #fff;
  font-size: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
/* Chatbot toggle button */
#chatbot-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #0000FF;
  color: #fff;
  font-size: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
/* Chatbot toggle button */
#chatbot-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #0000FF;
  color: #fff;
  font-size: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Chatbot window */
#chatbot {
  position: fixed;
  bottom: 150px;
  right: 20px;
  width: 280px;
  background: #fff;
  border: 2px solid #0000FF;
  border-radius: 10px;
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#chatbot-header {
  background: #0000FF;
  color: #fff;
  padding: 8px;
  font-weight: bold;
  text-align: center;
}

#chatbot-messages {
  padding: 10px;
  height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Messages design */
.message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 20px;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  word-break: break-word;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.message.user {
  background: #0000FF;
  color: #fff;
  align-self: flex-end;
}

.message.bot {
  background: #f1f1f1;
  color: #000;
  align-self: flex-start;
}

/* Loader */
.loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 3px solid #0000FF;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Input area */
#chatbot-input-area {
  display: flex;
  border-top: 1px solid #ccc;
}

#chatbot-input {
  border: none;
  padding: 6px;
  flex: 1;
  outline: none;
}

#chatbot-send {
  border: none;
  background: #0000FF;
  color: #fff;
  padding: 6px 10px;
  cursor: pointer;
}
/* Lien WhatsApp dans le chatbot */
.chatbot-link {
  display: inline-block;
  margin-top: 5px;
  color: #25d366; /* vert WhatsApp */
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #25d366;
  padding: 3px 8px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.chatbot-link:hover {
  background: #25d366;
  color: #fff;
}
/* Animation d'apparition douce */
.fade-in {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* Bulles messages du chatbot */
.chatbot-message, .user-message {
  max-width: 70%;
  margin: 6px auto;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
}
.chatbot-message {
  background: #0000FF;
  color: #fff;
  text-align: left;
}
.user-message {
  background: #f1f1f1;
  color: #000;
  text-align: right;
}
