/* ═══════════════════════════════════════════════════════
   RESET & VARIABLES
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ivoire:        #F7F3EC;
  --ivoire-deep:   #EDE7DA;
  --lac:           #7A9B97;
  --lac-light:     #9AB5B1;
  --lac-deep:      #2E4E56;
  --terracotta:    #C4A48A;
  --terra-light:   #D4BCA8;
  --nuit:          #1A2B3C;
  --nuit-light:    #2C3E4F;
  --blanc:         #FDFBF8;
  --transition:    0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--ivoire);
  color: var(--nuit);
  font-family: 'Inter', sans-serif;
  font-weight: 300; /* base - overridden per element */
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* Compenser la nav fixe lors du scroll vers une ancre */
section[id] { scroll-margin-top: 5rem; }

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.8rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition);
}

.nav.scrolled {
  background: rgba(26,43,60,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 1rem 4vw;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.45em;
  color: var(--blanc);
  padding-right: 0.45em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.6);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lac);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--blanc); }
.nav-links a:hover::after { width: 100%; }

.nav-lang {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.80rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.35);
  display: flex;
  gap: 0.6rem;
}

.nav-lang a { transition: color var(--transition); }
.nav-lang a:hover { color: var(--blanc); }
.nav-lang .active { color: var(--lac); }

/* Mobile menu */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  margin: -12px;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1002;
}
.nav-burger span {
  width: 24px;
  height: 2px;
  background: var(--blanc);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  background: var(--nuit);
  background: url('/images/lac-leman.webp') center/cover no-repeat, var(--nuit);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,25,38,0.75) 0%, rgba(20,32,46,0.45) 30%, rgba(22,34,48,0.40) 55%, rgba(15,24,36,0.82) 100%),
    radial-gradient(ellipse at 20% 55%, rgba(215,155,95,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 65% 40%, rgba(200,140,90,0.10) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  /* now rendered inside .hero-scroll-label */
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: 0.35em;
  color: var(--blanc);
  line-height: 1;
  margin-left: 0.35em;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: rgba(253,251,248,0.82);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 4rem;
}

.hero-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--lac), transparent);
  margin: 0 auto 3rem;
}

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: pulse 3s ease-in-out infinite;
  color: rgba(253,251,248,0.75);
}

.hero-scroll-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  font-size: 1rem;
  letter-spacing: 0;
  animation: scrollArrow 2s ease-in-out infinite;
  display: block;
  margin-top: 0.3rem;
}

.hero-scroll-label {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lac-light);
  opacity: 0.8;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes scrollArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMUNE
═══════════════════════════════════════════════════════ */
.section {
  padding: 8rem 6vw;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.section-label::after {
  content: '';
  height: 1px;
  width: 50px;
  background: var(--lac);
  opacity: 0.4;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--nuit);
  margin-bottom: 2rem;
}

.section-heading em {
  font-style: italic;
  color: var(--lac-deep);
}

.section-intro {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(26,43,60,0.70);
  max-width: 580px;
}

/* ═══════════════════════════════════════════════════════
   INTRODUCTION / PHILOSOPHIE
═══════════════════════════════════════════════════════ */
.intro-section {
  background: var(--blanc);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.intro-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 2.2;
  color: rgba(26,43,60,0.75);
}

.intro-text p + p { margin-top: 1.5rem; }

.intro-values {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--ivoire-deep);
  padding-left: 3rem;
}

.intro-value h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--nuit);
  margin-bottom: 0.5rem;
}

.intro-value p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(26,43,60,0.68);
}

.properties-section {
  background: var(--ivoire);
}

.projects-section {
  background: var(--nuit);
}

.projects-section .section-label { color: var(--lac); }
.projects-section .section-heading { color: var(--blanc); }
.projects-section .section-heading em { color: var(--lac); }
.projects-section .section-intro { color: rgba(253,251,248,0.4); }

/* ═══════════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════════ */
.services-section {
  background: var(--blanc);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
}

.service-card {
  padding: 3rem 2.5rem;
  border: 1px solid var(--ivoire-deep);
  border-right: none;
  transition: background var(--transition);
}

.service-card:last-child { border-right: 1px solid var(--ivoire-deep); }
.service-card:hover { background: var(--ivoire); cursor: pointer; }

.service-link {
  display: inline-block;
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--lac);
  transition: color var(--transition);
}

.service-link:hover { color: var(--lac-deep); }

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2.5rem;
  color: var(--ivoire-deep);
  margin-bottom: 2rem;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--nuit);
  margin-bottom: 1rem;
}

.service-text {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(26,43,60,0.5);
}

/* ═══════════════════════════════════════════════════════
   ESTIMATION / CTA
═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   OFF-MARKET
═══════════════════════════════════════════════════════ */
.offmarket-section {
  background: var(--nuit);
  padding: 6rem 6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offmarket-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(122,155,151,0.08) 0%, transparent 70%);
}

.offmarket-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
}

.offmarket-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 2rem;
}

.offmarket-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--blanc);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.offmarket-text {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(253,251,248,0.4);
  margin-bottom: 2.5rem;
}

/* Bouton-lien off-market : mène à la section Contact */
.offmarket-cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nuit);
  background: var(--lac);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.offmarket-cta:hover {
  background: var(--lac-light);
}

.offmarket-note {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  color: rgba(253,251,248,0.2);
  margin-top: 1.2rem;
}

.cta-section {
  background: var(--lac-deep);
  padding: 7rem 6vw;
  text-align: center;
}

.cta-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.4);
  margin-bottom: 2rem;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--blanc);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(253,251,248,0.45);
  max-width: 520px;
  margin: 0 auto 3rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blanc);
  border: 1px solid rgba(253,251,248,0.3);
  padding: 1rem 2.5rem;
  transition: all var(--transition);
}

.cta-button:hover {
  background: var(--blanc);
  color: var(--lac-deep);
  border-color: var(--blanc);
}

/* ═══════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════ */
.contact-section {
  background: var(--ivoire);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-item-label {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 0.5rem;
}

.contact-item-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--nuit);
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group { position: relative; }

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--nuit);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ivoire-deep);
  padding: 0.8rem 0;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--lac);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nuit);
  background: transparent;
  border: 1px solid var(--lac);
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 1rem;
}

.form-submit:hover {
  background: var(--lac-deep);
  color: var(--blanc);
  border-color: var(--lac-deep);
}

.form-submit[disabled] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* Champs obligatoires : astérisque discret après le libellé */
.form-group label.is-required::after {
  content: ' *';
  color: var(--terracotta);
}

/* État d'erreur d'un champ : bordure terracotta */
.form-group input.field-error,
.form-group textarea.field-error,
.form-group select.field-error {
  border-bottom-color: var(--terracotta);
}

/* Mention « champ obligatoire » en tête de formulaire */
.form-required-note {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--lac);
  margin: -0.4rem 0 0.2rem;
}
.form-required-note .req-star { color: var(--terracotta); }

/* Champ anti-spam (honeypot) — masqué aux humains, piège à robots */
.form-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-status {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  border-left: 2px solid var(--lac);
  background: rgba(122,155,151,0.08);
  color: var(--nuit);
  display: none;
}

.form-status.is-visible { display: block; }

.form-status.is-success {
  border-left-color: var(--lac-deep);
  background: rgba(46,78,86,0.08);
}

.form-status.is-error {
  border-left-color: var(--terracotta);
  background: rgba(196,164,138,0.12);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer {
  background: var(--nuit);
  padding: 5rem 6vw;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(122,155,151,0.1);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: 0.5em;
  color: var(--blanc);
  padding-right: 0.5em;
}

.footer-logo-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.25);
  margin-top: 0.6rem;
}

.footer-columns {
  display: flex;
  gap: 5rem;
}

.footer-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 1.5rem;
}

.footer-col ul { list-style: none; }

.footer-col li {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.82rem;
  color: rgba(253,251,248,0.35);
  margin-bottom: 0.8rem;
}

.footer-col a { transition: color var(--transition); }
.footer-col a:hover { color: var(--blanc); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 3rem;
}

.footer-legal {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(253,251,248,0.2);
}
.footer-legal a {
  color: rgba(253,251,248,0.2);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--lac); }

.footer-social {
  display: flex;
  gap: 2rem;
}

.footer-social a {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.25);
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--blanc); }

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sur mobile : tout visible immédiatement, pas d'animation */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .intro-grid         { grid-template-columns: 1fr; gap: 4rem; }
  .services-grid      { grid-template-columns: 1fr; }
  .service-card       { border-right: 1px solid var(--ivoire-deep); border-bottom: none; }
  .service-card:last-child { border-bottom: 1px solid var(--ivoire-deep); }
  .contact-grid       { grid-template-columns: 1fr; gap: 4rem; }
  .footer-top         { flex-direction: column; gap: 3rem; }
}

/* Navigation - hamburger pour tablettes et mobile */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,43,60,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 999;
  }
  .nav-links.show     { display: flex; }
  .nav-links a        { font-size: 1.1rem; letter-spacing: 0.3em; color: rgba(253,251,248,0.8); min-height: 48px; display: inline-flex; align-items: center; }
  .nav-lang           { z-index: 1003; position: relative; }
  .nav-burger         { display: flex; z-index: 1002; }
}

@media (max-width: 768px) {
  /* Hero mobile - centré, proportionné */
  .hero              { justify-content: center; padding-top: 0; }
  .hero-label        { margin-bottom: 1.5rem; font-size: 0.82rem; font-weight: 400; letter-spacing: 0.28em; }
  .hero-title        { font-size: clamp(2.8rem, 11vw, 5rem); margin-bottom: 1rem; }
  .hero-subtitle     { font-size: clamp(1.1rem, 4vw, 1.5rem); margin-bottom: 2rem; color: rgba(253,251,248,0.88); font-weight: 400; }
  .hero-line         { height: 35px; margin-bottom: 0.8rem; }
  .hero-scroll       { font-size: 0.68rem; }

  /* Sections */
  section, .section   { padding: 4rem 5vw; }
  .cta-section        { padding: 4.5rem 6vw; }
  .offmarket-section  { padding: 4.5rem 6vw; }

  /* Intro / Philosophie */
  .intro-values       { border-left: none; border-top: 1px solid var(--ivoire-deep); padding-left: 0; padding-top: 2.5rem; }

  /* Formulaire contact */
  .form-row           { grid-template-columns: 1fr; }

  /* Footer */
  .footer-columns     { flex-direction: column; gap: 2rem; }
  .footer-bottom      { flex-direction: column; gap: 1.2rem; text-align: center; }
  .footer-logo        { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  html                { font-size: 16px; }

  /* Navigation */
  .nav                { padding: 1.1rem 4.5vw; }
  .nav-logo           { font-size: 1.25rem; }

  /* Hero */
  .hero-title         { font-size: clamp(2.4rem, 13vw, 3.5rem); letter-spacing: 0.25em; }
  .hero-subtitle      { font-size: 1.05rem; margin-bottom: 1.5rem; color: rgba(253,251,248,0.88); }
  .hero-line          { height: 30px; margin-bottom: 0.6rem; }
  .hero-scroll        { font-size: 0.65rem; }
  .hero-scroll::after { font-size: 0.9rem; }

  /* Sections */
  section, .section   { padding: 3.5rem 5vw; }
  .cta-section        { padding: 4rem 5vw; }
  .offmarket-section  { padding: 4rem 5vw; }
  .section-heading    { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .section-intro      { font-size: 0.9rem; }

  /* Intro / Philosophie */
  .intro-grid         { gap: 3rem; }
  .intro-values       { gap: 2rem; }
  .intro-value h4     { font-size: 1.1rem; }

  /* Services */
  .service-card       { padding: 2rem 1.5rem; }
  .service-number     { font-size: 1.8rem; margin-bottom: 1.2rem; }
  .service-title      { font-size: 1rem; }

  /* CTA estimation */
  .cta-title          { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .cta-button         { padding: 0.9rem 1.8rem; font-size: 0.72rem; width: 100%; text-align: center; justify-content: center; }

  /* Off-market */
  .offmarket-heading  { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Contact */
  .contact-info-block { gap: 1.8rem; }
  .contact-item-value { font-size: 1rem; }

  /* Footer */
  .footer-logo        { font-size: 1.4rem; }
  .footer-logo-sub    { font-size: 0.7rem; }
  .footer-col-title   { font-size: 0.65rem; }
  .footer-col li      { font-size: 0.8rem; }
  .footer-legal       { font-size: 0.65rem; }

  /* Cookie banner */
  .cookie-text        { font-size: 0.75rem; }
  .cookie-actions     { flex-direction: row; }
  .cookie-btn         { flex: 1; text-align: center; padding: 0.6rem 0.8rem; font-size: 0.65rem; }
}

/* ── iPhone SE / très petits écrans (320px) ── */
@media (max-width: 360px) {
  .hero-title         { font-size: 2.2rem; letter-spacing: 0.2em; }
  section, .section   { padding: 3rem 4.5vw; }
}

/* ── iOS / Android tap & safe area ────────────────── */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer-bottom { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .nav           { padding-top: calc(1.2rem + env(safe-area-inset-top)); }
}

/* Min tap target 44×44 for mobile a11y */
@media (pointer: coarse) {
  .nav-links a    { min-height: 44px; display: inline-flex; align-items: center; }
  .nav-lang a     { min-height: 44px; display: inline-flex; align-items: center; }
  .service-link   { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ── Prevent iOS auto-zoom on input focus (font-size must be ≥ 16px) ── */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 16px; }
}

/* ── Remove 300ms tap delay on interactive elements ── */
button, a, .nav-burger, .service-link, .cta-button, .form-submit, .offmarket-cta, .cookie-btn {
  touch-action: manipulation;
}

/* ═══════════════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: rgba(26,43,60,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(122,155,151,0.15);
  padding: 1.5rem 4vw;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 0.8rem;
  color: rgba(253,251,248,0.5);
  line-height: 1.7;
  flex: 1;
}
.cookie-text a {
  color: var(--lac);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.cookie-btn-accept {
  background: var(--lac);
  color: var(--nuit);
}
.cookie-btn-accept:hover { background: var(--lac-light); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(253,251,248,0.35);
  border: 1px solid rgba(253,251,248,0.12) !important;
}
.cookie-btn-decline:hover { color: var(--blanc); border-color: rgba(253,251,248,0.3) !important; }

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem 5vw calc(1.4rem + env(safe-area-inset-bottom));
  }
  .cookie-actions { width: 100%; display: flex; gap: 0.8rem; }
  .cookie-btn { flex: 1; text-align: center; justify-content: center; min-height: 44px; }
}
  
/* ═══════════════════════════════════════════════════════
   LOGO LACUS (v8) + SÉQUENCE D'APPARITION
═══════════════════════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav .nav-logo { display: block; letter-spacing: 0; padding-right: 0; font-size: 0; line-height: 0; }
.lacus-nav-logo { display: block; height: 26px; width: auto; }
.footer .footer-logo { letter-spacing: 0; padding-right: 0; font-size: 0; line-height: 0; }
.lacus-foot-logo { display: block; height: 40px; width: auto; }
.hero .hero-title { font-size: 0; letter-spacing: 0; line-height: 0; margin: 0 auto 1.2rem; }
.lacus-hero-logo { display: block; width: clamp(240px, 42vw, 580px); height: auto; margin: 0 auto; overflow: visible; }
/* Logo centré dans l'écran ; « Découvrir nos biens » posé en bas du hero */
.hero .hero-content { position: static; }
.hero .hero-content > * { position: relative; z-index: 2; }
.hero .hero-subtitle { margin-bottom: 0; }
.hero .hero-line { display: none; }
.hero .hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: calc(clamp(1.5rem, 6vh, 3.5rem) + var(--cta-lift, 0px)); transform: translateX(-50%); white-space: nowrap; transition: bottom .5s cubic-bezier(0.25, 0.1, 0.25, 1); }
/* Menu : évite que le logo, les liens et FR/EN se touchent sur les écrans de 1100 à 1366 px */
.nav { gap: 2rem; }
@media (max-width: 1366px) and (min-width: 1101px) {
  .nav-links { gap: 1.7rem; }
  .nav-links a { font-size: 0.8rem; letter-spacing: 0.18em; }
}
@media (max-width: 768px) {
  .lacus-nav-logo { height: 21px; }
  .lacus-foot-logo { height: 32px; }
  .lacus-hero-logo { width: min(78vw, 440px); }
}

/* 1. Les lettres apparaissent une à une, les ondes s'ouvrent de l'intérieur vers l'extérieur */
.lacus-hero-logo .lg-l { opacity: 0; transform-box: fill-box; transform: translateY(18%); animation: lgIn 1s cubic-bezier(.2,.7,.2,1) forwards; }
.lacus-hero-logo .lg-a { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.55); animation: lgRipple 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
.lacus-hero-logo .lg-l1 { animation-delay: .3s; }
.lacus-hero-logo .lg-l2 { animation-delay: .5s; }
.lacus-hero-logo .lg-a3 { animation-delay: .7s; }
.lacus-hero-logo .lg-a2 { animation-delay: .9s; }
.lacus-hero-logo .lg-a1 { animation-delay: 1.1s; }
.lacus-hero-logo .lg-l3 { animation-delay: 1.25s; }
.lacus-hero-logo .lg-l4 { animation-delay: 1.45s; }
/* 2. Le reflet apparaît doucement dans l'eau de la photo (pas de ligne d'eau sur l'accueil) */
.lacus-hero-logo .lg-refl { opacity: 0; animation: lgFade 1.3s ease 1.7s forwards; }
/* Onde sur la photo du lac (WebGL, voir script en bas de page) : sous le voile du hero, sous le logo */
.hero::before { z-index: 1; }
.hero-onde { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; transition: opacity .6s ease; }
/* 3. Le reste du hero suit, avec le menu (absent pendant la construction du logo) */
.hero-subtitle { animation: lgFadeUp .9s ease 2.1s both; }
.nav { animation: lgNavIn .9s ease 2.1s both; } /* invisible ET non cliquable tant qu'il n'est pas apparu */
.hero-line { animation: lgFade .9s ease 2.3s both; }
/* la pulsation repart de l'opacité 1 atteinte par le fondu : pas de saut */
.hero-scroll { animation: lgFade .8s ease 2.4s both, pulseFromFull 3s ease-in-out 3.2s infinite; }

@keyframes lgIn { to { opacity: 1; transform: none; } }
@keyframes lgRipple { to { opacity: 1; transform: none; } }
@keyframes lgFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lgNavIn { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
@keyframes lgFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulseFromFull { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

/* Pas d'animation : visite suivante dans la même session, ou « réduire les animations » activé */
.no-intro .lacus-hero-logo .lg-l, .no-intro .lacus-hero-logo .lg-a,
.no-intro .lacus-hero-logo .lg-refl, .no-intro .hero-subtitle, .no-intro .hero-line, .no-intro .nav {
  animation: none; opacity: 1; transform: none;
}
.no-intro .hero-scroll { animation: pulse 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .lacus-hero-logo .lg-l, .lacus-hero-logo .lg-a,
  .lacus-hero-logo .lg-refl, .hero-subtitle, .hero-line, .hero-scroll, .nav {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   FORMATS D'ÉCRAN : écrans courts, iPhone Duo, téléphone couché
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Le flou de la barre (après défilement) enfermait le menu plein écran dans la barre : retiré (barre déjà opaque à 95 %) */
  .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* Menu : jamais sous la barre ni sous FR | EN, défile si l'écran est trop court ; centré comme avant quand il tient */
  .nav-links {
    justify-content: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: calc(6rem + env(safe-area-inset-top)) 0 calc(6rem + env(safe-area-inset-bottom));
  }
  .nav-links > li:first-child { margin-top: auto; }
  .nav-links > li:last-child  { margin-bottom: auto; }
  /* La bannière cookies (au-dessus de tout) cachait le bas du menu ouvert : masquée le temps du menu */
  body:has(.nav-links.show) .cookie-banner { visibility: hidden; }
}
/* Écrans bas (iPhone SE, iPhone Duo plié ou déplié) : menu resserré */
@media (max-width: 1100px) and (max-height: 640px) {
  .nav-links { gap: 0.9rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}
/* Écrans larges et bas (téléphone couché, iPhone Duo déplié couché avec la barre de Safari) :
   barre plus fine, menu sur deux colonnes, logo du hero à l'échelle de la hauteur,
   place réservée en bas pour « Découvrir Lacus » */
@media (max-width: 1100px) and (max-height: 620px) and (min-aspect-ratio: 4/3) {
  .nav, .nav.scrolled { padding-top: calc(0.7rem + env(safe-area-inset-top)); padding-bottom: 0.7rem; }
  .nav-links.show {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    justify-items: center;
    align-content: center;
    column-gap: 4rem;
    row-gap: 0.4rem;
    padding: calc(4rem + env(safe-area-inset-top)) 0 1rem;
  }
  .nav-links > li:first-child, .nav-links > li:last-child { margin: 0; }
  .hero { padding-top: calc(3.5rem + env(safe-area-inset-top)); padding-bottom: 5.4rem; }
  .lacus-hero-logo { width: min(42vw, 70vh); width: min(42vw, 70svh); }
  .hero .hero-title { margin-bottom: 0.4rem; }
  .hero .hero-scroll { bottom: calc(0.7rem + var(--cta-lift, 0px)); }
}

/* ═══════════════════════════════════════════════════════
   BIENS ET PROJETS « EN PRÉPARATION »
═══════════════════════════════════════════════════════ */
.bientot {
  margin-top: 4rem;
  padding: 4.5rem 2rem;
  background: var(--blanc);
  border: 1px solid var(--ivoire-deep);
  text-align: center;
}
.bientot-ondes {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto 2rem;
  fill: none;
  stroke: var(--lac);
  stroke-linecap: round;
}
.bientot-ondes path:nth-child(1) { stroke-width: 3.4; }
.bientot-ondes path:nth-child(2) { stroke-width: 2.6; }
.bientot-ondes path:nth-child(3) { stroke-width: 2; }
/* Les trois ondes du C s'allument tour à tour, de l'intérieur vers l'extérieur */
.bientot-ondes path { animation: bientotOnde 3.6s ease-in-out infinite; }
.bientot-ondes path:nth-child(3) { animation-delay: 0s; }
.bientot-ondes path:nth-child(2) { animation-delay: .4s; }
.bientot-ondes path:nth-child(1) { animation-delay: .8s; }
@keyframes bientotOnde { 0%, 100% { opacity: .35; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bientot-ondes path { animation: none; } }
.bientot-label {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 1.2rem;
}
.bientot-titre {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--nuit);
  margin-bottom: 1.2rem;
}
.bientot-texte {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(26,43,60,0.68);
  max-width: 34em;
  margin: 0 auto 2.2rem;
}
.bientot-lien {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nuit);
  border-bottom: 1px solid var(--lac);
  padding-bottom: 0.4rem;
  min-height: 44px;
  transition: color var(--transition);
  touch-action: manipulation;
}
.bientot-lien::after { content: '→'; font-size: 0.9rem; }
.bientot-lien:hover { color: var(--lac-deep); }
/* Variante sur fond nuit (projets) */
.bientot--nuit { background: rgba(253,251,248,0.03); border-color: rgba(253,251,248,0.12); }
.bientot--nuit .bientot-titre { color: var(--blanc); }
.bientot--nuit .bientot-texte { color: rgba(253,251,248,0.58); }
.bientot--nuit .bientot-lien { color: var(--blanc); }
.bientot--nuit .bientot-lien:hover { color: var(--lac-light); }
@media (max-width: 480px) {
  .bientot { margin-top: 3rem; padding: 3.2rem 1.4rem; }
  .bientot-texte { font-size: 0.95rem; }
}

/* Séparateur FR | EN, devise du pied de page */
.nav-lang span { color: rgba(253,251,248,0.15); }
.footer-devise {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(253,251,248,0.2);
  margin-bottom: 1.2rem;
}

/* ═══════════════════════════════════════════════════════
   PAGES LÉGALES ET PAGE INTROUVABLE
═══════════════════════════════════════════════════════ */
.page-legale { background: var(--ivoire); }
.page-legale .nav,
.page-legale .nav.scrolled {
  background: rgba(26,43,60,0.97);
  padding-top: calc(1rem + env(safe-area-inset-top));
  padding-bottom: 1rem;
  animation: none;
}
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(9rem + env(safe-area-inset-top)) 6vw 6rem;
}
.legal-retour {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 2.5rem;
  transition: color var(--transition);
}
.legal-retour::before { content: '←'; }
.legal-retour:hover { color: var(--lac-deep); }
.legal-page h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  color: var(--nuit);
  margin-bottom: 0.8rem;
}
.legal-page .legal-date {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lac);
  margin-bottom: 3rem;
}
.legal-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--nuit);
  margin: 2.4rem 0 0.8rem;
}
.legal-page p,
.legal-page li {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(26,43,60,0.72);
}
.legal-page p + p { margin-top: 0.8rem; }
.legal-page ul { padding-left: 1.2rem; margin: 0.6rem 0 1rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page strong { font-weight: 400; color: var(--nuit); }
.legal-page .legal-lien {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  min-height: 44px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--nuit);
  border-bottom: 1px solid var(--lac);
}
@media (max-width: 480px) {
  .legal-page { padding-top: calc(7rem + env(safe-area-inset-top)); padding-bottom: 4rem; }
}

/* Accueil plein écran sur tous les formats (comme Patina) : la hauteur « petite » de l'écran
   (barres du navigateur affichées) ne bouge pas quand Safari réduit ses barres au défilement */
@supports (height: 100svh) {
  .hero { min-height: 100svh; }
}
