/* ===========================================
   Template camping-rando — Brochure de parc naturel
   Fraunces + Source Sans 3 — Vert profond / Ocre
   Hero panoramique 100vh, barre equipements bas
   =========================================== */

:root {
  --vert: #2D5016;
  --vert-mid: #3D6B20;
  --ocre: #C4892A;
  --bg: #F5F0E8;
  --bg-off: #EDE6D5;
  --text: #1E2A0F;
  --text-muted: #6B7A5A;
  --line: rgba(45,80,22,0.15);
  --line-light: rgba(255,255,255,0.15);
  --primary: #2D5016;
  --secondary: #F5F0E8;
  --accent: #1E2A0F;
  --text-light: #F5F0E8;
  --bg-dark: #1E2A0F;
  --bg-beige: #F5F0E8;
  --border: rgba(45,80,22,0.15);
  --border-light: rgba(45,80,22,0.08);
  --radius: 0px;
  --shadow: 0 4px 24px rgba(30,60,22,0.10);
  --transition: 300ms ease;
  --nav-height: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { background: var(--bg); color: var(--text); font-family: 'Source Sans 3', sans-serif; font-weight: 300; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 700; font-style: italic; line-height: 1.1; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* Bandeau promo */
.bandeau-promo { background: var(--vert); color: #fff; text-align: center; padding: 10px 40px 10px 20px; font-size: 14px; font-weight: 600; position: fixed; top: 0; left: 0; right: 0; z-index: 200; }
.bandeau-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: inherit; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 56px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent; transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  height: var(--nav-height);
}
.nav.scrolled { background: var(--vert); border-bottom-color: rgba(255,255,255,0.1); }
.bandeau-promo ~ .nav { top: 40px; }
.nav-container {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 0;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 400; font-style: italic;
  color: #fff; letter-spacing: 0.04em; text-decoration: none;
}
.nav-logo-img { height: 40px; width: auto; display: block; object-fit: contain; }
.nav-logo-initiale { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: var(--ocre); color: #fff; font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.75rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: var(--ocre); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: #fff; margin: 5px 0; transition: all var(--transition); }
#nav-toggle { display: none; background: none; border: none; cursor: pointer; }
#nav-toggle span { display: block; width: 22px; height: 1px; background: #fff; margin: 5px 0; }

/* CTA */
.btn-cta {
  display: inline-block; background: var(--ocre); color: #fff;
  padding: 13px 40px;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: background 0.2s;
  border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--vert); }
.btn-cta-large { font-size: 0.9rem; padding: 16px 48px; }

/* HERO NATURE */
.hero-nature {
  position: relative; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-nature-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-nature-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.hero-nature-content {
  position: relative; z-index: 2;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 120px 72px 0;
}
.hero-nature-label {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase; color: var(--ocre);
  display: block; margin-bottom: 16px;
}
.hero-nature-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 7vw, 8rem); font-weight: 700; font-style: italic;
  color: #fff; line-height: 0.95; max-width: 700px;
}
.hero-nature-bar {
  position: relative; z-index: 3; margin-top: auto;
  background: rgba(10,20,5,0.85); backdrop-filter: blur(8px);
  padding: 24px 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.hero-nature-equip {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hero-equip-item {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.hero-equip-sep {
  width: 1px; height: 16px; background: rgba(255,255,255,0.2); flex-shrink: 0;
}

/* Legacy hero classes — fallback */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--bg-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,42,15,0.5) 0%, rgba(30,42,15,0.05) 50%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 72px; text-align: center; }
.hero-ribbon { display: inline-block; background: rgba(30,42,15,0.75); padding: 20px 60px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.5rem); color: #fff; margin: 0; line-height: 1; }
.hero-sub { font-size: clamp(0.9rem, 1.8vw, 1.1rem); color: rgba(255,255,255,0.8); font-weight: 300; margin-top: 16px; max-width: 500px; margin-left: auto; margin-right: auto; letter-spacing: 0.04em; }

/* A PROPOS CAMPING */
.apropos-camping {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 72px; align-items: center; min-width: 0;
}
.apropos-camping-text { min-width: 0; }
.apropos-badge {
  display: inline-block; background: var(--vert); color: #fff;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 16px;
  margin-bottom: 20px;
}
.apropos-camping-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; font-style: italic;
  color: var(--text); margin-bottom: 20px; min-width: 0;
}
.apropos-camping-text p {
  font-family: 'Source Sans 3', sans-serif; font-size: 0.95rem; font-weight: 300;
  color: var(--text-muted); line-height: 1.85; margin-bottom: 32px; min-width: 0;
}
.apropos-camping-img { aspect-ratio: 4/5; overflow: hidden; min-width: 0; }
.apropos-camping-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 96px 0; }
.section-beige { background: var(--bg-off); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-terracotta { background: var(--vert); color: #fff; }
.section-terracotta .btn-cta { background: #fff; color: var(--vert); }
.section-terracotta .btn-cta:hover { background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }
.container-narrow { max-width: 700px; }
.section-title {
  font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 700; font-style: italic;
  color: var(--text); margin-bottom: 48px; text-align: center;
}
.section-terracotta .section-title { color: #fff; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; font-size: 15px; }
.section-dark .section-subtitle { color: rgba(245,240,232,0.6); }
.section-terracotta .section-subtitle { color: rgba(255,255,255,0.8); }

/* Contact phone */
.contact-phone { margin: 24px 0 8px; }
.phone-number { font-family: 'Fraunces', serif; font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: #fff; text-decoration: none; display: inline-block; }
.section-terracotta .phone-number { color: #fff; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-text { min-width: 0; }
.split-text h2 { font-family: 'Fraunces', serif; font-style: italic; font-size: 2rem; margin-bottom: 12px; color: var(--text); }
.split-text p { color: var(--text-muted); line-height: 1.8; font-size: 15px; min-width: 0; }
.split-image { min-width: 0; }
.split-image img { width: 100%; object-fit: cover; }
.placeholder-img { background: var(--bg-off); display: flex; align-items: center; justify-content: center; min-height: 200px; border: 1px solid var(--line); aspect-ratio: 4/3; }
.placeholder-img span { color: var(--text-muted); font-size: 0.8rem; }
.section-dark .placeholder-img { background: rgba(245,240,232,0.08); }

/* Tabs (catalogue) */
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Source Sans 3', sans-serif; font-size: 0.75rem; font-weight: 300;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); padding: 12px 24px;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover { color: var(--vert); border-bottom-color: var(--vert); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.produit-item { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.produit-nom { font-family: 'Fraunces', serif; font-size: 1rem; font-style: italic; color: var(--text); min-width: 0; }
.produit-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; min-width: 0; }
.produit-prix { font-size: 0.85rem; color: var(--ocre); white-space: nowrap; flex-shrink: 0; }

/* Menu/Carte tabs */
.menu-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.menu-tab { padding: 10px 24px; background: transparent; color: rgba(245,240,232,0.5); border: 1px solid rgba(245,240,232,0.2); border-radius: 0; font-family: 'Source Sans 3', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer; transition: all var(--transition); }
.menu-tab:hover { border-color: var(--ocre); color: var(--ocre); }
.menu-tab.active { background: var(--ocre); border-color: var(--ocre); color: #fff; }
.menu-cat { display: none; }
.menu-cat.active { display: block; }
.menu-grid { max-width: 700px; margin: 0 auto; }
.menu-item { display: flex; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.menu-item:last-child { border-bottom: none; }
.menu-item-info { min-width: 0; }
.menu-item-info h3 { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--text-light); text-transform: none; }
.menu-item-info p { font-size: 13px; color: rgba(245,240,232,0.5); font-style: italic; min-width: 0; }
.menu-item-prix { font-family: 'Fraunces', serif; font-size: 18px; color: var(--ocre); font-weight: 700; white-space: nowrap; margin-left: 16px; }

/* Horaires */
.horaires-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.horaires-table tr { border-bottom: 1px solid var(--line); }
.horaires-table td { padding: 10px 0; font-size: 15px; color: var(--text-muted); font-weight: 300; }
.jour { font-weight: 600; color: var(--text); width: 120px; min-width: 100px; }
.horaires-table tr.ferme td { opacity: 0.4; }
.ferme .heures { color: var(--text-muted); font-style: italic; }
.coordonnees { margin-top: 20px; }
.coord-item { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 300; }
.coord-item a { color: var(--vert); }
.map-container iframe { width: 100%; height: 100%; min-height: 300px; border: none; display: block; }

/* Footer */
.footer { background: #111F0B; color: rgba(245,240,232,0.5); padding: 48px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 22px; color: var(--text-light); display: block; margin-bottom: 12px; font-style: italic; }
.footer h4 { color: rgba(245,240,232,0.7); margin-bottom: 12px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-style: normal; }
.footer a { color: rgba(245,240,232,0.5); }
.footer a:hover { color: var(--text-light); }
.footer p { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(245,240,232,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 13px; }
.footer-credit { color: rgba(245,240,232,0.2); }
.footer-credit a { color: rgba(245,240,232,0.2); }

/* Formulaires (Resa + C&C) */
.resa-back { background: none; border: none; color: var(--vert); cursor: pointer; font-size: 0.9rem; margin-bottom: 16px; padding: 0; text-decoration: underline; }
.resa-form .form-group { margin-bottom: 16px; }
.resa-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; }
.resa-form input, .resa-form select { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; font-size: 1rem; box-sizing: border-box; font-family: inherit; background: #fff; }
.resa-form input:focus, .resa-form select:focus { outline: none; border-color: var(--vert); }
.form-error { color: #c0392b; font-size: 0.88rem; margin-bottom: 12px; padding: 8px 12px; background: #fdf0ef; border-radius: 0; }
.resa-success { text-align: center; padding: 40px 0; }
.resa-success-icon { font-size: 3.5rem; color: var(--vert); margin-bottom: 12px; }
.resa-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.resa-success p { color: #666; margin-bottom: 24px; }

/* Switcher langue */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: inherit; border-radius: 0; padding: 3px 7px; font-size: 0.72rem; font-weight: 600; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s, color 0.2s; line-height: 1.4; }
.lang-btn:hover { background: rgba(255,255,255,0.2); }
.lang-btn.active { background: var(--ocre); border-color: var(--ocre); color: #fff; }

/* WhatsApp */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 90; transition: transform var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-toggle { display: flex; }
  #nav-toggle { display: block; }
  .nav-links { display: none; position: fixed; inset: 0; background: var(--vert); flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
  #nav-links.open, .nav-links.open { display: flex; }
  .hero-nature-content { padding: 100px 28px 0; }
  .hero-nature-bar { padding: 20px 24px; }
  .hero-nature-equip { gap: 16px; }
  .hero-equip-sep { display: none; }
  .apropos-camping { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-image { order: -1; }
  .container { padding: 0 24px; }
  .section { padding: 60px 0; }
  .hero { min-height: 100vh; }
  .hero-ribbon { padding: 16px 28px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 360px) { .hero h1 { font-size: 2rem; } .hero-nature-content h1 { font-size: 2.5rem; } }
