/* ======================
   Styles existants (conservés)
   ====================== */

.u-section-1 {
  background-position: 50% 50%, 50% 50%;
  background-repeat: no-repeat, no-repeat;
  background-image: linear-gradient(rgba(119, 170, 217, 0.5), rgba(119, 170, 217, 0.5)), linear-gradient(rgba(14, 71, 203, 0.8), rgba(14, 71, 203, 0.8));
  background-size: cover, cover;
}

.u-section-1 .u-sheet-1 {
  min-height: 1540px;
}

.u-section-1 .u-layout-wrap-1 {
  margin-top: 60px;
  margin-bottom: 0;
}

.u-section-1 .u-layout-cell-1 {
  min-height: 1057px;
}

.u-section-1 .u-container-layout-1 {
  padding: 0 30px;
}

.u-section-1 .u-text-1 {
  margin: 30px auto 0 0;
}

.u-section-1 .u-text-2 {
  margin: 20px 0 0;
}

.u-section-1 .u-image-1 {
  width: 354px;
  height: 501px;
  margin: 10px 384px 0 343px;
}

.u-section-1 .u-btn-1 {
  --radius: 50px;
  border-style: solid;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  margin: 30px auto 0 357px;
}

.u-section-1 .u-text-3 {
  margin: 50px 60px 57px 0;
}

.u-section-1 .u-btn-2 {
  background-image: none;
  padding: 0;
}

@media (max-width: 1199px) {
   .u-section-1 {
    --color-var: #0e47cb;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .u-section-1 .u-sheet-1 {
    min-height: 980px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 872px;
  }

  .u-section-1 .u-image-1 {
    margin-right: 284px;
    margin-left: 243px;
  }

  .u-section-1 .u-btn-1 {
    margin-left: 157px;
  }

  .u-section-1 .u-text-3 {
    margin-right: 0;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 636px;
  }

  .u-section-1 .u-layout-cell-1 {
    min-height: 100px;
  }

  .u-section-1 .u-image-1 {
    margin-right: 174px;
    margin-left: 133px;
  }

  .u-section-1 .u-btn-1 {
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-container-layout-1 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .u-section-1 .u-image-1 {
    margin-right: 104px;
    margin-left: 63px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-image-1 {
    width: 320px;
    height: 453px;
    margin-right: 0;
    margin-left: 0;
  }
}

.u-section-2 {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: linear-gradient(rgb(119, 170, 217), rgb(119, 170, 217));
  background-size: cover;
}

.u-section-2 .u-sheet-1 {
  min-height: 199px;
}

.u-section-2 .u-text-1 {
  font-size: 1.875rem;
  width: 172px;
  margin: 55px auto 0;
}

.u-section-2 .u-image-1 {
  width: 1008px;
  height: 92px;
  margin: 10px auto 9px;
}

@media (max-width: 1199px) {
   .u-section-2 {
    --color-var: #0e47cb;
  }

  .u-section-2 .u-sheet-1 {
    min-height: 193px;
  }

  .u-section-2 .u-image-1 {
    width: 940px;
    height: 86px;
  }
}

@media (max-width: 991px) {
  .u-section-2 .u-sheet-1 {
    min-height: 173px;
  }

  .u-section-2 .u-image-1 {
    width: 720px;
    height: 66px;
  }
}

@media (max-width: 767px) {
  .u-section-2 .u-sheet-1 {
    min-height: 157px;
  }

  .u-section-2 .u-image-1 {
    width: 540px;
    height: 50px;
  }
}

@media (max-width: 575px) {
  .u-section-2 .u-sheet-1 {
    min-height: 138px;
  }

  .u-section-2 .u-text-1 {
    font-size: 1.5rem;
  }

  .u-section-2 .u-image-1 {
    width: 340px;
    height: 31px;
  }
}
/* ======================
   Styles pour le menu déroulant (conservés)
   ====================== */

header .u-nav-item.dropdown {
  position: relative !important;
}

header .u-nav-item.dropdown .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background-color: white !important;
  min-width: 200px !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
  z-index: 99999 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

header .u-nav-item.dropdown:hover .dropdown-menu {
  display: block !important;
}

header .u-nav-item.dropdown .dropdown-menu li a {
  display: block !important;
  padding: 12px 16px !important;
  color: #333 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #eee !important;
}

header .u-nav-item.dropdown .dropdown-menu li:last-child a {
  border-bottom: none !important;
}

header .u-nav-item.dropdown .dropdown-menu li a:hover {
  background-color: #f5f5f5 !important;
}

header .u-nav-item.dropdown > a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}
/* ======================
   Styles pour la carte responsive
   ====================== */

/* Conteneur pour la carte (responsive) */
.map-container-responsive {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    overflow: hidden;
    text-align: center;
}

/* Style de l'image de la carte (responsive) */
.full-map-responsive {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* ======================
   Styles pour les spectacles et zooms
   ====================== */

/* Conteneur pour centrer les cadres des spectacles */
.programmation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

/* Style global des cadres des spectacles */
.programmation-element {
    background-color: white;
    border: 1px solid #CCC;
    border-radius: 10px;
    padding: 20px;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Horaire dans un rond superposé */
.heure-rond {
    background-color: #1A5F3F;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
    position: absolute;
    top: -20px;
    left: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Style du header */
.header-element {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Style du titre */
.titre {
    font-weight: bold;
    color: #1A5F3F;
    font-size: 1.2em;
    text-transform: uppercase;
}

/* Style de la compagnie (lien) */
.cie {
    display: block;
    color: #1A5F3F;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 1.2em;
    text-decoration: none;
    margin: 5px 0;
}

.cie:hover {
    text-decoration: underline;
}

/* Style du label */
.label-lieu {
    background-color: #1A5F3F;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-left: auto;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

/* Style de base pour les zooms */
.label-lieu::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%; /* Positionne le zoom au-dessus du label */
    transform: translateX(-50%); /* Centre le zoom horizontalement */
    background-image: url('https://plasmina.eu/images/PlanNdC2026.png');
    background-repeat: no-repeat;
    background-size: 1024px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    margin-bottom: 10px; /* Espace entre le zoom et le label */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 220px;
    max-height: 220px;
    overflow: hidden;
}

/* Zoom pour le lieu A (Esplanade François-Mitterrand) */
.label-a::before {
    width: 160px;
    height: 160px;
    background-position: -797px -755px;
}

.label-a:hover::before {
    opacity: 1;
}

/* Zoom pour le lieu B (Porte St Laurent) */
.label-b::before {
    width: 160px;
    height: 160px;
    background-position: -19px -199px;
}

.label-b:hover::before {
    opacity: 1;
}

/* Zoom pour le lieu C (Place St Laurent) */
.label-c::before {
    width: 160px;
    height: 160px;
    background-position: -165px -238px;
}

.label-c:hover::before {
    opacity: 1;
}

/* Zoom pour le lieu D (La Casemate) */
.label-d::before {
    width: 160px;
    height: 160px;
    background-position: -145px -96px;
}

.label-d:hover::before {
    opacity: 1;
}

/* Zoom pour le lieu E (Jardin du Pont de Charteuse) */
.label-e::before {
    width: 160px;
    height: 160px;
    background-position: -516px -59px;
}

.label-e:hover::before {
    opacity: 1;
}

/* Zoom pour le lieu F (Musée Archéologique) */
.label-f::before {
    width: 160px;
    height: 160px;
    background-position: -28px -329px;
}

.label-f:hover::before {
    opacity: 1;
}

/* Media Queries pour les zooms sur mobile */
@media (max-width: 768px) {
    .label-lieu::before {
        max-width: 80vw; /* Largeur maximale de 80% de la largeur de l'écran */
        max-height: 80vw;
        left: 50%;
        bottom: 100%;
        transform: translateX(-50%);
        margin-bottom: 5px; /* Réduit l'espace entre le zoom et le label */
    }
}

/* Style du contenu */
.contenu-element {
    margin-top: 10px;
    color: #1A5F3F;
    line-height: 1.5;
}

/* Durée et âge */
.duree, .age {
    display: inline-block;
    margin-right: 15px;
    font-size: 0.95em;
    color: #1A5F3F;
}

/* Description */
.description {
    font-size: 0.95em;
    color: #1A5F3F;
    margin: 10px 0;
}

.spectacle-associe {
    font-size: 0.9em;
    color: #1A5F3F;
    margin-top: 10px;
}



