
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}
/* Personnalisation des dropdowns */
.dropdown-menu {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0.375rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.6rem 1.2rem;
    color: #374151 !important;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8fafc !important;
    color: #004D40 !important;
}

/* Sous-menus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -8px;
    margin-left: 0.1rem;
}

.nav-link {
    transition: color 0.2s;
}

.nav-link:hover {
    color: #004D40 !important;
}

/* Couleur du toggle en mobile */
.navbar-toggler {
    border-color: rgba(0,77,64,0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 77, 64, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.pricing-section {
    background-color: #f9fafb;
}

.text-accent {
    color: #4DB6AC;
}

.text-orange {
    color: #F39C12;
}

.text-primary {
    color: #004D40;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #004D40;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
}

.pricing-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(77, 182, 172, 0.1);
    color: #004D40;
    border-radius: 999px;
    font-size: 0.875rem;
}

.select-button {
    background: #4DB6AC;
    color: white;
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.select-button:hover {
    background: #26A69A;
}

.check-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #4DB6AC;
    margin-right: 0.5rem;
}
/* {# Pricing plan #} */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.pricing-section {
  padding: 4rem 0;
}
h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
h2 span:first-child {
  color: #4DB6AC;
}
h2 span:last-child {
  color: #F39C12;
}
p.subtitle {
  text-align: center;
  color: #6B7280;
  margin-bottom: 2rem;
}
/* Toggle Switch */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
  font-size: 1rem;
}
.active-label {
  color: #004D40;
  font-weight: bold;
}
.inactive-label {
  color: #6B7280;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #4DB6AC;
}
.switch input:checked + .slider:before {
  transform: translateX(26px);
}
/* Grille de cartes */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
/* Carte */
.card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Conteneur supérieur : badge, prix et description */
.card-upper {
  min-height: 150px; /* Hauteur minimale pour aligner les boutons */
}
.card-header {
  margin-bottom: 1.5rem;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}
.price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
}
.price-value {
  font-size: 2rem;
  font-weight: bold;
}
.price-label {
  margin-left: 0.5rem;
  color: #6B7280;
}
.card-description {
  color: #6B7280;
  margin-bottom: 1.5rem;
}
/* Bouton "Sélectionner" */
.select-button {
  width: 100%;
  background-color: #4DB6AC;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s;
}
.select-button:hover {
  background-color: #26A69A;
}
/* Liste des fonctionnalités */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.features-list li .check {
  color: #4DB6AC;
  margin-right: 0.5rem;
  font-weight: bold;
}
/* {# end pricing plan #}
{# partners section #} */
.partner-section{
    background-color:rgb(210, 249, 249) !important;
}
.partner-image {
    width: 250px;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
}

/* pricing card */
/* Styles pour la carte */
.card-pricing {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.card-pricing-upper {
  margin-bottom: 15px;
}

.card-pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.card-pricing-description {
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
  margin: 10px 0;
}

/* Styles du bouton radio */
.select-radio {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(66, 174, 174, 1);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.select-radio:hover {
  border-color: rgba(66, 174, 174, 1);
  transform: scale(1.1);
}

.select-radio:checked {
  background-color: rgba(66, 174, 174, 1);
  border-color: rgba(66, 174, 174, 1);
}

.select-radio:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
}

.select-radio:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Styles existants modifiés */
.price {
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
}

.price-label {
  font-size: 0.6em;
  color: #666;
  margin-left: 5px;
  font-weight: normal;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.features-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.check {
  color: #4CAF50;
  margin-right: 10px;
  font-weight: bold;
}

/* Animation */
@keyframes radio-click {
  0% { transform: scale(1); }
  50% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.select-radio:active {
  animation: radio-click 0.3s ease;
}

/* Dégradé texte */
.gradient-title {
    background: linear-gradient(90deg, #4DB6AC 0%, #8BC34A 50%, #F39C12 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Carrousel */
.partners-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.partner-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .partner-image {
        width: 150px;
        height: 75px;
    }
    
    .carousel-prev, .carousel-next {
        top: 40%;
    }
}

@media (max-width: 480px) {
    .partner-image {
        width: 120px;
        height: 60px;
    }
}

/* {# End parternes section #} */

/* {# Features section #} */
.features-section {
      background: var(--gray-50);
      padding: 4rem 0;
    }
    .features-content {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    @media (min-width: 768px) {
      .features-content {
        flex-direction: row;
      }
    }
    .features-text {
      width: 100%;
    }
    @media (min-width: 768px) {
      .features-text {
        width: 50%;
      }
    }
    .features-text h2 {
      font-size: 2rem;
      font-weight: bold;
      color: var(--dark-teal);
      margin-bottom: 1rem;
    }
    .features-text p {
      color: var(--gray-700);
      margin-bottom: 1rem;
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      width: 100%;
    }
    @media (min-width: 768px) {
      .features-grid {
        width: 50%;
      }
    }
    .feature-item {
      text-align: center;
    }
    .feature-item img {
      width: 100%;
      max-width: 200px;
      border-radius: 8px;
      margin-bottom: 0.5rem;
    }
/* End features section  */
 /* testimonial  */

.testimonials-section {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
  }
  .testimonials-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-teal);
    margin-bottom: 2rem;
  }
  .testimonials-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  @media (min-width: 768px) {
    .testimonials-content {
      flex-direction: row;
      justify-content: space-between;
    }
  }
  .testimonial-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
  }
  .testimonial-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    max-width: 500px;
    width: 100%;
  }
  .testimonial-card blockquote {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1rem;
  }
  .testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .testimonial-author {
    font-weight: bold;
  }
  .testimonial-controls button {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.3s;
  }
  .testimonial-controls button:hover {
    background: var(--hover-orange);
  }

  /* paiement */
  .summary-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.payment-option {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: rgba(66, 174, 174, 1);
}

.payment-option.selected {
    border-color: rgba(66, 174, 174, 1);
    background-color: rgba(76, 175, 80, 0.1);
}

.payment-option img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}


#subscription-summary p {
    margin: 10px 0;
    font-size: 1.1em;
}
@media (min-width: 768px) {
    .md-grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
        div[style*="flex-direction: column"] > div {
            max-width: 100% !important;
            text-align: center;
        }
        
        h1 {
            font-size: 1.875rem !important;
        }
    }