/* =============================================
   MONTGONTIER - Feuille de style principale
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  background: #fff;
  min-height: 100%;
}

a { color: #91bd0f; text-decoration: none; }
a:hover { color: #599106; text-decoration: underline; }

h1 { font-weight: 200; }
h2 { font-weight: 200; }
h3 { font-weight: 400; }
h4 { font-size: 24px; color: #777; font-weight: 400; text-transform: uppercase; }
h5 { font-size: 18px; color: #aaa; text-transform: uppercase; }
h6 { font-size: 14px; }

p { word-wrap: break-word; margin-bottom: 1em; }
img { max-width: 100%; height: auto; }

/* =============================================
   LANGUAGE BAR
   ============================================= */
.lang-bar {
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 6px 0;
  text-align: right;
}
.lang-bar .container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.lang-bar ul { list-style: none; display: inline-flex; gap: 6px; }
.lang-bar li { display: inline-flex; align-items: center; }
.lang-bar a { display: flex; align-items: center; gap: 4px; font-size: 13px; color: #666; }
.lang-bar a:hover { color: #91bd0f; text-decoration: none; }
.lang-bar img { width: 20px; height: 13px; border: 1px solid #ddd; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
  background: #fff;
  border-bottom: 3px solid #91bd0f;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.site-logo {
  font-size: 26px;
  font-weight: 300;
  color: #444;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.site-logo:hover { color: #91bd0f; text-decoration: none; }
.site-logo span { color: #91bd0f; }

/* NAV */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.site-nav li a {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #555;
  border-radius: 3px;
  transition: all 0.2s;
}
.site-nav li a:hover,
.site-nav li a.active {
  background: #91bd0f;
  color: #fff;
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #555;
  transition: 0.3s;
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.active { opacity: 1; }

.slider-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  cursor: pointer;
  transition: background 0.3s;
}
.slider-dot.active { background: #91bd0f; border-color: #91bd0f; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  border-radius: 3px;
}
.slider-btn:hover { background: rgba(145,189,15,0.8); }
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 15px;
}

.page-article {
  max-width: 860px;
}

.page-article p { margin-bottom: 1em; }
.page-article strong { color: #444; }
.page-article ul { margin: 0.5em 0 1em 1.5em; }
.page-article li { margin-bottom: 0.3em; }

/* =============================================
   PRESTATIONS GRID
   ============================================= */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 10px;
}

.prestation-card {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.prestation-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.prestation-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.prestation-card .card-body {
  padding: 18px;
}
.prestation-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.prestation-card p { font-size: 14px; color: #666; margin-bottom: 10px; }
.btn-read-more {
  display: inline-block;
  padding: 6px 14px;
  background: #91bd0f;
  color: #fff;
  font-size: 13px;
  border-radius: 3px;
  transition: background 0.2s;
}
.btn-read-more:hover { background: #7aa30c; color: #fff; text-decoration: none; }

/* =============================================
   PARTENAIRES
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 25px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}
.partner-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.partner-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #555;
  text-decoration: none;
}
.partner-card a:hover { color: #91bd0f; }
.partner-card img {
  max-width: 200px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-card p {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 0;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 { color: #444; margin-bottom: 15px; }
.contact-info p { margin-bottom: 8px; }
.contact-info .address-block { background: #f9f9f9; padding: 20px; border-left: 4px solid #91bd0f; margin-bottom: 20px; border-radius: 0 4px 4px 0; }
.contact-info img { width: 100%; max-width: 300px; border-radius: 4px; }

.contact-form-wrap { background: #f9f9f9; padding: 25px; border-radius: 4px; }
.contact-form-wrap h3 { margin-bottom: 20px; color: #444; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 4px; }
.form-group label .required { color: #e74c3c; margin-left: 2px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  color: #555;
  background: #fff;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #91bd0f;
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-top: 10px; }
.form-check input { width: auto; }
.btn-submit {
  background: #91bd0f;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.btn-submit:hover { background: #7aa30c; }

/* =============================================
   ACCÈS
   ============================================= */
.access-content { max-width: 800px; }
.access-content .tip-box {
  background: #fff9e6;
  border-left: 4px solid #f0ad00;
  padding: 15px 20px;
  border-radius: 0 4px 4px 0;
  margin: 20px 0;
}
.access-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.access-links a {
  display: inline-block;
  padding: 8px 16px;
  background: #91bd0f;
  color: #fff;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}
.access-links a:hover { background: #7aa30c; text-decoration: none; color: #fff; }
.access-content img { width: 100%; max-width: 700px; margin-top: 20px; border-radius: 4px; }

/* =============================================
   ENVIRONS
   ============================================= */
.environs-section { margin-bottom: 30px; }
.environs-section h3 {
  font-size: 16px;
  color: #91bd0f;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 8px;
  margin-bottom: 15px;
}
.environs-section h4 { font-size: 15px; font-weight: 600; color: #444; margin: 15px 0 8px; text-transform: none; }
.environs-section p { font-size: 14px; margin-bottom: 6px; }
.environs-section a { color: #91bd0f; }
.environs-sep { border: none; border-top: 1px solid #ddd; margin: 25px 0; }
.environs-section img { width: 100%; margin-top: 20px; border-radius: 4px; }

/* =============================================
   PHOTOS SOUVENIRS
   ============================================= */
.photos-list { margin-top: 15px; }
.photos-list ul { list-style: none; }
.photos-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.photos-list li a {
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}
.photos-list li a::before {
  content: '📷';
  font-size: 18px;
}
.photos-list li a:hover { color: #91bd0f; text-decoration: none; }

/* =============================================
   SUB-PAGE (PRESTATION DETAIL)
   ============================================= */
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 20px; }
.breadcrumb a { color: #91bd0f; }
.breadcrumb span { margin: 0 6px; }

.prestation-detail img.main-img {
  float: right;
  max-width: 350px;
  margin: 0 0 20px 25px;
  border-radius: 4px;
}
.prestation-detail::after { content: ''; display: table; clear: both; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 25px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.gallery-grid a:hover { border-color: #91bd0f; }
.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-grid a:hover img { transform: scale(1.05); }
.gallery-caption { font-size: 12px; color: #888; text-align: center; padding: 4px; }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 25px;
  font-size: 30px; color: #fff;
  cursor: pointer; background: none; border: none;
}
.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 14px; text-align: center;
  background: rgba(0,0,0,0.5);
  padding: 6px 20px; border-radius: 20px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #2d2d2d;
  color: #bbb;
  padding: 25px 0;
  margin-top: 50px;
  font-size: 13px;
}
.site-footer .container {
  max-width: 1170px; margin: 0 auto; padding: 0 15px;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 10px;
}
.site-footer a { color: #91bd0f; }
.site-footer a:hover { color: #b5d744; }
.footer-links { display: flex; gap: 15px; flex-wrap: wrap; }

/* Scroll to top */
#back-to-top {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 40px; height: 40px;
  background: #91bd0f;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background 0.2s;
}
#back-to-top.show { display: flex; }
#back-to-top:hover { background: #7aa30c; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .prestation-detail img.main-img { float: none; max-width: 100%; margin: 0 0 20px 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { border-radius: 0; padding: 12px 20px; }

  .hero-slider { height: 280px; }

  .prestations-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .partners-list { flex-direction: column; align-items: flex-start; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .site-logo { font-size: 20px; }
  .hero-slider { height: 200px; }
  .main-content { padding: 25px 15px; }
}
