/***********************
    GLOBALS
***********************/
body {
  --primary: var(--e-global-color-primary);
  --secondary: var(--e-global-color-secondary);
  --text-color: var(--e-global-color-text);
  --accent-color: var(--e-global-color-accent);
  --text-font: var(--e-global-typography-primary-font-family);
  --title-font: var(--e-global-typography-secondary-font-family);
  --accent-font: var(--e-global-typography-accent-font-family);
  --cookies-text-color: white;
}
body:not(.elementor-editor-active) .animate-text .elementor-heading-title {
  opacity: 0;
}
.elementor-button-link,
.elementor-button {
  font-family: var(--accent-font) !important;
  font-weight: 500;
}
h1,
.title-xl .elementor-heading-title {
  font-family: var(--title-font);
  font-size: clamp(35px, 10px + 3vw, 57px);
  line-height: 1.1;
}
.title-lg .elementor-heading-title {
  font-family: var(--title-font);
  font-size: 31px;
  line-height: 1.5;
  /* @media screen and (max-width: 1024px) {
        font-size: 28px;
    }
    @media screen and (max-width: 767px) {
        font-size: 25px;
    } */
}

.subtitle .elementor-heading-title {
  font-family: var(--text-font);
  font-size: 14px;
  line-height: 1.2;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}
.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}
.elementor-widget-text-editor li:last-child {
  margin-bottom: 0.7rem;
}
.elementor-post__read-more {
  font-weight: 600 !important;
}

/* Commentaires */
#comments .title-comments {
  display: none;
}
.commentrating .fa {
  font-size: 16px;
  margin: 0 5px;
  color: #ffcc00;
}
.comment-form-url {
  display: none;
}

/***********************
    AVIS
***********************/
/* .front-page-avis-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-top: 20px;
}
.meo-avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
}
.meo-avis-author {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.meo-avis-date {
    color: black;
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 600;
}
.meo-avis-rating i {
    color: #ffcc00;
    margin: 0 10px;
    font-size: 23px;
}
.meo-avis-content {
    color: black;
    text-align: center;
}
@media screen and (max-width: 1024px) {
    .meo-avis-author {
        font-size: 25px;
    }
}
@media screen and (max-width: 767px) {
    .meo-avis-content {
        grid-template-columns: 1fr;
    }
} */

/***********************
    TABLEAUX
***********************/
tr,
td {
  background-color: transparent !important;
}
.horaires tr,
.horaires td {
  padding: 0 !important;
  border: none !important;
  line-height: 2.2;
}
.horaires-line {
  display: grid;
  grid-template-columns: 1fr 2fr;
}
@media screen and (min-width: 1024px) {
  .horaires-hour {
    justify-self: end;
  }
}
/***********************
    HOME NEWSLETTER
***********************/
/*
.home-newsletter form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home-newsletter form p {
    flex-grow: 1;
    margin: 0;
    position: relative;
}
.home-newsletter .meo-newsletter-input,
.home-newsletter .meo-newsletter-submit {
    height: 45px;
    padding-left: 25px;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 0;
    border: none;
}
.home-newsletter .meo-newsletter-input::placeholder {
    color: black;
    opacity: 0.5;
    font-family: var(--e-global-typography-primary-font-family);
    font-style: italic;
}
.home-newsletter .meo-newsletter-submit {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
    text-transform: uppercase;
    padding-right: 25px !important;
    padding-left: 25px !important;
}*/
/***********************
    SITEMAP
***********************/
.wsp-container h2 {
  margin-top: 20px;
  /* color: var(--secondary); */
}

.wsp-container li a,
.wsp-container strong {
  font-size: 1rem;
  /* color: var(--primary); */
  padding-left: 10px;
}
.wsp-container li a:hover {
  /* color: var(--secondary); */
}

.wsp-container li::marker {
  color: var(--primary);
  font-family: "Font Awesome 5 Free";
  content: "\f15c";
  font-weight: 900;
}

/***********************
    COOKIES BAR
***********************/
#cookie-notice .cookie-notice-container {
  background-color: var(--primary);
  font-family: var(--text-font);
  color: var(--cookies-text-color);
}
#cookie-notice .cookie-notice-container .cn-button {
  background-color: transparent !important;
  border: 1px solid var(--cookies-text-color) !important;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: var(--text-font) !important;
}
#cookie-notice .cookie-notice-container .cn-button:hover {
  background-color: black !important;
  color: inherit;
}
#cookie-notice .cookie-notice-container a {
  color: inherit;
  font-weight: bold;
}
#cookie-notice .cookie-notice-container a:hover {
  color: black;
}

/***********************
    SMOOTH SCROLL
***********************/

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  /*Corrige les avis Google qui ne vont pas à la ligne*/
  .es-grid-layout {
    display: flex !important;
    flex-direction: column !important;
  }
}

/***********************
    SMOOTH SCROLLZone de Chaladise *******************/

.map-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 400px;
  background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0 auto;
}

.location-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
}

.pin {
  width: 8px;
  height: 8px;
  background-color: #3498db;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.center-location {
  position: absolute;
  top: calc(50% - 25px);
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.center-label {
  background-color: #e74c3c;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.center-pin {
  width: 12px;
  height: 12px;
  background-color: #e74c3c;
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Vagues bleues partant du pin central */
.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #3498db;
  border-radius: 50%;
  animation: wave-animation 3s infinite;
  opacity: 0.7;
}

.wave:nth-child(1) {
  width: 40px;
  height: 40px;
  animation-delay: 0s;
}

.wave:nth-child(2) {
  width: 80px;
  height: 80px;
  animation-delay: 1s;
}

.wave:nth-child(3) {
  width: 120px;
  height: 120px;
  animation-delay: 2s;
}

@keyframes wave-animation {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.3);
  }
  70% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.colmar {
  top: 14%;
  left: 48%;
}

.guebwiller {
  top: 34%;
  left: 28%;
}

.mulhouse {
  top: 65%;
  left: 46%;
}

/* Icône de géolocalisation centrée dans le cercle */
.location-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #17a2b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.location-icon svg {
  width: 20px;
  height: 20px;
}
