/* =============================================================
 * CF Immo Group · Private Real Estate
 * Système de marque — Gold uniforme sur fond blanc / Ink
 * Cormorant Garamond + Inter · Luxury minimalism
 * ============================================================= */

/* ===== BASE ===== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: #0A0908;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== GOLD — ton uniforme align\u00e9 sur le logo (or chaud mat) ===== */
.cf-gold       { color: #B89556; }
.cf-gold-soft  { color: #C9A66B; }
.cf-gold-deep  { color: #8A6D3B; }

.cf-gold-shimmer {
  background-image: linear-gradient(135deg,
    #8A6D3B 0%, #B89556 25%, #D9B878 50%, #B89556 75%, #8A6D3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== FILETS OR ===== */
.cf-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #C9A66B 30%, #C9A66B 70%, transparent 100%);
  opacity: 0.65;
}
.cf-rule-short  { width: 4rem; }
.cf-rule-medium { width: 8rem; }

/* ===== SECTIONS NUM\u00c9ROT\u00c9ES ===== */
.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #8A6D3B;
}
.section-number {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ===== TEASER CARDS (photo flout\u00e9e) ===== */
.teaser-card {
  position: relative;
  overflow: hidden;
  background: #0A0908;
  transition: transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.teaser-image {
  filter: blur(28px) saturate(0.9) brightness(0.72);
  transform: scale(1.15);
  transition: filter 0.8s ease, transform 0.8s ease;
}
.teaser-card:hover .teaser-image {
  filter: blur(34px) saturate(0.95) brightness(0.62);
}
.teaser-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(10,9,8,0.15) 0%,
    rgba(10,9,8,0.65) 60%,
    rgba(10,9,8,0.92) 100%);
}
.teaser-sigil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.teaser-watermark {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 166, 107, 0.18);
}

/* ===== CTA ===== */
.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #C9A66B;
  padding: 1rem 1.5rem 1rem 0;
  border-bottom: 1px solid rgba(201, 166, 107, 0.35);
  transition: all 0.4s ease;
}
.cta-ghost:hover {
  letter-spacing: 0.4em;
  border-bottom-color: rgba(201, 166, 107, 0.9);
}
.cta-ghost::after {
  content: '→';
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  transition: transform 0.4s ease;
}
.cta-ghost:hover::after { transform: translateX(6px); }

.cta-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1.15rem 2.4rem;
  background: #0A0908;
  color: #F5F1EA;
  border: 1px solid transparent;
  transition: all 0.4s ease;
}
.cta-solid:hover {
  background: #1C1612;
  border-color: #C9A66B;
  color: #F4E4A1;
  box-shadow: 0 0 28px -8px rgba(201, 166, 107, 0.5);
  transform: translateY(-1px);
}
.cta-solid:active {
  transform: translateY(0);
  box-shadow: 0 0 14px -6px rgba(201, 166, 107, 0.35);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.8,.2,1),
              transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== HERO VEIL ===== */
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,9,8,0.20) 0%, rgba(10,9,8,0.78) 100%),
    linear-gradient(180deg, rgba(10,9,8,0.25) 0%, rgba(10,9,8,0.70) 100%);
}

/* ===== HEADER ===== */
.header-scrolled {
  backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(201, 166, 107, 0.18);
}

/* ===== MOBILE MENU ===== */
#mobile-menu { transition: opacity 0.5s ease, visibility 0.5s ease; }
#mobile-menu.hidden-menu { opacity: 0; visibility: hidden; pointer-events: none; }

/* ===== NOISE ===== */
.noise {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* ===== TABLEAU D'ABONNEMENTS ===== */
.tier-cell {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(138, 109, 59, 0.15);
}
.tier-cell:not(:last-child) { border-right: 1px solid rgba(138, 109, 59, 0.15); }
.tier-check { color: #B89556; font-size: 0.95rem; }
.tier-dash  { color: rgba(10,9,8,0.25); font-size: 0.95rem; }

/* ===== ACCESSIBILIT\u00c9 ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .teaser-image, .cta-ghost, .cta-solid { transition: none; }
}

/* ===== FORM ELEMENTS ===== */
.cf-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(138, 109, 59, 0.4);
  padding: 0.85rem 0;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #0A0908;
  transition: border-color 0.3s ease;
}
.cf-input:focus {
  outline: none;
  border-bottom-color: #B89556;
}
.cf-input::placeholder { color: rgba(122, 107, 82, 0.6); }
.cf-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8A6D3B;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===== PAGE HEADER (pages internes) ===== */
.page-hero {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background: #FFFFFF;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: #0A0908;
}

/* ===== FOOTER ===== */
footer a { transition: color 0.3s ease; }

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown { position: relative; display: inline-flex; }
.lang-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.lang-trigger:focus-visible {
  outline: 1px solid #C9A66B;
  outline-offset: 3px;
}
.lang-caret { transition: transform 0.3s ease; opacity: 0.7; }
.lang-dropdown.is-open .lang-caret { transform: rotate(180deg); opacity: 1; }
.lang-menu {
  z-index: 60;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  min-width: 5.5rem;
  box-shadow: 0 12px 32px -10px rgba(10, 9, 8, 0.45),
              0 2px 6px -2px rgba(10, 9, 8, 0.18);
}
.lang-menu.lang-menu-light {
  background: rgba(245, 241, 234, 0.97);
  backdrop-filter: saturate(1.2) blur(8px);
  border: 1px solid rgba(138, 109, 59, 0.28);
}
.lang-menu.lang-menu-dark {
  background: rgba(28, 22, 18, 0.97);
  backdrop-filter: saturate(1.2) blur(8px);
  border: 1px solid rgba(201, 166, 107, 0.35);
}
.lang-menu li + li {
  border-top: 1px solid rgba(138, 109, 59, 0.14);
}
.lang-menu.lang-menu-dark li + li {
  border-top: 1px solid rgba(201, 166, 107, 0.2);
}
.lang-menu a {
  display: block;
  padding: 0.7rem 1.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-menu.lang-menu-light a { color: #0A0908; }
.lang-menu.lang-menu-light a:hover { background: #0A0908; color: #F5F1EA; }
.lang-menu.lang-menu-dark a { color: #F5F1EA; }
.lang-menu.lang-menu-dark a:hover { background: #C9A66B; color: #0A0908; }
