/* ============================================================
   SERVICES & GALERIE — assets/css/services.css
   ============================================================ */

/* ── Transition About → Services ── */
.transi-about-services {
  height: 60px;
  background: linear-gradient(to bottom, #ffffff, #faf6e4);
}

/* ── Header commun sections ── */
.srv-header {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 700px;
  margin: 0 auto;
}

.srv-header h2 {
  font-family: 'Schoolbell', cursive;
  font-size: 2rem;
  color: #3d2b1f;
  margin: 8px 0;
}

.srv-header .section-subtitle {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: #8a7060;
  margin: 0;
}

/* ── Icône de section ── */
.srv-section-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #fff4e0;
  color: #b5833e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   SECTION SERVICES
════════════════════════════════════════ */
#services {
  background: #faf6e4;
  padding-bottom: 60px;
}

/* ── Valeurs ── */
.srv-valeurs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.srv-valeur {
  background: #fff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #ede8dc;
  box-shadow: 0 2px 14px rgba(181,131,62,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.srv-valeur:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(181,131,62,0.14);
}

.srv-valeur-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff4e0;
  color: #b5833e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 14px;
}

.srv-valeur h4 {
  font-family: 'Schoolbell', cursive;
  font-size: 1.15rem;
  color: #3d2b1f;
  margin: 0 0 8px;
}

.srv-valeur p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #8a7060;
  line-height: 1.6;
  margin: 0;
}

/* ── Titres de sous-sections ── */
.srv-ages-titre,
.srv-timeline-titre,
.srv-tarifs-titre {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.srv-ages-titre h3,
.srv-timeline-titre h3,
.srv-tarifs-titre h3 {
  font-family: 'Schoolbell', cursive;
  font-size: 1.5rem;
  color: #3d2b1f;
  margin: 0;
}

/* ── Tranches d'âge ── */
.srv-ages-wrapper {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.srv-ages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.srv-age-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  border: 1.5px solid #ede8dc;
  box-shadow: 0 2px 10px rgba(181,131,62,0.06);
}

.srv-age-icon {
  font-size: 2rem;
  color: #b5833e;
  margin-bottom: 10px;
}

.srv-age-label {
  font-family: 'Schoolbell', cursive;
  font-size: 1.1rem;
  color: #3d2b1f;
  margin-bottom: 4px;
}

.srv-age-range {
  display: inline-block;
  background: #fff8c9;
  color: #b5833e;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.srv-age-card p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.83rem;
  color: #8a7060;
  line-height: 1.5;
  margin: 0;
}

.srv-ages-note,
.srv-tarifs-note {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: #6b5644;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fdfaf5;
  border: 1px solid #eec9ae;
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 4px;
}

.srv-ages-note i, .srv-tarifs-note i { color: #b5833e; flex-shrink: 0; }
.srv-tarifs-note a { color: #54a66a; text-decoration: none; font-weight: 700; }
.srv-tarifs-note a:hover { text-decoration: underline; }

/* ════════════════════════════════════════
   TIMELINE HORIZONTALE
════════════════════════════════════════ */
.srv-timeline-wrapper {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.srv-timeline-horiz {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 10px;
  margin-top: 10px;
  overflow-x: auto;
  gap: 0;
}

/* Ligne horizontale */
.srv-tl-line {
  position: absolute;
  top: 36px; /* aligne sur le centre des points */
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(to right, #b5833e, #eec9ae, #b5833e);
  z-index: 0;
}

.srv-tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 80px;
  position: relative;
  z-index: 1;
}

.srv-tl-heure {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  color: #b5833e;
  white-space: nowrap;
  height: 20px;
  display: flex;
  align-items: center;
}

.srv-tl-point {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #b5833e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 0 0 5px #faf6e4, 0 0 0 7px #eec9ae;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.srv-tl-step:hover .srv-tl-point {
  transform: scale(1.12);
  background: #9c6e30;
}

.srv-tl-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #3d2b1f;
  text-align: center;
  white-space: nowrap;
}

/* ── Tarifs ── */
.srv-tarifs-wrapper {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.srv-tarifs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.srv-tarif-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1.5px solid #ede8dc;
  box-shadow: 0 2px 10px rgba(181,131,62,0.06);
  transition: transform 0.2s;
}

.srv-tarif-card:hover { transform: translateY(-3px); }

.srv-tarif-card.highlight {
  background: #3d2b1f;
  border-color: #3d2b1f;
}

.srv-tarif-card.highlight .srv-tarif-label { color: rgba(255,255,255,0.6); }
.srv-tarif-card.highlight .srv-tarif-prix  { color: #eec9ae; }
.srv-tarif-card.highlight p                { color: rgba(255,255,255,0.75); }
.srv-tarif-card.highlight .srv-tarif-icon  { background: rgba(255,255,255,0.1); color: #eec9ae; }

.srv-tarif-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff4e0;
  color: #b5833e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}

.srv-tarif-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #8a7060;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.srv-tarif-prix {
  font-family: 'Schoolbell', cursive;
  font-size: 1.2rem;
  color: #b5833e;
  margin-bottom: 10px;
}

.srv-tarif-card p {
  font-family: 'Nunito', sans-serif;
  font-size: 0.82rem;
  color: #8a7060;
  line-height: 1.5;
  margin: 0;
}

/* ════════════════════════════════════════
   GALERIE PHOTOS — PUBLIC
════════════════════════════════════════ */
#galerie {
  background: #fff;
  padding-bottom: 60px;
}

.gal-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 60px 20px;
  color: #c0ac98;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  text-align: center;
}

.gal-vide i { font-size: 3rem; opacity: 0.4; }

.gal-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.gal-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gal-item.gal-wide {
  grid-column: span 2;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  display: block;
}

.gal-item:hover img { transform: scale(1.06); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gal-item:hover .gal-overlay { opacity: 1; }

.gal-overlay span {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

/* Modale galerie */
.gal-modale {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-modale-img-wrap {
  max-width: 88vw;
  max-height: 85vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gal-modale-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  object-fit: contain;
}

.gal-modale-titre {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
  min-height: 20px;
}

.gal-modale-close,
.gal-modale-prev,
.gal-modale-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.15s;
  z-index: 10;
}

.gal-modale-close:hover,
.gal-modale-prev:hover,
.gal-modale-next:hover { background: rgba(255,255,255,0.28); }

.gal-modale-close { top: 20px; right: 20px; }
.gal-modale-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.gal-modale-next  { right: 16px; top: 50%; transform: translateY(-50%); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .srv-valeurs { grid-template-columns: repeat(2, 1fr); }
  .srv-tarifs  { grid-template-columns: repeat(2, 1fr); }
  .gal-grille  { grid-template-columns: repeat(3, 1fr); }
  .gal-item.gal-wide { grid-column: span 1; }
  .srv-tl-label, .srv-tl-heure { font-size: 0.7rem; }
  .srv-tl-point { width: 38px; height: 38px; font-size: 0.85rem; }
}

@media (max-width: 600px) {
  .srv-valeurs { grid-template-columns: 1fr; }
  .srv-ages    { grid-template-columns: 1fr; }
  .srv-tarifs  { grid-template-columns: 1fr; }
  .gal-grille  { grid-template-columns: repeat(2, 1fr); }
  .srv-timeline-horiz { gap: 0; padding: 0 4px; }
  .srv-tl-step { min-width: 60px; }
  .srv-tl-heure { font-size: 0.62rem; }
  .srv-tl-label { font-size: 0.65rem; }
  .srv-tl-point { width: 32px; height: 32px; font-size: 0.75rem; }
  .srv-tl-line  { top: 29px; }
}

/* ════════════════════════════════════════
   CORRECTIONS RESPONSIVE
════════════════════════════════════════ */

/* Timeline — scrollable sur mobile */
.srv-timeline-horiz {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 10px;
  cursor: grab;
}

.srv-timeline-horiz::-webkit-scrollbar { display: none; }

/* Empêcher les steps de rétrécir */
.srv-tl-step {
  flex-shrink: 0;
  min-width: 90px;
}

/* Note tarifs — liens inline et pas en colonne */
.srv-tarifs-note {
  flex-wrap: nowrap;
  align-items: flex-start;
}

.srv-tarifs-note a {
  white-space: nowrap;
}

/* Sur très petit écran */
@media (max-width: 480px) {
  .srv-tarifs-note {
    font-size: 0.78rem;
    flex-wrap: wrap;
  }
  .srv-tl-step { min-width: 70px; }
}