/* ----- Style global ----- */
body {
  font-family: "Pacifico", sans-serif;
  margin: 0;
  color: #333;
  background-color: #ffffff;
}

h1, h2, h3 {
  margin: 0;
}

/* ----- Bandeau de navigation ----- */
header {
  background-color: #5d8e74; /* vert sauge foncé */
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  text-align: center;
}

.logo img {
  height: 150px;          /* ajuste la taille du logo */
  width: auto;
}

.nav-links {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #cde1d7; /* vert d’eau clair */
}

/* ----- Section accueil ----- */
.hero {
  scroll-margin-top: 70px;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  text-align: center;
  padding: 5rem 2rem;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #4a5f54;
}

.highlight {
  color: rgba(78, 135, 96, 0.638); /* vert d’eau */
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #4a5f54;
}

.btn {
  display: inline-block;
  background-color: #5d8e74;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #5d8e74;
}

/* --- CARROUSEL --- */

.carousel {
  width: 60%;
  max-width: 700px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* Slides */
.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
}

.carousel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Indicateurs (petits ronds) --- */

.indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #5a8c6a; /* couleur assortie à ton site */
}

/* ----- Section services ----- */
.services {
  scroll-margin-top: 70px;
  padding: 3rem 2rem;
  text-align: center;
  background-color: white;
}

.services h2 {
  margin-bottom: 2rem;
  color: #4a5f54;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-card {
  background-color: #e8f0ec;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 280px;
  padding: 1.5rem;
  transition: transform 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: #6e8b7d;
}

/* ----- Section contact ----- */
.contact {
  scroll-margin-top: 75px;
  background-color: #cde1d7;
  text-align: center;
  padding: 3rem 2rem;
}

.contact h2 {
  color: #4a5f54;
}

.contact a {
  color: #4a5f54;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}


/* ----- Section horaires ----- */
.horaires {
  background-color:#ffffff;
}

.horaires p {
  margin: 2px 0; /* lignes rapprochées dans la même paire */
}

.horaires .pair {
  margin-bottom: 14px; /* espace entre les paires */
}

.horaires h2 {
  margin-bottom: 2rem;
  color: #4a5f54;
}

.horaires {
  margin-bottom : 2rem;
}

/* Corrige le scroll bloqué par le menu */
#accueil,
#services,
#contact,
#horaires,
#tarifs {
  scroll-margin-top: 180px;
}

/* ----- Pied de page ----- */
footer {
  background-color: #5d8e74;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

.btn-small {
  display: inline-block;
  background-color: #6e8b7d; /* vert d'eau */
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.btn-small:hover {
  background-color: #5a7266;
}

/* ----- Section moyens de paiement ----- */
.paiement {
  background-color: #f8fbf9; /* vert très pâle, proche du fond global */
  padding: 1.5rem 2rem;
  margin: 1rem 0;
  border-radius: 10px;
  text-align: center;
}

.paiement h3 {
  color: #4a5f54; /* vert sauge foncé */
  margin-bottom: 1rem;
}

.paiement ul {
  list-style-type: none;
  padding-left: 0;
  font-weight: 500;
  color: #333;
}

/* ----- Google Maps ----- */
.map-container {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- Accordéon Tarifs --- */

.tarifs {
  width: 80%;
  max-width: 700px;
  margin: 50px auto;
}

/* Bloc d'un item */
.accordion .item {
  border-bottom: 1px solid #d1d1d1;
  padding: 5px 0;
}

/* Bouton (titre) */
.acc-btn {
  width: 100%;
  background: #f1f5f3;
  border: none;
  padding: 15px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #3e5c49;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-btn:hover {
  background: #e0ebe5;
}

/* Flèche */
.acc-btn .arrow {
  transition: transform 0.3s;
}

/* Rotation quand ouvert */
.acc-btn.active .arrow {
  transform: rotate(90deg);
}

/* Contenu déroulant */
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 15px;
}

.acc-content ul {
  margin: 15px 0;
}

.acc-content {
  text-align: left;
}
