/* ============================================
   LA DATCHA DU PARC — Fiches « les alentours »
   Pages dediees aux lieux et activites autour du gite.
   Meme vocabulaire visuel que les fiches de randonnee
   (randonnees/hike.css), mais sans carte ni etapes.
   ============================================ */

/* --- HERO (image posee en style inline sur la page : c'est l'image LCP) --- */
/* Hauteur volontairement contenue : plusieurs photos de lieux ne font que
   800 px de large, un bandeau plein ecran les agrandirait trop. Le degrade
   sombre pose par-dessus masque le reste. */
.fiche-hero {
  position: relative;
  height: 44vh;
  min-height: 340px;
  background: center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.fiche-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(45,54,40,0.25) 0%, rgba(45,54,40,0.75) 100%);
}
.fiche-hero-content {
  position: relative;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 72px;
  color: #fff;
}
.fiche-hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-light);
  margin-bottom: 18px;
}
.fiche-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  line-height: 1.1;
  max-width: 820px;
  letter-spacing: -0.01em;
}
.fiche-hero h1 em {
  font-style: italic;
  color: var(--warm-light);
  font-weight: 400;
}
.fiche-hero-lead {
  margin-top: 20px;
  font-size: 1.05rem;
  max-width: 680px;
  font-weight: 300;
  opacity: 0.92;
}

/* --- Retour au site --- */
.fiche-back {
  position: absolute;
  top: 32px;
  left: 40px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.fiche-back:hover {
  background: rgba(255,255,255,0.22);
  transform: translateX(-2px);
}
.fiche-back::before { content: '\2190'; font-size: 1.1em; }

/* --- Bandeau de reperes (distance depuis le gite, saison...) --- */
.fiche-stats {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.fiche-stats-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 24px;
}
.fiche-stat {
  text-align: center;
  padding: 0 12px;
  border-right: 1px solid var(--border-light);
}
.fiche-stat:last-child { border-right: none; }
.fiche-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fiche-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sage-deep);
}
.fiche-stat-value small {
  font-size: 0.68rem;
  color: var(--text-light);
  font-family: var(--font-body);
  margin-left: 4px;
  letter-spacing: 0.05em;
}

/* --- Corps de page --- */
.fiche-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.fiche-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-top: 48px;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.fiche-body h2:first-child { margin-top: 0; }
.fiche-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin-top: 28px;
  margin-bottom: 6px;
}
.fiche-body p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.fiche-body a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fiche-body ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}
.fiche-body ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text);
  line-height: 1.7;
}
.fiche-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 1px;
  background: var(--warm);
}

/* --- Encart « depuis La Datcha » : l'angle propre au gite --- */
.fiche-depuis {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--warm-pale);
  border-left: 3px solid var(--warm);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.fiche-depuis h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0 0 8px;
}
.fiche-depuis p { font-size: 0.95rem; margin-bottom: 0; }

/* --- Colonne de droite --- */
.fiche-sidebar {
  position: sticky;
  top: 110px;
}
.fiche-panel {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.fiche-panel + .fiche-panel { margin-top: 24px; }
.fiche-panel h2,
.fiche-panel h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}
.fiche-panel ul { list-style: none; padding: 0; margin: 0; }
.fiche-panel ul li {
  padding: 7px 0 7px 18px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}
.fiche-panel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--warm);
}
.fiche-panel strong { color: var(--sage-deep); }

.fiche-btn {
  display: block;
  margin-top: 18px;
  padding: 12px 20px;
  background: var(--sage);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.fiche-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(92, 107, 84, 0.25);
}
.fiche-btn--reserver { background: var(--warm); }
.fiche-btn--reserver:hover { background: #b9834f; }

/* --- Maillage interne : les autres fiches --- */
.fiche-liens ul li { padding-left: 0; }
.fiche-liens ul li::before { display: none; }
.fiche-liens a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.fiche-liens li:last-child a { border-bottom: none; }
.fiche-liens a:hover { color: var(--sage-dark); }
.fiche-liens a span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Grille de cartes (page « Que faire autour ») --- */
.fiche-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin: 28px 0 8px;
}
.fiche-card {
  display: block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.fiche-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.fiche-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.fiche-card-body { padding: 18px 20px 22px; }
.fiche-card-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 8px;
}
.fiche-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--sage-deep);
  margin: 0 0 6px;
}
.fiche-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

/* --- Attribution / source --- */
.fiche-source {
  margin: 36px 0 0;
  padding: 18px 24px;
  background: var(--linen-dark);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}
.fiche-source a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }

/* --- Pied de page --- */
.fiche-footer {
  padding: 40px 0;
  background: var(--sage-deep);
  color: rgba(255,255,255,0.75);
  text-align: center;
  font-size: 0.85rem;
}
.fiche-footer a { color: var(--warm-light); }
.fiche-footer p { margin-bottom: 4px; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .fiche-hero { height: auto; min-height: 340px; padding-top: 80px; }
  .fiche-hero-content { padding: 0 24px 48px; }
  .fiche-back { top: 18px; left: 20px; padding: 8px 14px; font-size: 0.75rem; }
  .fiche-stats-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
    gap: 20px;
  }
  .fiche-stat { border-right: none; }
  .fiche-stat:nth-child(odd) { border-right: 1px solid var(--border-light); }
  .fiche-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px;
  }
  .fiche-sidebar { position: static; }
}
