/* Ajustements accessibilité et SEO (jalon 2).
   Fichier séparé : style.css est compilé depuis scss/ et n'est pas retouché. */

/* Titres passés de h3 à h2 (hiérarchie des titres) : même rendu qu'avant */
.section-heading h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #2c332d;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.section-heading h2:after {
  position: absolute;
  content: '';
  width: 50px;
  height: 1px;
  background: #000;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
.cta h2 {
  font-size: 2rem;
  color: #000;
  font-weight: 500;
  line-height: 1.2;
}
.cta h2 a {
  color: #000;
  position: relative;
  z-index: 1;
  display: inline-block;
}
.cta h2 a:before {
  content: "";
  background: #d5dccc;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  z-index: -1;
}
footer h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #000;
  font-weight: 500;
  line-height: 1.2;
}

/* Lien au milieu d'un texte : repérable sans la couleur */
a.lien-texte {
  text-decoration: underline !important; /* style.css retire tous les soulignements avec !important */
}

/* Points du carrousel : cible tactile d'au moins 24 px */
.owl-carousel .owl-dots .owl-dot {
  min-width: 24px;
  min-height: 24px;
}

/* Focus clavier visible */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #2c332d;
  outline-offset: 2px;
}

/* Menu à 7 entrées (Avis, Réserver, Contact) : espacement réduit sur les écrans moyens
   pour ne pas chevaucher le logo */
@media (min-width: 992px) {
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a {
    padding: 10px 10px;
  }
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a:before {
    left: 10px;
    right: 10px;
  }
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a:hover:before,
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li.active > a:before {
    width: calc(100% - 20px);
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .untree_co--site-logo img {
    width: 170px !important;
  }
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a {
    padding: 10px 7px;
  }
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a:before {
    left: 7px;
    right: 7px;
  }
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li > a:hover:before,
  .sticky-wrapper .untree_co--site-nav .site-nav-ul > li.active > a:before {
    width: calc(100% - 14px);
  }
}
