:root {
  /* Palette Chalet Lya */
  --vert-sapin: #1E2D24;
  --vert-sapin-soft: #2a3d31;
  --bois: #C8A27A;
  --bois-soft: #d9b893;
  --creme: #F2EFE7;
  --creme-warm: #ebe5d6;
  --noir: #111111;
  --gris: #8B8E8B;
  --gris-soft: #b8bab7;
  --terracotta: #B85A2C; /* accent emprunté à Nordika */

  /* Aliases sémantiques */
  --bg: var(--creme);
  --bg-alt: var(--creme-warm);
  --bg-dark: var(--vert-sapin);
  --ink: var(--vert-sapin);
  --ink-soft: #44524a;
  --muted: var(--gris);
  --accent: var(--vert-sapin);
  --accent-dark: var(--noir);
  --gold: var(--bois);
  --white: #ffffff;
  --border: #d8d0c0;

  --shadow: 0 12px 40px rgba(30, 45, 36, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 45, 36, 0.15);
  --radius: 6px;
  --radius-lg: 14px;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }

.container { width: min(1200px, 92%); margin: 0 auto; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: .72rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin: 0 0 1.2em;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--bois);
}
.section-head .eyebrow::after { display: inline-block; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 239, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 2rem; padding: 1.1rem 0; }
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--vert-sapin);
  font-family: var(--sans);
}
.brand:hover { color: var(--vert-sapin); }
.brand-mark {
  width: 26px;
  height: 36px;
  color: var(--vert-sapin);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.main-nav { display: flex; gap: 1.8rem; margin-left: auto; align-items: center; }
.main-nav a {
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: .4rem 0;
}
.main-nav a:not(.cta-link)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width .25s;
}
.main-nav a:not(.cta-link):hover { color: var(--vert-sapin); }
.main-nav a:not(.cta-link):hover::after { width: 100%; }

.cta-link {
  background: var(--vert-sapin);
  color: var(--creme) !important;
  padding: .65rem 1.3rem;
  border-radius: 2px;
  transition: background .2s;
}
.cta-link:hover { background: var(--terracotta); color: var(--creme) !important; }

.lang-switch { display: flex; gap: .25rem; }
.lang-switch button {
  background: transparent;
  border: 0;
  padding: .3rem .55rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gris);
  cursor: pointer;
  font-family: var(--sans);
  transition: color .2s;
}
.lang-switch button.active {
  color: var(--vert-sapin);
  border-bottom: 1px solid var(--terracotta);
}

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: .3rem; }
.menu-toggle span { width: 24px; height: 1.5px; background: var(--vert-sapin); display: block; transition: all .2s; }

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--creme);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, rgba(30, 45, 36, 0.75) 100%),
    radial-gradient(ellipse at 30% 40%, #3a5544 0%, #1e2d24 50%, #0d1611 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(200, 162, 122, 0.18), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(184, 90, 44, 0.12), transparent 50%);
  pointer-events: none;
}
.hero::after {
  /* texture sapin/forêt subtile */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%23F2EFE7' stroke-width='0.4' opacity='0.08'><path d='M30 180 L30 130 M20 160 L30 145 L40 160 M22 145 L30 132 L38 145'/><path d='M170 180 L170 140 M162 165 L170 150 L178 165'/><path d='M100 180 L100 145 M93 165 L100 152 L107 165'/></g></svg>");
  background-size: 400px 400px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 820px;
  padding: 7rem 0 9rem;
}
.hero h1 {
  color: var(--creme);
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--bois);
}
.hero .eyebrow { color: var(--bois); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--bois); }
.hero-sub {
  font-size: 1.15rem;
  opacity: .9;
  margin-bottom: 2.5rem;
  max-width: 58ch;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-values {
  list-style: none;
  padding: 0;
  margin: 4rem 0 0;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  font-size: .7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(242, 239, 231, 0.7);
  font-weight: 500;
}
.hero-values li {
  padding: 0 1.5rem;
  border-right: 1px solid rgba(200, 162, 122, 0.4);
}
.hero-values li:first-child { padding-left: 0; }
.hero-values li:last-child { border-right: 0; }

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: rgba(200, 162, 122, 0.4);
  overflow: hidden;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 20px;
  background: var(--bois);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(60px); }
}

.btn {
  display: inline-block;
  padding: 1rem 1.9rem;
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 0;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--bois);
  color: var(--vert-sapin);
}
.btn-primary:hover {
  background: var(--terracotta);
  color: var(--creme);
}
.btn-ghost {
  background: transparent;
  color: var(--creme);
  border: 1px solid rgba(242, 239, 231, 0.4);
}
.btn-ghost:hover {
  background: var(--creme);
  color: var(--vert-sapin);
}

/* SECTIONS */
.section { padding: 7rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--vert-sapin); color: var(--creme); }
.section-dark h2 { color: var(--creme); }
.section-dark .eyebrow { color: var(--bois); }
.section-dark .eyebrow::before, .section-dark .eyebrow::after { background: var(--bois); }
.section-dark .section-lead { color: rgba(242, 239, 231, 0.8); }

.section-head { text-align: center; margin-bottom: 4.5rem; }
.section-head h2 em { font-style: italic; color: var(--bois); }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 56ch; margin: 0 auto; line-height: 1.75; }

/* PRÉSENTATION */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 600;
  float: left;
  line-height: .85;
  padding: .2rem .6rem .1rem 0;
  color: var(--bois);
}
.about-stats {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
.about-stats li {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.about-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--vert-sapin);
  line-height: 1;
  font-weight: 500;
}
.about-stats span {
  font-size: .72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: .3rem;
  display: inline-block;
}

/* GALERIE */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform .4s ease, filter .4s ease;
  filter: saturate(0.85);
}
.gallery-item:hover { transform: scale(1.02); filter: saturate(1); }
.gallery-item[data-img="1"] { grid-column: span 4; grid-row: span 2; background: linear-gradient(135deg, #2d4a3a 0%, #1e2d24 100%); }
.gallery-item[data-img="2"] { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #C8A27A 0%, #8a6f3f 100%); }
.gallery-item[data-img="3"] { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #44524a 0%, #1e2d24 100%); }
.gallery-item[data-img="4"] { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #B85A2C 0%, #7a3d1c 100%); }
.gallery-item[data-img="5"] { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, #d9b893 0%, #8a6f3f 100%); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 56' fill='none' stroke='%23F2EFE7' stroke-width='1' stroke-opacity='0.35' stroke-linecap='round' stroke-linejoin='round'><path d='M22 46 L32 18 L42 46 Z'/><path d='M27 46 L27 36 L37 36 L37 46'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50px;
}

/* ÉQUIPEMENTS */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.amenity {
  background: transparent;
  padding: 2rem 1.8rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .25s;
}
.amenity:hover { background: rgba(200, 162, 122, 0.08); }
.amenity-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bois);
  border-radius: 50%;
  color: var(--vert-sapin);
}
.amenity h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.amenity p { color: var(--ink-soft); font-size: .88rem; margin: 0; line-height: 1.6; }

/* TARIFS */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.rate-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  text-align: center;
  transition: all .3s;
}
.rate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rate-card.featured {
  background: var(--vert-sapin);
  color: var(--creme);
  border-color: var(--vert-sapin);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.rate-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.rate-card.featured h3 { color: var(--creme); }
.rate-card.featured .rate-period { color: rgba(242, 239, 231, 0.7); }
.rate-card.featured .rate-price strong { color: var(--bois); }
.rate-card.featured .rate-price span { color: rgba(242, 239, 231, 0.75); }
.rate-card.featured ul { border-top-color: rgba(200, 162, 122, 0.3); }
.rate-card.featured li { color: rgba(242, 239, 231, 0.85); }
.rate-card.featured li::before { color: var(--bois); }

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--creme);
  padding: .35rem 1rem;
  border-radius: 0;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.rate-card h3 {
  font-size: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--vert-sapin);
}
.rate-period {
  color: var(--muted);
  font-size: .75rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.rate-price { margin: 1.2rem 0 1.8rem; }
.rate-price strong {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--vert-sapin);
  font-weight: 500;
  line-height: 1;
}
.rate-price span { color: var(--ink-soft); font-size: .85rem; display: block; margin-top: .3rem; }
.rate-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.rate-card li {
  padding: .5rem 0;
  color: var(--ink-soft);
  font-size: .9rem;
  position: relative;
  padding-left: 1.5rem;
}
.rate-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.fine-print {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .82rem;
  font-style: italic;
  font-family: var(--serif);
}

/* LOCALISATION */
.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: saturate(0.9); }
.activities h3 {
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}
.activities-list { list-style: none; padding: 0; margin: 0; }
.activities-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.activities-list li:last-child { border-bottom: 0; }
.activities-list strong {
  color: var(--vert-sapin);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.activities-list span { color: var(--ink-soft); font-size: .95rem; }

/* POLITIQUES */
.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
}
.policy {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2.2rem 2rem;
}
.policy h3 {
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--terracotta);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.policy ul { list-style: none; padding: 0; margin: 0; }
.policy li {
  padding: .6rem 0 .6rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
}
.policy li::before {
  content: "▲";
  position: absolute;
  left: 0;
  top: .7rem;
  color: var(--bois);
  font-size: .55rem;
}

/* RÉSERVATION */
.booking-widget {
  background: rgba(242, 239, 231, 0.05);
  border: 1px dashed rgba(200, 162, 122, 0.4);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: rgba(242, 239, 231, 0.7);
  font-size: .95rem;
}
.booking-widget p { margin: 0; }

.contact-form {
  background: rgba(242, 239, 231, 0.04);
  border: 1px solid rgba(200, 162, 122, 0.2);
  border-radius: var(--radius);
  padding: 3rem;
  display: grid;
  gap: 1.3rem;
  max-width: 820px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .72rem;
  color: rgba(242, 239, 231, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.contact-form label.full { width: 100%; }
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(200, 162, 122, 0.25);
  background: rgba(242, 239, 231, 0.05);
  color: var(--creme);
  border-radius: 2px;
  transition: all .2s;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--bois);
  background: rgba(242, 239, 231, 0.1);
}
.contact-form .btn { justify-self: start; margin-top: .8rem; }
.form-status { margin: 0; font-size: .88rem; color: var(--bois); min-height: 1.2em; letter-spacing: 0.05em; }

/* FOOTER */
.site-footer {
  background: var(--noir);
  color: rgba(242, 239, 231, 0.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 162, 122, 0.15);
}
.site-footer .brand-name {
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--creme);
  letter-spacing: 0.32em;
  margin-bottom: 1rem;
  display: inline-block;
}
.site-footer .footer-grid > div:first-child p:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(242, 239, 231, 0.6);
}
.footer-title {
  color: var(--creme);
  font-weight: 600;
  margin-bottom: .8rem;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.site-footer a { color: var(--bois); }
.site-footer a:hover { color: var(--terracotta); }
.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: rgba(242, 239, 231, 0.4);
  font-size: .8rem;
  letter-spacing: 0.1em;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .gallery { grid-auto-rows: 100px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  .menu-toggle { display: flex; order: 4; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--creme);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 5%;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .lang-switch { order: 3; margin-left: auto; }
  .nav { gap: 1rem; padding: 1rem 0; }
  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 3rem; }
  .hero-content { padding: 5rem 0 6rem; }
  .hero-values {
    margin-top: 2.5rem;
    font-size: .65rem;
    letter-spacing: 0.25em;
    gap: .8rem 0;
  }
  .hero-values li { padding: 0 .8rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.8rem; }
  .rate-card.featured { transform: none; }
  .rate-card.featured:hover { transform: translateY(-4px); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .gallery-item[data-img="1"] { grid-column: span 2; }
  .gallery-item[data-img="2"],
  .gallery-item[data-img="3"],
  .gallery-item[data-img="4"],
  .gallery-item[data-img="5"] { grid-column: span 1; }
  .scroll-indicator { display: none; }
}
