/* =============================================================
   MARC-ANTOINE BOURBONNAIS — Thème clair, corporatif
   Polices chargées dans base.html : DM Serif Display + Inter
============================================================= */


/* =============================================================
   VARIABLES
============================================================= */

:root {
  --bg: #ffffff;
  --tint: #f3f5f9;

  --navy: #0e1b36;
  --navy-2: #13244a;
  --ink: #0e1b36;
  --text: #3a4356;
  --muted: #6a7386;

  --blue: #2a529c;
  --blue-dark: #1f3f7a;
  --blue-soft: #e8eef9;
  --blue-light: #9db8e8;

  --line: #e1e6ee;
  --line-dark: rgba(255, 255, 255, 0.12);

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --radius: 4px;
  --shadow: 0 24px 50px -24px rgba(14, 27, 54, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 1260px;
  --nav-h: 82px;
}


/* =============================================================
   RESET & BASE
============================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

.container {
  width: 92%;
  max-width: var(--max);
  margin: 0 auto;
}

.section {
  padding: 130px 0;
}

.section-tinted {
  background: var(--tint);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}


/* =============================================================
   TYPOGRAPHIE
============================================================= */

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 4.4vw, 4.5rem);
  line-height: 1.06;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.1;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--blue);
}

.section-dark h2 {
  color: #fff;
}

.section-dark h2 em {
  color: var(--blue-light);
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: var(--blue-light);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.section-head-text {
  max-width: 420px;
  color: var(--muted);
  font-size: 1.02rem;
}


/* =============================================================
   BOUTONS & LIENS
============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn i {
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 27, 54, 0.25);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-soft);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 12px 20px;
  font-size: 0.85rem;
}

.card-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.card-link i,
.text-link i {
  transition: transform 0.3s var(--ease);
}

.card-link:hover i,
.text-link:hover i {
  transform: translateX(4px);
}


/* =============================================================
   NAVBAR
============================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.navbar-inner {
  width: 94%;
  max-width: 1440px;
  min-height: var(--nav-h);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 2px;
  background: var(--blue);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--ink);
}

.logo-text small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  position: relative;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

nav a:not(.nav-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s var(--ease);
}

nav a:hover {
  color: var(--ink);
}

nav a:not(.nav-btn):hover::after {
  width: 100%;
}

nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding: 13px 22px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

nav .nav-btn:hover {
  background: var(--blue-dark);
  color: #fff;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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


/* =============================================================
   HERO — écran divisé
============================================================= */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 80px 90px max(4%, calc((100vw - var(--max)) / 2));
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.hero-brand-line {
  width: 36px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.2;
}

.hero-brand-text span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-brand-text strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-remax-logo {
  height: 30px;
  width: auto;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  box-sizing: content-box;
}

.hero-lead {
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-agent {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-agent img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.hero-agent strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.hero-agent span {
  font-size: 0.86rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  left: -60px;
  bottom: 60px;
  width: 340px;
  padding: 30px 32px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--blue);
  transition: transform 0.35s var(--ease);
}

.hero-float:hover {
  transform: translateY(-4px);
}

.hero-float-label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-float strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero-float-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-float-link i {
  transition: transform 0.3s var(--ease);
}

.hero-float:hover .hero-float-link i {
  transform: translateX(4px);
}


/* =============================================================
   BARRE D'ACCÈS RAPIDE
============================================================= */

.quick-bar {
  background: var(--blue);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 28px;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.3s var(--ease);
}

.quick-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-item:hover {
  background: var(--blue-dark);
}

.quick-item > i:first-child {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.quick-item strong {
  display: block;
  font-size: 1rem;
}

.quick-item span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.quick-arrow {
  margin-left: auto;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.quick-item:hover .quick-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}


/* =============================================================
   APPROCHE (section foncée)
============================================================= */

.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: center;
}

.approach-image {
  position: relative;
  isolation: isolate;
}

.approach-image::after {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 1px solid var(--blue);
  z-index: -1;
}

.approach-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: top center;
}

.approach-content h2 {
  margin-bottom: 28px;
}

.approach-content > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 16px;
  font-size: 1.04rem;
  font-weight: 300;
}

.approach-points {
  list-style: none;
  max-width: 580px;
  margin: 40px 0 46px;
  border-top: 1px solid var(--line-dark);
}

.approach-points li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.approach-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--blue-light);
  width: 32px;
  flex-shrink: 0;
}

.approach-points strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.approach-points small {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.6);
}

.approach-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}


/* =============================================================
   SERVICES
============================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 42px 44px;
  background: #fff;
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.service-card:last-child {
  border-right: none;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover::before,
.service-card.featured::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: #fbfcfe;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.service-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--line);
  transition: color 0.35s var(--ease);
}

.service-card:hover .service-num,
.service-card.featured .service-num {
  color: var(--blue);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.1rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--muted);
  margin-bottom: 28px;
}

.service-card ul {
  list-style: none;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--text);
}

.service-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  flex-shrink: 0;
}

.service-card .card-link {
  margin-top: auto;
}

.service-card.featured {
  background: var(--tint);
}


/* =============================================================
   PROPRIÉTÉS
============================================================= */

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.listing-card {
  display: block;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.listing-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.listing-media {
  position: relative;
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.listing-card:hover .listing-media img {
  transform: scale(1.05);
}

.listing-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 12px;
  background: var(--navy);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.listing-content {
  padding: 26px 28px 28px;
}

.price {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.listing-card h3 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.listing-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.listing-meta i {
  color: var(--blue);
  font-size: 1.05rem;
}

.listing-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 70px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(42, 82, 156, 0.3);
  color: var(--muted);
}

.listing-empty > i {
  font-size: 2.4rem;
  color: var(--blue);
}

.listings-cta {
  display: none;
  text-align: center;
  margin-top: 44px;
}


/* =============================================================
   VIDÉOS
============================================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-frame {
  aspect-ratio: 9 / 16;
  max-height: 620px;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
  margin-bottom: 24px;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.video-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.video-card p {
  color: var(--muted);
  font-size: 0.95rem;
}


/* =============================================================
   AVIS GOOGLE
============================================================= */

.review-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.review-arrow {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  border: 1px solid rgba(14, 27, 54, 0.2);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.review-arrow:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.review-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.review-track-wrap {
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 28px;
  align-items: stretch;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 38px 34px;
  background: #fff;
  border-top: 3px solid var(--blue);
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.stars {
  color: #f4b400;
  font-size: 1rem;
  letter-spacing: 0.14em;
}

.google-logo {
  width: 22px;
  height: 22px;
}

.review-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.review-card p {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card p.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.review-read-more {
  align-self: flex-start;
  margin-top: 12px;
  padding: 0;
  background: none;
  border: none;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 26px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-author strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.review-dot {
  width: 24px;
  height: 3px;
  padding: 0;
  border: none;
  background: rgba(14, 27, 54, 0.18);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s var(--ease);
}

.review-dot.active {
  width: 48px;
  background: var(--blue);
}


/* --- Variante foncée de la section avis --- */
.reviews-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Halo bleu discret en haut à droite */
.reviews-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 90% 0%, rgba(42, 82, 156, 0.35), transparent 50%);
}

/* Grand guillemet décoratif en filigrane */
.reviews-dark::after {
  content: "\201C";
  position: absolute;
  top: -0.18em;
  left: max(2%, calc((100vw - var(--max)) / 2 - 40px));
  z-index: -1;
  font-family: var(--serif);
  font-size: 26rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.reviews-dark .section-head {
  border-bottom-color: var(--line-dark);
}

.reviews-dark .review-card {
  border-top-color: var(--blue-light);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.reviews-dark .review-arrow {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.reviews-dark .review-arrow:hover:not(:disabled) {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}

.reviews-dark .review-dot {
  background: rgba(255, 255, 255, 0.2);
}

.reviews-dark .review-dot.active {
  background: var(--blue-light);
}


/* =============================================================
   OUTILS
============================================================= */

.tools-list {
  border-top: 1px solid var(--line);
}

.tool-row {
  display: grid;
  grid-template-columns: 72px 1fr 56px;
  gap: 36px;
  align-items: center;
  padding: 38px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.tool-row:hover {
  background: var(--tint);
  padding-left: 28px;
  padding-right: 28px;
}

.tool-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.tool-row:hover .tool-icon {
  background: var(--blue);
  color: #fff;
}

.tool-text h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0;
  margin-bottom: 6px;
}

.tool-text p {
  color: var(--muted);
  max-width: 640px;
}

.tool-arrow {
  justify-self: end;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.2rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.tool-row:hover .tool-arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}


/* =============================================================
   CTA
============================================================= */

.cta {
  position: relative;
  padding: 140px 0;
  background-image: var(--cta-bg);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(14, 27, 54, 0.96) 0%, rgba(14, 27, 54, 0.88) 50%, rgba(31, 63, 122, 0.78) 100%);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.cta-content {
  max-width: 660px;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 22px;
}

.cta-content h2 em {
  color: var(--blue-light);
}

.cta-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  font-weight: 300;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}


/* =============================================================
   FOOTER
============================================================= */

.footer {
  background: #0a142a;
  color: rgba(255, 255, 255, 0.65);
  padding: 90px 4% 32px;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}

/* Même logo que la navbar (fond marine + barre bleue).
   Contour discret pour qu'il se détache du fond foncé du footer */
.logo-footer .logo-mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.logo-footer .logo-text strong {
  color: #fff;
}

.logo-footer .logo-text small {
  color: var(--blue-light);
}

.footer-desc {
  margin: 24px 0 28px;
  max-width: 320px;
  font-size: 0.92rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-social:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-col-title {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-decoration: none;
  word-break: break-word;
}

.footer-contact i {
  color: var(--blue-light);
  font-size: 1.1rem;
}

.footer-contact:hover {
  color: #fff;
}

.footer .btn-light {
  margin-top: 10px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}


/* =============================================================
   EN-TÊTE DES PAGES INTÉRIEURES (propriétés, liens utiles)
============================================================= */

.page-hero {
  position: relative;
  padding: 90px 0 100px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

/* Grand monogramme décoratif en filigrane */
.page-hero::after {
  content: "MB";
  position: absolute;
  right: max(4%, calc((100vw - var(--max)) / 2));
  bottom: -0.22em;
  font-family: var(--serif);
  font-size: clamp(10rem, 20vw, 19rem);
  line-height: 1;
  color: var(--tint);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
}

.page-hero-desc {
  max-width: 600px;
  font-size: 1.1rem;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span {
  color: var(--ink);
  font-weight: 500;
}

.breadcrumb i {
  font-size: 0.85rem;
}

/* Titre h2 dans l'état vide */
.listing-empty h2 {
  margin: 4px 0 2px;
}


/* =============================================================
   RESPONSIVE — 1200px
============================================================= */

@media (max-width: 1200px) {
  nav {
    gap: 20px;
  }

  .hero-text {
    padding-right: 60px;
  }

  .hero-float {
    left: -40px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .quick-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }
}


/* =============================================================
   RESPONSIVE — 1000px
============================================================= */

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-text {
    padding: 80px 4% 70px;
  }

  .hero-media {
    min-height: 480px;
  }

  .hero-float {
    left: 4%;
    bottom: -40px;
  }

  .quick-bar {
    padding-top: 40px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .approach-image {
    margin-right: 26px;
    max-width: 560px;
  }

  .approach-image img {
    height: 560px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .listing-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card {
    flex: 0 0 calc((100% - 28px) / 2);
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* =============================================================
   RESPONSIVE — 900px (menu hamburger)
============================================================= */

@media (max-width: 900px) {
  :root {
    --nav-h: 72px;
  }

  .navbar-inner {
    flex-wrap: wrap;
    width: calc(100% - 40px);
  }

  .nav-hamburger {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-bottom: 18px;
    border-top: 1px solid var(--line);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 0.98rem;
  }

  nav a:not(.nav-btn)::after {
    display: none;
  }

  nav .nav-btn {
    margin: 18px 0 0;
    justify-content: center;
    padding: 16px 20px;
    border-bottom: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}


/* =============================================================
   RESPONSIVE — 700px (mobile)
============================================================= */

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 84px 0;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .logo-text strong {
    font-size: 1.1rem;
  }

  .logo-text small {
    font-size: 0.6rem;
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3.1rem);
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .section-head {
    margin-bottom: 40px;
    padding-bottom: 28px;
  }

  #listings .section-head .text-link {
    display: none;
  }

  .listings-cta {
    display: block;
  }

  /* En-tête des pages intérieures */
  .page-hero {
    padding: 50px 0 64px;
  }

  .breadcrumb {
    margin-bottom: 32px;
  }

  .page-hero-desc {
    font-size: 1.02rem;
  }

  /* Hero */
  .hero-text {
    padding: 56px 20px 56px;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-brand {
    gap: 14px;
  }

  .hero-brand-line {
    display: none;
  }

  .hero-brand-text span {
    font-size: 0.66rem;
  }

  .hero-remax-logo {
    height: 26px;
    padding-left: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-agent {
    margin-top: 40px;
  }

  .hero-media {
    min-height: 340px;
  }

  .hero-float {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: -60px;
    padding: 24px 24px;
  }

  .hero-float strong {
    font-size: 1.3rem;
  }

  .quick-bar {
    padding-top: 60px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    padding: 22px 6px;
    border-left: none;
    border-right: none !important;
  }

  /* Approche */
  .approach-image {
    margin-right: 16px;
  }

  .approach-image::after {
    inset: 16px -16px -16px 16px;
  }

  .approach-image img {
    height: 440px;
  }

  .approach-footer .btn {
    width: 100%;
  }

  /* Services */
  .service-card {
    padding: 40px 26px 34px;
  }

  /* Grilles */
  .listing-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .listing-media img {
    height: 260px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 34px 26px 28px;
  }

  /* Outils */
  .tool-row {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 30px 0;
  }

  .tool-row:hover {
    padding-left: 0;
    padding-right: 0;
    background: none;
  }

  .tool-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .tool-arrow {
    display: none;
  }

  .tool-text h3 {
    font-size: 1.5rem;
  }

  /* CTA */
  .cta {
    padding: 90px 0;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: 64px 20px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}