/* ============================================
   Chalets Trois-Lacs — Feuille de style principale
   ============================================ */

:root {
  /* Palette de la marque */
  --forest-deep: #1f2b22;
  --forest: #2f4034;
  --cream: #f4f0e6;
  --cream-2: #ece5d4;
  --gold: #b9975b;
  --ink: #23291f;
  --white: #fdfcf8;

  /* Couleur signature par chalet (tirée des murs réels de chaque chalet) */
  --accent: var(--gold);
  --accent-deep: var(--forest);

  --max-width: 1200px;
  --radius: 3px;
  --shadow-soft: 0 20px 50px -25px rgba(31, 43, 34, 0.35);
}

/* Palettes signature par chalet */
body.natura {
  --accent: #5c7048;
  --accent-deep: #37432a;
}
body.historia {
  --accent: #b6842f;
  --accent-deep: #6e4f1c;
}
body.foresta {
  --accent: #7f9a72;
  --accent-deep: #47563f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.section { padding: 5.5rem 3rem; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-narrow { max-width: 760px; margin: 0 auto; }

@media (max-width: 720px) {
  .section { padding: 3.5rem 1.3rem; }
  .hero-content h1 { font-size: 1.9rem; }
}

/* ---------- Header ---------- */
header.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 3rem;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
header.site-header.solid {
  position: sticky;
  background: var(--forest-deep);
}

.logo-link { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.logo-mark span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  opacity: 0.75;
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.logo-duck { height: 26px; width: auto; flex-shrink: 0; }
.footer-inner .logo-row { display: flex; align-items: center; gap: 0.6rem; }
.footer-inner .logo-duck { height: 24px; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
nav.main-nav a { position: relative; padding-bottom: 3px; }
nav.main-nav a.current { border-bottom: 1px solid rgba(255,255,255,0.7); }

.nav-toggle { display: none; }

.btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 0.6rem 1.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .25s ease;
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,0.12); }

.btn-solid {
  background: var(--accent-deep);
  border: 1px solid var(--accent-deep);
  color: var(--white);
}
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }

.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark:hover { background: var(--ink); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
}
.hero img { position: absolute; inset: 0; z-index: 0; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,20,14,0.5) 0%, rgba(15,20,14,0.05) 30%, rgba(10,14,9,0.9) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  padding: 0 3rem 4.5rem;
  max-width: 820px;
}
.hero-content .eyebrow { color: var(--gold); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

.hero-logo-mark {
  position: absolute;
  top: 2rem; right: 3rem;
  z-index: 2;
  width: 110px;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.45));
}
@media (max-width: 720px) {
  .hero-logo-mark { width: 74px; top: 5rem; right: 1.3rem; }
}
.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.25;
  font-weight: 400;
  margin-top: 0.7rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.7);
}
.hero-content p {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  max-width: 46ch;
  opacity: 0.94;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.9rem;
  flex-wrap: wrap;
}

.hero-small {
  height: 56vh;
  min-height: 380px;
}

/* ---------- Welcome / intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
.split h2 { font-size: 2.2rem; margin: 0.6rem 0 1.1rem; font-weight: 400; }
.split p { font-size: 0.98rem; color: #4a5245; max-width: 44ch; margin-bottom: 1.4rem; }
.split-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.link-underline {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  display: inline-block;
}

@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
}

/* ---------- Chalet cards ---------- */
.chalets-section { background: var(--forest-deep); padding: 5.5rem 3rem; }
.chalets-section .eyebrow { color: var(--gold); text-align: center; display: block; }
.chalets-section h2 {
  color: var(--white);
  text-align: center;
  font-size: 2.1rem;
  font-weight: 400;
  margin: 0.6rem 0 3rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.chalet-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.chalet-card img { transition: transform .6s ease; }
.chalet-card:hover img { transform: scale(1.06); }
.chalet-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,26,18,0) 32%, rgba(15,20,14,0.9) 100%);
}
.chalet-card-text {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.7rem;
  color: var(--white);
}
.chalet-card-text .chalet-accent {
  width: 26px; height: 3px; margin-bottom: 0.8rem;
}
.chalet-card-text h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.3rem; }
.chalet-card-text .tags { font-size: 0.72rem; opacity: 0.75; letter-spacing: 0.03em; margin-bottom: 0.9rem; }
.card-link { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.5); padding-bottom: 2px; }
.card-note {
  text-align: center;
  color: rgba(244,240,230,0.55);
  font-size: 0.76rem;
  margin-top: 2rem;
  font-style: italic;
}
.card-note a { text-decoration: underline; color: rgba(244,240,230,0.8); }

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

/* ---------- Amenities ---------- */
.amenities { background: var(--cream-2); }
.amenities h2 { text-align: center; font-size: 1.7rem; font-weight: 400; margin-bottom: 2.6rem; }
.amenities-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: #4a5245;
}
.amenity .dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid #b8bfae;
  color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
}
.amenity .dot svg { width: 20px; height: 20px; stroke: var(--accent-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .amenities-row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Gallery grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.7rem;
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid a { border-radius: var(--radius); overflow: hidden; display: block; }
.gallery-grid img { transition: transform .5s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid .g-tall { grid-row: span 1; }
}

/* ---------- Chalet page hero + intro ---------- */
.chalet-hero { height: 78vh; min-height: 480px; }
.chalet-meta {
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 0;
  font-size: 0.86rem;
}
.chalet-meta div { display: flex; flex-direction: column; gap: 0.2rem; }
.chalet-meta .num { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.chalet-meta .label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.68rem; opacity: 0.75; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

.chalet-intro { padding-top: 5.5rem; }
.chalet-intro .eyebrow { margin-bottom: 0.8rem; display:block; }
.chalet-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 400; max-width: 18ch; }
.chalet-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}
.chalet-intro-grid p { color: #4a5245; margin-bottom: 1rem; }
@media (max-width: 860px) {
  .chalet-intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Room feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(35,41,31,0.08);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
}
.feature-row h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.7rem; }
.feature-row .eyebrow { display: block; margin-bottom: 0.6rem; }
.feature-row p { color: #4a5245; }

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row.reverse .feature-media { order: 0; }
}

/* ---------- Amenity checklist ---------- */
.checklist {
  columns: 2;
  column-gap: 3rem;
  max-width: 720px;
  margin: 0 auto;
}
.checklist li {
  list-style: none;
  padding: 0.55rem 0 0.55rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  break-inside: avoid;
  border-bottom: 1px solid rgba(35,41,31,0.08);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 1.05rem;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
@media (max-width: 600px) { .checklist { columns: 1; } }

/* ---------- Booking CTA banner ---------- */
.booking-banner {
  background: var(--accent-deep);
  color: var(--white);
  padding: 4rem 3rem;
  text-align: center;
}
.booking-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 400; margin-bottom: 0.9rem; }
.booking-banner p { opacity: 0.85; max-width: 50ch; margin: 0 auto 1.8rem; }

/* ---------- Chalet switcher ---------- */
.chalet-switch {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  padding: 2.6rem 3rem 0;
  flex-wrap: wrap;
}
.chalet-switch a {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(35,41,31,0.2);
  border-radius: 20px;
}
.chalet-switch a.current { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Activities page ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.activity-item { display: grid; grid-template-columns: 130px 1fr; gap: 1.4rem; }
.activity-media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; }
.activity-item h3 { font-size: 1.2rem; font-weight: 400; margin-bottom: 0.4rem; }
.activity-item p { font-size: 0.9rem; color: #4a5245; }
@media (max-width: 720px) { .activity-grid { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  padding: 2.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.contact-card h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; }
.contact-line { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.4rem; }
.contact-line .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-deep); }
.contact-line a, .contact-line span { font-size: 1.05rem; }
.domain-note {
  border-top: 1px solid rgba(35,41,31,0.1);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: #6b7266;
  font-style: italic;
}
.domain-note a { text-decoration: underline; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid rgba(35,41,31,0.12); padding: 1.6rem 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(35,41,31,0.12); }
.faq-item h3 { font-size: 1.02rem; font-weight: 500; margin-bottom: 0.5rem; }
.faq-item p { font-size: 0.92rem; color: #4a5245; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonials h2 { text-align: center; font-size: 1.7rem; font-weight: 400; margin-bottom: 2.6rem; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial-card {
  background: var(--white);
  padding: 2.2rem 1.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.testimonial-card p { font-size: 0.92rem; color: #4a5245; flex-grow: 1; margin-bottom: 1.2rem; }
.testimonial-card .name { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink); }
.testimonial-card .name::before { content: "— "; color: var(--accent); }
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--forest-deep);
  color: rgba(244,240,230,0.85);
  padding: 4rem 3rem 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-inner .logo-mark { color: var(--white); }
.footer-inner p { max-width: 30ch; font-size: 0.85rem; margin-top: 1rem; opacity: 0.8; }
.fcol h4 { font-family: 'Work Sans', sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.fcol div, .fcol a { display: block; font-size: 0.88rem; margin-bottom: 0.7rem; opacity: 0.88; }
.footer-bottom {
  border-top: 1px solid rgba(244,240,230,0.14);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  header.site-header { padding: 1.2rem 1.3rem; }
  nav.main-nav {
    position: fixed; inset: 0;
    background: var(--forest-deep);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none; border: none; color: var(--white);
    font-size: 1.6rem; cursor: pointer; z-index: 60;
  }
}
