/* ═══════════════════════════════════════════════════════════════
   Maison BARNES — Stylesheet
   Landing page bilingue FR/EN — Full-viewport, no scroll
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --bg:         #080808;
  --cream:      #f0ebe0;
  --cream-dim:  rgba(240,235,224,.55);
  --cream-faint:rgba(240,235,224,.28);
  --gold:       #c8a46a;
  --gold-light: #dfc08e;
  --gold-dim:   rgba(200,164,106,.15);
  --gold-glow:  rgba(200,164,106,.08);
  --trans:      cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: .04em;
  cursor: default;
  -webkit-font-smoothing: antialiased;
}

/* ── Page grid ───────────────────────────────────────────────── */
.page {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100dvh;
  padding: clamp(.7rem, 2vh, 1.8rem) clamp(1.2rem, 3.5vw, 3rem);
}

/* ── Language switcher ───────────────────────────────────────── */
.lang-switcher {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  animation: fadeDown .6s var(--trans) both;
  animation-delay: .1s;
}

.lang-current {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
}

.lang-sep {
  color: var(--cream-faint);
  font-size: .6rem;
}

.lang-link {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .35s var(--trans), border-color .35s var(--trans);
  cursor: pointer;
}
.lang-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Brand header ────────────────────────────────────────────── */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.3rem, 1vh, .8rem);
  padding: clamp(.35rem, 1.2vh, 1rem) 0;
  text-align: center;
}

.logo-wrap {
  width: clamp(44px, 5vw, 68px);
  color: var(--gold);
  animation: fadeDown .9s var(--trans) both;
  animation-delay: .25s;
}
.logo-wrap svg { width: 100%; height: auto; display: block; }

.brand-name {
  font-family: 'Bodoni Moda', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 4vw, 3.1rem);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cream);
  animation: fadeDown .9s var(--trans) both;
  animation-delay: .4s;
}

.tagline {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-size: clamp(.95rem, 1.8vw, 1.4rem);
  letter-spacing: .1em;
  color: var(--gold);
  animation: fadeDown .9s var(--trans) both;
  animation-delay: .55s;
}

.sub-tagline {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(.72rem, 1.1vw, .9rem);
  letter-spacing: .18em;
  color: var(--cream-dim);
  text-transform: uppercase;
  animation: fadeDown .9s var(--trans) both;
  animation-delay: .7s;
}

/* ── Establishments row ──────────────────────────────────────── */
.establishments {
  display: flex;
  align-items: stretch;
  margin-top: clamp(.5rem, 1.5vh, 1.2rem);
  animation: fadeUp .9s var(--trans) both;
  animation-delay: .9s;
  min-height: 0;
  border: 1px solid rgba(200,164,106,.12);
}

/* Golden separator */
.sep {
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold) 25%,
    var(--gold) 75%,
    transparent 100%
  );
  flex-shrink: 0;
  opacity: 0;
  animation: sepReveal .8s var(--trans) forwards;
  animation-delay: 1.6s;
}

/* ── Estate block ────────────────────────────────────────────── */
.estate {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.2rem, 2.5vw, 2.5rem);
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
  cursor: pointer;
  transition: transform .5s var(--trans);
}

/* Background image */
.estate__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: transform .8s var(--trans), opacity .5s var(--trans);
  opacity: .52;
  transform: scale(1.04);
}

/* Paris image */
.estate--paris .estate__bg {
  background-image: url('../images/paris.jpg');
  background-position: center 20%;
}

/* New York image */
.estate--ny .estate__bg {
  background-image: url('../images/newyork.jpg');
  background-position: center 30%;
}

/* Deep gradient overlay — always present */
.estate__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4,4,8,.96) 0%,
    rgba(4,4,8,.72) 30%,
    rgba(4,4,8,.32) 60%,
    rgba(4,4,8,.10) 100%
  );
  transition: opacity .5s var(--trans);
}

/* Paris tint */
.estate--paris .estate__overlay {
  background: linear-gradient(
    to top,
    rgba(3,5,14,.96) 0%,
    rgba(5,8,20,.72) 30%,
    rgba(6,10,22,.30) 60%,
    rgba(4,6,16,.08) 100%
  );
}

/* New York tint */
.estate--ny .estate__overlay {
  background: linear-gradient(
    to top,
    rgba(10,6,2,.96) 0%,
    rgba(16,10,4,.72) 30%,
    rgba(18,12,5,.30) 60%,
    rgba(12,8,3,.08) 100%
  );
}

/* Gold hover shimmer */
.estate__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, var(--gold-glow) 100%);
  opacity: 0;
  transition: opacity .5s var(--trans);
}

/* Hover states */
.estate:hover { transform: translateY(-3px); }
.estate:hover .estate__bg  { opacity: .68; transform: scale(1); }
.estate:hover .estate__shimmer { opacity: 1; }

/* Inner content */
.estate__inner {
  position: relative;
  z-index: 2;
}

/* Top label */
.estate__label {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: clamp(.5rem, 1.5vh, 1.1rem);
}

.estate__label-line {
  height: 1px;
  width: 28px;
  background: var(--gold);
  opacity: .6;
  flex-shrink: 0;
}

.estate__location {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(.48rem, .78vw, .65rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .8;
}

/* Full establishment name — hero element */
.estate__name {
  font-family: 'Bodoni Moda', serif;
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: clamp(.6rem, 1.5vh, 1.1rem);
}

.estate__name-brand {
  display: block;
  font-size: clamp(.85rem, 1.8vw, 1.45rem);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 300;
}

.estate__name-city {
  display: block;
  font-size: clamp(1.6rem, 3.8vw, 3rem);
  letter-spacing: .06em;
  color: var(--cream);
  margin-top: .1em;
}

/* Postal address */
.estate__address {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(.55rem, .85vw, .7rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .65;
  margin-bottom: clamp(.5rem, 1.2vh, .9rem);
}

/* Catchphrase */
.estate__catch {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(.6rem, .95vw, .78rem);
  letter-spacing: .1em;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: clamp(.9rem, 2vh, 1.6rem);
  max-width: 32ch;
}

/* CTA */
.estate__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(.56rem, .82vw, .7rem);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  padding-bottom: 4px;
  opacity: 0;
  transition: opacity .4s var(--trans);
}

.estate__cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .5s var(--trans);
}

.estate:hover .estate__cta       { opacity: 1; }
.estate:hover .estate__cta::after { width: 100%; }

.cta-arrow {
  font-size: .8em;
  transition: transform .4s var(--trans);
}
.estate:hover .cta-arrow { transform: translateX(6px); }

/* Corner bracket accent */
.estate__corner {
  position: absolute;
  top: clamp(.9rem, 2vw, 1.7rem);
  right: clamp(.9rem, 2vw, 1.7rem);
  width: 22px; height: 22px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: .22;
  transition: opacity .45s var(--trans), width .45s var(--trans), height .45s var(--trans);
  z-index: 2;
}

.estate__corner--bl {
  top: auto; right: auto;
  bottom: clamp(.9rem, 2vw, 1.7rem);
  left: clamp(.9rem, 2vw, 1.7rem);
  border-top: none; border-right: none;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.estate:hover .estate__corner {
  opacity: .6;
  width: 30px; height: 30px;
}

/* Fine top border per destination */
.estate--paris { border-top: 1px solid rgba(80,110,200,.2); }
.estate--ny    { border-top: 1px solid rgba(200,160,80,.2); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: clamp(.35rem, 1vh, .8rem);
  animation: fadeUp .6s var(--trans) both;
  animation-delay: 1.15s;
}

.footer p {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: clamp(.45rem, .65vw, .58rem);
  letter-spacing: .2em;
  color: var(--cream-faint);
  text-transform: uppercase;
  opacity: .5;
}

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes sepReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Responsive — tablette ───────────────────────────────────── */
@media (max-width: 900px) {
  .estate__name-city {
    font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  }
}

/* ── Responsive — mobile ─────────────────────────────────────── */
@media (max-width: 680px) {
  .page {
    padding: .85rem 1rem .7rem;
  }

  .header { gap: .3rem; }

  .establishments {
    flex-direction: column;
    margin-top: .5rem;
    border: none;
    gap: 0;
  }

  .sep {
    width: 100%;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent 0%,
      var(--gold) 25%,
      var(--gold) 75%,
      transparent 100%
    );
  }

  .estate {
    flex: 1 1 0;
    min-height: 0;
    border: none;
    border-left: 1px solid rgba(200,164,106,.12);
    border-right: 1px solid rgba(200,164,106,.12);
  }
  .estate--paris { border-top: 1px solid rgba(200,164,106,.12); }
  .estate--ny    { border-bottom: 1px solid rgba(200,164,106,.12); }

  .estate__bg { opacity: .55; }
  .estate__catch { display: none; }

  .estate__cta { opacity: 1; }
  .estate__cta::after { width: 0; }
  .estate:hover .estate__cta::after { width: 100%; }

  .estate__corner--bl { display: none; }
}

@media (max-width: 380px) {
  .brand-name { letter-spacing: .14em; }
  .sub-tagline { display: none; }
  .estate__name-brand { font-size: .75rem; }
  .estate__name-city  { font-size: 1.4rem; }
}
