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

:root {
  --green:  #4a7c59;
  --green-dark: #355a40;
  --beige:  #f5f0e8;
  --text:   #2c2c2c;
  --muted:  #666;
  --white:  #fff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Header / Nav ───────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo img { height: 44px; width: auto; }

.nav-logo span {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--green-dark);
  letter-spacing: .02em;
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: .92rem;
  color: var(--text);
  font-family: 'Arial', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s;
}
nav a:hover, nav a.active { color: var(--green); }

.nav-phone {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: var(--green-dark) !important;
  font-size: .95rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text);
  transition: .3s;
}

/* ─── Page offset for fixed header ──────────────────────────── */
main { padding-top: 68px; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  padding: 0;
  margin-top: -68px;
}

.hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--white);
}

.hero-overlay h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  margin-bottom: .5rem;
}

.hero-overlay p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Arial', sans-serif;
  font-size: .92rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: bold;
  transition: background .2s, color .2s, transform .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }

.btn-green-outline {
  border: 2px solid var(--green);
  color: var(--green);
}
.btn-green-outline:hover { background: var(--green); color: var(--white); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ─── Sections ───────────────────────────────────────────────── */
section { padding: 5rem 1.5rem; }

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--green-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ─── Badges (homepage) ──────────────────────────────────────── */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.badge {
  background: var(--beige);
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: .5rem 1.2rem;
  font-family: 'Arial', sans-serif;
  font-size: .88rem;
  color: var(--green-dark);
  font-weight: bold;
}

/* ─── Etang section ──────────────────────────────────────────── */
.etang {
  background: var(--beige);
}

.etang .section-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.etang img {
  width: 45%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.etang-text h2 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}

/* ─── CTA strip ──────────────────────────────────────────────── */
.cta-strip {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}
.cta-strip h2 { margin-bottom: 1.5rem; font-size: 1.4rem; }

/* ─── Page header (inner pages) ─────────────────────────────── */
.page-header {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}
.page-header h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* ─── Equipment grid (le-gite) ───────────────────────────────── */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.equip-card {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.equip-card h3 {
  color: var(--green-dark);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--green);
  padding-bottom: .4rem;
}

.equip-card ul { display: flex; flex-direction: column; gap: .3rem; }
.equip-card li { font-size: .93rem; }
.equip-card li::before { content: "✓ "; color: var(--green); font-weight: bold; }

/* ─── Region section ─────────────────────────────────────────── */
.region {
  background: var(--beige);
}

.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.region-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.region-text p { margin-bottom: .8rem; }

/* ─── Photo gallery ──────────────────────────────────────────── */
.gallery-section { padding: 3rem 1.5rem; }

.gallery-section h2 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 1.2rem;
  border-left: 4px solid var(--green);
  padding-left: .8rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-bottom: 3rem;
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow); }

/* ─── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: .5rem 1rem;
  user-select: none;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ─── Tarifs ─────────────────────────────────────────────────── */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tarif-card {
  border: 1px solid #ddd;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}

.tarif-card-header {
  background: var(--green-dark);
  color: var(--white);
  padding: .75rem 1rem;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tarif-card-body {
  padding: 1.5rem 1rem;
  background: var(--beige);
}

.tarif-card-body .price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--green-dark);
}

.tarif-card-body .per {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.tarif-notes {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.tarif-notes h3 {
  color: var(--green-dark);
  margin-bottom: .75rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.tarif-notes ul { display: flex; flex-direction: column; gap: .4rem; }
.tarif-notes li::before { content: "• "; color: var(--green); }

/* ─── Contact page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  color: var(--green-dark);
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-card .contact-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.contact-card a {
  color: var(--green);
  font-weight: bold;
  font-size: 1.05rem;
}
.contact-card a:hover { text-decoration: underline; }
.contact-card a.btn-primary { color: var(--white); }
.contact-card a.btn:hover { text-decoration: none; }

.address-block {
  text-align: center;
  margin-bottom: 3rem;
}

.address-block p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--muted);
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 2rem 1.5rem;
  font-family: 'Arial', sans-serif;
  font-size: .9rem;
}

footer p { margin: .25rem 0; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
    padding: 1rem 0;
  }
  nav ul.open { display: flex; }
  nav ul li a { display: block; padding: .75rem 2rem; }

  .burger { display: flex; }

  .etang .section-inner { flex-direction: column; }
  .etang img { width: 100%; }

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

  .hero { height: 70vh; }
}
