/* Homepage search destination width remains flexible; do not clamp like other pages */
.hero .search-wrapper #destination {
  width: auto !important;
  min-width: 120px !important;
  max-width: none !important;
}
/* RESET SIMPLE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* LAZY LOADING STYLES */
img[data-src] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

img.lazy-loading {
  opacity: 0.3;
}

img.lazy-loaded {
  opacity: 1;
}

img.lazy-error {
  opacity: 0.5;
  filter: grayscale(100%);
}

/* STYLES POUR L'AUTOCOMPLÉTION GOOGLE PLACES */
.pac-container {
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Montserrat', sans-serif;
  z-index: 1000;
}

.pac-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.pac-item:hover {
  background-color: #f8f9fa;
}

.pac-item:last-child {
  border-bottom: none;
}

.pac-item-selected {
  background-color: #007bff;
  color: white;
}

.pac-matched {
  font-weight: 600;
  color: #BB0B0B;
}

.pac-item-selected .pac-matched {
  color: white;
}

/* Police par défaut */
body {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

/* HEADER */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10; /* au-dessus du fond */
}

/* Logo principal */
.header-logo img {
  height: 35px;
  /* Ajustez selon votre logo */
}

/* Lien pour le logo (vers index.html) */
.logo-link {
  display: inline-block;
  text-decoration: none;
  color: inherit; /* hérite de la couleur parent */
}

/* Conteneur de droite (texte + icône utilisateur) */
.header-user {
  display: flex;
  align-items: center;
  gap: 6rem; /* Ajustez l'espace horizontal entre les éléments */
}

/* Lien "METTRE MON EVENEMENT SUR MAPEVENTS" */
.add-event-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;  /* ou 700 si vous voulez plus épais */
  font-size: 0.7rem; /* ajustez selon votre design */
}

/* Effet au survol (optionnel) */
.add-event-link:hover {
  color: #dedede;
}

/* Liens "NEWS" et "MES FAVORIS" */
.news-link,
.favorites-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;  /* ou 700 si vous voulez plus épais */
  font-size: 0.7rem; /* ajustez selon votre design */
  margin-right: 1rem;
}


/* Effet au survol (optionnel) */
.news-link:hover,
.favorites-link:hover {
  color: #dedede;
}

/* Ajuster la taille de l'image user.png */
.user-icon {
  width: 60px;   /* Ajustez la largeur */
  height: 60px;  /* Ajustez la hauteur */
  object-fit: contain; /* ou cover, selon le rendu souhaité */
}

.user-icon-link:hover .user-icon {
  filter: brightness(80%); /* Par exemple, un léger assombrissement au survol */
}

/*Section HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* background: #225; Fallback couleur si la vidéo ne se charge pas */
  /* background-image: none; Supprimez la référence à l'ancienne image */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* recadre la vidéo pour remplir tout l'écran */
  z-index: -1;       /* place la vidéo derrière le reste du contenu */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}


/* Conteneur principal de la zone de recherche */
.search-wrapper {
  position: relative;
  z-index: 1; /* au-dessus de l'overlay */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-top: 3rem; /* pour éviter de coller trop au header */
}

/* --- Barre de recherche conteneur --- */
.search-bar {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  width: fit-content;
  max-width: 90%;
  padding: 0.5rem 1.2rem;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.search-bar:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* --- Chaque bloc (Destination, Quand ?, Activité) --- */
.search-field {
  display: flex;
  flex-direction: column;
  margin: 0 2rem;
  position: relative;
  flex: 1;
  min-width: 0;
}

/* Réduire la section Localisation pour donner plus d'espace à la date */
.search-field:first-child {
  flex: 0 1 120px;
  max-width: 120px;
}

/* Limiter la section Activité à une taille raisonnable */
.search-field:last-of-type {
  flex: 0 1 160px;
  max-width: 160px;
  min-width: 140px;
}

/* Titre au-dessus du champ */
.field-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Séparateur vertical entre les champs */
.separator {
  width: 1px;
  height: 1.8rem;
  background-color: rgba(150, 150, 150, 0.3);
  margin: 0 0.7rem;
}

/* Champs de saisie */
.search-field input {
  border: none;
  outline: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  min-width: 100px;
  color: #333;
  background: transparent;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* Champ de localisation spécifique */
.search-field:first-child input {
  min-width: 100px;
  max-width: 100px;
}


.search-field input:focus {
  transform: scale(1.02);
}

/* Placeholder du champ texte */
.search-field input::placeholder {
  color: #999;
  font-weight: 400;
}

/* Pour le menu déroulant */
.search-field select {
  border: none;
  outline: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  min-width: 160px;
  max-width: 180px;
  color: #333;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 16px 16px;
  padding-right: 20px;
  transition: all 0.2s ease;
}

.search-field select:focus {
  transform: scale(1.02);
}

/* Style pour les options du select ouvert */
.search-field select option {
  padding: 8px 12px;
  color: #333;
}

/* Style pour le select (état fermé) */
.search-field select {
  color: #999;
}

/* Lorsque la valeur change */
.search-field select:focus,
.search-field select:active,
.search-field select.changed {
  color: #333;
}

/* Bouton de recherche */
.search-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

/* Ajustez la taille de l'icône */
.icon-search {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Texte du bouton (caché par défaut) */
.search-text {
  display: none;
}

/* Effet hover du bouton */
.search-btn:hover .icon-search {
  transform: scale(1.1);
}

/* === STYLES POUR LA FONCTIONNALITÉ DATE/PÉRIODE === */

/* Conteneur principal de la date */
.date-field {
  min-width: 180px;
  max-width: 200px;
  flex: 0 1 200px;
}

/* En-tête avec titre et toggle */
.date-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  gap: 0.3rem;
  flex-wrap: nowrap;
}

/* Toggle pour activer/désactiver la période */
.date-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.toggle-label {
  font-size: 0.6rem;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Switch toggle moderne */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  cursor: pointer;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ddd;
  transition: 0.3s ease;
  border-radius: 18px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #BB0B0B;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(14px);
}

/* Mode période - conteneur des 2 dates */
.date-range {
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.date-inputs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
}

.date-range-input {
  border: none;
  outline: none;
  font-size: 0.75rem;
  padding: 0.2rem 0;
  width: 58px !important;
  max-width: 58px !important;
  color: #333;
  background: transparent;
  font-weight: 500;
  transition: all 0.2s ease;
  flex: none;
  text-align: left;
}

.date-range-input:focus {
  transform: scale(1.02);
}

.date-range-input::placeholder {
  color: #999;
  font-weight: 400;
}

/* Supprimer l'icône calendrier des champs de date */
.date-range-input::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit {
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit-fields-wrapper {
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit-text {
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit-month-field {
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit-day-field {
  -webkit-appearance: none;
}

.date-range-input::-webkit-datetime-edit-year-field {
  -webkit-appearance: none;
}


/* Forcer le style pour tous les champs de période */
.date-range-input {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  cursor: pointer !important;
}


/* Animation d'apparition/disparition */
.date-range[style*="display: none"] {
  opacity: 0;
  transform: translateY(-5px);
}

.date-single, .date-range {
  transition: all 0.3s ease;
}

/* Hover effects */
.toggle-switch:hover .toggle-slider {
  box-shadow: 0 0 8px rgba(187, 11, 11, 0.3);
}

.toggle-switch input:checked:hover + .toggle-slider {
  background-color: #a00a0a;
}

/* Positionne le conteneur au bas de la page */
.scroll-indicator {
  position: absolute;
  bottom: 0px;           /* Ajustez la distance du bas */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index: 2;             /* Au-dessus de la vidéo et de l'overlay */
}

/* Le lien englobant la ligne + le texte */
.scroll-link {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;            /* Espace entre le texte et la ligne */
}

/* Le texte au-dessus de la ligne */
.scroll-text {
  font-size: 0.7rem;        /* Ajustez la taille */
  text-transform: uppercase;
  letter-spacing: 0px;    /* Espacement entre lettres */
  margin: 0;
  font-weight: 300;       /* Ou 400/600 selon vos préférences */
}

/* La ligne verticale blanche animée */
.scroll-line {
  width: 2px;             /* Épaisseur de la ligne */
  height: 50px;           /* Hauteur par défaut */
  background-color: #fff;
  transform-origin: center bottom;
  animation: linePulse 2s infinite;
}

/* Animation "pulse" (la ligne s'allonge et se rétracte) */
@keyframes linePulse {
  0%, 100% {
    transform: scaleY(0.5);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Section blanche */
.page-blanche {
  background-color: #fff;
  color: #000;
  min-height: 100vh;
  padding: 2rem;
}
/* Pour un défilement fluide (optionnel) */
html {
  scroll-behavior: smooth;
}

/* Utilitaires communs */
.spacer {
  height: 20px;
}


/* ======= SECTION RECHERCHE PAR CATEGORIES ======= */
.categories-section {
  background-color: #fff; 
  color: #000;
  padding: 2rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.categories-section h2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

/* Conteneur du carrousel */
.categories-container {
  position: relative;
  width: 100%;
}

/* Image arrondie sans cropping */
.category-item img {
  width: 100%;
  border-radius: 8px;
}

/* Nom de la catégorie */
.category-item p {
  margin-top: 0.5rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
}

a.category-item{
  text-decoration: none;
}

/* Espacement entre chaque slide */
.slick-slide {
  margin: 30px 20px;
}

/* Boutons Slick personnalisés */
.categories-section .slick-prev,
.categories-section .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #fff;
  border: 2px solid #d9d9d9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.categories-section .slick-prev:hover,
.categories-section .slick-next:hover {
  background-color: #d9d9d9;
  transform: translateY(-50%) scale(1.1);
}

.categories-section .slick-prev::before,
.categories-section .slick-next::before {
  content: "";
  border: solid #d9d9d9;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 8px;
}

.categories-section .slick-prev::before {
  transform: rotate(135deg);
}

.categories-section .slick-next::before {
  transform: rotate(-45deg);
}

.categories-section .slick-prev:hover::before,
.categories-section .slick-next:hover::before {
  border-color: #fff;
}

.categories-section .slick-prev {
  left: 15px;
}

.categories-section .slick-next {
  right: 15px;
}

.category-item.slick-center {
  transform: scale(1.2);
  transition: transform 0.3s ease;
  z-index: 2;
}


/* ======= SECTION RECHERCHE PAR VILLES ======= */
.search-by-city {
  margin-top: 1rem;
  background-color: #fff;  /* Même fond blanc que la page ? */
  color: #000;            /* Texte en noir */
  padding: 2rem;
  /* Optionnel : si tu veux séparer visuellement, ajoute un border-top ou un margin-top */
  /* border-top: 1px solid #ccc; */
  /* margin-top: 2rem; */
}

/* Titre */
.search-by-city h2 {
  margin: 0 auto 1.5rem;
  max-width: 1060px; /* même largeur que la section des évènements */
  font-size: 1.3rem;
  text-align: left;
  /* Optionnel : ajouter un padding pour ajuster la distance du bord */
  padding-left: 2rem;
}


/* Liste horizontale des villes */
.cities-list {
  display: flex;          /* Les items s'alignent en ligne */
  justify-content: center;  /* Ajout pour centrer */
  gap: 2rem;              /* Espace horizontal entre les items */
  overflow-x: auto;       /* Barre de défilement horizontal si trop d'images */
  scrollbar-width: none;  /* Cacher la scrollbar sur Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.cities-list::-webkit-scrollbar {
  display: none;         /* Cacher la scrollbar sur Chrome, Safari, Opera */
}

/* Chaque bloc ville */
.city-item {
  flex: 0 0 auto;        /* Empêche la réduction automatique */
  text-align: center;    /* Centrer le texte sous l'image */
  min-width: 120px;      /* Largeur minimale, ajuste selon tes goûts */
}

/* Image */
.city-item img {
  width: 220px;          /* Ajuste la taille de l'image */
  height: 220px;         /* Pour un rendu carré, par exemple */
  object-fit: cover;     /* Recadre l'image si besoin */
  border-radius: 8px;    /* Coins arrondis */
}

/* Nom de la ville */
.city-item p {
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #000;
}

a.city-item{
  text-decoration: none;
}

/* ===== SECTION : LES ÉVÈNEMENTS EN VOGUE ===== */
.events-popular {
  background-color: #fff; /* fond blanc (cohérent avec ta page) */
  color: #000;
  padding: 2rem;
  /* Limite la largeur max pour éviter que les images ne deviennent trop grandes */
  max-width: 1060px; /* Ajuste selon ton goût (900, 1000, 1200, etc.) */
  margin: 2rem auto;    /* Centre le conteneur horizontalement */
}

/* Titre principal */
.events-popular h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Sous-titre */
.events-popular p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #555; /* Une nuance de gris, par exemple */
}

/* Grid moderne pour les événements en vogue */
.vogue-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Première ligne : 2 cartes qui prennent chacune 3 colonnes */
.vogue-card.large {
  grid-column: span 3;
}

/* Deuxième ligne : 3 cartes qui prennent chacune 2 colonnes */
.vogue-card.medium {
  grid-column: span 2;
}

/* Chaque carte d'événement */
.vogue-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

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

/* Conteneur d'image */
.vogue-image-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.vogue-card.large .vogue-image-container {
  height: 350px;
}

/* Images avec contrôle strict de la taille */
.vogue-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vogue-card:hover .vogue-image-container img {
  transform: scale(1.05);
}

/* Overlay gradient */
.vogue-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  pointer-events: none;
}

/* Informations de l'événement */
.vogue-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: white;
  z-index: 2;
}

/* Titre de l'événement */
.vogue-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.3rem 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vogue-card.large .vogue-title {
  font-size: 1.5rem;
}

/* Lieu de l'événement */
.vogue-location {
  font-size: 0.9rem;
  font-weight: 300;
  margin: 0;
  color: rgba(207, 207, 207, 0.85) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .vogue-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .vogue-card.large,
  .vogue-card.medium {
    grid-column: span 1;
  }
  
  .events-popular {
    padding: 1rem;
  }
  
  .events-popular h2 {
    font-size: 1.3rem;
  }
  
  .vogue-info {
    padding: 1.5rem;
  }
  
  .vogue-title {
    font-size: 1.1rem;
  }
  
  .vogue-card.large .vogue-title {
    font-size: 1.3rem;
  }
}

/* ===== SECTION NEWSLETTER (Bas de page) ===== */
.newsletter-section {
  background-color: #fff;     /* ou une autre couleur de fond */
  color: #000;
  padding: 2rem 2rem;        /* espace autour de la section */
  margin-top: 2rem;          /* espace au-dessus si besoin */
}

.newsletter-wrapper {
  display: flex;             /* disposition en colonnes (image à gauche, texte à droite) */
  align-items: center;
  justify-content: space-between;
  gap: 2rem;                 /* espace horizontal entre l'image et le contenu */
  max-width: 1000px;         /* limite la largeur totale, ajuste si besoin */
  margin: 0 auto;            /* centre le conteneur */
}

/* Colonne image à gauche */
.newsletter-image img {
  width: 300px;              /* ajuste la taille de l'image */
  height: auto;
  border-radius: 8px;        /* coins arrondis */
  object-fit: cover;         /* recadre si l'image a un ratio différent */
}

/* Colonne texte à droite */
.newsletter-content {
  flex: 1;                   /* occupe l'espace restant */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Titre */
.newsletter-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Sous-titre */
.newsletter-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Formulaire */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;           /* pour s'adapter sur petits écrans */
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* Champ email */
.newsletter-form input[type="email"] {
  flex: 1;                   /* prend toute la place dispo */
  min-width: 200px;          /* largeur min */
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 25px;
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border: 1px solid #ccc;
  box-shadow: none;
  color:#333;
}


/* Bouton */
.newsletter-form button {
  background-color: #BB0B0B;    /* couleur de fond du bouton */
  border: 2px solid white; 
  /* Fix pour Safari: remplacer outline par un box-shadow qui simule l'outline */
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  color: #fff;
  border-radius: 25px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-left: -3.5rem;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* Hover bouton */
.newsletter-form button:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
}

/* Petit texte légal */
.newsletter-content small {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.2;
}

/* Liens dans le small */
.newsletter-content small a {
  color: #666;
  text-decoration: underline;
}

/* RESPONSIVE (mobile) : si l'écran est plus étroit, l'image passe au-dessus du texte */
@media (max-width: 768px) {
  .newsletter-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .newsletter-image img {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* SECTION : CETTE SEMAINE */
.this-week-section {
  background-color: #fff; /* même fond que votre page */
  color: #000;
  max-width: 1060px; /* pour aligner avec la section précédente */
  margin: 2rem auto;    /* centrage horizontal */
  padding: 2rem 2rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .this-week-section {
    padding: 2rem 1rem; /* padding réduit sur mobile */
    margin: 1rem auto;
  }
  
  .this-week-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem; /* légère indentation du titre */
  }
  
  .this-week-cards {
    padding-left: 0.5rem; /* commence un peu décalé du bord */
    padding-right: 0.5rem;
    gap: 0.8rem; /* espace légèrement réduit entre les cartes */
  }
  
  .this-week-card {
    width: 160px;     /* largeur adaptée pour mobile */
    min-width: 160px;
  }
  
  /* Hauteur d'image légèrement réduite sur mobile */
  .this-week-card img {
    height: 120px;
  }
}

/* Titre de la section */
.this-week-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Conteneur horizontal scrollable */
.this-week-cards {
  display: flex;
  overflow-x: auto;       /* barre de défilement horizontal */
  white-space: nowrap;    /* évite le retour à la ligne */
  gap: 1rem;              /* espace entre chaque "carte" */
  scrollbar-width: none;  /* cache la barre sur Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding-bottom: 1rem;   /* espace pour l'ombre des cartes */
}
.this-week-cards::-webkit-scrollbar {
  display: none;          /* cache la barre sur Chrome/Safari/Opera */
}

/* Chaque bloc évènement */
.this-week-card {
  display: inline-flex;
  color: #000;
  flex-direction: column;
  width: 200px;           /* largeur augmentée pour un meilleur affichage des titres */
  min-width: 200px;       /* largeur minimale fixe */
  flex-shrink: 0;         /* empêche la réduction de la carte */
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.this-week-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* L'image avec contrôle strict des dimensions */
.this-week-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.this-week-card:hover img {
  transform: scale(1.05);
}

/* Détails sous l'image */
.card-details {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex: 1;
}

/* En-tête : titre + note */
.card-header {
  display: flex;
  justify-content: space-between; /* titre à gauche, note à droite */
  align-items: center;
  margin-bottom: 0.3rem;
}

/* Titre (ex: "Marseille, France") */
.card-header h3 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 700;
  max-width: 85%;         /* augmentation de 70% à 85% pour plus d'espace */
  line-height: 1.2;
  max-height: 2.4em;      /* permet 2 lignes de texte (2 * 1.2em) */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;  /* limite à 2 lignes */
  -webkit-box-orient: vertical;
  color: #1a1a1a;
}

/* Note (ex: "★ 4.97") alignée à droite */
.card-rating {
  font-size: 0.75rem;
  color: #FF6B35;
  font-weight: 700;
  background-color: rgba(255, 107, 53, 0.1);
  padding: 2px 6px;
  border-radius: 12px;
  white-space: nowrap;
}

/* Sous-titre et date */
.card-subtitle {
  font-size: 0.8rem;
  color: #666;
  margin: 0.3rem 0 0.5rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.card-date {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION : DES IDÉES POUR BOUGER, CRÉER, PARTAGER ! ===== */
.ideas-section {
  max-width: 1060px;         /* alignement horizontal identique à vos autres sections */
  margin: 2rem auto;
  padding: 2rem 2rem;
  background-color: #fff;
  color: #000;
}

/* Titre et sous-titre alignés à droite */
.ideas-section h2,
.ideas-section .ideas-intro {
  text-align: left;
}

/* Titre principal */
.ideas-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Sous-titre / intro */
.ideas-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* Conteneur des 3 images (cartes) en ligne */
.ideas-cards {
  display: flex;
  gap: 1rem;                 /* espace horizontal entre les images */
  align-items: flex-start;
  /* justify-content: flex-end;  si vous voulez tout coller à droite */
}

/* Retrait de tout style de "carte" (pas de bordure, pas d'ombre) */
.idea-card {
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Les 2 premières images, plus petites, avec titre + texte */
.smaller-card img {
  width: 210px;      /* ajustez la largeur souhaitée */
  height: 190px;
  border-radius: 8px;
}

/* Titre dans la carte (petite) */
.smaller-card h3 {
  font-size: 0.7rem;
  margin: 0.5rem 0 0.3rem;
  font-weight: 600;
  color: #000;
  text-align: left;  /* texte aligné à gauche, modifiez si besoin */
}

/* Texte dans la carte (petite) */
.smaller-card p {
  font-size: 0.8rem;
  color: #555;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  text-align: left;
}

/* La 3ème image (wine.png), plus grande, sans texte */
.bigger-card img {
  width: 550px;  /* plus large que 220px */
  height: auto;
  border-radius: 8px;
}

/* Bouton en bas à droite */
.ideas-cta {
  margin-top: -2.5rem;
  margin-right: 5rem;
  text-align: right; /* le bouton s'aligne à droite dans la section */
}

/* Style du bouton */
.btn-discover {
  display: inline-block;
  background-color: #BB0B0B;  /* rouge ou couleur de votre charte */
  border: 2px solid white; 
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

/* Effet au survol */
.btn-discover:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
}

/* Responsif : si vous voulez que les images passent à la ligne sur mobile */
@media (max-width: 768px) {
  .ideas-cards {
    flex-direction: column;
    align-items: flex-end; /* conserve l'alignement à droite */
  }
  
  .smaller-card img,
  .bigger-card img {
    width: 100%;
    max-width: 400px; /* ou ce que vous souhaitez */
  }
}

/* ======= FOOTER ======= */
.footer {
  margin-top: 3rem;
  background-color: #BB0B0B; /* Rouge principal, ajustez si besoin */
  color: #fff;
  text-align: center;        /* Centre le texte par défaut */
  padding: 2rem 1rem;
}

.footer-wrapper {
  max-width: 1060px;  /* Même largeur max que vos autres sections */
  margin: 0 auto;      /* Centre horizontalement */
  display: flex;
  flex-direction: column;
  gap: 2rem;           /* Espace vertical entre la zone top et la zone liens */
}

/* PARTIE HAUTE : Logo, sous-titre, newsletter */

/* Logo blanc */
.footer-top .footer-logo {
  display: block;
  margin: 2rem auto 3rem;    /* Centre l'image et espace en bas */
  max-width: 240px;       /* Ajustez la taille selon votre logo */
  width: 200px;           /* Largeur fixe pour prévenir CLS */
  height: 60px;           /* Hauteur fixe pour prévenir CLS */
}

/* Sous-titre (H2) */
.footer-top h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Petit paragraphe supplémentaire */
.footer-top p {
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* Formulaire newsletter */
.footer-newsletter {
  display: flex;
  flex-wrap: wrap;         /* Permet le retour à la ligne sur mobile */
  justify-content: center; /* Centre les champs */
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* Champ e-mail */
.footer-newsletter input[type="email"] {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 25px;
  width: 400px;      /* Largeur fixe, modifiez si besoin */
  max-width: 100%;
}

.footer-newsletter input[type="email"]:focus {
  outline: none;
  border: none;
  color:#333;
}

/* Bouton d'inscription */
.footer-newsletter button {
  background-color: #BB0B0B;
  color: #fff;
  border: 2px solid #fff;
  outline: none;
  box-shadow: 0 0 0 2px #BB0B0B;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  margin-left: -3.5rem;
  margin-top: 2px;
  margin-bottom: 2px;
}

.footer-newsletter button:hover {
  background-color: #a80b0b;
  box-shadow: 0 0 0 2px #a80b0b;
}

/* PARTIE BASSE : Liens de bas de page */
.footer-links {
  margin-top: 5rem;
  display: flex;
  justify-content: center; /* Centre les 3 colonnes horizontalement */
  gap: 15rem;               /* Espace entre colonnes */
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  text-align: left;
}

/* Liens */
.footer-column a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

/* ===== CUSTOM CALENDAR STYLES ===== */

/* Calendrier personnalisé dropdown */
.custom-calendar {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.75rem;
  min-width: 300px;
}

.custom-calendar.active {
  display: block;
}

/* Message d'aide pour la sélection */
.calendar-help {
  background: linear-gradient(135deg, #BB0B0B 0%, #a00a0a 100%);
  color: white;
  padding: 0.4rem;
  border-radius: 6px;
  font-size: 0.7rem;
  margin-bottom: 0.75rem;
  text-align: center;
  animation: slideDown 0.3s ease;
}

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

/* En-tête du calendrier */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.calendar-nav {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.calendar-nav:hover {
  background-color: #f0f0f0;
}

.calendar-nav svg {
  width: 18px;
  height: 18px;
  stroke: #666;
}

.calendar-month {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

/* Jours de la semaine */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.2rem;
  margin-bottom: 0.4rem;
}

.weekday {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: #999;
  padding: 0.2rem;
}

/* Grille des jours */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: none;
  font-size: 0.75rem;
  color: #333;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.calendar-day:hover:not(:disabled):not(.start-date):not(.end-date):not(.in-range) {
  background-color: #f0f0f0;
  transform: scale(1.1);
}

.calendar-day:disabled {
  color: transparent;
  cursor: default;
}

/* Jour actuel */
.calendar-day.today {
  background-color: #f0f0f0;
  font-weight: 600;
}

/* Dates passées (désactivées) */
.calendar-day.past-date,
.calendar-day.past-date:disabled {
  background-color: #f8f9fa;
  color: #adb5bd !important;
  cursor: not-allowed !important;
  opacity: 0.6;
}

.calendar-day.past-date:hover {
  background-color: #f8f9fa !important;
  transform: none !important;
  cursor: not-allowed !important;
}

/* Date de début sélectionnée */
.calendar-day.start-date {
  background-color: #BB0B0B;
  color: white;
  font-weight: 600;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* Date de fin sélectionnée */
.calendar-day.end-date {
  background-color: #BB0B0B;
  color: white;
  font-weight: 600;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Date unique ou début=fin */
.calendar-day.start-date.end-date {
  border-radius: 20px;
}

/* Jours dans la période */
.calendar-day.in-range {
  background-color: rgba(187, 11, 11, 0.1);
  color: #BB0B0B;
  border-radius: 0;
}

/* Jour survolé pendant la sélection de période */
.calendar-day.hover-range {
  background-color: rgba(187, 11, 11, 0.15);
  border-radius: 0;
}

/* Boutons rapides */
.quick-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
}

.quick-btn {
  padding: 0.4rem 0.3rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 15px;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: #666;
}

.quick-btn:hover {
  background-color: #BB0B0B;
  color: white;
  border-color: #BB0B0B;
}

