/* Palette de couleurs */
:root {
  --primary-color: #0056b3;      /* Bleu principal */
  --secondary-color: #ff6b00;    /* Orange pour les CTA */
  --accent-color: #00c853;       /* Vert pour les badges et succès */
  --dark-color: #333333;         /* Texte principal */
  --light-color: #f8f9fa;        /* Fond clair */
  --gray-color: #6c757d;         /* Texte secondaire */
  --border-color: #dee2e6;       /* Bordures */
  --danger-color: #dc3545;       /* Alertes */
  --white-color: #ffffff;        /* Blanc */
  --black-color: #000000;        /* Noir */
  --gradient-primary: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
}

/* Typographie */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 2rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--light-color);
}

.section-dark {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.section-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.section-gradient {
  background: linear-gradient(135deg, #0056b3 0%, #0088ff 100%);
  color: var(--white-color);
}

/* Header */
header {
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.header-cta {
  margin-left: 30px;
}

/* Hero Section */
.hero {
  background: url('../images/hero-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 180px 0 100px;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white-color);
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.btn-secondary:hover {
  background-color: #e05e00;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.btn-outline:hover {
  background-color: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Cards */
.card {
  background-color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
}

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

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card-text {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.card-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.card-features li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}

.card-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

/* Features */
.feature-box {
  text-align: center;
  padding: 30px;
  margin-bottom: 30px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Testimonials */
.testimonial {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-position {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.testimonial-rating {
  color: #ffc107;
  margin-top: 10px;
}

/* Stats */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  padding: 20px;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1.1rem;
  color: var(--gray-color);
}

/* FAQ */
.accordion {
  margin-bottom: 30px;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.accordion-header {
  background-color: var(--light-color);
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:after {
  content: '+';
  font-size: 1.5rem;
}

.accordion-header.active:after {
  content: '-';
}

.accordion-body {
  padding: 20px;
  display: none;
}

.accordion-body.active {
  display: block;
}

/* Process Steps */
.process-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}

.process-container:before {
  content: '';
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--border-color);
  z-index: -1;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  position: relative;
  padding: 0 15px;
}

.process-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.process-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* Contact Form */
.contact-form {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-contact {
  margin-bottom: 30px;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-links h4 {
  color: var(--white-color);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: var(--white-color);
  transition: background-color 0.3s;
}

.footer-social a:hover {
  background-color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Floating Elements */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 99;
  transition: transform 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #004494;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-container:before {
    display: none;
  }
  
  .process-step {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .stat-item {
    min-width: 150px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .btn-lg {
    padding: 12px 30px;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .stat-item {
    min-width: 120px;
  }
}
