/**
 * Styles hors utilitaires Tailwind (CDN) : animations, reCAPTCHA, Material Symbols, dropdown lieu.
 * Aucun build npm — Tailwind vient du script cdn.tailwindcss.com dans home.php.
 */

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 5rem;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.grecaptcha-badge {
  visibility: hidden;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}

.loc-dd-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  border: 1px solid #e8e4de;
  background: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
  color: #555555;
}

.loc-dd-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 130;
  margin-top: 0.25rem;
  max-height: min(15rem, 70vh);
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.5rem;
  border: 1px solid #e8e4de;
  background: #fff;
  padding: 0.25rem 0;
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.loc-dd-option {
  cursor: pointer;
  padding: 0.625rem 1rem;
  color: #1a1a1a;
}

.loc-dd-option:hover:not(.is-disabled) {
  background-color: #82c36a;
  color: #fff;
}

.loc-dd-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.loc-dd-option.is-disabled:hover {
  background: transparent;
  color: #1a1a1a;
}

.loc-dd-option.is-selected {
  background-color: #82c36a;
  color: #fff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Selects natifs : éviter qu’un voisin en grille les masque (stacking context) */
#reservation select.form-select {
  position: relative;
  z-index: 20;
}

#reservation .reservation-field-cell:focus-within {
  z-index: 50;
}

/* Lieux emblématiques — carrousel mobile (scroll tactile, sans flèches) */
.locations-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.locations-carousel::-webkit-scrollbar {
  display: none;
}
