/* =========================================================
   Gîte du Prieuré – Feuille de style v2 (look chic)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600&family=Lato:wght@300;400&display=swap');

:root {
  --color-accent:  #b8a46a;   /* or patiné, plus chic que jaune vif */
  --color-black:   #1a1a1a;
  --color-dark:    #2c2c2c;
  --color-footer:  #1e1e1e;
  --color-text:    #3d3d3d;
  --color-muted:   #7a7a7a;
  --color-light:   #f7f5f0;   /* blanc cassé chaud */
  --color-border:  #d0c8b8;
  --font-titles:   'Cormorant Garamond', Georgia, serif;
  --font-menu:     'Raleway', sans-serif;
  --font-text:     'Lato', sans-serif;
  --max-width:     1100px;
  --radius:        2px;
  --transition:    0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrapper { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* ── TOP STRIP ──────────────────────────────────────────── */
.top-strip {
  background: var(--color-black);
  color: #ccc;
  font-family: var(--font-menu);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.top-strip .wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 36px;
  gap: 24px;
}
.lang-switcher { position: relative; }
.lang-switcher > a {
  display: flex; align-items: center; gap: 5px;
  color: #bbb; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; font-size: 11px;
  cursor: pointer;
}
.lang-switcher > a::after { content: ' ▾'; font-size: 9px; }
.lang-dropdown {
  display: none;
  position: absolute; top: 100%; right: 0;
  background: var(--color-black);
  border: 1px solid #333;
  min-width: 140px;
  z-index: 100;
}
.lang-dropdown a {
  display: block; padding: 9px 16px;
  color: #bbb; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color var(--transition);
}
.lang-dropdown a:hover { color: var(--color-accent); }
.lang-switcher:hover .lang-dropdown { display: block; }

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  background: #fff;
  padding: 32px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.site-header .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.site-logo img { height: 56px; width: auto; margin: 0 auto; }
.tagline {
  font-family: var(--font-menu);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 400;
}

/* ── NAVIGATION ─────────────────────────────────────────── */
.main-nav {
  background: #fff;
  border-bottom: 1px solid var(--color-black);
  font-family: var(--font-menu);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: sticky; top: 0; z-index: 50;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
}
.main-nav li a {
  display: block;
  padding: 16px 24px;
  color: var(--color-black);
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.main-nav li a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--color-accent);
  transition: left var(--transition), right var(--transition);
}
.main-nav li a:hover::after,
.main-nav li.active a::after { left: 16px; right: 16px; }
.main-nav li a:hover { color: var(--color-dark); }
.main-nav li.active a { color: var(--color-accent); }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--color-black); transition: var(--transition);
}

/* ── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  background: #f7f5f0;
  overflow: hidden;
}
/* les slides sont en flux normal, une seule visible à la fois */
.hero-slide {
  display: none;
  width: 100%;
}
.hero-slide.active { display: block; }
.hero-slide img {
  width: 100%;              /* pleine largeur */
  height: auto;             /* hauteur naturelle, pas de crop ni flou */
  max-height: 560px;        /* limite raisonnable sur grand écran */
  object-fit: contain;      /* affiche tout sans découpe */
  object-position: center;
  background: #f7f5f0;
  display: block;
}
.slider-controls {
  display: flex; gap: 10px; justify-content: center;
  padding: 12px 0 4px;
  background: #f7f5f0;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.35);
  cursor: pointer; transition: background var(--transition);
}
.slider-dot.active { background: var(--color-accent); border-color: var(--color-accent); }
.slider-prev, .slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.7); color: var(--color-black);
  border: 1px solid rgba(0,0,0,0.15); cursor: pointer;
  width: 40px; height: 40px; font-size: 16px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.95); }

/* ── INTRO ───────────────────────────────────────────────── */
.intro-section { padding: 70px 0; background: #fff; }
.intro-section p {
  max-width: 780px; margin: 0 auto;
  font-family: var(--font-titles);
  font-size: 20px; font-weight: 300;
  line-height: 1.9; text-align: center;
  color: var(--color-text);
  font-style: italic;
}

/* ── PAGE CONTENT ────────────────────────────────────────── */
.page-content { padding: 56px 0 80px; }
.page-title {
  font-family: var(--font-titles);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--color-black);
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  position: relative; display: inline-block;
}
.page-title::after {
  content: '';
  position: absolute; bottom: -10px; left: 0;
  width: 48px; height: 1px;
  background: var(--color-accent);
}

/* ── TARIFS ──────────────────────────────────────────────── */
.tarifs-table {
  width: 100%; max-width: 480px;
  border-collapse: collapse; margin-bottom: 36px;
  font-size: 16px; font-family: var(--font-text);
}
.tarifs-table th, .tarifs-table td {
  padding: 13px 20px; border: 1px solid var(--color-border); text-align: left;
}
.tarifs-table th {
  background: var(--color-black); color: #fff;
  font-family: var(--font-menu); font-weight: 500;
  letter-spacing: 0.1em; font-size: 11px; text-transform: uppercase;
}
.tarifs-table tr:nth-child(even) td { background: var(--color-light); }
.horaires { margin: 28px 0; font-size: 16px; }
.horaires p { margin-bottom: 8px; }
.tarifs-icons { display: flex; gap: 20px; align-items: center; margin-top: 36px; }
.tarifs-icons img { height: 56px; width: auto; }
.epis-block { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.epis-block img { height: 56px; }
.epis-block em { font-style: italic; color: var(--color-muted); font-family: var(--font-titles); font-size: 18px; }

/* ── NOUS TROUVER ────────────────────────────────────────── */
.adresse-block {
  background: var(--color-light);
  border-left: 2px solid var(--color-accent);
  padding: 22px 28px; margin-bottom: 40px;
  font-family: var(--font-titles); font-size: 19px; font-weight: 300;
}
.itineraire-section h2 {
  font-family: var(--font-titles); font-size: 22px; font-weight: 400;
  color: var(--color-black); margin: 32px 0 12px; letter-spacing: 0.02em;
}
.itineraire-section ul { list-style: none; padding-left: 0; }
.itineraire-section li {
  padding: 5px 0 5px 20px; position: relative; font-size: 16px;
}
.itineraire-section li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--color-accent);
}
.map-container {
  margin-top: 40px; border: 1px solid var(--color-border); overflow: hidden;
}
.map-container iframe { display: block; width: 100%; height: 380px; border: none; }
.map-container p {
  text-align: right; padding: 6px 12px;
  font-size: 12px; color: var(--color-muted);
  background: var(--color-light);
}
.map-container a { color: var(--color-muted); text-decoration: underline; }

/* ── GALERIE ─────────────────────────────────────────────── */
.galerie-nav { display: flex; gap: 0; margin-bottom: 36px; border-bottom: 1px solid var(--color-border); }
.galerie-nav a {
  display: inline-block; padding: 10px 24px;
  font-family: var(--font-menu); font-size: 11px;
  font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color var(--transition), border-color var(--transition);
}
.galerie-nav a:hover { color: var(--color-black); }
.galerie-nav a.active { color: var(--color-black); border-bottom-color: var(--color-accent); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px; margin-top: 8px;
}
.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--color-light); aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,0); display: flex;
  align-items: center; justify-content: center;
  transition: background var(--transition); color: #fff; font-size: 24px;
  opacity: 0;
}
.gallery-item:hover .overlay { background: rgba(26,26,26,0.25); opacity: 1; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,10,10,0.94);
  align-items: center; justify-content: center; flex-direction: column;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 20px; right: 28px;
  color: rgba(255,255,255,0.7); font-size: 28px; cursor: pointer;
  background: none; border: none; font-family: var(--font-menu); letter-spacing: 0.1em;
  transition: color var(--transition);
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.15); cursor: pointer;
  width: 48px; height: 48px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-caption {
  color: rgba(255,255,255,0.5); font-size: 13px;
  margin-top: 14px; font-family: var(--font-menu); letter-spacing: 0.08em;
}

/* ── DISPONIBILITÉS ──────────────────────────────────────── */
.dispo-info {
  background: var(--color-light); border-left: 2px solid var(--color-accent);
  padding: 28px 32px; margin-bottom: 36px;
}
.dispo-info p { font-size: 17px; margin-bottom: 10px; }
.dispo-info a { color: var(--color-black); text-decoration: underline; }
.dispo-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-titles); font-size: 26px; font-weight: 300;
  color: var(--color-black); margin-top: 12px; letter-spacing: 0.02em;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-form { max-width: 580px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--font-menu);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 8px; color: var(--color-black);
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 0;
  border: none; border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-text); font-size: 16px; color: var(--color-text);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-bottom-color: var(--color-black);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  background: var(--color-black); color: #fff; border: none; cursor: pointer;
  padding: 14px 40px;
  font-family: var(--font-menu); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--transition);
}
.btn-submit:hover { background: var(--color-accent); color: var(--color-black); }
.form-notice {
  margin-top: 18px; padding: 14px 18px; font-size: 14px; display: none;
}
.form-notice.success { background: #f0f5f0; color: #2d5a2d; border-left: 2px solid #2d5a2d; display: block; }
.form-notice.error   { background: #f5f0f0; color: #5a2d2d; border-left: 2px solid #5a2d2d; display: block; }

/* ── LIENS ───────────────────────────────────────────────── */
.liens-section h2 {
  font-family: var(--font-titles); font-size: 24px; font-weight: 400;
  margin: 32px 0 12px; color: var(--color-black);
}
.liens-section a { color: var(--color-black); text-decoration: underline; }
.liens-section a:hover { color: var(--color-accent); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--color-footer); color: #888; padding: 48px 0 0; }
.footer-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; padding-bottom: 40px;
}
.footer-col h3 {
  font-family: var(--font-menu); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 16px;
}
.footer-col p, .footer-col a { font-size: 14px; line-height: 1.8; color: #888; }
.footer-col a:hover { color: #ccc; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.copyright {
  background: #141414; text-align: center; padding: 18px;
  font-family: var(--font-menu); font-size: 11px;
  letter-spacing: 0.1em; color: #555;
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  background: transparent; color: var(--color-black);
  width: 40px; height: 40px; border: 1px solid var(--color-black);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  z-index: 40;
}
.back-top.visible { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--color-black); color: #fff; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* slider hauteur auto sur mobile */
  .hamburger { display: flex; }
  .main-nav .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-black); z-index: 50;
  }
  .main-nav .nav-links.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a { padding: 14px 20px; border-top: 1px solid #f0f0f0; }
  .main-nav li a::after { display: none; }
  .main-nav .wrapper { display: flex; align-items: center; justify-content: space-between; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .intro-section p { font-size: 18px; }
}
@media (max-width: 480px) {
  /* slider auto */
  .site-header { padding: 20px 0 16px; }
}
