/* Styles additionnels pour améliorer la responsivité et l'attractivité */

/* Section CTA */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="0" y="0" /><rect fill="rgba(255,255,255,0.05)" width="50" height="50" x="50" y="50" /></svg>');
  opacity: 0.3;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 24px;
}

.testimonial-info h4 {
  margin: 0;
  font-size: 16px;
  color: var(--primary-color);
}

.testimonial-info p {
  margin: 0;
  font-size: 14px;
  color: var(--dark-gray);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Améliorations pour les formulaires */
.form-container {
  position: relative;
}

.form-shape {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  opacity: 0.1;
  z-index: 0;
}

.form-shape-1 {
  top: -50px;
  right: -50px;
}

.form-shape-2 {
  bottom: -50px;
  left: -50px;
}

/* Améliorations pour les pages légales */
.legal-section {
  position: relative;
}

.legal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(to bottom, var(--light-gray), white);
  z-index: -1;
}

/* Améliorations pour les animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.feature-icon {
  animation: float 3s ease-in-out infinite;
}

/* Responsive Design Improvements */
@media (max-width: 992px) {
  .cta-content h2 {
    font-size: 1.8rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Amélioration des styles pour les éléments de confiance */
.trust-elements {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

/* Amélioration du style des boutons dans le hero */
.hero-buttons .btn {
  min-width: 180px;
}

/* Amélioration de l'accessibilité */
:focus {
  outline: 3px solid rgba(67, 97, 238, 0.3);
  outline-offset: 2px;
}

/* Amélioration des transitions */
a, button, .btn, .feature-card, .testimonial-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
