@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: white !important;
}

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

.elementor-2263
  .elementor-element.elementor-element-da7edc2
  > .elementor-background-overlay {
  background-color: #3498db !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);
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

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

.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;
}

/* 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;
}

body {
  font-family: "Agrandir", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9fb;
  color: #333;
}

/* Styles pour les titres de section */
.section-title {
  font-size: 36px;
  font-family: "Agrandir", sans-serif;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: #3498db;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-title.with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

.section-title.with-icon i.title-icon {
  font-size: 50px;
  margin-right: 15px;
  color: #3498db;
}

/* Styles pour les boutons CTA */
.cta-button {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: #2980b9;
  transform: translateY(-3px);
}

/* Section Contact */
.contact-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Informations de Contact */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 60px;
}

.contact-item {
  display: flex;
  align-items: center;
  width: 45%;
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 30px;
  color: #3498db;
  margin-right: 20px;
  min-width: 40px;
  text-align: center;
}

.contact-item h3 {
  margin: 0 0 5px 0;
  font-size: 20px;
  color: #2c3e50;
}

.contact-item p {
  margin: 0;
  font-size: 16px;
  color: #34495e;
}

.contact-item a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #2980b9;
}

/* Formulaire de Contact et Carte de Localisation */
.contact-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-form,
.contact-map {
  flex: 1 1 48%;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3,
.contact-map h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #3498db;
  outline: none;
}

.contact-form .cta-button {
  align-self: flex-start;
  background-color: #27ae60;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-form .cta-button:hover {
  background-color: #219150;
  transform: translateY(-3px);
}

.contact-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 10px;
}

.contact-cta {
  background-color: #3498db;
  padding: 50px 20px;
  border-radius: 10px;
  color: #fff;
}

.contact-cta h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-cta .cta-button {
  background-color: #e74c3c;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-cta .cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-form,
  .contact-map {
    flex: 1 1 100%;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }

  .section-title.with-icon i.title-icon {
    font-size: 40px;
    margin-right: 10px;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
    margin-bottom: 25px;
  }

  .contact-icon {
    font-size: 25px;
    margin-right: 15px;
  }

  .contact-form,
  .contact-map {
    padding: 30px;
  }

  .contact-form h3,
  .contact-map h3 {
    font-size: 20px;
  }

  .form-group label {
    font-size: 14px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .contact-form .cta-button,
  .contact-cta .cta-button {
    padding: 12px 25px;
    font-size: 14px;
  }

  .contact-map iframe {
    height: 300px;
  }

  .contact-cta h3 {
    font-size: 20px;
  }
}

.elementor-2263 .elementor-element.elementor-element-f69fc08 {
  padding: 0 !important;
}
