@import "variables.css";

.elementor-231 .elementor-element.elementor-element-3ee6ed6 {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-231 .elementor-element.elementor-element-c7ffb5f {
  background-color: var(--couleur-accentuation-logo) !important;
}

.elementor-9 .elementor-element.elementor-element-42f37a1 .elementor-button {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-9 .elementor-element.elementor-element-f0b523f .elementor-button {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-9
  .elementor-element.elementor-element-4af520c
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-c39e7cf
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-034ccf9
  .elementor-button:hover,
.elementor-9
  .elementor-element.elementor-element-4af520c
  .elementor-button:focus,
.elementor-9
  .elementor-element.elementor-element-c39e7cf
  .elementor-button:focus,
.elementor-9
  .elementor-element.elementor-element-034ccf9
  .elementor-button:focus {
  color: white !important;
}

.elementor-9 .elementor-element.elementor-element-c39e7cf .elementor-button,
.elementor-9 .elementor-element.elementor-element-4af520c .elementor-button,
.elementor-9 .elementor-element.elementor-element-034ccf9 .elementor-button {
  fill: var(--couleur-principale-logo) !important;
  color: var(--couleur-principale-logo) !important;
}

.elementor-231
  .elementor-element.elementor-element-c7ffb5f
  > .elementor-widget-container {
  background-color: transparent !important;
}

.elementor-widget-heading .elementor-heading-title {
  color: var(--couleur-principale-logo) !important;
}

.elementor-9
  .elementor-element.elementor-element-278125d
  .elementor-counter-number-wrapper {
  color: var(--couleur-accentuation-logo) !important;
}

/* Swiper container */
.swiper-container {
  width: 100%;
  height: 60vh;
  position: relative;
}

/* Slides */
.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenu des slides */
.slide-content {
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  z-index: 2; /* Pour s'assurer que le contenu est au-dessus de l'image de fond */
}

.slide-content h1 {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 40px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content p {
  font-family: "Agrandir", sans-serif;
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.slide-content .button {
  font-family: "Agrandir Narrow", sans-serif;
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--couleur-secondaire-logo);
  color: #000000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: background-color 0.3s;
}

.slide-content .button:hover {
  background-color: rgba(255, 99, 71, 0.8);
}

/* Images de fond pour chaque slide */
.slide1 {
  background-image: url("wp-content/uploads/2021/images/IMG-20240920-WA0028.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide2 {
  background-image: url("wp-content/uploads/2021/images/a_propos_2-scaled.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide3 {
  background-image: url("wp-content/uploads/2021/images/img_4.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Flèches de navigation */

/* Supprimer les flèches par défaut de Swiper */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* Flèches de navigation personnalisées */
.swiper-button-next,
.swiper-button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box; /* Inclure le padding et la bordure dans la taille totale */
  padding: 0; /* Éviter tout padding qui pourrait déformer le cercle */
  margin: 0;
}

.swiper-button-next {
  right: 15px;
}

.swiper-button-prev {
  left: 15px;
}

.swiper-button-next i,
.swiper-button-prev i {
  color: #fff; /* Couleur de l'icône */
  font-size: 25px; /* Taille de l'icône */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: #007520; /* Fond vert opaque au survol */
}

/* Pagination */

.swiper-pagination {
  position: absolute;
  bottom: 10px; /* Ajuste la distance par rapport au bas de la slide */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* Pour s'assurer que les bullet points restent au-dessus du contenu */
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  width: 12px;
  height: 12px;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #ff7f50;
}

/* Overlay pour assombrir l'image de fond et améliorer la lisibilité du texte */
.swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .slide-content h1 {
    font-size: 32px;
  }

  .slide-content p {
    font-size: 16px;
  }

  .slide-content .button {
    padding: 10px 20px;
  }
}

/* Réinitialiser l'opacité des éléments */
.swiper-slide .slide-content > * {
  opacity: 0;
}

/* Animer le titre */
.swiper-slide-active .slide-content h1 {
  animation: slideInTitle 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

/* Animer la description */
.swiper-slide-active .slide-content p {
  animation: slideInDescription 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

/* Animer le bouton */
.swiper-slide-active .slide-content .button {
  animation: zoomInButton 1.5s ease-out forwards;
  animation-delay: 0.9s;
}

/* Réinitialiser l'opacité des éléments lorsqu'ils ne sont plus actifs */
.swiper-slide:not(.swiper-slide-active) .slide-content > * {
  opacity: 0;
}

/* ****************************** */

/* Conteneur principal de la section */
.section-changement {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  background: #f4f4f9;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Première colonne : Texte */
.text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

/* Titre principal */
.section-title {
  font-family: "Agrandir Text Bold", sans-serif; /* Appliquer Agrandir Text Bold */
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

/* Citation */
.section-quote {
  font-family: "Agrandir Narrow", sans-serif; /* Appliquer Agrandir Narrow */
  font-size: 18px;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid #3498db;
}

.section-quote span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #777;
}

/* Description du texte */
.section-description {
  font-family: "Agrandir", sans-serif; /* Appliquer Agrandir Regular */
  font-size: 16px;
  color: #34495e;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Boutons */
.button-group {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  font-family: "Agrandir Narrow", sans-serif; /* Appliquer Agrandir Narrow pour les boutons */
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--couleur-principale-logo);
  color: #fff !important;
}

.btn-primary:hover {
  background-color: var(--couleur-principale-logo);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--couleur-accentuation-logo);
  color: #fff !important;
}

.btn-secondary:hover {
  background-color: var(--couleur-accentuation-logo);
  transform: translateY(-2px);
}

/* Deuxième colonne : Vidéo */
.gallery-column {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider d'images */
.image-slider {
  position: relative;
  width: 100%;
  max-width: 600px; /* Agrandir la taille du slider */
  height: 350px; /* Agrandir la hauteur du slider */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Images */
.image-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Pagination dots */
.pagination-dots {
  position: absolute;
  bottom: 20px; /* Place les dots à 20px du bas de l'image */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10; /* S'assurer que les dots sont au-dessus des images */
}

.pagination-dots .dot {
  width: 8px;
  height: 8px;
  background-color: rgba(
    255,
    255,
    255,
    0.7
  ); /* Couleur semi-transparente pour visibilité */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.pagination-dots .dot.active {
  background-color: #3498db; /* Couleur pour le dot actif */
}

/* Section Actualités */
.news-section {
  padding: 40px;
  background: #f9f9fb;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  max-width: 1400px; /* Augmente la largeur maximale pour contenir plus d'espace */
  margin: 40px auto; /* Garde la section centrée */
}

.news-title {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}

/* Grille pour les articles avec des cards plus larges */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Ajuste pour quatre colonnes */
  gap: 40px; /* Espacement augmenté entre les cards */
  width: 95%; /* Prend presque toute la largeur du conteneur */
  margin: 0 auto; /* Centrer la grille dans la section */
}

/* Card d'actualité */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.article-image img {
  width: 100%;
  height: 200px; /* Ajusté pour s'adapter à la largeur augmentée */
  object-fit: cover;
}

/* Contenu de l'article */
.article-content {
  padding: 15px;
}

.article-date {
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 12px;
  color: #7f8c8d;
  margin-bottom: 5px;
}

.article-heading {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.article-summary {
  font-family: "Agrandir", sans-serif;
  font-size: 14px;
  color: #34495e;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Bouton Lire la suite */
.read-more-btn {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #3498db;
  border-radius: 25px;
  color: #3498db;
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: #3498db;
  color: #fff;
}

/* Styles pour les cards vides */
.news-card.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f9;
  border: 2px dashed #ddd;
  color: #7f8c8d;
  font-family: "Agrandir Narrow", sans-serif;
}

.placeholder {
  text-align: center;
  font-size: 14px;
}

/* Page Complète de l'Article */
.article-page {
  padding: 40px;
  max-width: 1000px;
  margin: 40px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
}

.header-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 20px;
}

.article-title {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.article-date {
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 30px;
}

.article-body {
  font-family: "Agrandir", sans-serif;
  font-size: 16px;
  color: #34495e;
  line-height: 1.8;
}

.article-body p {
  margin-bottom: 20px;
}

h2 {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 24px;
  color: #2c3e50;
  margin-top: 30px;
  margin-bottom: 15px;
}

.quote {
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #7f8c8d;
  margin: 20px 0;
  padding-left: 20px;
  border-left: 4px solid var(--couleur-principale-logo);
}

.quote span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
}

.article-image-large {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.infographic {
  text-align: center;
  margin: 30px 0;
}

.infographic img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.infographic-caption {
  font-size: 14px;
  color: #7f8c8d;
  margin-top: 10px;
}

/* Section CTA Faire un Don */
.cta-donate {
  margin: 30px 0;
  padding: 20px;
  background: #f4f9ff;
  border-left: 5px solid var(--couleur-principale-logo);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cta-donate h2 {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 22px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.cta-donate p {
  font-family: "Agrandir", sans-serif;
  font-size: 16px;
  color: #34495e;
  margin-bottom: 20px;
}

.donate-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--couleur-principale-logo);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.donate-btn:hover {
  background: var(--couleur-accentuation-logo);
  transform: translateY(-3px);
}

.video-container {
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Boutons de partage sur les réseaux sociaux */
.social-share {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  justify-content: center;
}

.social-btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  color: #fff;
}

.facebook {
  background: #3b5998;
}

.twitter {
  background: #1da1f2;
}

.linkedin {
  background: #0077b5;
}

.social-btn:hover {
  opacity: 0.8;
}

/* Section de commentaires */
.comments-section {
  margin-top: 40px;
}

.comments-section h3 {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  resize: vertical;
  font-family: "Agrandir", sans-serif;
  font-size: 14px;
}

.comment-btn {
  align-self: flex-start;
  padding: 8px 16px;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Agrandir Narrow", sans-serif;
  transition: background-color 0.3s ease;
}

.comment-btn:hover {
  background: #2980b9;
}

.comment {
  margin-top: 20px;
  padding: 15px;
  background: #f4f4f9;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

/* Bouton Retour */
.back-btn {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid var(--couleur-accentuation-logo);
  border-radius: 25px;
  color: var(--couleur-accentuation-logo);
  font-family: "Agrandir Narrow", sans-serif;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.back-btn:hover {
  background: var(--couleur-accentuation-logo);
  color: #fff;
}

/* Section Témoignages */
.testimonials-section {
  /* padding: 60px 20px; */
  /* background: #f9f9fb; */
  /* border-radius: 10px; */
  /* max-width: 1200px; */
  margin: 0px auto;
  text-align: center;
}

.testimonials-title {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 40px;
}

/* Grille de témoignages */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card de Témoignage */
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Avatar Témoignage */
.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #3498db;
}

/* Nom Témoignage */
.testimonial-name {
  font-family: "Agrandir Text Bold", sans-serif;
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Texte Témoignage */
.testimonial-text {
  font-family: "Agrandir", sans-serif;
  font-size: 14px;
  color: #34495e;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr); /* Deux colonnes sur les tablettes */
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr; /* Une seule colonne sur les mobiles */
  }
}

.elementor-236
  .elementor-element.elementor-element-9412da4:not(
    .elementor-motion-effects-element-type-background
  ),
.elementor-236
  .elementor-element.elementor-element-9412da4
  > .elementor-motion-effects-container
  > .elementor-motion-effects-layer {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-2263
  .elementor-element.elementor-element-da7edc2
  > .elementor-background-overlay {
  /* background-color: var(--couleur-terne-deux-logo) !important; */
  background-color: var(--wp--preset--color--vivid-cyan-blue) !important;
  opacity: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.elementor-widget-heading .elementor-heading-title {
  color: white !important;
}

.donation-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 300px;
}

label {
  display: block;
  margin: 10px 0 5px;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background-color: #218838;
}

.payment-link,
.error-message {
  margin-top: 20px;
}

.payment-link a {
  color: #007bff;
  text-decoration: underline;
}

.error-message {
  color: red;
}

/* Popup modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-footer {
  margin-top: 20px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .donation-container {
    width: 90%;
    margin: 0 auto;
  }

  .modal-content {
    width: 90%;
    margin: 20px;
  }
}

/* Cacher les sous-menus par défaut */
.sub-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  padding: 10px;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap; /* Empêche le texte de se couper et fait en sorte que le cadre s'ajuste à la taille du texte */
  min-width: 200px; /* Valeur optionnelle pour définir une largeur minimale du sous-menu */
}

/* Afficher le sous-menu au survol de l'élément parent */
.menu-item:hover .sub-menu,
.menu-item:focus-within .sub-menu {
  display: block;
}

/* Styliser les éléments du sous-menu */
.sub-menu li {
  list-style: none;
  margin-bottom: 10px;
  white-space: nowrap; /* Garde le texte sur une seule ligne, forçant le cadre à s'ajuster */
}

/* Ajuster les liens du sous-menu pour qu'ils s'affichent correctement dans le cadre */
.sub-menu a {
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  display: block;
  white-space: nowrap; /* Empêche le texte de se couper sur plusieurs lignes */
  width: 100%; /* Assure que l'élément lien prend toute la largeur de l'élément */
}

/* Ajout d'un effet de survol sur les liens */
.sub-menu a:hover {
  background-color: #f5f5f5;
}

/* S'assurer que les sous-menus sont alignés sous l'élément parent */
.menu-item {
  position: relative;
  white-space: nowrap; /* Évite que le texte déborde hors du cadre */
}

.elementor-widget-nav-menu
  .elementor-nav-menu--main:not(.e--pointer-framed)
  .elementor-item:before,
.elementor-widget-nav-menu
  .elementor-nav-menu--main:not(.e--pointer-framed)
  .elementor-item:after {
  background-color: var(--couleur-principale-logo) !important;
}

.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a:hover,
.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a.elementor-item-active,
.elementor-231
  .elementor-element.elementor-element-9550d6b
  .elementor-nav-menu--dropdown
  a.highlighted {
  background-color: var(--couleur-principale-logo) !important;
}

/* Styles pour le sélecteur de devise */
.currency-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
  width: 100%;
  justify-content: center;
}

.currency-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 120px;
  height: 90px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.currency-btn.active {
  border-color: var(--primary-color, #007bff);
  background-color: rgba(0, 123, 255, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.payment-method {
  font-size: 11px;
  color: #333;
  font-weight: bold;
  margin: 0 0 4px 0;
  padding: 2px 4px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 3px;
  text-align: center;
}

.currency-icon {
  font-size: 20px;
  margin: 2px 0;
  line-height: 1;
}

.currency-name {
  font-size: 12px;
  font-weight: bold;
  margin: 2px 0 0 0;
  padding: 0;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

@media (max-width: 768px) {
  .currency-btn {
    width: 90px;
    padding: 6px;
    height: 75px;
  }

  .payment-method,
  .currency-name {
    font-size: 10px;
  }

  .currency-icon {
    font-size: 18px;
  }
}

/* Styles généraux pour la page de dons */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 30px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.mini-container {
  margin-bottom: 0;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #eaeaea;
  transition: box-shadow 0.3s ease;
  flex: 1;
  min-width: 30%;
}

.mini-container:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.title {
  background-color: #f5f7fa;
  color: #333;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid #eaeaea;
}

.content {
  padding: 20px;
}

/* Styles pour les boutons de montant */
.montant {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.amount-container {
  padding: 12px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.amount-container:hover,
.amount-container.active {
  background-color: rgba(0, 123, 255, 0.08);
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.amount-container.active {
  background-color: rgba(0, 123, 255, 0.12);
  font-weight: 500;
}

/* Styles pour le champ de montant libre */
.input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  color: #555;
  padding: 6px 10px;
  background-color: #f9f9f9;
  border-radius: 4px;
  border: 1px solid #eaeaea;
}

.input-container input {
  width: 120px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.input-container input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

/* Styles pour le tableau récapitulatif */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border-radius: 4px;
  overflow: hidden;
}

.table th {
  text-align: left;
  padding: 10px;
  background-color: #f5f7fa;
  border-bottom: 1px solid #eaeaea;
  font-weight: 600;
  color: #555;
}

.table td {
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
  color: #333;
}

.table tr:last-child td {
  border-bottom: none;
  font-weight: 500;
}

.table tr:last-child {
  background-color: rgba(0, 123, 255, 0.03);
}

/* Styles pour le bouton de don */
.btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #0069d9;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Styles responsifs */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
  }

  .mini-container {
    min-width: 100%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .montant {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .table th,
  .table td {
    padding: 8px;
    font-size: 13px;
  }

  .content {
    padding: 15px;
  }

  .title {
    padding: 12px 15px;
  }
}
