:root {
  --bg: #120b07;
  --bg-alt: #1b100a;
  --surface: #1f130d;
  --surface-alt: #27170f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent: #f5b75d;
  --accent-soft: rgba(245, 183, 93, 0.16);
  --accent-strong: #ffcf73;
  --text: #f7f7fb;
  --text-muted: #b1b5c7;
  --danger: #ff6b6b;
  --soon-bg: rgba(255, 255, 255, 0.04);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --blur: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #3a2416 0, #120b07 45%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* Curseur main sur les images cliquables */
.amenities-grid img:hover,
.gallery-grid img:hover,
.map-figure img:hover {
  cursor: pointer;
}

img[src*="plan"] {
  background-color: #f5efe3;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, #3a2416 0, #120b07 50%);
}

.section-intro {
  max-width: 640px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  margin: 0.15rem 0 0.35rem;
}

h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

p {
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(var(--blur));
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 17, 0.9),
    rgba(5, 7, 17, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.25rem;
}

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  display: inline-block;
  background: transparent;
  color: #f5b75d;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.08em;
  box-shadow: none;
}

.logo-text {
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.7);
}

.home-link:hover {
  color: var(--accent-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav a {
  position: relative;
  color: rgba(243, 244, 246, 0.8);
  padding-bottom: 0.1rem;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: 999px;
  transition: width 0.22s ease-out;
}

.nav a:hover::after {
  width: 100%;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  min-width: 180px;
  padding: 0.6rem 0.3rem;
  border-radius: 12px;
  background: rgba(18, 11, 7, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 60;
}

.nav-submenu a {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav-submenu a::after {
  display: none;
}

.nav-item:hover .nav-submenu {
  display: flex;
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 0;
  }

  .nav {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 11, 7, 0.18), rgba(18, 11, 7, 0.55)),
    url(assets/dali-hero.png) center center / cover no-repeat;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(245, 183, 93, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0, rgba(116, 160, 255, 0.3), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 7, 17, 0.75), rgba(5, 7, 17, 0.6)),
    radial-gradient(circle at 70% 30%, rgba(39, 48, 94, 0.7), transparent 60%);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  padding: 3.5rem 0 3.75rem;
  max-width: 620px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  color: rgba(243, 244, 246, 0.72);
  margin: 0 0 0.4rem;
}

.hero-subtitle {
  font-size: 1.02rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-out;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #1b1204;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(17, 24, 39, 0.8);
  border-color: rgba(229, 231, 235, 0.12);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(17, 24, 39, 0.95);
  border-color: rgba(249, 250, 251, 0.18);
}

@media (max-width: 600px) {
  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding-block: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Tag list */

.tag-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-list li {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 0 0, rgba(245, 183, 93, 0.13), transparent 60%),
    rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249, 250, 251, 0.9);
}

/* Cards / Location */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.card {
  background: rgba(37, 22, 14, 0.96);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.card h3 {
  font-size: 0.98rem;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.map-placeholder {
  margin-top: 0.4rem;
  background: radial-gradient(circle at top, rgba(245, 183, 93, 0.06), transparent 60%),
    rgba(37, 22, 14, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
}

.map-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.map-note {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.95);
  margin-top: 0.7rem;
}

.map-figure {
  margin: 1.8rem 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: var(--shadow-soft);
  background: #020617;
}

.map-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Studio pages: reduce floor plan size by half */
body.studio-page .map-figure img[src*="plan"] {
  width: 50%;
  margin-inline: auto;
}

/* Amenities */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.amenity {
  background: rgba(43, 26, 16, 0.96);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.amenity p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.gallery-card {
  background: rgba(23, 14, 9, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-card figcaption {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.gallery-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.gallery-title-row .btn-small {
  background: transparent;
  border-color: rgba(245, 183, 93, 0.8);
  color: var(--accent-strong);
}

.gallery-title-row .btn-small:hover {
  background: rgba(245, 183, 93, 0.08);
}

.gallery-plan-small img {
  width: 20%;
  margin-inline: auto;
}



/* Studios */

.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 1.7rem;
}

.studio-card {
  background: rgba(43, 26, 16, 0.96);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.studio-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.studio-card h3 {
  margin-bottom: 0;
}

.studio-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.studio-coming-soon {
  background: linear-gradient(
      135deg,
      rgba(255, 107, 107, 0.08),
      rgba(255, 107, 107, 0.02)
    ),
    rgba(48, 29, 18, 0.96);
  border-color: rgba(255, 107, 107, 0.35);
}

.badge {
  padding: 0.32rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge-available {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.9);
  color: #bbf7d0;
}

.badge-soon {
  background: var(--soon-bg);
  border-color: rgba(248, 113, 113, 0.9);
  color: #fecaca;
}

.availability-note {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-list span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.95);
}

.contact-list a {
  font-size: 0.98rem;
  color: var(--accent-strong);
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-card {
  margin-top: 0.5rem;
  background: rgba(43, 26, 16, 0.97);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: var(--shadow-soft);
}

.contact-card p:last-of-type {
  margin-bottom: 0;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at top, #111827, #020617);
  padding: 1.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.98);
}

.footer-credit {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Lightbox */

body.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(6px);
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: min(960px, 96vw);
  max-height: 90vh;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}

.lightbox-close {
  position: absolute;
  top: -2.2rem;
  right: 0;
  border: none;
  background: transparent;
  color: #f9fafb;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  font-size: 1.4rem;
}

.lightbox-prev {
  left: 1.2rem;
}

.lightbox-next {
  right: 1.2rem;
}

.lightbox-overlay:not(.has-multiple) .lightbox-nav {
  display: none;
}


