/* ============================================
   CHANGER D'AIR EN MOSELLE — DESIGN SYSTEM
   ============================================ */

:root {
  --cream:  #F2EDE4;
  --cream-2:#E4DDCB;
  --ink:    #1F2A24;
  --ink-soft: #3A4A40;
  --rust:   #C2622D;
  --moss:   #7A8B6F;
  --yellow: #E8B84B;

  --display: "Fraunces", serif;
  --body: "Public Sans", sans-serif;

  --container: 1240px;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

em {
  font-style: italic;
  color: var(--rust);
}

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-text {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: var(--cream);
  letter-spacing: 0.05em;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem var(--pad);
  display: flex;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(242,237,228,0.85);
  backdrop-filter: blur(10px);
  padding: 0.75rem var(--pad);
  box-shadow: 0 1px 0 rgba(31,42,36,0.08);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.logo span { color: var(--rust); font-style: italic; }
.logo.light { color: var(--cream); }
.logo.light span { color: var(--yellow); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.main-nav a {
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--rust);
  transition: width 0.3s ease;
}
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover { background: var(--rust); transform: translateY(-2px); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  z-index: 110;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 var(--pad);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}
.shape-1 {
  width: 480px; height: 480px;
  background: var(--rust);
  top: -120px; right: -100px;
}
.shape-2 {
  width: 360px; height: 360px;
  background: var(--moss);
  bottom: -80px; left: -60px;
  opacity: 0.25;
}
.shape-3 {
  width: 240px; height: 240px;
  background: var(--yellow);
  top: 40%; right: 18%;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-title .line span { display: block; padding-bottom: 0.05em; }
.hero-sub {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 540px;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s cubic-bezier(.16,1,.3,1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--rust); transform: translateY(-3px); }
.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-ghost-light {
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); transform: translateY(-3px); }
.btn-line {
  margin-top: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--rust);
  padding: 0.2rem 0;
  border-radius: 0;
}
.btn-line:hover { color: var(--rust); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.scroll-line {
  width: 1px; height: 50px;
  background: var(--ink-soft);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: var(--rust);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============ SECTION COMMON ============ */
section { padding: clamp(4rem, 10vw, 8rem) var(--pad); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  max-width: 800px;
}
.section-title.light { color: var(--cream); }
.section-text {
  margin-top: 1.5rem;
  max-width: 620px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

/* ============ WAYS (3 ways) ============ */
.ways {
  max-width: var(--container);
  margin: 0 auto;
}
.ways-intro { max-width: 760px; }
.ways-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.way-card {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.way-num {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--rust);
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}
.way-card h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.way-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============ MAP SECTION ============ */
.map-section {
  background: var(--cream-2);
  text-align: center;
}
.map-intro {
  max-width: var(--container);
  margin: 0 auto;
}
.map-section .section-title { margin: 0 auto; }
.map-wrap {
  margin: 3.5rem auto 0;
  max-width: 1000px;
}
.domain-map { width: 100%; height: auto; }
.node-halo {
  transform-origin: center;
  transition: r 0.4s ease, opacity 0.4s ease;
}
.map-node { cursor: pointer; outline: none; }
.map-node:hover .node-halo,
.map-node:focus-visible .node-halo {
  r: 80;
  opacity: 0.3;
}
.node-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  fill: var(--ink);
}
.node-tag {
  font-family: var(--body);
  font-size: 12px;
  fill: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ GALLERY MOSAIC ============ */
.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 180px 180px;
  gap: 1rem;
}
.g-item {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.g-item:hover img { transform: scale(1.08); }

.g-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.g-2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.g-3 { grid-column: 5 / 7; grid-row: 1 / 3; }
.g-4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.g-5 { grid-column: 4 / 5; grid-row: 2 / 3; }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 140px);
  }
  .g-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .g-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .g-3 { grid-column: 2 / 3; grid-row: 2 / 4; }
  .g-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .g-5 { display: none; }
}

/* ============ SPACES ============ */
.spaces {
  max-width: var(--container);
  margin: 0 auto;
}
.space-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  border-bottom: 1px solid rgba(31,42,36,0.1);
  overflow: visible;
}
.space-media { margin: 1rem; }
.space-block:last-child { border-bottom: none; }
.space-block.reverse { direction: rtl; }
.space-block.reverse .space-text,
.space-block.reverse .space-media { direction: ltr; }

.space-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.space-visual {
  position: absolute;
  inset: -15% -10%;
  width: 120%;
  height: 130%;
  object-fit: cover;
  border-radius: 24px;
}
.space-thumb {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 42%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid var(--cream);
  box-shadow: 0 12px 32px rgba(31,42,36,0.18);
  z-index: 2;
}
.space-block.reverse .space-thumb {
  right: auto;
  left: -1.5rem;
}

.space-stats {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.75rem;
  list-style: none;
  flex-wrap: wrap;
}
.space-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.space-stats strong {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rust);
}
.space-stats span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  max-width: 110px;
}

.space-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rust);
  margin-bottom: 1rem;
}
.space-text h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.space-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 520px;
}
.space-pills {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.space-pills span {
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ============ STORIES ============ */
.stories {
  background: var(--ink);
  color: var(--cream);
}
.stories-intro { max-width: var(--container); margin: 0 auto 3.5rem; }
.stories .eyebrow { color: var(--yellow); }
.stories .section-title { color: var(--cream); }
.stories-track {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.story-card {
  background: var(--ink-soft);
  border-radius: 20px;
  padding: 2.5rem;
}
.story-icon { font-size: 2rem; display: block; margin-bottom: 1.25rem; }
.story-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.story-card p {
  color: rgba(242,237,228,0.75);
  font-size: 0.96rem;
}

/* ============ REVIEWS ============ */
.reviews {
  max-width: var(--container);
  margin: 0 auto;
}
.reviews-intro { max-width: var(--container); margin-bottom: 3.5rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.review-card {
  background: var(--cream-2);
  border-radius: 20px;
  padding: 2.25rem;
}
.stars {
  color: var(--rust);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.review-card p {
  font-family: var(--display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: var(--rust);
  color: var(--cream);
  text-align: center;
}
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner p {
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 480px;
}
.cta-inner .hero-actions { justify-content: center; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem var(--pad) 1.5rem;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(242,237,228,0.12);
}
.footer-brand p {
  margin-top: 0.75rem;
  color: rgba(242,237,228,0.6);
  font-size: 0.9rem;
}
.footer-nav, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
}
.footer-nav a:hover, .footer-social a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(242,237,228,0.55);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--yellow); }

/* ============ KEY NUMBERS BAND ============ */
.numbers {
  background: var(--ink);
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad);
}
.numbers-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.number-item strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--yellow);
  line-height: 1.1;
}
.number-item span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(242,237,228,0.75);
  letter-spacing: 0.04em;
}

/* ============ AMENITIES ============ */
.amenities {
  max-width: var(--container);
  margin: 0 auto;
}
.amenities-intro { max-width: 760px; margin-bottom: 3.5rem; }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.amenity-item {
  background: var(--cream-2);
  border-radius: 18px;
  padding: 2rem;
}
.amenity-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 1rem;
}
.amenity-item h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.amenity-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ============ FAQ ============ */
.faq {
  max-width: 900px;
  margin: 0 auto;
}
.faq-intro { margin-bottom: 3rem; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid rgba(31,42,36,0.15);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.faq-item summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rust);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============ CONTACT FORM + MAP ============ */
.contact-block {
  max-width: var(--container);
  margin: 0 auto;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid rgba(31,42,36,0.2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-family: var(--body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.25s ease;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--rust);
}
.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 18px;
  filter: grayscale(0.15) contrast(1.05);
}
.contact-info {
  background: var(--cream-2);
  border-radius: 18px;
  padding: 1.75rem;
}
.contact-info h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(80vw, 360px);
    height: 100vh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.45s cubic-bezier(.16,1,.3,1);
    font-size: 1.15rem;
  }
  .main-nav.open { right: 0; }
  .main-nav a { color: var(--cream); }
  .nav-cta { background: var(--rust); }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .ways-grid { grid-template-columns: 1fr; gap: 2rem; }
  .space-block, .space-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .stories-track { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
