/* ===== Variables & base ===== */
:root {
  --color-bg: #d6e4d6;
  --color-bg-alt: #c8dcc8;
  --color-bg-dark: #1a1f1a;
  --color-text: #2c332c;
  --color-text-muted: #5c635c;
  --color-accent: #4a6b4a;
  --color-accent-light: #6b8f6b;
  --color-accent-dark: #2d4a2d;
  --color-header-bg: #6d7352;
  --color-header-border: #5a6244;
  --color-header-text: rgba(255, 255, 255, 0.92);
  --color-header-text-muted: rgba(255, 255, 255, 0.72);
  --color-border: #b8d0b8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', sans-serif;
  --space: 1.25rem;
  --container: min(90vw, 1100px);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(109, 115, 82, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-header-border);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-header-text);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.current {
  color: #fff;
}

.nav a.current {
  font-weight: 600;
}

/* Sélecteur de langue (FR · EN · NL · DE) */
.lang-switcher {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-left: 1rem;
}

.lang-switcher__link {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  border: 1px solid transparent;
  color: var(--color-header-text-muted);
  letter-spacing: 0.02em;
}

.lang-switcher__link:hover {
  color: #fff;
}

.lang-switcher__link.is-current {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.lang-switcher__sep {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  user-select: none;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .lang-switcher {
    margin-left: auto;
    margin-right: 0.25rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--color-header-bg);
    flex-direction: column;
    padding: var(--space);
    gap: 1rem;
    border-bottom: 1px solid var(--color-header-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}

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

/* ===== Container & sections ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section {
  padding: 5rem 0;
  border-top: 1px solid var(--color-border);
}

.hero + .section,
.section-page-hero,
.section-cta {
  border-top: none;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
  max-width: 20em;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

/* ===== Pages intérieures (hero court) ===== */
.section-page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2.5rem;
  background: var(--color-bg);
  text-align: center;
}

.section-page-hero .section-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.gite-description {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.gite-description p {
  margin: 0 0 1.1rem;
  text-align: center;
}

.gite-description p:last-child {
  margin-bottom: 0;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5rem;
}

.section-page-hero .gite-note {
  margin-top: 1rem;
}

.section-page-hero .btn {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: var(--header-h) var(--space) 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 31, 26, 0.4) 0%, rgba(26, 31, 26, 0.2) 50%, rgba(26, 31, 26, 0.5) 100%),
    url('../image/IMG_8251.jpg') center/cover no-repeat;
  z-index: -1;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.95);
  margin: 0 0 0.25rem;
  font-weight: 300;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 2rem;
  font-weight: 400;
}

.hero .btn-primary {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.hero .btn-primary:hover {
  background: rgba(255,255,255,0.3);
  border-color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

.hero-scroll .arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Silence & espace ===== */
.section-silence {
  background: var(--color-bg);
}

.silence-list {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.silence-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.silence-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

.silence-text {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--color-text);
  line-height: 1.7;
}

.section-silence .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ===== Notre Gîte ===== */
.section-gite {
  background: var(--color-bg);
}

.gite-capacity {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  text-align: center;
  margin: 0 0 1.5rem;
  color: var(--color-accent);
}

.section-gite .btn {
  display: block;
  width: fit-content;
  margin: 0 auto 1rem;
}

.gite-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Slider (chambres, témoignages, activités) ===== */
.slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.slider-track {
  display: flex;
  overflow: hidden;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
}

.slider-item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  min-width: 0;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--color-bg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.slider-prev {
  left: -1rem;
}

.slider-next {
  right: -1rem;
}

@media (max-width: 900px) {
  .slider-prev { left: 0.25rem; }
  .slider-next { right: 0.25rem; }
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.slider-dot.is-active {
  background: var(--color-accent);
}

/* Chambres cards ===== */
.section-chambres {
  background: var(--color-bg);
}

.chambre-card {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.chambre-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.chambre-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.section-chambres .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ===== Témoignages ===== */
.section-temoignages {
  background: var(--color-bg-dark);
  color: #e8e6e2;
}

.section-temoignages .section-title {
  color: #fff;
}

.temoignage {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.temoignage p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.temoignage cite {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.section-temoignages .slider-prev,
.section-temoignages .slider-next {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.section-temoignages .slider-dot {
  background: rgba(255,255,255,0.3);
}

.section-temoignages .slider-dot.is-active {
  background: var(--color-bg);
}

/* ===== Équipements ===== */
.section-equipements {
  background: var(--color-bg-alt);
}

.equipements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.equipement-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.equipement-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(74, 107, 74, 0.08);
}

.equipement-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.equipement-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.equipement-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===== Activités (bandeaux image + contenu, quinconce) ===== */
.section-activites {
  background: var(--color-bg-alt);
}

.section-activites .container {
  max-width: min(92vw, 1000px);
  padding-left: 1rem;
  padding-right: 1rem;
}

.activites-filters-label {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

.activites-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.activites-filter {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border, #ddd);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.activites-filter:hover {
  border-color: var(--color-accent-dark);
  color: var(--color-accent-dark);
}

.activites-filter.is-active {
  background: var(--color-accent-dark);
  color: #fff;
  border-color: var(--color-accent-dark);
}

.activite-item.is-hidden {
  display: none !important;
}

.activites-liste {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.activite-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  background: var(--color-bg);
  opacity: 0;
  transform: translateX(-220px);
  transition: opacity 0.85s ease-out, transform 0.85s ease-out;
}

.activite-item--right {
  transform: translateX(220px);
}

.activite-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Quinconce selon la classe (pas nth-child : compatible avec les filtres) */
.activite-item--right .activite-item__media {
  order: 2;
}

.activite-item--right .activite-item__content {
  order: 1;
}

.activite-item__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.activite-item__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Citadelle de Dinant : cadrage vers le haut pour montrer la forteresse */
.activite-item__media img.activite-item__img--focus-top {
  object-position: center 22%;
}

/* Photos portrait : afficher l'image entière sans rognage */
.activite-item__media img.activite-item__img--contain {
  object-fit: contain;
  object-position: center;
}

/* Rocher Bayard : aiguille à droite + base du rocher visible */
.activite-item__media img.activite-item__img--focus-bayard {
  object-position: 65% 62%;
}

.activite-item__content {
  display: flex;
  flex-direction: column;
}

.activite-item__header {
  background: var(--color-accent-dark);
  padding: 1rem 1.5rem;
}

.activite-item__header h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

.activite-item__body {
  flex: 1;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.activite-item__body p {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
}

.activite-item__body p:last-of-type {
  margin-bottom: 1.25rem;
}

.btn-activite {
  align-self: flex-end;
  margin-top: auto;
  background: var(--color-accent-dark);
  color: #fff;
  border-color: var(--color-accent-dark);
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
}

.btn-activite:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

@media (max-width: 768px) {
  .activite-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .activite-item__media {
    min-height: 220px;
    aspect-ratio: 16/10;
    order: 0;
  }

  .activite-item__content {
    order: 1;
  }
}

/* ===== Saveur authentique ===== */
.section-saveur {
  background: var(--color-bg-alt);
}

.saveur-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 2rem;
}

.saveur-card {
  padding: 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.saveur-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--color-accent);
}

.saveur-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.section-saveur .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ===== CTA ===== */
.section-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  color: #fff;
  text-align: center;
}

.section-cta .section-title {
  color: #fff;
  margin-bottom: 1.5rem;
}

.section-cta .btn-primary {
  background: var(--color-bg);
  color: var(--color-accent);
  border-color: #fff;
}

.section-cta .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--color-accent);
}

/* ===== Contact ===== */
.section-contact {
  background: var(--color-bg-alt);
}

.container--contact {
  max-width: 1100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: transparent;
}

.contact-info .section-title {
  text-align: left;
  margin-bottom: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
  max-width: none;
}

.contact-info-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.contact-details p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  font-size: 0.95rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details a {
  color: var(--color-accent);
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Formulaire : bloc principal, plus grand et professionnel */
.contact-form-wrapper {
  background: transparent;
  padding: 2.25rem;
}

.contact-form {
  max-width: none;
  margin: 0;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row--double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group label,
.form-row > label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.form-group input,
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row textarea {
  min-height: 180px;
  resize: vertical;
}

.form-group input:focus,
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(74, 107, 74, 0.12);
}

.contact-form .btn-submit {
  width: auto;
  min-width: 180px;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.25rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.75rem;
  }

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

/* ===== Galerie (grille 2 col + blocs larges, comme à l’origine) ===== */
.section-galerie {
  background: var(--color-bg-alt);
}

.galerie-filters-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}

.galerie-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.galerie-filter {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border, #ddd);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.galerie-filter:hover {
  border-color: var(--color-accent-dark);
  color: var(--color-accent-dark);
}

.galerie-filter.is-active {
  background: var(--color-accent-dark);
  color: #fff;
  border-color: var(--color-accent-dark);
}

.galerie-item.is-hidden {
  display: none !important;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
}

.galerie-item {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-border);
}

.galerie-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.galerie-item--large {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.galerie-item--large > img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 600px) {
  .galerie-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .galerie-item--large {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

/* ===== Images responsives (hero, galerie, sliders) ===== */
.section-galerie .container {
  max-width: min(94vw, 1040px);
}

.slider {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .section-galerie .container {
    max-width: min(90vw, 1000px);
  }

  .section-activites .container {
    max-width: min(88vw, 960px);
  }

  .section-chambres .slider,
  .section-chambres .slider-dots {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }

  .activite-item {
    min-height: 240px;
  }

  .activite-item__media {
    min-height: 240px;
  }

  .galerie-item--large {
    aspect-ratio: 18 / 9;
  }
}

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 1.05rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .activite-item__media {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  :root {
    --space: 1rem;
  }

  .galerie-filter {
    font-size: 0.78rem;
    padding: 0.4rem 0.65rem;
  }
}

/* ===== Formulaire : notices & honeypot ===== */
.form-notice {
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-notice--success {
  background: #e7f4ea;
  color: #1e5631;
  border: 1px solid #b6dcc0;
}

.form-notice--error {
  background: #fcebea;
  color: #8a1c1c;
  border: 1px solid #f0c2c0;
}

/* Champ anti-bot : caché visuellement mais présent dans le DOM */
.form-hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit.is-loading {
  opacity: 0.65;
  cursor: progress;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.85);
  padding: 1.5rem 0 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.footer-contact {
  margin: 0;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
}

.footer-location {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-sep {
  color: rgba(255,255,255,0.35);
  user-select: none;
}

.footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 0.75rem var(--space);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
