/* ============ Pierre Grégoire — Courtier immobilier ============ */
/* Palette officielle (guide de normes 20.08.2025) :
   Doré #B59A6B · Bleu foncé #222933 · Blanc #FFFFFF
   Gris foncé #7F888D · Gris moyen #D3D7DD · Gris pâle #E5E7EB */
:root {
  --bg: #222933;
  --bg-2: #2c333d;
  --bg-3: #383f4a;
  --gold: #B59A6B;
  --gold-bright: #C9B488;
  --gold-dim: #7d6b4a;
  --ivory: #FFFFFF;
  --ivory-dim: #D3D7DD;
  --gris-fonce: #7F888D;
  --gris-moyen: #D3D7DD;
  --gris-pale: #E5E7EB;
  --line: rgba(181, 154, 107, 0.20);
  --line-strong: rgba(181, 154, 107, 0.42);
  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.55);
}

/* ============ LIGHT THEME ============ */
html[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-2: #E5E7EB;
  --bg-3: #D3D7DD;
  --gold: #B59A6B;
  --gold-bright: #C9B488;
  --gold-dim: #7d6b4a;
  --ivory: #222933;
  --ivory-dim: #7F888D;
  --line: rgba(34, 41, 51, 0.12);
  --line-strong: rgba(34, 41, 51, 0.28);
  --shadow-lg: 0 30px 80px -20px rgba(34, 41, 51, 0.18);
}
html[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.3) 60%, rgba(255,255,255,0.92) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
}
html[data-theme="light"] .listing-fav {
  background: rgba(255, 255, 255, 0.85);
}
html[data-theme="light"] .portrait-tag {
  background: var(--bg);
}
html[data-theme="light"] .process-step-num {
  background: var(--bg);
}
html[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .nav.scrolled .nav-link {
  color: var(--ivory);
}
/* PG logo is white+gold on transparent — invert to readable on light bg.
   Brightness(0) makes everything black, then offset by sepia/saturate keeps a hint of gold. */
html[data-theme="light"] .logo-pg {
  filter: brightness(0) saturate(100%) invert(15%) sepia(20%) saturate(800%) hue-rotate(190deg);
}

:root {
  /* Brand guide: Indivisible (Adobe). Hanken Grotesk is the closest free match —
     same modern geometric construction, humanist warmth, generous letter spacing. */
  --serif: "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  --sans: "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;
  /* The brand has NO monospace. Eyebrows, meta labels and legal lines use the
     brand neo-grotesque with wide uppercase tracking — that wide-tracked caps
     treatment IS the identity's signature. Keep --mono as an alias of the sans
     so every label that referenced it renders on-brand instead of typewriter. */
  --mono: "Hanken Grotesk", -apple-system, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== Typography =====
   Brand uses a single sans (Indivisible → Hanken Grotesk). Elegance comes from
   light weights at large scale + tight tracking, not from a serif. */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, h4 em {
  font-weight: 300;
  font-style: italic;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.lead { font-size: 18px; line-height: 1.7; color: var(--ivory-dim); text-wrap: pretty; }

/* ===== Layout ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { position: relative; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(34, 41, 51, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 40px;
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-mark {
  width: 38px; height: 38px;
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  font-style: italic;
}
.nav-name {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.nav-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ivory);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--gold);
  color: var(--bg);
}
.btn-solid {
  background: var(--gold);
  color: var(--bg);
}
.btn-solid:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}
.btn-arrow::after {
  content: "→";
  transition: transform 0.3s;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.6s ease;
  background-size: cover;
  background-position: center;
  animation: kenburns 12s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
@keyframes kenburns {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,18,32,0.15) 0%, rgba(11,18,32,0.35) 60%, rgba(11,18,32,0.9) 100%),
    linear-gradient(90deg, rgba(11,18,32,0.5) 0%, rgba(11,18,32,0.05) 70%);
}
.hero-content {
  position: relative;
  z-index: 2;
  /* Let drop events fall through to the image-slot beneath. Interactive
     children (CTAs, eyebrow link) get pointer-events back below. */
  pointer-events: none;
  width: 100%;
  padding: 0 40px 120px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  max-width: 14ch;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}
.hero h1, .hero-tagline {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero-tagline {
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .hero h1 em {
  color: #7d6b4a;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory-dim);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  pointer-events: auto;
}
.hero-content a, .hero-content button { pointer-events: auto; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: "";
  width: 48px; height: 1px;
  background: var(--gold);
}

.hero-indicators {
  position: absolute;
  bottom: 40px; right: 40px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 32px; height: 2px;
  background: rgba(245, 240, 232, 0.2);
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dot.active { background: var(--gold); }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); }
}

/* ===== Section header pattern ===== */
.section-pad { padding: 140px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
}
.section-head-title h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
}
.section-head-title h2 em {
  color: var(--gold);
  font-style: italic;
}
.section-head-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: start;
  /* Align the eyebrow's first line with the heading's first line. The old
     floating border-top + 12px padding pushed the label ~13px below the title's
     top, which is what read as "not aligned" with the section title. */
  padding-top: 2px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--bg-3);
  overflow: hidden;
}
.about-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,18,32,0.85) 100%);
  pointer-events: none;
}
.portrait-placeholder {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(201, 168, 118, 0.04),
      rgba(201, 168, 118, 0.04) 12px,
      rgba(201, 168, 118, 0.08) 12px,
      rgba(201, 168, 118, 0.08) 24px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.portrait-placeholder span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.portrait-frame {
  position: absolute;
  inset: -16px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: -1;
}
.portrait-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--bg);
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  z-index: 2;
}
.portrait-tag-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
}
.portrait-tag-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.about-body h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  margin-bottom: 24px;
}
.about-body h3 em { color: var(--gold); font-style: italic; }
.about-body p {
  color: var(--ivory-dim);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ivory);
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  line-height: 1.5;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-top: 8px;
}

/* ===== PROCESS ===== */
.process {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.process-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
.process-tab {
  padding: 20px 40px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
}
.process-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.process-tab:hover { color: var(--ivory); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 32px; left: 5%; right: 5%;
  height: 1px;
  background: var(--line);
}
.process-step {
  position: relative;
  padding: 0 24px;
}
.process-step-num {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  transition: all 0.4s;
}
.process-step:hover .process-step-num {
  background: var(--gold);
  color: var(--bg);
}
.process-step h4 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.process-step p {
  color: var(--ivory-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== SERVICES strip ===== */
.services-strip {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.service-item {
  padding: 24px 32px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.service-item:last-child { border-right: none; }
.service-icon {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
  font-style: italic;
}
.service-name {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 6px;
}
.service-desc {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  text-transform: uppercase;
}

/* ===== LISTINGS ===== */
.listings {
  background: var(--bg);
}
.listings-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: all 0.2s;
}
.filter-chip.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 118, 0.08);
}
.filter-chip:hover { color: var(--ivory); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.listing-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.4s;
  cursor: pointer;
}
.listing-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.listing-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.listing-img-placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(201, 168, 118, 0.05),
      rgba(201, 168, 118, 0.05) 8px,
      rgba(201, 168, 118, 0.1) 8px,
      rgba(201, 168, 118, 0.1) 16px
    );
  transition: transform 0.6s;
  display: grid; place-items: center;
}
.listing-card:hover .listing-img-placeholder { transform: scale(1.05); }
.listing-img-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold-dim);
  text-transform: uppercase;
}
.listing-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: var(--bg);
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.listing-fav {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(11, 18, 32, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ivory);
  font-size: 14px;
  transition: all 0.2s;
}
.listing-fav:hover, .listing-fav.active {
  color: var(--gold);
  border-color: var(--gold);
}
.listing-body { padding: 24px; }
.listing-price {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 6px;
}
.listing-addr {
  font-size: 14px;
  color: var(--ivory);
  margin-bottom: 16px;
}
.listing-meta {
  display: flex;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ivory-dim);
  letter-spacing: 0.04em;
}
.listing-meta span strong {
  color: var(--ivory);
  font-weight: 500;
  margin-right: 4px;
}

.centris-frame-wrap {
  margin-top: 60px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  background: var(--bg-2);
}
.centris-frame-wrap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.centris-frame-wrap-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.centris-frame {
  width: 100%;
  height: 600px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  display: grid;
  place-items: center;
  color: var(--ivory-dim);
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  padding: 40px;
}

/* ===== EVAL FORM ===== */
.eval {
  background: var(--bg-2);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.eval::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.1;
}
.eval-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.eval-intro h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  margin-bottom: 24px;
}
.eval-intro h2 em { color: var(--gold); font-style: italic; }
.eval-intro p {
  color: var(--ivory-dim);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.eval-features {
  list-style: none;
  display: grid;
  gap: 16px;
}
.eval-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ivory-dim);
}
.eval-features li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

.eval-form {
  background: var(--bg-3);
  padding: 48px;
  border: 1px solid var(--line);
  position: relative;
}
.eval-form-corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 1px solid var(--gold);
}
.eval-form-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.eval-form-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.eval-form-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.eval-form-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.form-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }

.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
                    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 14px) 18px, calc(100% - 8px) 18px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field select option { background: var(--bg-3); color: var(--ivory); }

.form-submit {
  margin-top: 16px;
  width: 100%;
  padding: 18px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.form-submit:hover {
  background: var(--gold-bright);
  letter-spacing: 0.3em;
}
.form-success {
  background: rgba(201, 168, 118, 0.08);
  border: 1px solid var(--gold);
  padding: 32px;
  text-align: center;
  margin-top: 16px;
}
.form-success-icon {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg);
  padding: 140px 0 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  margin-bottom: 32px;
}
.contact-info h2 em { color: var(--gold); font-style: italic; }
.contact-info > p {
  color: var(--ivory-dim);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 480px;
}
.contact-cards {
  display: grid;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: all 0.3s;
  cursor: pointer;
}
.contact-card:hover {
  border-color: var(--gold);
  background: var(--bg-3);
}
.contact-card-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
  flex-shrink: 0;
}
.contact-card-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-card-value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
}

.contact-form {
  background: var(--bg-2);
  padding: 40px;
  border: 1px solid var(--line);
}
.contact-form h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.contact-form-sub {
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-name {
  font-size: 24px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--ivory-dim);
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ivory-dim);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ivory-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal {
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Listing template card ===== */
.listing-link {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.listing-link:hover { color: var(--ivory); border-color: var(--ivory); }
.listings-centris { margin-top: 56px; text-align: center; }

/* ===== BLOG / CONSEILS ===== */
.blog { background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s, border-color 0.4s;
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.blog-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.blog-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.blog-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-strong);
  padding: 5px 12px;
}
.blog-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ivory);
}
.blog-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ivory-dim);
}
.blog-link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.blog-link:hover { color: var(--ivory); border-color: var(--ivory); }
.blog-all { margin-top: 56px; text-align: center; }

/* ===== FAQ ===== */
.faq { background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); }
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ivory);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--gold); }
.faq-item.open .faq-q { color: var(--gold); }
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 4px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transition: transform 0.3s ease;
}
.faq-icon::before { width: 18px; height: 1px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 18px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a-wrap { max-height: 600px; }
.faq-a p {
  padding: 0 0 28px;
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ivory-dim);
}
.faq-cta {
  display: inline-block;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.25s, border-color 0.25s;
}
.faq-cta:hover { color: var(--ivory); border-color: var(--ivory); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .section-pad { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .listings-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .services-list { grid-template-columns: 1fr 1fr; }
  .service-item { border-right: none; border-bottom: 1px solid var(--line); }
  .eval-grid { grid-template-columns: 1fr; gap: 48px; }
  .eval-form { padding: 32px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row.two { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px 80px; }
}

/* ============ AJOUTS SITE STATIQUE ============ */

/* Placeholders d'images (hero/listings/blog en attente des vraies photos) */
.img-placeholder {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(181,154,107,0.05), rgba(181,154,107,0.05) 8px,
    rgba(181,154,107,0.10) 8px, rgba(181,154,107,0.10) 16px);
  display: grid; place-items: center;
  transition: transform 0.6s;
}
.listing-card:hover .img-placeholder,
.blog-card:hover .img-placeholder { transform: scale(1.05); }
.img-placeholder span {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-dim); text-align: center; padding: 12px;
}

/* Lien « bientôt » pour les articles à venir */
.blog-link.is-soon {
  color: var(--gold-dim);
  border-bottom: 1px dashed var(--line-strong);
  cursor: default;
}

/* Honeypot anti-spam (Netlify) */
.hidden-field { display: none; }

/* ===== Menu mobile ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ivory);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 62px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(34, 41, 51, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav-links .nav-link.btn {
    margin-top: 16px;
    justify-content: center;
    border-bottom: 1px solid var(--gold);
  }
}

/* ===== Page article (conseils) ===== */
.article-main { padding-top: 96px; }
.article-head { max-width: 820px; margin: 0 auto; padding: 48px 40px 32px; }
.article-back {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.article-back:hover { color: var(--ivory); }
.article-cat {
  display: inline-block; margin: 28px 0 4px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--line-strong); padding: 5px 12px;
}
.article-head h1 {
  font-size: clamp(30px, 4.5vw, 50px); font-weight: 300; margin: 16px 0 20px;
}
.article-head h1 em { color: var(--gold); font-style: italic; }
.article-meta {
  font-size: 13px; color: var(--ivory-dim); letter-spacing: 0.04em;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.article-content { max-width: 720px; margin: 0 auto; padding: 16px 40px 64px; }
.article-content .lead-para { font-size: 19px; color: var(--ivory); line-height: 1.8; }
.article-content p {
  color: var(--ivory-dim); font-size: 17px; line-height: 1.9; margin-bottom: 24px;
}
.article-content h2 {
  font-family: var(--serif); font-size: clamp(23px, 3vw, 30px);
  font-weight: 400; color: var(--ivory); margin: 48px 0 16px; letter-spacing: -0.01em;
}
.article-content h2 em { color: var(--gold); font-style: italic; }
.article-cta-box {
  margin-top: 56px; padding: 40px;
  border: 1px solid var(--line-strong); background: var(--bg-2); text-align: center;
}
.article-cta-box h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-bottom: 12px; }
.article-cta-box p { color: var(--ivory-dim); margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

@media (max-width: 960px) {
  .article-head, .article-content { padding-left: 24px; padding-right: 24px; }
  .article-cta-box { padding: 28px 20px; }
}

/* Correctif onglets Processus : forcer le masquage du panneau inactif.
   L'attribut [hidden] seul est neutralisé par .process-steps { display: grid }. */
.process-steps[hidden] { display: none; }
