/* ===== Base ===== */
:root {
  --color-bg: #FFFFFF;
  --color-text: #838383;
  --color-accent: #B39BB8;
  --color-accent-secondary: #806B86;
  --color-accent-light: #AAA0B0;
  --color-border: #e0d9cf;
  --color-cta-bg: #B39BB8;
  --color-cta-hover: #9F86A5;
  --color-cta-text: #FFFFFF;
  --color-heading: #1F1F1F;
  --font-body: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading-accent: "Unica One", Georgia, serif;
  --font-footer: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-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-accent);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--color-heading);
}

h2 {
  font-size: 1.9rem;
}

h1::before,
h2::before {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  background: var(--color-cta-bg);
  margin: 0 0 0.75rem;
}

h3 {
  font-family: var(--font-heading-accent);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--color-accent-secondary);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

@media (min-width: 600px) {
  h2 {
    font-size: 2.15rem;
  }
}

@media (min-width: 900px) {
  h2 {
    font-size: 2.45rem;
  }
}

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;
  width: 100%;
  background-color: rgba(31, 31, 31, 0.2);
  margin: 0;
}

/* ===== 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;
}

.lang-switch {
  display: flex;
  align-items: center;
  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);
}

.header-reserve {
  background: var(--color-cta-bg);
  color: #FFFFFF;
  padding: 0.4rem 0.8rem;
  margin-left: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.header-reserve:hover {
  background: var(--color-cta-hover);
}

/* ===== Bouton CTA principal (hero) ===== */
.btn-cta {
  display: inline-block;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  text-decoration: none;
  padding: 0.9rem 1.75rem;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: normal;
  margin-top: 1.5rem;
}

.btn-cta:hover {
  background: var(--color-cta-hover);
}

/* ===== Hero (parallax) ===== */
.hero-parallax {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("../img/galerie/20250406-1U3A7946.jpg");
  background-size: cover;
  background-position: 50% 40%;
  background-attachment: scroll;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 4rem var(--spacing);
}

.hero-content h1 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.85rem;
}

.hero-content h1::before {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 600px) {
  .hero-content h1 {
    font-size: 2.4rem;
  }
}

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

@media (min-width: 768px) {
  .hero-parallax {
    background-attachment: fixed;
  }
}

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

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

/* ===== Galerie (carrousel) ===== */
#galerie {
  max-width: 1040px;
}

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

.galerie-cta-wrap {
  text-align: center;
  margin-top: 2rem;
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  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: auto;
  bottom: 0.85rem;
  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: 3.25rem;
}

/* Points de pagination : colonne verticale, superposés à droite du visuel */
.carousel-dots {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.4rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  z-index: 2;
}

.carousel-dot {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-dot.active {
  background: var(--color-cta-bg);
  border-color: var(--color-cta-bg);
}

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

/* ===== Bienvenue ===== */
.bienvenue-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.bienvenue-col img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 1rem;
}

.bienvenue-col h3 {
  margin-top: 0;
}

@media (min-width: 700px) {
  .bienvenue-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Équipements ===== */
.equip-grid {
  display: flex;
  flex-direction: column;
  gap: 0 2.5rem;
}

.equip-col {
  min-width: 0;
}

@media (min-width: 700px) {
  .equip-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .equip-col {
    flex: 1 1 0;
  }
}

.equip-bloc {
  margin-bottom: 1.25rem;
}

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

/* ===== Avis clients ===== */
.avis-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

/* ===== 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-cta-bg);
  color: var(--color-cta-text);
  padding: 0.6rem 1.25rem;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
}

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

/* 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;
  font-family: var(--font-footer);
}

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

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  text-align: left;
}

.footer-title {
  font-family: var(--font-heading-accent);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--color-accent-light);
}

.footer-address {
  font-style: normal;
}

.footer-address p {
  margin: 0;
}

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

@media (min-width: 600px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ===== 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;
  }
}
