/* ==========================================================================
   Pier-Luc Lauzon — Royal LePage Au Sommet
   ========================================================================== */

:root {
  --black: #0b0b0c;
  --black-2: #131315;
  --black-3: #1b1b1e;
  --cream: #f6f2ea;
  --cream-dim: #cfc9bc;
  --gold: #c9a24a;
  --gold-light: #e6cd8a;
  --rlp-red: #ee3a43;
  --rlp-ink: #231f20;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-mark {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,74,0.35); }
.btn-outline {
  border-color: rgba(246,242,234,0.4);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  border-color: rgba(246,242,234,0.5);
  color: var(--cream);
  padding: 10px 22px;
  font-size: 0.78rem;
}
.btn-ghost:hover { background: var(--cream); color: var(--black); }
.header-cta { white-space: nowrap; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
  padding: 26px 0;
  /* Force son propre calque graphique: corrige un bug connu de Safari iOS où un
     élément "fixed" se met à dériver/flotter dans le contenu pendant le défilement
     au lieu de rester bien ancré en haut de l'écran. */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.site-header.scrolled {
  background: rgba(11,11,12,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.main-nav { display: flex; gap: 22px; margin-left: auto; margin-right: 28px; }
.main-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.brand-name { white-space: nowrap; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.nav-cta {
  display: none; /* visible seulement dans le menu mobile — sur desktop, le numéro de téléphone sert déjà de CTA */
  padding: 10px 22px; margin-left: 6px; color: var(--black);
}
.main-nav a.nav-cta::after { display: none; }
.main-nav a.nav-cta:hover { color: var(--black); }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.35) 40%, rgba(11,11,12,0.75) 100%),
    linear-gradient(90deg, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0.15) 50%, rgba(11,11,12,0.5) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; padding: 0 24px; }
.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: -4px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 18px;
}
.hero-title span { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-text {
  max-width: 560px;
  margin: 0 auto 40px;
  color: var(--cream-dim);
  font-size: 1rem;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-cue span {
  display: block; width: 1px; height: 54px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- License note ---------- */
.license-note {
  background: var(--black-3);
  border-top: 1px solid rgba(201,162,74,0.25);
  border-bottom: 1px solid rgba(201,162,74,0.25);
  padding: 14px 0;
}
.license-note p {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--cream-dim);
}

/* ---------- Section shared ---------- */
.section-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow-light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--rlp-ink);
  margin-bottom: 26px;
  line-height: 1.15;
}
.section-title-light { color: var(--cream); }

/* ---------- About ---------- */
.about { background: var(--cream); color: var(--rlp-ink); padding: 120px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-photo-frame {
  position: relative;
  border: 1px solid var(--gold);
  padding: 18px;
}
.about-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo-family {
  position: absolute;
  width: 42%;
  bottom: -40px; right: -40px;
  border: 6px solid var(--cream);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}
.about-photo-family img { aspect-ratio: 4/3; object-fit: cover; }
.about-content p { color: #4a4642; margin-bottom: 18px; font-size: 1.02rem; }
.about-signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--rlp-ink) !important;
  margin-top: 8px;
}

/* ---------- Accompaniment ---------- */
.accompaniment { background: var(--black); padding: 120px 0; text-align: center; }
.accompaniment .section-eyebrow,
.accompaniment .section-title { text-align: center; }
.accompaniment .section-title { margin-left: auto; margin-right: auto; max-width: 640px; }
.cards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.card {
  background: var(--black-2);
  border: 1px solid rgba(201,162,74,0.18);
  padding: 42px 32px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); }
.card-icon {
  width: 52px; height: 52px;
  margin-bottom: 24px;
}
.card-icon svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--gold); stroke-width: 2;
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--cream);
}
.card p { color: var(--cream-dim); font-size: 0.95rem; }

/* ---------- Collaboration (réseau de professionnels) ---------- */
.network { background: var(--black); padding: 120px 0; text-align: center; }
.network .section-eyebrow, .network .section-title { text-align: center; }
.network .section-title { margin-left: auto; margin-right: auto; max-width: 640px; }
.network-intro { color: var(--cream-dim); font-size: 1rem; line-height: 1.7; max-width: 640px; margin: 22px auto 0; }
.network-cards.cards { margin-top: 48px; }
.network-note { color: var(--cream-dim); font-size: 0.95rem; margin: 40px auto 0; max-width: 560px; }

/* ---------- Calculatrice hypothécaire ---------- */
.calculator { background: var(--cream); padding: 100px 0; }
.calculator-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.calculator-intro .section-eyebrow, .calculator-intro .section-title { text-align: left; margin: 0; }
.calculator-intro p:not(.section-eyebrow) { color: #4a4642; margin-top: 16px; max-width: 380px; line-height: 1.6; }
.calculator-box { background: #fff; border: 1px solid rgba(35,31,32,0.08); border-radius: 6px; padding: 32px 36px; }
.calc-row { margin-bottom: 18px; }
.calc-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calculator-box label { display: block; font-size: 0.8rem; color: #6b6560; margin-bottom: 6px; }
.calculator-box input, .calculator-box select {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(35,31,32,0.15); border-radius: 4px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--rlp-ink); background: #fff;
}
.calculator-box input:focus, .calculator-box select:focus { outline: none; border-color: var(--gold); }
.calc-results {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(35,31,32,0.08);
}
.calc-result { text-align: center; }
.calc-result span { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--gold); }
.calc-result p { color: #6b6560; font-size: 0.74rem; margin-top: 4px; }
.calc-note { color: #8a8580; font-size: 0.78rem; margin-top: 20px; line-height: 1.6; }
.calc-note a { color: var(--gold); }

/* ---------- Acheter / Vendre — onglets ---------- */
.buy-sell-tabs { background: var(--cream); padding: 100px 0; }
.buy-sell-tabs .container { text-align: center; }
.buy-sell-tabs .section-eyebrow, .buy-sell-tabs .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.buy-sell-tabs .section-title { max-width: 640px; }
.tabs-switch {
  display: inline-flex; gap: 2px; margin: 32px auto 0;
  background: #fff; border: 1px solid rgba(35,31,32,0.12); border-radius: 30px; padding: 4px;
}
.tab-btn {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 12px 34px; border-radius: 26px; border: none; background: transparent;
  color: #6b6560; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tab-btn:hover { color: var(--rlp-ink); }
.tab-btn.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--black); }
.tab-btn.is-active:hover { color: var(--black); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabFadeIn 0.45s var(--ease); }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.process-steps {
  margin-top: 56px; max-width: 720px; margin-left: auto; margin-right: auto;
  text-align: left; display: flex; flex-direction: column;
}
.process-step { display: flex; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(35,31,32,0.08); }
.process-step:last-child { border-bottom: none; }
.process-step-num {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--black);
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step-body h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--rlp-ink); margin-bottom: 6px; }
.process-step-body p { color: #4a4642; font-size: 0.95rem; line-height: 1.6; }
.sell-intro { color: #4a4642; font-size: 1rem; line-height: 1.7; max-width: 640px; margin: 0 auto; text-align: center; }
.sell-note { color: #4a4642; font-size: 0.95rem; margin: 40px auto 0; max-width: 620px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { background: var(--black); padding: 120px 0; }
.faq .container { max-width: 780px; }
.faq .section-eyebrow, .faq .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.faq .section-title { max-width: 640px; }
.faq-list { margin-top: 50px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--black-2); border: 1px solid rgba(201,162,74,0.18); border-radius: 6px; padding: 4px 24px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--serif); font-size: 1.02rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--gold); font-size: 1.4rem; font-weight: 300;
  flex: 0 0 auto; transition: transform 0.3s var(--ease); line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--cream-dim); font-size: 0.92rem; line-height: 1.7; padding: 0 0 20px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-item[open] p { opacity: 1; transform: translateY(0); }

/* ---------- Secteur desservi ---------- */
.service-area { background: var(--black); padding: 120px 0; position: relative; overflow: hidden; }
.service-area .container { text-align: center; position: relative; z-index: 1; }
.service-area .section-eyebrow, .service-area .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.service-area .section-title { max-width: 620px; }
.service-area-bg { position: absolute; inset: 0; z-index: 0; }
.service-area::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 640px 420px at 50% 30%, rgba(11,11,12,0.38), rgba(11,11,12,0) 70%),
    linear-gradient(180deg, rgba(11,11,12,0.74), rgba(11,11,12,0.82) 45%, rgba(11,11,12,0.92));
}
/* Ombre portée sur le texte: garde une bonne lisibilité peu importe la photo affichée derrière (ciel clair, feuillage, etc.) */
.service-area .section-eyebrow,
.service-area .section-title,
.service-area-intro,
.service-area-note {
  text-shadow: 0 1px 2px rgba(0,0,0,0.95), 0 2px 6px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.75);
}
.service-bg-slide { position: absolute; inset: 0; opacity: 0; animation: bgSlideFade 21s infinite; }
.service-bg-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 21s ease-in-out infinite alternate; }
.service-bg-slide.slide-1 { animation-delay: 0s; }
.service-bg-slide.slide-1 img { animation-delay: 0s; }
.service-bg-slide.slide-2 { animation-delay: 7s; }
.service-bg-slide.slide-2 img { animation-delay: 7s; }
.service-bg-slide.slide-3 { animation-delay: 14s; }
.service-bg-slide.slide-3 img { animation-delay: 14s; }
@keyframes bgSlideFade {
  0% { opacity: 0; }
  3% { opacity: 1; }
  30% { opacity: 1; }
  33.33% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
.service-area-groups {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.service-area-group {
  background: rgba(19,19,21,0.86);
  border: 1px solid rgba(201,162,74,0.18);
  border-radius: 4px;
  padding: 28px 30px;
  backdrop-filter: blur(2px);
}
.service-area-group h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-light); margin-bottom: 10px; }
.service-area-group p { color: var(--cream-dim); font-size: 0.92rem; line-height: 1.6; }
.service-area-note { margin-top: 40px; color: var(--cream-dim); font-size: 0.95rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Blogue ---------- */
.blog { background: var(--black); padding: 120px 0; text-align: center; }
.blog .section-eyebrow, .blog .section-title { text-align: center; }
.blog .section-title { margin-left: auto; margin-right: auto; max-width: 640px; }
.blog-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.blog-card {
  background: var(--black-2);
  border: 1px solid rgba(201,162,74,0.18);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.blog-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-photo { transform: scale(1.05); }
.blog-visual {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
}
.blog-visual svg { width: 40px; height: 40px; fill: none; stroke: var(--black); stroke-width: 2; }
.blog-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0) 45%, rgba(11,11,12,0.55) 100%);
  pointer-events: none;
}
.blog-category {
  position: absolute; top: 14px; left: 14px;
  background: rgba(11,11,12,0.72);
  color: var(--gold-light);
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 2px;
}
.blog-body { padding: 22px 24px 26px; }
.blog-date { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.blog-title { font-family: var(--serif); font-size: 1.2rem; color: var(--cream); margin-bottom: 10px; }
.blog-excerpt { color: var(--cream-dim); font-size: 0.9rem; margin-bottom: 18px; }
.blog-card .btn { width: 100%; text-align: center; }

/* ---------- Page d'article de blogue individuelle ---------- */
.article-page { background: var(--cream); padding: 160px 0 120px; min-height: 60vh; }
.article-container { max-width: 720px; }
.article-date { color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; margin-bottom: 14px; }
.article-title { font-family: var(--serif); font-size: 2.1rem; color: var(--rlp-ink); margin-bottom: 32px; line-height: 1.25; }
.article-body p { color: #4a4642; font-size: 1.02rem; line-height: 1.8; margin-bottom: 20px; }
.article-back { margin-top: 20px; }
@media (max-width: 640px) {
  .article-page { padding: 130px 0 80px; }
  .article-title { font-size: 1.6rem; }
}

/* ---------- Listings (Propriétés à vendre) ---------- */
.listings { background: var(--black); padding: 120px 0; text-align: center; }
.listings .section-eyebrow, .listings .section-title { text-align: center; }
.listings .section-title { margin-left: auto; margin-right: auto; max-width: 640px; }
.listings-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.listing-card {
  background: var(--black-2);
  border: 1px solid rgba(201,162,74,0.18);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.listing-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.listing-photo { width: 100%; height: 220px; object-fit: cover; display: block; }
.listing-body { padding: 24px 26px 28px; }
.listing-price { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); margin-bottom: 6px; }
.listing-address { color: var(--cream); font-weight: 600; margin-bottom: 4px; }
.listing-meta { color: var(--cream-dim); font-size: 0.85rem; margin-bottom: 20px; }
.listing-card .btn { width: 100%; text-align: center; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); padding: 100px 0 0; }
.gallery .container { text-align: center; }
.gallery .section-eyebrow, .gallery .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.gallery .section-title { max-width: 620px; }
.gallery-strip {
  margin-top: 56px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-strip::-webkit-scrollbar { display: none; }
.gallery-strip img {
  height: 420px;
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); padding: 100px 0 120px; }
.testimonials .container { text-align: center; }
.testimonials .section-eyebrow, .testimonials .section-title { text-align: center; margin-left: auto; margin-right: auto; }
.testimonials .section-title { max-width: 620px; color: var(--rlp-ink); }
.testimonials-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(35,31,32,0.08);
  border-radius: 4px;
  padding: 34px 30px;
  position: relative;
}
.testimonial-quote { color: var(--gold); font-family: var(--serif); font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 10px; }
.testimonial-text { color: #4a4642; font-size: 0.98rem; margin-bottom: 20px; }
.testimonial-author { font-weight: 600; color: var(--rlp-ink); font-size: 0.92rem; }
.testimonial-meta { color: #8a8580; font-size: 0.82rem; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact { background: var(--black-3); padding: 120px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-text { color: var(--cream-dim); margin-bottom: 30px; max-width: 440px; }
.contact-phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-note { color: var(--cream-dim); font-size: 0.88rem; margin-bottom: 40px; }
.contact-agency {
  display: flex; align-items: center;
  background: var(--cream);
  padding: 14px 18px;
  max-width: 320px;
}
.contact-agency-logo { height: 160px; width: auto; display: block; }

.contact-form {
  background: var(--black-2);
  border: 1px solid rgba(201,162,74,0.18);
  padding: 42px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid rgba(246,242,234,0.18);
  color: var(--cream);
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-hint {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--cream-dim);
  opacity: 0.8;
}
.contact-form .btn-primary { width: 100%; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid rgba(201,162,74,0.2); }
.footer-inner {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo {
  background: var(--cream);
  padding: 10px 14px;
  width: fit-content;
  height: 128px;
  object-fit: contain;
}
.footer-brand p { color: var(--cream-dim); font-size: 0.85rem; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--cream-dim); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: var(--gold); font-weight: 600; }
.footer-contact p { color: var(--cream-dim); font-size: 0.8rem; }
.footer-bottom {
  border-top: 1px solid rgba(246,242,234,0.08);
  padding: 20px 0;
}
.footer-bottom p { text-align: center; font-size: 0.78rem; color: var(--cream-dim); }

/* ---------- Hero entrance animation ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero-title, .hero-subtitle, .hero-text, .hero-actions {
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease) forwards;
}
.hero-title { animation-delay: 0.05s; }
.hero-eyebrow { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.28s; }
.hero-text { animation-delay: 0.4s; }
.hero-actions { animation-delay: 0.52s; }

/* ---------- About badges ---------- */
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 20px; }
.about-badge {
  font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #6b6560;
  border: 1px solid rgba(35,31,32,0.16);
  padding: 7px 14px; border-radius: 20px;
  background: rgba(201,162,74,0.06);
}

/* ---------- Process step icons + timeline ---------- */
.process-step { position: relative; }
.process-step-icon { width: 26px; height: 26px; margin-bottom: 10px; }
.process-step-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 2; }
.process-steps { position: relative; }
.process-steps::before {
  content: ''; position: absolute; left: 21px; top: 0; bottom: 0; width: 1px;
  background: rgba(35,31,32,0.12);
}
.process-step-num { position: relative; z-index: 1; }

/* ---------- Section vendeur (évaluation) ---------- */
.seller-lead { background: var(--black); padding: 100px 0; position: relative; overflow: hidden; }
.seller-lead-bg { position: absolute; inset: 0; z-index: 0; }
.seller-lead-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.24;
  animation: kenBurns 24s ease-in-out infinite alternate;
}
.seller-lead::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.7), rgba(11,11,12,0.94));
}
.seller-lead-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.seller-lead-intro .section-title { margin-bottom: 18px; }
.seller-lead-intro p:not(.section-eyebrow) { color: var(--cream-dim); font-size: 1rem; line-height: 1.7; max-width: 420px; }
.seller-lead-form {
  background: var(--black-2);
  border: 1px solid rgba(201,162,74,0.18);
  padding: 40px;
}
.seller-lead-form[hidden] { display: none; }
.seller-lead-form .form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.seller-lead-form .form-row-split .form-row { margin-bottom: 0; }
.form-row-honeypot {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.form-success {
  color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; line-height: 1.6;
  padding: 20px 0;
}

/* ---------- Secteur — intro ---------- */
.service-area-intro { color: var(--cream-dim); font-size: 1rem; line-height: 1.7; max-width: 680px; margin: 22px auto 0; }

/* ---------- Calculatrice — CTA ---------- */
.calc-cta {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(35,31,32,0.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.calc-cta p { color: var(--rlp-ink); font-family: var(--serif); font-size: 1.05rem; margin: 0; max-width: 320px; }

/* ---------- Footer brand text ---------- */
.footer-name { font-family: var(--serif); font-size: 1.05rem; color: var(--cream); font-weight: 600; }
.footer-role { color: var(--cream-dim); font-size: 0.82rem; }

/* ---------- Barre de contact rapide (mobile) ---------- */
.mobile-cta-bar { display: none; }
@media (max-width: 1060px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 550;
    background: rgba(11,11,12,0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(201,162,74,0.25);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 0 8px;
    color: var(--cream);
    font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .mobile-cta-item svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; }
  .mobile-cta-item + .mobile-cta-item { border-left: 1px solid rgba(246,242,234,0.1); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }
}

/* ---------- Accessibilité: focus clavier visible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Respect des préférences de mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-text, .hero-actions {
    animation: none; opacity: 1; transform: none;
  }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
  .faq-item p { transition: none; }
  .blog-photo { transition: none; }
  .seller-lead-bg img, .service-bg-slide, .service-bg-slide img { animation: none; }
  .service-bg-slide { opacity: 0; }
  .service-bg-slide.slide-1 { opacity: 1; }
  .tab-panel.is-active { animation: none; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .main-nav {
    position: fixed; top: 0; right: 0;
    height: 100vh; width: min(78vw, 320px);
    background: var(--black-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 0 44px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 600;
    display: flex;
  }
  .main-nav { margin-right: 0; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 700; position: relative; }
  .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
  .about-grid, .contact-grid, .calculator-grid, .seller-lead-grid { grid-template-columns: 1fr; gap: 48px; }
  .main-nav a.nav-cta { display: block; margin-left: 0; margin-top: 12px; text-align: center; }
  .calculator-intro .section-eyebrow, .calculator-intro .section-title { text-align: center; margin-left: auto; margin-right: auto; }
  .calculator-intro p:not(.section-eyebrow) { margin-left: auto; margin-right: auto; }
  .cards, .testimonials-grid, .listings-grid, .service-area-groups, .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .about-photo-family { position: static; width: 60%; margin-top: 20px; box-shadow: none; }
  .tab-btn { padding: 11px 24px; font-size: 0.8rem; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .about, .accompaniment, .contact, .seller-lead { padding: 80px 0; }
  .header-cta { display: none; }
  .contact-phone { font-size: 1.8rem; }
  .contact-form, .seller-lead-form { padding: 28px; }
  .seller-lead-form .form-row-split { grid-template-columns: 1fr; gap: 0; }
  .seller-lead-form .form-row-split .form-row { margin-bottom: 22px; }
  .calc-row-split { grid-template-columns: 1fr; }
  .calc-results { grid-template-columns: 1fr; gap: 18px; }
  .calculator-box { padding: 26px 22px; }
  .calc-cta { flex-direction: column; align-items: flex-start; }
}
