/* ============================================
   SCI DES COTTES — style.css
   Theme: Light / White — Luxury Real Estate
   ============================================ */

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

:root {
  --white:   #FFFFFF;
  --off:     #F8F6F2;
  --light:   #F0EDE7;
  --stone:   #9A8F80;
  --mid:     #5A5248;
  --dark:    #1E1C18;
  --gold:    #B8975A;
  --gold-lt: #D4B87A;
  --border:  #E5E0D8;
  --shadow:  rgba(30,28,24,0.08);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.align-center { align-items: center; }
.align-start   { align-items: start; }

.section-label {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 300; line-height: 1.1;
  color: var(--dark); margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--gold); }
.divider { width: 48px; height: 2px; background: var(--gold); margin-bottom: 28px; }
.divider.centered { margin: 0 auto 28px; }
.body-text { color: var(--stone); font-size: 15px; line-height: 1.85; font-weight: 300; }
.body-text.centered { text-align: center; max-width: 560px; margin: 0 auto; }
.mt-16 { margin-top: 16px; }
.section-desc { color: var(--stone); font-size: 14px; line-height: 1.7; font-weight: 300; max-width: 260px; text-align: right; }

.btn-primary {
  display: inline-block; padding: 14px 36px;
  background: var(--gold); color: var(--white);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; border: none;
  cursor: pointer; transition: background var(--transition);
  font-family: var(--font-sans); border-radius: var(--radius);
}
.btn-primary:hover { background: var(--mid); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-outline {
  display: inline-block; padding: 13px 36px;
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--dark);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: all var(--transition); font-family: var(--font-sans);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-outline-light {
  display: inline-block; padding: 13px 36px;
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; cursor: pointer;
  transition: all var(--transition); font-family: var(--font-sans);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

section { padding: 100px 0; }
.section-light { background: var(--off); }

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.5s; }
.reveal { opacity: 0; transform: translateY(36px); animation: revealUp 1.2s 0.3s forwards ease; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px var(--shadow);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--font-serif); font-size: 20px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
  transition: color var(--transition);
}
nav.scrolled .nav-logo { color: var(--dark); }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); text-decoration: none;
  transition: color var(--transition); font-weight: 400;
}
nav.scrolled .nav-links a { color: var(--stone); }
.nav-links a:hover { color: var(--gold); }
nav.scrolled .nav-links a:hover { color: var(--gold); }
.nav-cta {
  display: inline-block; padding: 10px 24px;
  background: var(--gold); color: var(--white);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; transition: background var(--transition);
  font-weight: 500; font-family: var(--font-sans);
}
.nav-cta:hover { background: var(--mid); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: background var(--transition);
}
nav.scrolled .nav-burger span { background: var(--dark); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 190;
  background: var(--white); padding: 96px 48px 48px;
  flex-direction: column; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 42px; font-weight: 300;
  color: var(--dark); text-decoration: none; letter-spacing: 0.04em;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  display: block; transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
#hero {
  height: 100vh; min-height: 640px;
  position: relative; display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 14s ease-out forwards;
  display: block;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(20,18,15,0.72) 0%, rgba(20,18,15,0.38) 70%, rgba(20,18,15,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  padding-top: 76px;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 20px; font-weight: 400;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 300; line-height: 1.0;
  color: var(--white); margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,0.68);
  line-height: 1.7; font-weight: 300; margin-bottom: 40px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  position: absolute; right: 80px; bottom: 100px; z-index: 2;
  background: var(--white); padding: 24px 28px; text-align: center;
  box-shadow: 0 8px 40px var(--shadow);
  animation: revealUp 1s 0.9s both;
}
.badge-num {
  display: block; font-family: var(--font-serif);
  font-size: 40px; font-weight: 300; color: var(--gold); line-height: 1;
}
.badge-txt {
  display: block; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--stone); margin-top: 6px; line-height: 1.5;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 48px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.5); font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; text-decoration: none;
  animation: revealUp 1s 1.1s both;
}
.scroll-line {
  width: 48px; height: 1px; background: rgba(255,255,255,0.4);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; left: -100%; top: 0;
  width: 100%; height: 100%; background: var(--gold-lt);
  animation: scrollSlide 2s 1.5s infinite;
}
@keyframes scrollSlide {
  from { left: -100%; }
  to   { left: 100%; }
}

/* ============================================
   BAND
   ============================================ */
.band {
  background: var(--dark); padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.band-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.band-item {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); padding: 8px 28px;
  display: flex; align-items: center; gap: 8px;
  transition: color var(--transition);
}
.band-item:hover { color: var(--gold-lt); }
.band-icon { font-size: 14px; }
.band-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.15); }

/* ============================================
   ABOUT
   ============================================ */
#about { background: var(--white); }
.about-images {
  position: relative; padding-bottom: 60px; padding-right: 40px;
}
.about-img-main {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  display: block; box-shadow: 0 20px 60px var(--shadow);
}
.about-img-secondary {
  position: absolute; bottom: 0; right: 0;
  width: 52%; aspect-ratio: 1;
  object-fit: cover; display: block;
  border: 6px solid var(--white);
  box-shadow: 0 8px 32px var(--shadow);
}
.about-floating-card {
  position: absolute; top: 40px; left: -24px;
  background: var(--gold); padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(184,151,90,0.35);
  text-align: center;
}
.afc-num {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  color: var(--white); letter-spacing: 0.1em;
}
.afc-label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 2px; }
.afc-sub { font-size: 10px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 44px; border: 1px solid var(--border);
}
.stat {
  padding: 22px 24px; border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-child(n+3) { border-bottom: none; }
.stat-num {
  font-family: var(--font-serif); font-size: 34px; font-weight: 300;
  color: var(--gold); line-height: 1; display: block;
}
.stat-num small { font-size: 18px; }
.stat-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--stone); margin-top: 6px; display: block; line-height: 1.5;
}

/* ============================================
   PROPERTIES
   ============================================ */
#properties { background: var(--off); }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 52px;
}
.properties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.prop-card {
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: var(--radius);
  overflow: hidden;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(30,28,24,0.14); }
.prop-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.prop-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease;
}
.prop-card:hover .prop-img-wrap img { transform: scale(1.06); }
.prop-overlay {
  position: absolute; inset: 0;
  background: rgba(20,18,15,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.prop-card:hover .prop-overlay { opacity: 1; }
.prop-cta {
  padding: 12px 28px; border: 1.5px solid var(--white);
  color: var(--white); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; text-decoration: none; font-weight: 500;
  transition: background var(--transition);
}
.prop-cta:hover { background: rgba(255,255,255,0.15); }
.prop-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--white);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 12px; font-weight: 500;
}
.prop-body { padding: 24px; }
.prop-type { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.prop-name { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.prop-loc { font-size: 13px; color: var(--stone); }
.prop-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
}
.prop-price { font-family: var(--font-serif); font-size: 17px; color: var(--dark); font-weight: 400; }
.prop-status { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 4px 12px; font-weight: 500; }
.prop-status.available { background: #EEF6EE; color: #3A7D44; }

/* ============================================
   SERVICES
   ============================================ */
#services { background: var(--white); }
.services-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.services-img-stack { margin-top: 40px; }
.services-img-stack img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  display: block; box-shadow: 0 8px 40px var(--shadow);
}
.services-right { display: flex; flex-direction: column; gap: 0; padding-top: 8px; }
.service-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.service-item:first-child { padding-top: 0; }
.service-icon {
  font-family: var(--font-serif); font-size: 13px; font-weight: 300;
  color: var(--gold); min-width: 28px; padding-top: 2px;
  letter-spacing: 0.05em;
}
.service-body h4 {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dark); margin-bottom: 8px; font-weight: 500;
}
.service-body p { font-size: 14px; color: var(--stone); line-height: 1.75; font-weight: 300; }

/* ============================================
   TEAM
   ============================================ */
#team { background: var(--off); }
.team-header { text-align: center; margin-bottom: 60px; }
.team-header .section-label { justify-content: center; }
.team-header .section-label::before { display: none; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.member-card {
  background: var(--white); padding: 40px 28px; text-align: center;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(30,28,24,0.12); }
.member-card.featured { background: var(--dark); }
.member-photo { margin-bottom: 20px; }
.member-initials {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto;
  background: var(--light); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 26px; font-weight: 300;
  color: var(--gold);
}
.member-card.featured .member-initials { background: rgba(255,255,255,0.1); border-color: rgba(184,151,90,0.4); }
.member-name { font-family: var(--font-serif); font-size: 20px; color: var(--dark); margin-bottom: 6px; font-weight: 400; }
.member-card.featured .member-name { color: var(--white); }
.member-role { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 500; }
.member-since { font-size: 12px; color: var(--stone); }
.member-card.featured .member-since { color: rgba(255,255,255,0.45); }

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, #A08048 100%);
  padding: 72px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300; color: var(--white); margin-bottom: 10px;
}
.cta-title em { font-style: italic; color: rgba(255,255,255,0.75); }
.cta-band p { color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 300; }
.cta-band .btn-primary {
  background: var(--white); color: var(--gold); flex-shrink: 0;
  white-space: nowrap;
}
.cta-band .btn-primary:hover { background: var(--dark); color: var(--white); }

/* ============================================
   CONTACT
   ============================================ */
#contact { background: var(--white); }
.contact-info { padding-right: 24px; }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px; background: var(--light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ci-label { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 500; }
.ci-value { font-size: 14px; color: var(--stone); line-height: 1.7; font-weight: 300; }
.contact-form-wrap {
  background: var(--off); padding: 44px;
  border: 1px solid var(--border);
}
.form-title {
  font-family: var(--font-serif); font-size: 28px; font-weight: 300;
  color: var(--dark); margin-bottom: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mid); font-weight: 500; }
.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--dark); font-family: var(--font-sans);
  font-size: 14px; font-weight: 300; outline: none;
  transition: border-color var(--transition);
  resize: none; appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(90,82,72,0.35); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }
.form-note { font-size: 11px; color: var(--stone); text-align: center; opacity: 0.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer-top { background: var(--dark); padding: 72px 0 52px; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px;
}
.footer-logo {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
}
.footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; font-weight: 300; }
.footer-nav-title {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.footer-nav, .footer-legal-info { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a {
  font-size: 14px; color: rgba(255,255,255,0.5); text-decoration: none;
  padding: 6px 0; transition: color var(--transition); font-weight: 300;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-nav a:hover { color: var(--gold-lt); }
.footer-legal-info p { font-size: 13px; color: rgba(255,255,255,0.38); padding: 5px 0; font-weight: 300; }
.footer-bottom {
  background: #131210; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-content { padding: 76px 32px 0; }
  .hero-badge { right: 40px; }
  .grid-2 { gap: 48px; }
  .services-wrap { grid-template-columns: 1fr; }
  .services-img-stack { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-content { padding: 76px 20px 0; }
  .hero-badge { display: none; }
  .hero-scroll { left: 20px; }
  section { padding: 72px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .properties-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-desc { text-align: left; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .band-inner { gap: 0; }
  .band-sep { display: none; }
  .band-item { padding: 6px 14px; font-size: 10px; }
  .about-img-secondary, .about-floating-card { display: none; }
  .about-images { padding-bottom: 0; padding-right: 0; }
}
