/* VM Conciergerie — feuille de style */
:root {
  --ink: #1e1e1e;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --grey: #a4a4a4;
  --gold: #dac7ab;
  --gold-deep: #7d6847;
  --ivory: #faf7f5;
  --sand: #f8f4ec;
  --white: #ffffff;

  --font-display: "Baskervville", "Times New Roman", serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --font-label: "Hedvig Letters Sans", "Open Sans", sans-serif;

  --fs-hero: clamp(2.75rem, 6.5vw, 5.5rem);
  --fs-h2: clamp(2rem, 4vw, 3.25rem);
  --fs-h3: clamp(1.5rem, 2.6vw, 2.25rem);
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-label: 0.8125rem;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;
  --space-12: 96px;
  --space-16: 128px;

  --container: 1200px;
  --header-h: 88px;
  --radius: 4px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 240ms;
  --dur-reveal: 400ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: var(--space-2); top: -64px;
  background: var(--ink); color: var(--white); padding: var(--space-1) var(--space-2);
  z-index: 100; text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }

.container { width: min(100% - 2 * var(--space-3), var(--container)); margin-inline: auto; }
.narrow { max-width: 68ch; }

/* Small uppercase label used above section titles */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--space-3);
}
.on-dark .eyebrow { color: var(--gold); }

.section { padding-block: var(--space-16); }
.section--ivory { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--space-4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
  min-height: 48px; padding: 0 var(--space-4);
  font-family: var(--font-label); font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--white); cursor: pointer;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-solid { background: rgba(30,30,30,.96); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: block; flex: none; }
.brand { text-decoration: none; color: inherit; }
/* Brand logo: black V needs a light plate on dark header/footer */
.logo-plate { display: inline-flex; align-items: center; background: var(--ivory); border-radius: var(--radius); padding: 6px 12px; }
.logo-plate img { height: 40px; width: auto; aspect-ratio: 2487 / 1071; }
.footer-brand .logo-plate { padding: 10px 16px; }
.footer-brand .logo-plate img { height: 56px; }
.wordmark { display: block; font-family: var(--font-display); font-size: 1.625rem; line-height: 1; letter-spacing: 0.02em; white-space: nowrap; }
.wordmark em { font-style: italic; color: var(--gold); }
.nav { display: flex; align-items: center; gap: var(--space-4); }
.nav ul { display: flex; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 0.9375rem; letter-spacing: 0.04em; padding-block: var(--space-1);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate;
}
.hero--page { min-height: 72svh; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.35) 45%, rgba(20,20,20,.65) 100%);
}
.hero__inner { padding: calc(var(--header-h) + var(--space-6)) var(--space-3) var(--space-12); max-width: 960px; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: 0.01em; }
.hero__sub {
  font-family: var(--font-label); font-size: 0.875rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin: var(--space-3) 0 0; font-weight: 400;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: var(--space-4); transform: translateX(-50%);
  width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent);
}

/* Split layout: text + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__text { max-width: 560px; }
.split__text .lead { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.3; margin-bottom: var(--space-4); }
.split__text p { color: var(--ink-soft); }
.split__text .btn { margin-top: var(--space-4); }

.frame { overflow: hidden; border-radius: var(--radius); background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Overlapping photo duo (home intro, about) */
.duo { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-3); align-items: end; }
.duo .frame:first-child { aspect-ratio: 1900 / 1063; grid-column: 1 / -1; }
.duo .frame:last-child { aspect-ratio: 1707 / 2560; grid-column: 2; margin-top: calc(-1 * var(--space-12)); border: 8px solid var(--white); }
.section--ivory .duo .frame:last-child { border-color: var(--ivory); }

.intro { text-align: center; }
.intro p { font-size: var(--fs-lead); color: var(--ink-soft); }
.intro .first { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.35; color: var(--ink); margin-bottom: var(--space-4); }

/* Services cards (home) */
.services-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-8); align-items: end; }
.services-head .tag { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; }
.services-head p { color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4.6; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: var(--white); text-decoration: none; background: var(--ink);
}
/* Decorative crop: card photos are croppable backdrops */
.card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%); }
.card__body { padding: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-1); }
.card__title { font-family: var(--font-display); font-size: 1.625rem; }
.card__arrow {
  flex: none; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  display: grid; place-items: center; transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur);
}
.card:hover img { transform: scale(1.05); }
.card:hover .card__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* Partners marquee */
.partners { text-align: center; padding-block: var(--space-12); }
.partners h2 { font-size: var(--fs-h3); margin-bottom: var(--space-6); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: var(--space-6); width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner {
  flex: none; width: 240px; height: 144px; display: grid; place-items: center;
  background: var(--white); border: 1px solid #ece6dc; border-radius: var(--radius); padding: var(--space-2);
}
.partner img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services page blocks */
.svc { padding-block: var(--space-12); border-top: 1px solid #eee6d9; }
.svc:first-of-type { border-top: 0; }
.svc__head { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; margin-bottom: var(--space-6); }
.svc__head h2 { font-size: var(--fs-h2); }
.svc__num { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--gold-deep); display: block; margin-bottom: var(--space-2); }
.svc__head p { color: var(--ink-soft); font-size: var(--fs-lead); }
.gallery { display: grid; gap: var(--space-2); align-items: start; }
.gallery--2 { grid-template-columns: 1fr 1fr; }
.gallery--3 { grid-template-columns: 1.35fr 1fr 1fr; }
.gallery .frame { aspect-ratio: var(--ar); }
.svc__more { margin-top: var(--space-6); max-width: 68ch; color: var(--ink-soft); }

/* About */
.statement { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.25; text-align: center; max-width: 22ch; margin: 0 auto var(--space-6); }
.statement em { color: var(--gold-deep); font-style: italic; }
.section--dark .statement em { color: var(--gold); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); align-items: start; }
.pair .frame { aspect-ratio: var(--ar); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-2); }
.contact-list a {
  display: flex; align-items: center; gap: var(--space-2); min-height: 56px; padding: var(--space-2) var(--space-3);
  border: 1px solid #e6dccb; border-radius: var(--radius); text-decoration: none; background: var(--white);
  transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.contact-list a:hover { border-color: var(--ink); background: var(--sand); }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--gold-deep); }
.contact-list span { overflow-wrap: anywhere; }
.contact-photo { aspect-ratio: 1 / 1; margin-top: var(--space-6); }

.form { background: var(--white); border: 1px solid #ece6dc; border-radius: var(--radius); padding: var(--space-6); }
.form h2 { font-size: var(--fs-h3); margin-bottom: var(--space-2); }
.form > p { color: var(--ink-soft); margin-bottom: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: var(--space-1); margin-bottom: var(--space-3); }
.field label { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.14em; text-transform: uppercase; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--ivory);
  border: 1px solid #ddd3c3; border-radius: var(--radius); padding: 12px var(--space-2); min-height: 48px;
  transition: border-color var(--dur) var(--ease-out), background var(--dur);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(125,104,71,.25); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-note { margin-top: var(--space-2); font-size: 0.875rem; color: var(--muted); }
.form-status { margin-top: var(--space-2); font-size: 0.9375rem; }
.form-status[data-state="error"] { color: #b3261e; }
.form-status[data-state="info"] { color: var(--gold-deep); }

/* CTA band + footer */
.cta-band { position: relative; color: var(--white); text-align: center; isolation: isolate; padding-block: var(--space-16); overflow: hidden; }
.cta-band img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,20,20,.6); }
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: var(--space-4); }

.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding-block: var(--space-12) var(--space-4); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .wordmark { font-size: 2rem; color: var(--white); }
.footer-brand p { margin-top: var(--space-3); max-width: 36ch; color: var(--grey); }
.footer-title { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 var(--space-2); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.footer-links a { text-decoration: none; transition: color var(--dur); }
.footer-links a:hover { color: var(--gold); }
.footer-contact dt { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-contact dd { margin: 0 0 var(--space-3); }
.footer-contact a { text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { padding-top: var(--space-4); display: flex; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; font-size: 0.875rem; color: var(--grey); }

/* WhatsApp floating button */
.wa-float {
  position: fixed; right: var(--space-3); bottom: var(--space-3); z-index: 40;
  display: inline-flex; align-items: center; gap: var(--space-1); min-height: 52px; padding: 0 var(--space-3);
  background: var(--ink); color: var(--white); border: 1px solid var(--gold); border-radius: 999px;
  text-decoration: none; font-size: 0.875rem; letter-spacing: 0.06em; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: background var(--dur) var(--ease-out), color var(--dur);
}
.wa-float:hover { background: var(--gold); color: var(--ink); }
.wa-float svg { width: 20px; height: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .split, .services-head, .svc__head, .contact-grid { gap: var(--space-6); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .section { padding-block: var(--space-12); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--space-3);
    background: var(--ink); padding: var(--space-4) var(--space-3) var(--space-6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 200ms ease-in, transform 200ms ease-in, visibility 0s 200ms;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out); }
  .nav-open .site-header { background: var(--ink); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: var(--space-2) 0; font-size: 1.25rem; font-family: var(--font-display); border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a:not(.btn)::after { display: none; }
  .brand .wordmark { font-size: 1.375rem; }
  .brand .logo-plate img { height: 32px; }
  .split, .services-head, .svc__head, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .gallery--3 { grid-template-columns: 1fr 1fr; }
  .gallery--3 .frame:first-child { grid-column: 1 / -1; }
  .form { padding: var(--space-4) var(--space-3); }
}
@media (max-width: 560px) {
  .form-row, .gallery--2, .pair { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards .card, .cards .card:last-child { aspect-ratio: 16 / 11; }
  .duo { grid-template-columns: 1fr 1fr; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float { padding: 0; width: 52px; justify-content: center; }
}
