/* =========================================================
   DIAMOND CITY PK17 — style.css
   Design system: pierre ivoire / noir architectural / or mat / bleu nuit
   Display: Syne — Texte: Manrope
   ========================================================= */

:root {
  --ivory: #EDEAE2;
  --ivory-soft: #F4F2EC;
  --stone: #DCD8CC;
  --ink: #16140F;
  --ink-soft: #302D26;
  --gold: #B8863B;
  --gold-light: #D4A857;
  --navy: #16213A;
  --navy-soft: #1E2C4A;
  --grey: #8B897F;
  --grey-light: #B9B6AB;
  --white: #FFFFFF;

  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
input, textarea { font: inherit; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Section labels (sentence case, not tracked caps) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}
.section-head p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 58ch;
}

section { position: relative; }
.pad { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 10vw, 128px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.on-dark {
  color: var(--ivory);
  border-color: rgba(237,234,226,0.5);
}
.btn-outline.on-dark:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-primary.on-dark {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary.on-dark:hover { background: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(237,234,226,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 1px 0 rgba(21,19,16,0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav ul {
  display: flex;
  gap: 30px;
}
.main-nav ul a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
.main-nav ul a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  display: block;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100svh;
  width: min(320px, 84vw);
  background: var(--ivory);
  z-index: 99;
  padding: 100px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(21,19,16,0.25);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 26px; margin-bottom: 40px; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.nav-scrim {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(21,19,16,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.nav-scrim.is-open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,19,16,0.35) 0%, rgba(21,19,16,0.15) 32%, rgba(21,19,16,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter) clamp(48px, 8vw, 88px);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero-tag svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 16ch;
  color: var(--white);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}
.hero-scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px,7vw,70px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  writing-mode: vertical-rl;
}
.hero-scroll-cue .line {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.hero-scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--gold-light);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .line::after { animation: none; display:none; }
}

/* ---------- Signature diamond-cut divider (used once) ---------- */
.facet-divider {
  height: 46px;
  width: 100%;
  display: block;
  color: var(--ivory);
}
.facet-divider.flip { transform: scaleY(-1); }
.facet-divider path { fill: currentColor; }

/* ---------- Discover / scrollytelling ---------- */
.discover {
  background: var(--ivory);
}
.discover-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.discover-visual {
  position: sticky;
  top: 96px;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink);
}
.discover-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.discover-visual img.is-active { opacity: 1; }
.discover-visual .frame-index {
  position: absolute;
  left: 20px; bottom: 20px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  z-index: 2;
  background: rgba(21,19,16,0.55);
  padding: 6px 12px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
}
.discover-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(90px, 18vw, 220px);
  padding-top: 6px;
}
.discover-step {
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.discover-step.is-active { opacity: 1; }
.discover-step .step-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  display: block;
}
.discover-step h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 16px;
}
.discover-step p {
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 1.02rem;
}

/* ---------- Video / presentation ---------- */
.present {
  background: var(--ivory-soft);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.present-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.present-text p { color: var(--ink-soft); margin-top: 18px; font-size: 1.05rem; }
.present-text .btn { margin-top: 30px; }

.video-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(21,19,16,0.35);
}
.video-frame video, .video-frame img.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21,19,16,0.25);
  transition: background .3s var(--ease);
}
.video-play:hover { background: rgba(21,19,16,0.4); }
.video-play .play-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.video-play:hover .play-circle { transform: scale(1.08); }
.video-play svg { width: 20px; height: 20px; margin-left: 3px; color: var(--ink); }
.video-frame.is-playing .video-play { display: none; }
.video-frame.is-playing img.poster { display: none; }

/* ---------- Rooms ---------- */
.rooms { background: var(--ivory); }
.rooms-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 32px);
  aspect-ratio: 7/5;
}
.rooms-main-img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}
.rooms-main-img img { width: 100%; height: 100%; object-fit: cover; }
.rooms-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  height: 100%;
}
.rooms-side .rooms-img { width: 100%; height: 100%; border-radius: 4px; overflow: hidden; }
.rooms-side .rooms-img img { width: 100%; height: 100%; object-fit: cover; }

.rooms-specs {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--stone);
}
.rooms-specs .spec {
  padding: 26px 20px 26px 0;
  border-bottom: 1px solid var(--stone);
}
.rooms-specs .spec:not(:last-child) { border-right: 1px solid var(--stone); padding-right: 20px;}
.rooms-specs .spec h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.rooms-specs .spec p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Services ---------- */
.services { background: var(--navy); color: var(--ivory); }
.services .section-head h2 { color: var(--white); }
.services .section-head p { color: rgba(237,234,226,0.72); }
.services .eyebrow { color: var(--gold-light); }
.services .eyebrow::before { background: var(--gold-light); }

.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(237,234,226,0.16);
  border: 1px solid rgba(237,234,226,0.16);
  border-radius: 4px;
  overflow: hidden;
}
.service-item {
  background: var(--navy);
  padding: 34px 28px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-item .icon { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 22px; }
.service-item h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.service-item p { color: rgba(237,234,226,0.7); font-size: 0.95rem; }

/* ---------- Process (comment ça marche) ---------- */
.process { background: var(--ivory); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.process-item { border-top: 2px solid var(--ink); padding-top: 22px; }
.process-item .step-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 16px;
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Location ---------- */
.location { background: var(--ivory-soft); border-top: 1px solid var(--stone); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.location-map {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3.4;
  border: 1px solid var(--stone);
}
.location-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.02); }
.location-info dl { margin-top: 28px; display: grid; gap: 18px; }
.location-info .row { display: flex; gap: 16px; align-items: flex-start; }
.location-info .row .icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.location-info dt { font-weight: 700; font-size: 0.95rem; }
.location-info dd { color: var(--ink-soft); margin: 2px 0 0; font-size: 0.95rem; }
.location-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.location-qr {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.location-qr img { width: 84px; height: 84px; border: 1px solid var(--stone); border-radius: 4px; background: #fff; padding: 6px; }
.location-qr span { font-size: 0.88rem; color: var(--ink-soft); max-width: 26ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 16ch; }
.cta-band-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--stone); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-q .plus {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-q .plus::before { left: 0; top: 50%; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; left: 50%; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq-item.is-open .faq-q .plus::after { opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a p { color: var(--ink-soft); padding-bottom: 26px; max-width: 62ch; }
.faq-item.is-open .faq-a { max-height: 300px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(237,234,226,0.82); }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(237,234,226,0.14);
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; color: rgba(237,234,226,0.62); }
.footer-col h4 { font-family: var(--font-body); color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 0.92rem; color: rgba(237,234,226,0.72); }
.footer-col a:hover { color: var(--gold-light); }
.footer-social-note { font-size: 0.85rem; color: rgba(237,234,226,0.45); font-style: italic; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem;
  color: rgba(237,234,226,0.5);
}
.footer-bottom a { color: rgba(237,234,226,0.6); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(21,19,16,0.45);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.wa-float:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Reveal-on-scroll (single orchestrated pattern) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .present-grid { grid-template-columns: 1fr; }
  .video-frame { max-width: 320px; margin: 0 auto; }
  .rooms-layout { grid-template-columns: 1fr; aspect-ratio: auto; gap: 12px; }
  .rooms-main-img { aspect-ratio: 4/3; height: auto; }
  .rooms-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; }
  .rooms-side .rooms-img { aspect-ratio: 1/1; height: auto; }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .discover-grid { grid-template-columns: 1fr; }
  .discover-visual { position: relative; top: auto; aspect-ratio: 4/3; margin-bottom: 8px; }
  .discover-steps { gap: 44px; padding-top: 0; }
  .discover-step { opacity: 1; }
  .rooms-specs { grid-template-columns: repeat(2, 1fr); }
  .rooms-specs .spec:nth-child(2n) { border-right: none; }
  .rooms-specs .spec:not(:last-child) { border-right: 1px solid var(--stone); }
}

@media (max-width: 640px) {
  .hero { min-height: 92svh; }
  .hero-scroll-cue { display: none; }
  .services-list { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .rooms-side { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 23px; height: 23px; }
}
