.ratio-40x9 {
    --bs-aspect-ratio: 22.5%;
}

@media (max-width: 768px) {

   .ratio-40x9 {
    --bs-aspect-ratio: 100%;
}
}

/* ==========================================================================
   SECTION ADHÉSION ACF
   ========================================================================== */

/* Section principale */
.adhesion-section {
  background-color: #fff6d5;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Logo en filigrane (watermark) - Maintenant uniquement dans la colonne texte */
.col-lg-6.position-relative {
  min-height: 400px; /* Assure une hauteur minimale pour le filigrane */
}

.adhesion-logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  height: auto;
}

.adhesion-logo-watermark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Contenu texte (doit être au-dessus du filigrane) */
.adhesion-title,
.adhesion-description,
.adhesion-cta {
  position: relative;
  z-index: 1;
}

/* Titre */
.adhesion-title {
  color: #101036;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem !important;
}

/* Description (WYSIWYG) */
.adhesion-description {
  color: #101036;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Style pour les listes dans le WYSIWYG */
.adhesion-description ul,
.adhesion-description ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.adhesion-description li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.adhesion-description strong {
  color: #101036;
}

/* CTA */
.adhesion-cta {
  color: #101036;
}

/* Infos */
.adhesion-info {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Note */
.adhesion-note {
  color: #806600;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Image */
.adhesion-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.adhesion-image img {
  height: 500px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* Bouton avec pulse au survol */
.adhesion-btn {
  background-color: #d902b2 !important;
  border-color: #d902b2 !important;
  color: white !important;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.adhesion-btn:hover {
  background-color: #101036 !important;
  border-color: #101036 !important;
  color: white !important;
}

/* Effet pulse uniquement au survol */
.adhesion-btn:hover::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: inherit;
  animation: adhesion-pulse 1.5s infinite;
  pointer-events: none;
}

@keyframes adhesion-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(217, 2, 178, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(217, 2, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(217, 2, 178, 0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .adhesion-logo-watermark {
    max-width: 350px;
    max-height: 350px;
  }
}

@media (max-width: 992px) {
  .adhesion-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .adhesion-title {
    font-size: 2rem;
  }
  
  .adhesion-image img {
    height: 400px;
  }
  
  .adhesion-logo-watermark {
    max-width: 300px;
    max-height: 300px;
  }
  
  .col-lg-6.position-relative {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .adhesion-cta .d-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  
  .adhesion-btn {
    width: 100%;
    text-align: center;
  }
  
  .adhesion-logo-watermark {
    max-width: 250px;
    max-height: 250px;
  }
  
  .col-lg-6.position-relative {
    min-height: 250px;
  }
}

/* Style pour les écrans très larges */
@media (min-width: 1600px) {
  .adhesion-logo-watermark {
    max-width: 450px;
    max-height: 450px;
  }
}
