/*fonts*/
@font-face {
  font-family: 'FiraSans-Regular';
  src:  local('FiraSans-Regular'),
        url('../fonts/fira/FiraSans-Regular.woff2') format('woff2'),
				url('../fonts/fira/FiraSans-Regular.woff') format('woff');
  font-display: swap;
  unicode-range: U+0000-007F,U+0080-00FF,U+0153,U+20AC;
}


/*colors*/
.hover-white:hover,
.white{color: white}
.bg-hover-white:hover,
.bg-white{background: white}
.hover-black:hover,
.black{color: black}
.bg-hover-black:hover,
.bg-black{background: black}

/*components*/
.woocommerce .loader::before{
  content: none;
}

.uppercase{text-transform: uppercase}
.big-title{

}
.medium-title{

}
.medium-title-2{

}
.mini-title{

}
.cta{

}


.wysiwyg h2{
  font-size: 28px;
}
.wysiwyg h3{
  font-size: 23px;
}

.container-bloc{
  width: 100%;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Calendrier — plages de dates multi-jours */
.cal-day.has-event.event-start{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.cal-day.has-event.event-end{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}
.cal-day.has-event.event-mid{
  border-radius: 0;
  border-left: none;
  border-right: none;
}

/* Calendrier — cases enrichies */
.cal-day {
  min-height: 2.75rem;
  position: relative;
  height: 70px;
  width: 100%;
}

#calendar-section{
  padding-top: 40px;
  padding-bottom: 150px;
}
@media (min-width: 768px) {
  .cal-day { min-height: 4.5rem; }
}
.cal-day.has-event { cursor: pointer; }
.cal-day.has-event:hover {
  background: rgba(228,112,0,.08);
}

/* Titre de l'événement dans la case (desktop) */
.cal-day .cal-event-title {
  display: none;
}
@media (min-width: 768px) {
  .cal-day .cal-event-title {
    display: block;
    font-size: 0.625rem;
    line-height: 1.2;
    color: #E47000;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    margin-top: 2px;
  }
}

/* Dot indicateur mobile */
.cal-day .cal-event-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E47000;
  margin: 2px auto 0;
}
@media (min-width: 768px) {
  .cal-day .cal-event-dot { display: none; }
}

/* Tooltip au hover */
.cal-day .cal-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #3A3128;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 30;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.cal-day .cal-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #3A3128;
}
.cal-day.has-event:hover .cal-tooltip {
  display: block;
}

/* Focus visible — accessibilité clavier */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #E47000;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Event list — responsive 1 col mobile, 2 col desktop */
#events-list > li {
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  #events-list > li {
    width: calc(50% - 10px);
  }
}

/* Pagination WordPress (déplacé depuis template-blog.php) */
.page-numbers { display: inline-flex; gap: .5rem; list-style: none; padding: 0; }
.page-numbers li a,
.page-numbers li span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border-radius: .5rem; border: 1px solid rgba(58,49,40,.2); color: #3A3128; text-decoration: none; font-weight: 500; transition: all .2s ease; }
.page-numbers li a:hover { background: #3A3128; color: #fff; border-color: #3A3128; }
.page-numbers li .current { background: #E47000; color: #fff; border-color: #E47000; }