/* ===== Base ===== */
:root {
  --color-bg: #FFFFFF;
  --color-text: #838383;
  --color-accent: #DDAD10;
  --color-accent-secondary: #DB820F;
  --color-accent-light: #F19B2C;
  --color-border: #e0d9cf;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Amaranth", Georgia, serif;
  --max-width: 960px;
  --spacing: 1.25rem;
}

* {
  box-sizing: border-box;
}

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

h1, h2 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h2 {
  color: var(--color-accent-light);
}

h3 {
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

a {
  color: var(--color-accent);
}

section {
  padding: 2.5rem var(--spacing);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Séparateurs de section ===== */
.section-divider {
  border: none;
  height: 2px;
  background-color: #D2D2D2;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem var(--spacing);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-secondary);
  text-decoration: none;
}

.logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
}

.lang-switch button {
  border: 1px solid var(--color-border);
  background: transparent;
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 4px;
}

.lang-switch button.active {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ===== Boutons ===== */
.btn-reserver {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-reserver:hover {
  background: var(--color-accent-secondary);
}

.btn-reserver--header {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

.btn-reserver--hero {
  margin-top: 0.5rem;
}

/* ===== Hero ===== */
#hero {
  max-width: none;
  padding: 0;
}

.hero-banner {
  position: relative;
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: 30% 75%;
  padding: 5.5rem var(--spacing);
  text-align: center;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-banner .lang-content {
  position: relative;
  z-index: 1;
}

.hero-banner h1 {
  color: #ffffff;
  margin: 0;
  font-size: 1.5rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem var(--spacing);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-media {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  min-width: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

@media (min-width: 600px) {
  .hero-banner {
    padding: 8rem var(--spacing);
  }

  .hero-banner h1 {
    font-size: 2rem;
  }

  .hero-inner {
    padding: 3.5rem var(--spacing);
  }
}

@media (min-width: 900px) {
  .hero-banner h1 {
    font-size: 2.5rem;
  }

  .hero-inner {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-text {
    flex: 1 1 60%;
    min-width: 0;
  }

  .hero-media {
    flex: 1 1 40%;
    flex-direction: column;
  }
}

/* ===== Carte ===== */
.map-embed {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.map-embed iframe {
  width: 100%;
  display: block;
}

/* ===== Galerie (carrousel + badges) ===== */
.galerie-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.galerie-carousel-col {
  width: 100%;
  min-width: 0;
}

.galerie-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-width: 0;
  max-width: 100%;
}

.galerie-badges > * {
  width: 100%;
  min-width: 0;
  max-width: 260px;
}

.badge-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .galerie-inner {
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: start;
  }

  .galerie-carousel-col {
    width: 100%;
  }

  .galerie-badges {
    flex-direction: column;
  }
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 4px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel-arrow--prev {
  left: 0.5rem;
}

.carousel-arrow--next {
  right: 0.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
}

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

@media (min-width: 600px) {
  .carousel-arrow {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
  }
}

/* ===== Équipements ===== */
.equip-bloc {
  margin-bottom: 1.25rem;
}

.equip-bloc h3 {
  color: var(--color-accent-secondary);
  font-size: 1.05rem;
}

.equip-closing {
  font-style: italic;
  margin-top: 1.5rem;
}

/* ===== Contact ===== */
#contact form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 480px;
}

#contact label {
  font-weight: 600;
}

#contact input,
#contact textarea {
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font: inherit;
}

#contact textarea {
  min-height: 120px;
  resize: vertical;
}

#contact button {
  align-self: flex-start;
  border: none;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

#contact button:hover {
  background: var(--color-accent-secondary);
}

/* Honeypot anti-spam : invisible pour un humain, rempli par les bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 480px;
}

.form-feedback--success {
  background: #e6f4ea;
  color: #1e7d34;
}

.form-feedback--error {
  background: #fdecea;
  color: #c62828;
}

/* ===== Footer ===== */
footer {
  background: #000000;
  color: #ffffff;
  padding: 2.5rem var(--spacing) 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

footer .lang-content p {
  margin: 0 0 0.4rem;
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  text-align: left;
}

.footer-title {
  font-weight: 700;
  color: var(--color-accent-light);
}

.footer-reg,
.footer-rights {
  text-align: center;
  font-size: 0.8rem;
  color: #cccccc;
}

@media (min-width: 600px) {
  .footer-columns {
    flex-direction: row;
    justify-content: center;
    gap: 4rem;
  }
}

/* ===== Responsive (mobile-first: styles ci-dessus s'appliquent par défaut) ===== */
@media (min-width: 600px) {
  section {
    padding: 3.5rem var(--spacing);
  }

  .site-header {
    padding: 1rem 2rem;
  }
}

