
/* Style pour les popups */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999;
  animation: fadeIn 0.3s ease-out;
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.close-popup:hover {
  color: #333;
}

.open-popup-btn {
  display: block;
  width: min(90%, 300px);
  margin: 1.5rem auto;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, rgb(229, 218, 11) 0%, rgba(229, 232, 85, 0.9) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: clamp(0.9rem, 4vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.1);
  text-align: center;
}

.open-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(217, 203, 4, 0.9);
  background: linear-gradient(135deg, rgb(24, 24, 24) 0%, rgb(234, 231, 54) 100%);
}

.mairie-search-container {
  margin-top: 1rem;
}

.mairie-search-container h3 {
  color: rgb(46, 46, 46);
  font-size: clamp(1.5rem, 5vw, 1.8rem);
  margin-bottom: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.75rem;
  text-align: center;
}

.mairie-search-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, rgb(18, 18, 18), #e3cb02);
  border-radius: 3px;
}

.select2-container--default .select2-selection--single {
  height: clamp(45px, 10vw, 55px);
  padding: 0.75rem 1rem;
  font-size: clamp(1rem, 3vw, 1.1rem);
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.select2-container--default .select2-selection--single:hover {
  border-color: #cbd5e0;
  background: #ffffff;
}

.select2-container--default .select2-selection--single:focus {
  outline: none;
  border-color: rgb(61, 61, 61);
  box-shadow: 0 0 0 3px #e3cb02;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #e3cb02;
  font-size: clamp(1rem, 3vw, 1.1rem);
  line-height: 1.5;
  padding-left: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: calc(clamp(45px, 10vw, 55px) - 2px);
  right: 15px;
}

.select2-container {
  z-index: 10000;
}

.select2-dropdown {
  z-index: 10001 !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.select2-results__option {
  padding: 0.75rem 1rem !important;
  font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
}

.select2-results__option--highlighted {
  background-color: #f8fafc !important;
  color: rgb(40, 40, 40) !important;
}

.select2-search--dropdown {
  padding: 0.75rem !important;
}

.select2-search__field {
  padding: 0.5rem 0.75rem !important;
  font-size: clamp(0.9rem, 3vw, 1.1rem) !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 6px !important;
}

#searchMairieBtn, #reservePanneauxBtn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgb(229, 218, 11) 0%, rgba(229, 232, 85, 0.9) 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.1);
}

#searchMairieBtn:hover, #reservePanneauxBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(79, 70, 229, 0.2);
  background: linear-gradient(135deg, rgb(10, 10, 10) 0%, rgb(234, 231, 54) 100%);
}

.selected-mairie-info {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  display: none;
  border-left: 5px solid rgb(226, 220, 57);
  animation: fadeIn 0.4s ease-out;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
}

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

/* ===== CORRECTIONS HEADER ET LOGO ===== */

/* Header avec Logo et Menu */
.site-header {
  width: 100%;
  background: #1a1a1a;
  padding: 0.75rem 1rem;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
}

/* Conteneur du logo */
.logo-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: clamp(40px, 8vw, 60px);
  width: auto;
  object-fit: contain;
}

/* Menu desktop - visible sur tablette et desktop */
.nav-menu {
  display: none;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-menu ul li a:hover {
  background: rgba(229, 218, 11, 0.2);
  color: #e5da0b;
}

/* Bouton contact */
.contact-btn {
  background: #e5da0b;
  color: #1a1a1a;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1.25rem;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-btn:hover {
  transform: translateY(-2px);
  background: #e3cb02;
  box-shadow: 0 4px 8px rgba(229, 218, 11, 0.3);
}

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

/* Menu mobile */
.mobile-menu {
  display: none;
  width: 100%;
  background: #1a1a1a;
  padding: 1rem 0;
  flex-direction: column;
  align-items: center;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
}

.mobile-menu ul li {
  width: 100%;
}

.mobile-menu ul li a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.mobile-menu ul li a:hover {
  background: rgba(229, 218, 11, 0.2);
}

/* Style pour la bannière CTA (Logo Section) */
.cta-banner {
  width: 100%;
  margin: 0;
  padding: clamp(2rem, 6vw, 3rem) 1rem;
  background: 
    linear-gradient(135deg, rgba(229, 218, 11, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%),
    url('images/logo.png') center / contain no-repeat;
  background-blend-mode: overlay;
  color: white;
  text-align: center;
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-banner p {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: min(90%, 400px);
}

.primary-cta, .secondary-cta {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-decoration: none;
}

.primary-cta {
  background: linear-gradient(135deg, #e5da0b 0%, #e3cb02 100%);
  color: #1a1a1a;
  border: none;
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(229, 218, 11, 0.4);
  background: linear-gradient(135deg, #e3cb02 0%, #e5da0b 100%);
}

.secondary-cta {
  background: transparent;
  color: white;
  border: 2px solid #e5da0b;
}

.secondary-cta:hover {
  background: rgba(229, 218, 11, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(229, 218, 11, 0.3);
}

.testimonial-badge {
  background: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  max-width: min(90%, 350px);
  margin: 1.5rem auto 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stars {
  color: #e3cb02;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: 0.5rem;
}

/* ===== MEDIA QUERIES ===== */

/* Mobile (jusqu'à 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 0.5rem 1rem;
    flex-wrap: nowrap;
  }

  .logo {
    height: 45px;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .contact-btn {
    display: none; /* Caché sur mobile dans le header */
  }

  .nav-menu {
    display: none !important; /* Force hide desktop menu */
  }

  /* Afficher le bouton contact dans le menu mobile */
  .mobile-menu .contact-btn {
    display: flex;
    width: 90%;
    justify-content: center;
    margin: 0.5rem auto;
  }

  .cta-banner {
    padding: clamp(1.5rem, 5vw, 2.5rem) 1rem;
    background-size: cover;
  }
}

/* Tablette (769px à 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-header {
    padding: 1rem 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .nav-menu ul {
    gap: 1rem;
  }

  .nav-menu ul li a {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .contact-btn {
    margin-left: auto;
  }

  .mobile-menu {
    display: none !important;
  }

  .cta-banner {
    padding: 2.5rem 1rem;
  }
}

/* Desktop (1025px et plus) */
@media (min-width: 1025px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .nav-menu ul {
    gap: 2rem;
  }

  .nav-menu ul li a {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
  }

  .contact-btn {
    margin-left: auto;
    padding: 0.6rem 1.5rem;
  }

  .mobile-menu {
    display: none !important;
  }

  .cta-banner {
    padding: 3rem 1rem;
  }

  .cta-buttons {
    flex-direction: row;
    width: min(90%, 500px);
  }

  .primary-cta, .secondary-cta {
    width: auto;
    flex: 1;
  }
}

/* Styles pour les autres sections (conservés) */
.avis {
  padding: clamp(1.5rem, 5vw, 3rem) 0;
  background: #f8fafc;
}

.avis-container {
  text-align: center;
}

.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
}

.avis-item {
  background: white;
  border-radius: 12px;
  padding: clamp(1rem, 4vw, 1.5rem);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.avis-item:hover {
  transform: translateY(-5px);
}

.avis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.avis-author {
  font-weight: 600;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: #333;
}

.avis-rating .stars {
  color: #e3cb02;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.avis-text {
  font-size: clamp(0.85rem, 3vw, 1rem);
  color: #555;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.avis-date {
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  color: #888;
  font-style: italic;
}

.open-avis-popup-btn {
  padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 50px;
  font-weight: 600;
  font-size: clamp(0.85rem, 3vw, 1rem);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #e5da0b 0%, #e3cb02 100%);
  color: #1a1a1a;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.open-avis-popup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(229, 218, 11, 0.3);
  background: linear-gradient(135deg, #e3cb02 0%, #e5da0b 100%);
}
/* Chatbot Container */
#chatbot-wrapper {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: clamp(280px, 90%, 360px);
  height: clamp(50vh, 80vh, 450px);
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#chatbot-header {
  background: linear-gradient(135deg, #e3cb02 0%, #c9b300 100%);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

#chatbot-header button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#chatbot-header button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

#chatbot-header #close-chat {
  font-size: 1.2rem;
}

#chat-messages {
  flex-grow: 1;
  padding: 0.75rem;
  overflow-y: auto;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  position: relative;
  animation: fadeIn 0.3s ease-out;
  word-wrap: break-word;
}

.message-content {
  margin-bottom: 4px;
}

.message-time {
  font-size: clamp(0.65rem, 2vw, 0.7rem);
  opacity: 0.7;
  text-align: right;
  margin-top: 4px;
}

.user-message {
  background: #e3cb02;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 5px;
}

.bot-message {
  background: #f0f0f0;
  color: #333;
  margin-right: auto;
  border-bottom-left-radius: 5px;
}

#quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0.75rem;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

.quick-reply {
  background: #f0f0f0;
  border: none;
  border-radius: 18px;
  padding: 0.4rem 0.75rem;
  font-size: clamp(0.75rem, 2.5vw, 0.8rem);
  cursor: pointer;
  transition: all 0.2s;
  color: #444;
}

.quick-reply:hover {
  background: #e3cb02;
  color: white;
  transform: translateY(-1px);
}

#chat-input {
  display: flex;
  padding: 0.75rem;
  border-top: 1px solid #eee;
  background: white;
  align-items: center;
}

#user-input {
  flex-grow: 1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 0.6rem 0.9rem;
  outline: none;
  font-size: clamp(0.85rem, 2.5vw, 0.9rem);
  transition: all 0.2s;
}

#user-input:focus {
  border-color: #e3cb02;
  box-shadow: 0 0 0 2px rgba(227, 203, 2, 0.2);
}

#send-btn {
  background: #e3cb02;
  color: white;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  margin-left: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

#send-btn:hover {
  background: #d1b900;
  transform: scale(1.05);
}

#send-btn i {
  font-size: 1rem;
}

.typing-indicator {
  color: #666;
  font-style: italic;
  padding: 0.75rem 1rem;
  background: #f0f0f0;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
}

.typing-dots {
  display: inline-flex;
  margin-left: 8px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background-color: #666;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% { 
    transform: scale(0);
  }
  40% { 
    transform: scale(1);
  }
}

.message-content a {
  color: #e3cb02;
  text-decoration: underline;
}

.message-content a:hover {
  color: #c9b300;
}

#chatbot-wrapper.minimized {
  height: 50px;
  width: clamp(100px, 35%, 120px);
  overflow: hidden;
}

#chatbot-wrapper.minimized #chat-messages,
#chatbot-wrapper.minimized #quick-replies,
#chatbot-wrapper.minimized #chat-input {
  display: none;
}

#chatbot-wrapper.minimized #chatbot-header {
  height: 100%;
}

#chat-messages::-webkit-scrollbar {
  width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb {
  background: #e3cb02;
  border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
  background: #d1b900;
}

/* Cookie Consent Banner Styles */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: white;
  padding: clamp(1rem, 3vw, 1.5rem);
  z-index: 10000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

#cookie-consent-banner p {
  margin: 0 0 0.75rem;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  line-height: 1.5;
}

#cookie-consent-banner a {
  color: #e3cb02;
  text-decoration: underline;
}

#cookie-consent-banner a:hover {
  color: #d1b900;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border: none;
  border-radius: 5px;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: linear-gradient(135deg, #e5da0b 0%, #e3cb02 100%);
  color: #1a1a1a;
}

.cookie-btn.accept:hover {
  background: linear-gradient(135deg, #e3cb02 0%, #e5da0b 100%);
  transform: translateY(-2px);
}

.cookie-btn.decline {
  background: #666;
  color: white;
}

.cookie-btn.decline:hover {
  background: #555;
  transform: translateY(-2px);
}

.cookie-btn.customize {
  background: transparent;
  border: 2px solid #e3cb02;
  color: #e3cb02;
}

.cookie-btn.customize:hover {
  background: rgba(227, 203, 2, 0.1);
  transform: translateY(-2px);
}

#cookie-customize-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
}

#cookie-customize-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 10px;
  max-width: min(90%, 500px);
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  color: #333;
}

#cookie-customize-content h3 {
  margin-top: 0;
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  margin-bottom: 1rem;
}

.cookie-option {
  margin-bottom: 1rem;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.cookie-option input {
  width: 20px;
  height: 20px;
}

.cookie-option p {
  margin: 0.3rem 0 0;
  font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  color: #555;
}

.cookie-save-btn {
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  background: linear-gradient(135deg, #e5da0b 0%, #e3cb02 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 5px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
}

.cookie-save-btn:hover {
  background: linear-gradient(135deg, #e3cb02 0%, #e5da0b 100%);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .cta-banner {
    width: 100vw; /* Ensure full width */
    margin: 0;
    padding: 1rem 0; /* Minimal padding */
    background-size: contain; /* Fit logo */
    background-position: center;
  }

  .site-header {
    width: 100vw;
    padding: 0.5rem 0;
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 90%;
    margin-bottom: 0.5rem;
  }

  .nav-toggle {
    top: 0.5rem;
    right: 1rem;
  }

  .popup-content {
    padding: 1rem;
  }

  .open-popup-btn {
    width: 95%;
  }

  #chatbot-wrapper {
    width: 95%;
    right: 2.5%;
    bottom: 0.5rem;
    height: 80vh;
  }

  #chatbot-wrapper.minimized {
    width: clamp(100px, 35%, 120px);
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    padding: 1.5rem;
  }

  .mairie-search-container h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }

  .select2-container--default .select2-selection--single {
    height: clamp(40px, 8vw, 50px);
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .cta-banner {
    width: 100vw;
    padding: 1.5rem 0;
  }

  .site-header {
    flex-direction: column;
  }

  .contact-btn {
    width: 80%;
  }

  .avis-grid {
    grid-template-columns: 1fr;
  }

  .avis-item {
    padding: 1rem;
  }

  .open-avis-popup-btn {
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(0.85rem, 3vw, 1rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cta-banner {
    width: 100%;
    padding: 2rem 0;
  }

  .site-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .contact-btn {
    width: auto;
    margin: 0;
  }

  .nav-toggle {
    display: none; /* Hide toggle on tablet */
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-menu ul li a {
    padding: 0.5rem 1rem;
  }

  .popup-content {
    width: 85%;
    max-width: 700px;
  }

  .avis-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  #chatbot-wrapper {
    width: 340px;
    height: 420px;
  }
}

@media (min-width: 1025px) {
  .cta-banner {
    padding: clamp(2rem, 5vw, 3rem) 0;
  }

  .site-header {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2rem;
  }

  .nav-toggle {
    display: none; /* Hide toggle on desktop */
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    padding: 0;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 1.5rem;
  }

  .nav-menu ul li a {
    padding: 0.5rem 1.5rem;
  }
}

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

#chatbot-wrapper {
  animation: slideUp 0.3s ease-out;
}