/* LA CASA RESIDENCY — palette issue du logo (or/noir) */
:root {
  --bg: #070709;
  --bg-2: #0c0c10;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.09);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(226, 232, 240, 0.72);
  --muted-2: rgba(226, 232, 240, 0.55);
  --gold: #d7a12a;
  --gold-2: #f2b63e;
  --gold-3: #ffcc66;
  --white: #ffffff;
  --mist: #f1f5f9;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, rgba(215, 161, 42, 0.12), transparent 55%),
    radial-gradient(900px 500px at 85% 20%, rgba(242, 182, 62, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.6;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  color: #0b1222;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 41, 0.12);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 9, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lang-toggle {
  margin-left: auto;
}

@media (max-width: 980px) {
  .lang-toggle {
    margin-left: 0;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-name {
  display: grid;
  line-height: 1.05;
}

.brand-name strong {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.9rem;
  color: var(--muted-2);
  font-weight: 500;
}

@media (max-width: 520px) {
  .brand {
    gap: 0.65rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .brand-tag {
    display: none;
  }

  .header-inner {
    gap: 0.6rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem 1.35rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.88;
}

.nav-list a:hover {
  opacity: 1;
  color: var(--gold-3);
}

.nav-list a.is-active {
  color: var(--gold-3);
  opacity: 1;
}

.has-sub {
  position: relative;
}

.sub {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(10, 10, 14, 0.96);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.has-sub:hover > .sub,
.has-sub:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
}

.sub a {
  display: block;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  opacity: 0.9;
}

.sub a:hover {
  opacity: 1;
  color: var(--gold-3);
  background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 0.9rem 1.7rem;
  font-size: 1rem;
}

.btn-primary {
  color: #0b0b10;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 44px rgba(215, 161, 42, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 22px 60px rgba(242, 182, 62, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  border-color: rgba(255, 204, 102, 0.45);
}

/* Hero slider */
.hero {
  position: relative;
  min-height: min(780px, calc(100vh - var(--header-h)));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 18%, rgba(242, 182, 62, 0.22), transparent 60%),
    linear-gradient(120deg, rgba(7, 7, 9, 0.92), rgba(7, 7, 9, 0.6));
  z-index: 3;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms ease;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 9s ease-in-out both;
}

@keyframes hero-kenburns {
  0% {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.12) translate3d(0, -1.5%, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 2.2rem;
  padding: clamp(3rem, 8vw, 5.8rem) 0;
}

@media (max-width: 520px) {
  .hero-grid {
    padding: 2.6rem 0 3.2rem;
    gap: 1.5rem;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 1.15rem 1.1rem;
    border-radius: 20px;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.86);
}

.hero-logo {
  width: min(260px, 70vw);
  height: auto;
  display: block;
  margin: 0 0 1rem;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.6));
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.accent {
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.4rem;
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.booking {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.05rem;
}

.booking .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 520px) {
  .booking .row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.86);
  margin-bottom: 0.35rem;
}

.field input,
.field select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  color-scheme: dark;
  font-family: inherit;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
}

/* Windows browsers often render <option> with a light UI by default */
.field select option {
  background: #0c0c10;
  color: var(--white);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(255, 204, 102, 0.75);
}

.booking .btn {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(3.4rem, 8vw, 5.2rem) 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 204, 102, 0.92);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

.centered {
  text-align: center;
}

.section-intro {
  margin: 0 auto 2rem;
  color: var(--muted-2);
  max-width: 70ch;
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 620px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.55rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.room {
  padding: 0;
  overflow: hidden;
}

.room figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.3s ease;
  display: block;
}

.room:hover img {
  transform: scale(1.07);
}

.room .body {
  padding: 1.35rem 1.5rem 1.5rem;
}

.room .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.85rem 0 1.1rem;
  color: rgba(226, 232, 240, 0.78);
  font-weight: 700;
  font-size: 0.92rem;
}

.chip {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

/* Page hero */
.page-hero {
  position: relative;
  padding: clamp(2.9rem, 6vw, 4.4rem) 0;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(7, 7, 9, 0.95), rgba(12, 12, 16, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 20%, rgba(242, 182, 62, 0.18), transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  margin: 0 0 0.8rem;
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.74);
}

.breadcrumb a:hover {
  color: var(--gold-3);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.05rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-lead {
  margin: 0;
  max-width: 72ch;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.08rem;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(12, 1fr);
  }
}

.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  min-height: 200px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.92;
}

.gallery a:hover img {
  transform: scale(1.07);
  opacity: 1;
}

.span-6 {
  grid-column: span 6;
}
.span-4 {
  grid-column: span 4;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.4rem 0;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.footer-cols {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .footer-inner {
    text-align: left;
  }
  .footer-cols {
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  display: grid;
  gap: 0.6rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a:hover {
  color: var(--gold-3);
}

.small {
  color: var(--muted-2);
  font-size: 0.92rem;
}

/* Modal lightbox */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  width: min(1080px, 92vw);
  margin: min(8vh, 4rem) auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.92);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

.modal-body {
  padding: 1rem;
}

.modal-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Social float */
.social-float {
  position: static;
  z-index: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transform: none;
  padding: 1.1rem 1rem;
  margin: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.social-float__title {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.82);
  writing-mode: horizontal-tb;
  transform: none;
  margin: 0 0.35rem 0 0;
  max-height: none;
  line-height: 1.1;
  text-align: center;
}

.social-float__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.social-float__btn:hover {
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2), var(--gold));
  border-color: transparent;
  transform: scale(1.06);
  color: #0b0b10;
}

.social-float__btn:focus-visible {
  outline: 2px solid rgba(255, 204, 102, 0.9);
  outline-offset: 2px;
}

.social-float__btn svg {
  display: block;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(0, 0, 0, 0.94);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    padding: 1.4rem;
    overflow: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .has-sub > .sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    margin: 0.25rem 0 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide {
    transition: none;
    transform: none;
  }
  .hero-slide.is-active {
    animation: none;
  }
  .social-float__btn {
    transition: none;
  }
  .social-float__btn:hover {
    transform: none;
  }
}

