:root {
  /* COLORS */
  --white: #ffffff;
  --black: #21212b;
  --black60: #21212b99;
  --green: #d0db5f;
  --green-light: #d0db5f33;
  --links: #0a94a8;
  --yellow: #f1ea75;
  --orange: #f7ac6f;
  --blue: #96c0e8;
  --primaryColor: #d0db5f;
  --secondaryColor: #f89443;

  /* grays */
  --gray900: #071621;
  --gray700: #666e87;
  --gray500: #8a90a7;
  --gray300: #bec6d3;
  --gray100: #f5f4f4;

  /* dark */
  --dark: #21212b;

  /* font */
  --mainFont: Montserrat, Arial, sans-serif;
  --titleFont: Montserrat, Arial, sans-serif;
}

/*** HEADER ***/

.c-Header-item svg {
  transition: fill 0.4s ease-in-out;
}

.c-Header-item.favorites svg:hover {
  fill: #ffc4c4;
}

.c-Header-item.bell svg:hover {
  fill: #ffe5b4;
}

@keyframes bellRing {
  0% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(15deg);
  }
  40% {
    transform: rotate(-13deg);
  }
  60% {
    transform: rotate(10deg);
  }
  80% {
    transform: rotate(-8deg);
  }
  100% {
    transform: rotate(0);
  }
}

.c-Header-item.bell svg {
  transform-origin: top center;
  transition: fill 0.3s ease;
}

.c-Header-item.bell svg:hover {
  animation: bellRing 1s ease-in-out;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.1);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.c-Header-item.favorites svg {
  transform-origin: center;
  transition: fill 0.3s ease;
}

.c-Header-item.favorites svg:hover {
  fill: #ffc4c4;
  animation: heartbeat 1s ease-in-out infinite;
}

@keyframes userBounce {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-10px);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(-3px);
  }
  75% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.c-Header-item.account svg {
  transform-origin: center;
  transition: fill 0.3s ease-in-out;
}

.c-Header-item.account svg:hover {
  animation: userBounce 1s ease;
  fill: var(--gray300);
}

/*** HOME ***/

/*.InteractiveContent--grid{
  height: 100vh;
}

.InteractiveContent__text{
  place-content: center;
}

.InteractiveContent__images .overlay_item{  width: 180px;
  height: 180px;
}

.InteractiveContent__images{
  place-content: center;
}

.InteractiveContent__images .overlay_item:nth-child(2){
  top: 30px;
  left: -10%;
}

.InteractiveContent__images .overlay_item:nth-child(3){
  bottom: 30px;
  right: -10%;
  z-index: 2;
}

@media all and (min-width: 380px){

  .InteractiveContent__title,
  .InteractiveContent__text{
    grid-column:2/6!important;
  }

  .InteractiveContent__title{
    grid-row:2/6!important;
  }

  .InteractiveContent__text{
    grid-row:7/12!important;
    place-content: start;
  }

  .InteractiveContent__title h2{
    font-size: 2.5rem;
    font-weight: 700;
  }

  .InteractiveContent__text p{
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .InteractiveContent__images .background_image{
    width: 300px;
    height: auto;
  }

  .InteractiveContent--grid {
    height: 80vh;
  }
}

@media all and (min-width: 1600px){

  .InteractiveContent__title,
  .InteractiveContent__text{
    grid-column:2/6!important;
  }

  .InteractiveContent--grid{
    height: auto;
  }

  .InteractiveContent__images .overlay_item{
    width: 250px;
    height: 250px;
  }

  .InteractiveContent__images .background_image{
    width: 600px;
    height: 100%;
  }

  .InteractiveContent__title h2{
    font-size: 3.5rem;
  }

  .InteractiveContent__text p {
    font-size: 1.25rem;
  }
}

@media all and (min-width: 1920px){

  .InteractiveContent__images .overlay_item:nth-child(3){
    right: -10%;
  }

}*/

/*@media all and (min-width: 2000px){

  .InteractiveContent__title{
    grid-row: 2/5!important;
  }

  .InteractiveContent__text{
    grid-row: 5/8!important;
    place-content: center;
  }

  .InteractiveContent__images .background_image{
    width: 500px;
    height: 100%;
  }

  .InteractiveContent__images .overlay_item:nth-child(2){
    left: 0;
  }

  .InteractiveContent__images .overlay_item:nth-child(3){
    right: 0;
  }
  .InteractiveContent__text p {
    font-size: 1.5rem;
  }

}*/

/*.InteractiveContent__images{
  place-content: center;
  display: flex;
  overflow: visible!important;
}

.InteractiveContent__images img{
  !* height: 100%; *!
  width: auto;
  object-fit: cover;
}*/

/*** EditoCarousel ***/

.editoCarousel__header__link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
}

.editoCarousel__header__link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--white);
  transition: width 0.3s ease;
}

.editoCarousel__header__link:hover::before {
  width: 100%;
}

.editoCarousel__header__link::after {
  content: '';
  width: 16px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='14' viewBox='0 0 16 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 12.5L15 7L9 1.5' stroke='%2321212B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15 7L1 7' stroke='%2321212B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.editoCarousel__header h2,
.editoCarousel--fullScreen h2 {
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.editoCarousel__header h2 {
  color: var(--white);
}

.editoCarousel--fullScreen__header h2 {
  color: var(--primaryColor);
}

.editoCarousel__header h3 {
  color: var(--dark);
  font-size: 2.5rem;

  @media all and (min-width: 768px) {
    width: 80%;
  }
}

/* .editoCarousel--fullScreen__header h3{
  font-size: 2rem;
} */
.editoCarousel__header {
  padding: 2rem 0;
}

.editoCarousel__header h2,
.editoCarousel__header h3,
.editoCarousel--fullScreen h2,
.editoCarousel--fullScreen h3 {
  font-weight: 700;
  text-align: center;
  font-size: 32px;
}

@media (max-width: 1024px) {
  .editoCarousel__header-title,
  .editoCarousel--fullScreen__header-title {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-inline: 1.5rem;
    box-sizing: border-box;
  }

  .editoCarousel__header h2,
  .editoCarousel--fullScreen__header h2 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .editoCarousel__theme-text,
  .editoCarousel--fullScreen__theme-text {
    text-align: left;
  }
}

/*** EventsSection ***/

.eventsSection h2 {
  color: var(--secondaryColor);
  text-transform: uppercase;
  font-size: 1.2rem;

  svg {
    width: 20px;
    height: auto;
  }
}

.floatingSearchBar-modal .floatingSearchBar-button,
.floatingSearchBar-modal-focused .floatingSearchBar-button,
.floatingSearchBar-button {
  background-color: var(--green);
}

/*** FOOTER ***/

.help-section a.office-link {
  background: #d0db5f66;
  padding: 10px;
  width: 300px;
}

.help-section a.contact-link {
  background: var(--blue);
  padding: 10px;
  width: 300px;
}

.pro-section a.footer-pro-link {
  background: var(--orange);
  padding: 10px;
  width: 300px;
}

.pro-section a.footer-press-link {
  background: rgb(250, 220, 235);
  padding: 10px;
  width: 300px;
}

.searchBoxIA-button {
  background-color: var(--green);
}

.searchBoxIA-button-disabled {
  background: #f6f8df;
  cursor: unset !important;
}

.ModernFooter .bottom-footer {
  padding-bottom: 90px;
}

.embla__slide__no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  color: #666;
  font-style: italic;
}

.HTMLVisualContent {
  padding: 30px;
  font-family: var(--mainFont);

  h2 {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    padding-bottom: 15px;
  }

  p {
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
  }

  a {
    font-weight: 700;
    text-decoration: underline;
  }

  @media screen and (min-width: 768px) {
    padding: 40px;
    margin: 0 auto;
    max-width: 1400px;
  }
}

.SSRApp:has(.apidaeSelectionGrid) .HTMLVisualContent h1 {
  font-size: 28px;
  line-height: 38px;
  font-weight: 700;
  text-align: center;
  text-transform: none;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .SSRApp:has(.apidaeSelectionGrid) .HTMLVisualContent h1 {
    font-size: 42px;
    line-height: 54px;
  }
}

#matomo-opt-out {
  padding: 0 20px;
  @media screen and (min-width: 768px) {
    padding: 0 26vw;
  }

  p,
  label {
    font-family: Montserrat !important;
    font-size: 14px !important;
    line-height: 24px !important;
    font-weight: 500;
  }

  input {
    display: inline;
    margin-right: 8px;
  }
}

.optin-text a {
  text-decoration: underline;
}

/*** Map InfoWindow (OfferSlide.small) — popup POI ***/
/* Servi en local après le CSS CDN : corrige image trop haute + contenu coupé sur mobile */

.map .gm-style-iw.gm-style-iw-c {
  padding: 0 !important;
  max-height: none !important;
}

/* Libère l'espace blanc du header (bouton X) pour afficher horaires + lieu */
.map .gm-style-iw-chr {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  z-index: 2;
  height: 0 !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.map .gm-style-iw-chr .gm-ui-hover-effect {
  width: 32px !important;
  height: 32px !important;
  top: 4px !important;
  right: 4px !important;
}

.map .gm-style-iw-d {
  overflow: visible !important;
  max-height: none !important;
}

.map .gm-style-iw {
  max-height: none !important;
}

.map .offerSlide.small {
  width: 234px !important;
  min-width: 234px !important;
  max-width: 234px !important;
  box-sizing: border-box !important;
  padding: 0 12px 12px !important;
  margin: 0 !important;
}

.map .offerSlide.small img {
  display: block !important;
  aspect-ratio: auto !important;
  width: calc(100% + 24px) !important;
  max-width: none !important;
  height: 90px !important;
  margin: 0 -12px 8px !important;
  object-fit: cover !important;
  border: none !important;
}

/* Une seule image : ResponsiveImage en injecte 2 (Desktop + Mobile) */
.map .offerSlide.small img.DesktopImage {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.map .offerSlide.small img.MobileImage {
  display: block !important;
  height: 90px !important;
}

.map .offerSlide.small .eventDate,
.map .offerSlide.small .eventDate__dates,
.map .offerSlide.small .eventDate__hours {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #140f40 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.map .offerSlide.small .place {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #21212b99 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

@media screen and (min-width: 450px) {
  .map .offerSlide.small {
    width: 232px !important;
    min-width: 232px !important;
    max-width: 232px !important;
  }

  .map .offerSlide.small img,
  .map .offerSlide.small img.MobileImage {
    height: 120px !important;
  }
}

@media screen and (min-width: 768px) {
  .map .offerSlide.small img.DesktopImage {
    display: block !important;
    height: 120px !important;
  }

  .map .offerSlide.small img.MobileImage {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
  }
}

/*** Bandeau d’alerte actualité (TopPageNotice) ***/

.topPageNotice {
  width: 100%;
  box-sizing: border-box;
  color: #140f40;
  font-family: Montserrat, Arial, sans-serif;
  position: sticky !important;
  top: 0 !important;
  z-index: 10001 !important;
  flex-shrink: 0;
}

.topPageNotice--info {
  background: #e6f5f7;
  color: #0a5c68;
}

.topPageNotice--info .topPageNotice__cta {
  background: #0a5c68 !important;
  color: #fff !important;
}

.topPageNotice--info .topPageNotice__cta:hover {
  background: #084852 !important;
}

.topPageNotice--vigilance {
  background: #fff1e6;
  color: #8a4b16;
}

.topPageNotice--vigilance .topPageNotice__cta {
  background: #8a4b16 !important;
  color: #fff !important;
}

.topPageNotice--vigilance .topPageNotice__cta:hover {
  background: #6e3c12 !important;
}

.topPageNotice--alerte {
  background: #fdeceb;
  color: #8b1e1a;
}

.topPageNotice--alerte .topPageNotice__cta {
  background: #8b1e1a !important;
  color: #fff !important;
}

.topPageNotice--alerte .topPageNotice__cta:hover {
  background: #6f1815 !important;
}

.topPageNotice__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 44px;
  box-sizing: border-box;
}

.topPageNotice__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0;
}

.topPageNotice__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  text-align: center;
  max-width: 100%;
  flex: initial;
  min-width: 0;
}

.topPageNotice__title {
  margin: 0;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.35;
}

.topPageNotice__message {
  margin: 0;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0.95;
}

.topPageNotice__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.topPageNotice__close {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  border-radius: 4px;
}

.topPageNotice__close svg path {
  stroke: currentColor;
}

@media screen and (max-width: 579px) {
  .topPageNotice__inner {
    padding: 8px 40px;
    gap: 8px;
  }

  .topPageNotice__icon {
    width: 18px;
    height: 18px;
  }

  .topPageNotice__title,
  .topPageNotice__message {
    display: block;
    font-size: 12px !important;
  }

  .topPageNotice__body {
    gap: 4px 8px;
  }

  .topPageNotice__cta {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
}

@media screen and (min-width: 768px) {
  .topPageNotice__inner {
    padding: 12px 48px;
    align-items: center;
  }

  .topPageNotice__icon {
    width: 22px;
    height: 22px;
    margin-top: 0;
  }

  .topPageNotice__title,
  .topPageNotice__message {
    font-size: 15px !important;
  }

  .topPageNotice__cta {
    font-size: 14px !important;
    padding: 7px 16px !important;
  }
}

body:has(.topPageNotice:not(.topPageNotice--legacy)) .HeroSuggestions:not(.HeroSuggestions--small) {
  height: calc(100dvh - var(--top-page-notice-height, 52px));
}

html.has-top-page-notice .Header,
html.has-top-page-notice #header.Header,
html:has(aside.topPageNotice) .Header,
html:has(aside.topPageNotice) #header.Header {
  top: var(--top-page-notice-height, 48px) !important;
}

html.has-top-page-notice .c-Header,
html:has(aside.topPageNotice) .c-Header {
  top: var(--top-page-notice-height, 48px) !important;
}

html.has-top-page-notice .HeroSuggestions:not(.HeroSuggestions--small),
html:has(aside.topPageNotice) .HeroSuggestions:not(.HeroSuggestions--small) {
  height: calc(100dvh - var(--top-page-notice-height, 48px)) !important;
}

/*** Lien d’évitement RGAA — masqué hors focus ***/
.skip-link {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  z-index: 10000;
}

.skip-link:focus {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  clip: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  background: #2f2377 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 0 0 4px 0 !important;
  outline: 3px solid #1bcfff !important;
  outline-offset: 2px !important;
}

