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

:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #888;
  --light: #f5f5f5;
  --font: 'Courier Prime', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--black);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.4; }
.nav-links a.active { opacity: 0.4; }

.hero {
  margin-top: 61px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 61px);
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--white);
  display: block;
  transform: scale(1.15);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  border-left: 1px solid #eee;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--grey);
  margin-bottom: 40px;
  line-height: 1.3;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 48px;
  color: #333;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--black);
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-filled {
  background: var(--black);
  color: var(--white);
}

.btn-filled:hover {
  background: var(--white);
  color: var(--black);
}

section {
  padding: 100px 40px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 32px;
}

.section-intro {
  max-width: 1200px;
  margin: 0 auto 20px;
  text-align: left;
}
.section-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: 640px;
}

.about-section {
  border-top: 1px solid #eee;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
  text-align: left;
}
.about-inner h2,
.about-inner p {
  max-width: 640px;
}
.about-inner p {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 24px;
}
.about-inner p:last-child {
  margin-bottom: 0;
}

.formules-section {
  background: var(--white);
  padding: 40px 40px;
}

.formules-section .section-title {
  margin-bottom: 12px;
}

.formules-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #eee;
}

.formule-card {
  background: var(--white);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
}

.formule-index {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-bottom: 20px;
}

.formule-name {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}

.formule-temps {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.formule-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  flex-grow: 1;
  margin-bottom: 14px;
}

.formule-price {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.formule-price .from {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-bottom: 6px;
}

.formule-price .amount {
  font-size: 32px;
  font-weight: 700;
}

.formule-price .per {
  font-size: 12px;
  color: var(--grey);
}

@media (max-width: 900px) {
  .formules-grid { grid-template-columns: 1fr; }
}

.gallery-section {
  background: var(--white);
  padding: 80px 40px;
  border-top: 1px solid #eee;
}

.gallery-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding-left: 12px;
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.page-header {
  padding: 160px 40px 40px;
  border-bottom: 1px solid #eee;
}
.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 12px;
}

.residences-section {
  background: var(--white);
  color: var(--black);
  padding: 40px 40px 100px;
  border-top: 1px solid #eee;
}

.residences-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.residences-section .section-label {
  color: var(--grey);
}

.residences-section p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.residences-section .btn {
  margin-top: 16px;
}

.residences-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.contact-section {
  padding: 100px 40px;
  border-top: 1px solid #eee;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 32px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  transition: opacity 0.2s;
}

.social-link:hover { opacity: 0.5; }

.social-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.contact-form-area p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 8px;
}

footer {
  padding: 32px 40px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--grey);
  letter-spacing: 0.05em;
}

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

.hero-content > * {
  animation: fadeUp 0.8s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 70vh; }
  .hero-content { padding: 48px 24px; border-left: none; border-top: 1px solid #eee; }

  .residences-inner, .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  section { padding: 60px 24px; }
  .gallery-section { padding: 60px 24px; }
  .page-header { padding: 130px 24px 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }

  footer { flex-direction: column; gap: 12px; text-align: center; }
}
