/* ===== HOMEPAGE REDESIGN ===== */

/* Search Section - Dark theme with clean inputs */
.search-section {
  background: linear-gradient(135deg, #374151 0%, #2d3748 100%);
  padding: 40px 20px;
  margin: 0;
}

.search-container {
  max-width: 1200px;
  margin: 0 auto;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: center;
}

.search-bar select,
.search-bar button {
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  font-weight: 500;
}

.search-bar select {
  background: #eeeeee;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-bar select:hover {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.search-bar select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 2px 8px rgba(0,0,0,0.15);
}

.search-bar button {
  background: #3b82f6;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.search-bar button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

@media (max-width: 1024px) {
  .search-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .search-bar {
    grid-template-columns: 1fr;
  }
  
  .search-section {
    padding: 30px 15px;
  }
}

/* ===== NOTRE MISSION - Refined ===== */
.mission-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
  padding: 80px 20px;
  text-align: center;
}

.mission-container {
  max-width: 900px;
  margin: 0 auto;
}

.mission-title {
  font-size: 36px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #3b82f6 0%, #1f2937 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mission-text {
  font-size: 22px;
  line-height: 1.6;
  color: #4b5563;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: auto;
}

.mission-highlight {
  background: linear-gradient(120deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 100%);
  padding: 40px;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .mission-section {
    padding: 60px 20px;
  }
  
  .mission-title {
    font-size: 28px;
  }
  
  .mission-text {
    font-size: 18px;
  }
}

/* ===== RETOURS AUTHENTIQUES - Carousel ===== */
.testimonials-section {
  background: #f9fafb;
  padding: 80px 20px;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  margin-bottom: 50px;
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.carousel-button {
  background: #3b82f6;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-button:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.carousel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow: hidden;
}

.testimonial-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 130px;
  border: none !important;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.testimonial-header {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 14px;
  margin: 0;
  line-height: 1.2;
}

.testimonial-role {
  font-size: 12px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

.testimonial-text {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
  font-style: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #3b82f6;
  width: 30px;
  border-radius: 5px;
}

/* CTA Button after carousel */
.testimonials-cta {
  text-align: center;
  padding: 30px;
  background: transparent;
  border-radius: 12px;
}

.testimonials-cta-text {
  color: #1f2937;
  font-size: 25px;
  margin-bottom: 20px;
  font-weight: 600;
}

.testimonials-cta-button {
  background: #3b82f6;
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-cta-button:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
  .carousel-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .carousel-track {
    grid-template-columns: 1fr;
  }
  
  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .testimonials-section {
    padding: 60px 20px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* ===== TRANSFORMATION SECTION ===== */
.transformation-section {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.transformation-container {
  max-width: 900px;
  margin: 0 auto;
}

.transformation-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
  white-space: nowrap;
}

.transformation-subtitle {
  font-size: 22px;
  color: #d1d5db;
  margin-bottom: 40px;
  font-weight: 400;
}

.cta-buttons-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button-primary {
  background: #3b82f6;
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-button-primary:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4);
}

.platform-icons {
  display: flex;
  gap: 8px;
  font-size: 18px;
  color: white;
}

@media (max-width: 768px) {
  .transformation-section {
    padding: 60px 20px;
  }
  
  .transformation-title {
    font-size: 28px;
  }
  
  .transformation-subtitle {
    font-size: 18px;
  }
  
  .cta-buttons-group {
    flex-direction: column;
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 100px 20px;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title {
  font-size: 48px;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -1px;
}

/* FAQ Grid - 2 Columns */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

.faq-question {
  background: white;
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: #1f2937;
  transition: all 0.3s ease;
  user-select: none;
  font-size: 17px;
}

.faq-question:hover {
  background: #f8f9fa;
  color: #3b82f6;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 18px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  background: #f0f7ff;
  border-bottom: 2px solid #3b82f6;
  color: #3b82f6;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item.active .faq-answer {
  padding: 20px 24px;
  max-height: 600px;
  border-top: 1px solid #e5e7eb;
}

.faq-answer-text {
  color: #4b5563;
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .faq-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .faq-question {
    padding: 18px;
    font-size: 15px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 18px;
  }
}

/* ===== FOOTER UPDATES ===== */
.footer-section {
  background: #1f2937;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  margin-bottom: 50px;
  align-items: start;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 800;
  color: #3b82f6;
}

.footer-description {
  color: #9ca3af;
  line-height: 1.8;
  font-size: 15px;
}

.footer-newsletter {
  background: #111827;
  padding: 30px;
  border-radius: 12px;
}

.footer-newsletter-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.footer-newsletter-subtitle {
  font-size: 22px;
  color: #9ca3af;
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
}

.footer-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #374151;
  background: #1f2937;
  color: white;
  border-radius: 6px;
  font-size: 14px;
}

.footer-input::placeholder {
  color: #6b7280;
}

.footer-subscribe-btn {
  background: #3b82f6;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-subscribe-btn:hover {
  background: #2563eb;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h4 {
  color: #191a1e;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-column a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 30px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-newsletter-form {
    flex-direction: column;
  }
}
