:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-soft: #eef7f2;
  --text: #0f1720;
  --muted: #314154;
  --primary: #0099ff;
  --primary-dark: #116dff;
  --secondary: #c98c2b;
  --secondary-soft: #f5e2be;
  --border: rgba(23, 33, 47, 0.1);
  --dark: #2f2e2e;
  --dark-soft: #394b3f;
  --accent: #dff3ea;
  --hero-glow: rgba(48, 160, 95, 0.18);
  --radius: 22px;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
/* Prevent horizontal page drift */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 153, 255, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(48, 160, 95, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fa 100%);
  color: var(--text);
  line-height: 1.6;
}
.mobile-topbar,
.mobile-bottom-bar,
.mobile-color-bar,
.desktop-color-bar {
  display: none;
}
.site-header-with-color {
  display: contents;
}
a { color: inherit; text-decoration: none; }
#top {
  padding-top: 1.5rem;
}
.container { width: min(1140px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 106px;
  width: min(1200px, calc(100% - 2rem));
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 1.6rem;
  margin-left: 0;
  padding: 0.55rem 0.85rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}
.brand-logo {
  width: 330px;
  max-width: min(62vw, 330px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: none;
}
nav { display: flex; gap: 1.25rem; color: #2f2e2e; font-weight: 800; align-items: center; flex: 1; }
.client-portal-link {
  display: inline-flex;
  align-items: center;
  padding: 0.72rem 1.08rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #ff8a1f 0%, #e03a34 46%, #116dff 100%);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(224, 58, 52, 0.28), 0 0 0 4px rgba(255, 138, 31, 0.1);
  transform: translateY(0);
}
.client-portal-link:hover {
  background: linear-gradient(135deg, #116dff 0%, #e03a34 54%, #ff8a1f 100%);
  transform: translateY(-1px) scale(1.02);
}
.client-portal-inline {
  margin-right: 0.35rem;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
nav a { position: relative; }
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
nav a:hover::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 1.25rem; border-radius: 999px; font-weight: 700;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(30, 79, 120, 0.22);
}
.hero-card a.btn.btn-primary,
.hero-card a.btn.btn-primary:visited,
.hero-card a.btn.btn-primary span,
.hero-card a.btn.btn-secondary,
.hero-card a.btn.btn-secondary:visited,
.hero-card a.btn.btn-secondary span {
  color: #ffffff !important;
}
.hero-card .btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid rgba(20, 59, 93, 0.9);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(30, 79, 120, 0.22);
}
.hero-card .btn-secondary:hover {
  background: linear-gradient(135deg, #225a88 0%, #143b5d 100%);
}
.btn-primary:hover { background: linear-gradient(135deg, #225a88 0%, #143b5d 100%); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 47, 0.12);
  color: var(--primary-dark);
}
button.btn-secondary {
  border: 1px solid rgba(23, 33, 47, 0.12);
}
.hero {
  padding: 3.8rem 0 2.6rem;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}
.section-theme-hero {
  background:
    linear-gradient(rgba(8, 8, 8, 0.52), rgba(47, 46, 46, 0.48)),
    linear-gradient(135deg, rgba(17, 109, 255, 0.16), rgba(48, 189, 255, 0.1)),
    url("assets/quebec-city-hero-soft.jpg") center/cover;
  color: #ffffff;
}
.section-theme-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 58%, rgba(255, 255, 255, 0.05) 58% 72%, transparent 72% 100%);
  pointer-events: none;
}
.hero-grid, .split, .contact-grid {
  display: grid; gap: 2rem; align-items: start;
}
.hero-redesign {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 1.4rem;
  align-items: start;
  position: relative;
  z-index: 1;
  padding-top: 0.7rem;
}
.hero-main {
  max-width: 720px;
  color: #ffffff;
  padding-top: 0.35rem;
}
.expertise-grid {
  align-items: start;
}
.expertise-grid .checklist {
  margin-top: 3.8rem;
}
.contact-section-grid {
  align-items: start;
}
.contact-card-offset {
  margin-top: 3.6rem;
}
.hero-grid { grid-template-columns: 1.35fr 0.88fr; position: relative; z-index: 1; }
.split, .contact-grid { grid-template-columns: 1fr 1fr; }
.eyebrow {
  display: inline-block; margin: 0 0 0.75rem; font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff;
  background: linear-gradient(135deg, #30bdff 0%, #116dff 100%); padding: 0.45rem 0.7rem; border-radius: 999px;
  border: 1px solid rgba(17, 109, 255, 0.22);
}
.hero-brand-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  align-items: flex-start;
  padding: 0.5rem 1.18rem;
  border-radius: 20px;
  text-transform: none;
  letter-spacing: 0;
}
.hero-brand-badge span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-brand-badge strong {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}
.hero-brand-badge-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  margin-top: 0.32rem;
  align-items: center;
}
.hero-brand-badge-pill-location-large {
  padding: 0.5rem 1.18rem;
  font-size: 0.88rem;
}
.hero-brand-badge-pill-location-large .map-pin-dot {
  width: 14px;
  height: 14px;
}
.hero-brand-badge-pill-mobile-only {
  display: none !important;
}
.hero-brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.hero-brand-badge-pill-contact {
  color: #ffffff;
}
.hero-brand-badge-pill-location {
  color: #ffffff;
}
.hero-brand-badge-pill-location .map-pin-dot {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 2px rgba(224, 58, 52, 0.16);
}
.hero-brand-badge-pill-location .map-pin-dot::after {
  width: 4px;
  height: 4px;
  top: 4px;
  left: 4px;
}
h1, h2, h3 { line-height: 1.12; margin: 0 0 1rem; }
h1 { font-size: clamp(2.15rem, 4.2vw, 4.1rem); max-width: 13ch; color: #ffffff; }
h2 { font-size: clamp(1.95rem, 3vw, 3rem); }
.lead { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 64ch; }
.secondary-lead { margin-top: 1rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.35rem 0 0; }
.hero-quick-tabs {
  display: none;
}
.mobile-menu-panel {
  display: none;
}
.mobile-menu-toggle {
  display: none;
}
.hero-card-compact {
  margin-top: -1.15rem;
}
.hero-card,
.hero-card h2,
.hero-card p,
.hero-card li,
.hero-card a,
.hero-card button {
  color: #122033 !important;
}
.hero-card h2 {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.hero-card-subtitle {
  margin: -0.2rem 0 0.9rem;
  font-size: 1rem;
  font-weight: 700;
  color: #31506a !important;
}
.hero-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.1rem;
}
.hero-points {
  display: grid; gap: 0.75rem; padding-left: 0; list-style: none; color: var(--muted);
}
.hero-points li {
  display: flex; align-items: center; gap: 0.7rem;
}
.hero-points li::before {
  content: "";
  width: 10px; height: 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 0 5px rgba(30, 79, 120, 0.08);
}
.hero-card, .card, .panel, .contact-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 33, 47, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgba(16, 32, 51, 0.16);
}
.hero-card, .panel, .contact-card { padding: 1.6rem; }
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
  border: 1px solid rgba(35, 76, 114, 0.18);
  box-shadow: 0 26px 60px rgba(8, 8, 8, 0.24);
  color: #17212f;
}
.stat-pill {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; padding: 0.45rem 0.8rem; border-radius: 999px;
  background: linear-gradient(135deg, #f1c36b, #fff0cf);
  color: #6a4300; font-size: 0.82rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.urgent { color: #9f1f1f; font-weight: 700; }
.section { padding: 4.8rem 0; position: relative; }
.section.muted { background: transparent; }
.property-management-section {
  background:
    linear-gradient(180deg, #fff8ea 0%, #f8f2e7 100%);
}
.property-management-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background:
    radial-gradient(circle at top right, rgba(201, 165, 92, 0.2), transparent 24%),
    linear-gradient(90deg, transparent 0 94%, rgba(30, 79, 120, 0.08) 94% 100%);
}
.section-theme-formulaires {
  background:
    linear-gradient(180deg, #f8f2e7 0%, #fffaf1 100%);
}
.section-theme-formulaires::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at top left, rgba(201, 165, 92, 0.16), transparent 24%),
    linear-gradient(90deg, transparent 0 93%, rgba(30, 79, 120, 0.08) 93% 100%);
}
.section-theme-services {
  background:
    linear-gradient(180deg, #eef8ff 0%, #f7fbfd 100%);
}
.section-theme-services::before,
.section-theme-expertise::before,
.section-theme-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
}
.section-theme-services::before {
  background:
    radial-gradient(circle at top right, rgba(30, 79, 120, 0.08), transparent 24%),
    linear-gradient(90deg, transparent 0 94%, rgba(201, 165, 92, 0.12) 94% 100%);
}
.section-theme-expertise {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f8f1e4 100%);
}
.legal-network-section {
  background:
    linear-gradient(180deg, #f7fbfd 0%, #eef5f9 100%);
}
.legal-network-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background:
    radial-gradient(circle at top left, rgba(30, 79, 120, 0.08), transparent 24%),
    linear-gradient(90deg, transparent 0 94%, rgba(201, 165, 92, 0.12) 94% 100%);
}
.section-theme-expertise::before {
  background:
    radial-gradient(circle at left 15%, rgba(201, 165, 92, 0.16), transparent 22%),
    linear-gradient(180deg, transparent 0 92%, rgba(30, 79, 120, 0.08) 92% 100%);
}
.territory-section {
  background:
    radial-gradient(circle at top right, rgba(48, 160, 95, 0.1), transparent 24%),
    linear-gradient(180deg, #f3faf5 0%, #edf5f0 100%);
}
.territory-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at left 12%, rgba(0, 153, 255, 0.08), transparent 22%),
    linear-gradient(90deg, transparent 0 94%, rgba(47, 154, 95, 0.12) 94% 100%);
}
.territory-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.5rem;
  align-items: start;
}
.territory-heading {
  margin-bottom: 0;
}
.territory-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 79, 120, 0.96) 0%, rgba(20, 59, 93, 1) 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 59, 93, 0.22);
}
.territory-card h3,
.territory-card li {
  color: #ffffff;
}
.territory-card .feature-label {
  color: #f4d38c;
}
.territory-list {
  margin: 0 0 1.2rem;
  padding-left: 1.1rem;
}
.territory-list li + li {
  margin-top: 0.65rem;
}
.territory-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.territory-card .btn-secondary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}
.territory-page-section {
  background:
    radial-gradient(circle at top left, rgba(0, 153, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #eef5f9 100%);
}
.territory-page-layout {
  display: grid;
  gap: 1.6rem;
}
.territory-page-heading {
  max-width: 850px;
  margin-bottom: 0;
}
.municipality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.municipality-grid li {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-height: 86px;
  padding: 0.82rem 0.92rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(21, 56, 87, 0.98) 0%, rgba(35, 76, 114, 1) 100%);
  border: 1px solid rgba(233, 175, 86, 0.26);
  box-shadow: 0 12px 28px rgba(15, 34, 53, 0.18);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.22;
}
.municipality-name {
  display: block;
}
.municipality-fsa {
  display: inline-flex;
  align-self: flex-start;
  flex-wrap: wrap;
  max-width: 100%;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f9dfad;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.territory-postal-note {
  max-width: 760px;
  margin-top: 0.6rem;
  color: #52677a;
  font-size: 0.95rem;
}
.territory-postal-search {
  display: grid;
  gap: 0.7rem;
  max-width: 720px;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(30, 79, 120, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(15, 34, 53, 0.09);
}
.territory-postal-search label {
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 900;
}
.territory-postal-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
}
.territory-postal-search input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(30, 79, 120, 0.2);
  border-radius: 999px;
  padding: 0.82rem 1rem;
  background: #ffffff;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  outline: none;
}
.territory-postal-search input:focus {
  border-color: #116dff;
  box-shadow: 0 0 0 4px rgba(17, 109, 255, 0.13);
}
.territory-postal-search .btn {
  min-height: 48px;
  border: 0;
  cursor: pointer;
}
.territory-postal-search p {
  margin: 0;
  color: #52677a;
  font-size: 0.9rem;
}

.territory-map-preview {
  margin-top: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(17, 109, 255, 0.18);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 34, 53, 0.12);
}
.territory-map-preview[hidden] {
  display: none;
}
.territory-map-preview-title {
  padding: 0.8rem 0.95rem 0;
  color: var(--primary-dark) !important;
  font-weight: 900;
}
.territory-map-preview iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  border: 0;
  pointer-events: none;
}

.territory-postal-search-result:not(:empty) {
  padding: 0.7rem 0.82rem;
  border-radius: 14px;
  background: rgba(17, 109, 255, 0.09);
  color: var(--primary-dark);
  font-weight: 800;
}

.municipality-grid li {
  cursor: pointer;
}
.municipality-grid li:focus-visible {
  outline: 4px solid rgba(17, 109, 255, 0.28);
  outline-offset: 3px;
}
.municipality-grid li:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 109, 255, 0.28);
  box-shadow: 0 14px 30px rgba(17, 109, 255, 0.14);
}

.municipality-grid li[hidden] {
  display: none;
}
.municipality-grid-match {
  border-color: rgba(249, 223, 173, 0.8) !important;
  box-shadow: 0 16px 36px rgba(17, 109, 255, 0.22);
}
.territory-page-section-primary {
  padding-top: 3.1rem;
}
.section.dark {
  background: linear-gradient(135deg, var(--dark) 0%, #17314b 100%);
  color: white;
}
.section-theme-about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 165, 92, 0.14), transparent 24%),
    linear-gradient(120deg, transparent 0 62%, rgba(255,255,255,0.04) 62% 74%, transparent 74% 100%);
  pointer-events: none;
}
.location-map-section {
  background: linear-gradient(180deg, #f3faf5 0%, #edf5f0 100%);
}
.location-map-mobile-accordion {
  display: none;
}
.location-map-mobile-top {
  display: none;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.hero-mobile-location-shortcut {
  display: none;
}
.hero-mobile-location-link {
  display: none;
}
.hero-mobile-location-toggle {
  display: none;
}
.map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px 999px 999px 0;
  background: #e03a34;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(224, 58, 52, 0.16);
  display: inline-block;
  position: relative;
  flex: 0 0 auto;
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
  top: 4px;
  left: 4px;
}
.location-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.location-address {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.7;
}
.location-copy {
  max-width: 56ch;
}
.location-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}
.map-card {
  overflow: hidden;
  min-height: 360px;
  border-radius: 26px;
  border: 1px solid rgba(23, 33, 47, 0.08);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.12);
  background: #ffffff;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}
.section-theme-contact {
  background:
    linear-gradient(180deg, #f2f7f9 0%, #eef2f4 100%);
}
.section-theme-contact::before {
  background:
    radial-gradient(circle at bottom right, rgba(30, 79, 120, 0.08), transparent 22%),
    radial-gradient(circle at left 12%, rgba(201, 165, 92, 0.12), transparent 18%);
}
.section.dark .eyebrow { color: #ffffff; background: linear-gradient(135deg, #30bdff 0%, #116dff 100%); border-color: rgba(17, 109, 255, 0.22); }
.section-heading { max-width: 760px; margin-bottom: 2rem; position: relative; z-index: 1; }
.property-management-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}
.property-management-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  justify-content: flex-start;
}
.property-management-single-box {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0;
  padding: 2rem;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(21, 56, 87, 0.98) 0%, rgba(35, 76, 114, 1) 100%);
  color: #ffffff !important;
  border: 2px solid rgba(233, 175, 86, 0.5);
  box-shadow: 0 28px 64px rgba(15, 34, 53, 0.34);
  text-align: left;
}
.property-management-shell {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto;
}
.property-management-super-title {
  margin: 0;
  color: #17212f !important;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.property-management-super-title-outside {
  text-align: left;
  padding-left: 0;
}
.property-management-single-box h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 3rem);
  text-align: left;
}
.property-management-single-box,
.property-management-single-box h2,
.property-management-single-box p,
.property-management-single-box a,
.property-management-single-box li,
.property-management-single-box span:not(.no-percentage-orange),
.property-management-single-box strong:not(.no-percentage-orange),
.property-management-single-box .property-management-strong-copy,
.property-management-white-copy {
  color: #ffffff !important;
}
.no-percentage-orange {
  color: #ff8a1f !important;
  font-weight: 900;
}
.property-management-list-clean {
  margin: 0;
  padding-left: 1.35rem;
}
.property-management-list-clean li {
  margin: 0;
  padding-left: 0.2rem;
}
.property-management-list-clean li + li {
  margin-top: 0.8rem;
}
.property-management-single-box .property-management-strong-copy {
  max-width: 100%;
  margin: 0;
  font-size: 1.62rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
}
.property-management-white-copy {
  font-weight: 700;
}
.property-management-single-box .property-management-white-copy:first-of-type {
  font-size: 1.2rem;
  font-weight: 800;
}
.property-management-single-box .btn-secondary {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.22);
  color: #ffffff;
}
.formulaires-layout,
.services-layout {
  display: grid;
  gap: 2rem;
}
.formulaires-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.formulaires-heading {
  max-width: 980px;
  margin-bottom: 0.85rem;
}
.formulaires-heading h2 {
  font-size: clamp(2rem, 2.65vw, 2.9rem);
  line-height: 1.04;
  max-width: none;
  margin-bottom: 0.65rem;
}
.formulaires-heading p {
  max-width: 850px;
  margin: 0;
  line-height: 1.45;
}
.form-card-featured {
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(250,245,235,0.95) 100%);
}
.services-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.services-highlight {
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(30, 79, 120, 0.96) 0%, rgba(20, 59, 93, 1) 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 59, 93, 0.22);
}
.services-highlight h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}
.services-highlight p,
.services-highlight li {
  color: #f7fbff;
}
.services-highlight ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}
.services-highlight li + li {
  margin-top: 0.75rem;
}
.services-highlight strong {
  color: #ffffff;
  display: block;
  margin-top: 0.1rem;
}
.highlight-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7d690;
}
.anchor-alias {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}
.services-expertise-section {
  overflow: visible;
}
.services-expertise-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: start;
}
.services-expertise-heading {
  width: 100%;
  max-width: 980px;
  margin-bottom: 0;
}
.services-expertise-heading h2 {
  max-width: 880px;
}
.services-expertise-heading p {
  max-width: 920px;
}
.service-click-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.service-info-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border: 2px solid rgba(30, 79, 120, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 34, 53, 0.14);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 700;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.service-info-row::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1e4f78 0%, #116dff 100%);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 109, 255, 0.18);
}
.service-info-row:hover,
.service-info-row:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(17, 109, 255, 0.58);
  background: linear-gradient(180deg, #ffffff 0%, #eaf5ff 100%);
  box-shadow: 0 20px 44px rgba(15, 34, 53, 0.22);
  outline: none;
}
.service-info-row span {
  display: block;
}
.service-info-row small {
  margin-left: auto;
  color: #1e4f78;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.modal-card.service-modal-card {
  width: min(560px, 100%);
  padding: 1.9rem;
  border-radius: 26px;
  border: 1px solid rgba(17, 109, 255, 0.12);
}
.service-modal-card h2 {
  padding-right: 2.6rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.08;
}
.service-modal-card p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.62;
}
.service-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.cards {
  display: grid; gap: 1.2rem; position: relative; z-index: 1;
}
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,251,253,0.92) 100%);
}
.card-emphasis {
  border-color: rgba(201, 165, 92, 0.42);
  background: linear-gradient(180deg, rgba(255,250,240,0.98) 0%, rgba(255,255,255,0.94) 100%);
  box-shadow: 0 20px 45px rgba(201, 165, 92, 0.16);
}
.card-emphasis strong {
  color: #c76516;
  font-size: 1.24rem;
  display: block;
  text-align: center;
}
.card h3 { color: var(--primary-dark); }
.form-card {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}
.form-card .btn {
  margin-top: auto;
  width: fit-content;
}
.form-card-label {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #b86212;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form-card-label-centered {
  margin: 0.7rem 0 0;
  text-align: center;
}
.form-card-label-centered strong {
  color: #b86212;
}
.card-emphasis .form-card-label {
  font-size: 1.12rem;
  line-height: 1.12;
}
.card p, .section p, li, .checklist div { color: var(--muted); }
.section.dark p, .section.dark li { color: #f2f7fc; }
.checklist {
  display: grid; gap: 0.9rem;
}
.checklist div {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 33, 47, 0.08);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
}
.section.dark .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  border-color: rgba(255,255,255,0.08);
}
.contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(243,247,251,0.98) 100%);
}
.download-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.1rem 0 1.2rem;
}
.download-item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(23, 33, 47, 0.1);
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.download-item:hover {
  transform: translateY(-1px);
  border-color: rgba(30, 79, 120, 0.22);
  background: rgba(255,255,255,0.98);
}
.download-item strong {
  color: var(--primary-dark);
}
.download-item span {
  color: var(--muted);
}
.contact-divider {
  border: 0;
  border-top: 1px solid rgba(23, 33, 47, 0.1);
  margin: 1.4rem 0;
}
.contact-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.contact-success {
  margin: 0 0 1rem;
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: rgba(32, 125, 81, 0.12);
  border: 1px solid rgba(32, 125, 81, 0.22);
  color: #13653e;
  font-weight: 600;
}
.modal-card .contact-success {
  margin-top: 0.5rem;
}
.about-layout { align-items: stretch; }
.legal-network-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}
.legal-network-copy {
  max-width: 760px;
}
.legal-network-lead {
  font-size: 1.12rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.legal-network-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(30, 79, 120, 0.96) 0%, rgba(20, 59, 93, 1) 100%);
  color: #ffffff;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(20, 59, 93, 0.22);
}
.legal-network-card h3 {
  margin-bottom: 0.8rem;
}
.legal-network-card p,
.legal-network-card li {
  color: #f7fbff;
}
.legal-network-label {
  color: #f7d690;
}
.legal-network-list {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
}
.legal-network-list li + li {
  margin-top: 0.75rem;
}
.team-section {
  background:
    radial-gradient(circle at top left, rgba(0, 153, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfd 0%, #eef5f9 100%);
}
.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at bottom right, rgba(201, 165, 92, 0.14), transparent 22%),
    linear-gradient(90deg, transparent 0 94%, rgba(30, 79, 120, 0.08) 94% 100%);
}
.team-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 1.4rem;
  align-items: start;
}
.team-heading {
  margin-bottom: 0;
}
.team-profile-card {
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(30, 79, 120, 0.96) 0%, rgba(20, 59, 93, 1) 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 59, 93, 0.22);
}
.team-profile-card h3,
.team-profile-card p {
  color: #ffffff;
}
.team-profile-card .feature-label {
  color: #f4d38c;
}
.team-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.team-member {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 33, 47, 0.1);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}
.team-member h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--primary-dark);
}
.team-member p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}
.about-redesign {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.6rem;
}
.about-hero-copy {
  max-width: 820px;
}
.about-lead {
  font-size: 1.12rem;
  max-width: 62ch;
}
.about-story-card {
  display: grid;
  gap: 1.4rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(7, 15, 28, 0.16);
}
.about-story-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}
.story-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 165, 92, 0.24), rgba(201, 165, 92, 0.12));
  color: #f4d38c;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.about-columns article {
  padding: 1.2rem 1.25rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.about-columns h3,
.about-feature-card h3 {
  margin-bottom: 0.6rem;
}
.about-strategic-hours {
  color: #ffd66b;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 214, 107, 0.22), rgba(201, 140, 43, 0.1));
  border: 1px solid rgba(255, 214, 107, 0.36);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  box-shadow: 0 16px 36px rgba(255, 214, 107, 0.12);
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.about-feature-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.07);
}
.about-feature-card.accent {
  background: linear-gradient(180deg, rgba(201,165,92,0.18) 0%, rgba(255,255,255,0.04) 100%);
}
.feature-label {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #9a4f12;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about-feature-card .feature-label,
.legal-network-label {
  color: #f4d38c;
}
}
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 20, 34, 0.66);
  z-index: 100;
}
@media (min-width: 901px) {
  .mobile-bottom-bar {
    display: none !important;
  }
}
.modal-overlay.is-open {
  display: flex;
}
.service-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 20, 34, 0.66);
  z-index: 3000;
}
.service-modal-overlay.is-open {
  display: flex;
}
body.modal-open {
  overflow-x: hidden;
  overflow-y: visible;
}
.modal-card {
  width: min(620px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 1.6rem;
  border-radius: 24px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 30px 70px rgba(10, 20, 34, 0.28);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-soft);
  color: var(--primary-dark);
  font-size: 1.4rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  color: var(--primary-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(23, 33, 47, 0.12);
  background: #f8fbfd;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7a8897;
  font-weight: 400;
}
.enquiry-form-grid {
  display: grid;
  gap: 1rem;
}
.enquiry-form-grid h2 {
  margin: 1.2rem 0 0.25rem;
}
.enquiry-form-grid label {
  margin: 0;
}
@media (min-width: 901px) {
  .enquiry-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  .enquiry-form-grid h2,
  .enquiry-form-grid .full-row {
    grid-column: 1 / -1;
  }
}
.enquiry-form-grid label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 33, 47, 0.12);
  border-radius: 16px;
  background: #f8fbfd;
  color: var(--text);
}
.enquiry-form-grid label:has(input[type="checkbox"]) input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0.12rem 0 0;
  flex: 0 0 auto;
}
.contact-form-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
@media (min-width: 901px) {
  #top,
  #services-particuliers,
  #formulaires,
  #services,
  #expertise,
  #territoire,
  #notre-equipe,
  #apropos,
  #contact,
  #trouver-bureau {
    scroll-margin-top: 174px;
    scroll-snap-margin-top: 174px;
  }
  #top {
    padding-top: 0;
  }
  .hero {
    min-height: calc(100vh - 124px);
    padding: 1.35rem 0 1.15rem;
  }
  .hero-redesign {
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    gap: 1.15rem;
    padding-top: 0;
  }
  .hero-main {
    max-width: 780px;
    padding-top: 0;
  }
  h1 {
    font-size: clamp(1.95rem, 3.05vw, 3.05rem);
    line-height: 1.06;
    max-width: 19ch;
    margin-bottom: 0.62rem;
  }
  .lead {
    font-size: 0.96rem;
    line-height: 1.42;
    max-width: 64ch;
    margin: 0;
  }
  .hero-actions {
    margin-top: 0.8rem;
  }
  .hero-brand-badge {
    padding: 0.42rem 1rem;
    margin-bottom: 0.65rem;
  }
  .hero-brand-badge span {
    font-size: 0.68rem;
  }
  .hero-brand-badge-pill-location-large {
    padding: 0.42rem 1rem;
    font-size: 0.82rem;
  }
  .hero-card-compact {
    margin-top: -0.15rem;
  }
  .hero-card {
    padding: 1.2rem 1.35rem;
  }
  .hero-card h2 {
    font-size: 1.62rem;
    margin-bottom: 0.65rem;
  }
  .hero-card p {
    margin: 0 0 0.7rem;
    line-height: 1.45;
  }
  .hero-card-subtitle {
    margin: -0.1rem 0 0.65rem;
    font-size: 0.96rem;
  }
  .hero-card-actions {
    margin: 0.75rem 0 0.8rem;
  }
  .hero-points {
    gap: 0.5rem;
    margin: 0;
    font-size: 0.95rem;
  }
  .stat-pill {
    margin-bottom: 0.72rem;
    padding: 0.36rem 0.72rem;
    font-size: 0.74rem;
  }
  #formulaires {
    scroll-margin-top: 132px;
    scroll-snap-margin-top: 132px;
  }
  .formulaires-layout {
    gap: 1.05rem;
  }
  .section-theme-formulaires {
    padding-top: 2.35rem;
    padding-bottom: 3.2rem;
  }
  .formulaires-heading h2 {
    font-size: clamp(1.75rem, 2.12vw, 2.35rem);
  }
  .formulaires-heading p {
    font-size: 0.98rem;
  }
  .formulaires-grid {
    gap: 1rem;
  }
  .form-card {
    gap: 0.55rem;
  }
  .form-card-featured {
    padding: 1.15rem 1.25rem;
  }
  .form-card-label {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
  }
  .form-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.18rem;
    line-height: 1.16;
  }
  .form-card p {
    margin: 0;
    line-height: 1.45;
    font-size: 0.98rem;
  }
  .form-card .btn {
    margin-top: 0.2rem;
    padding: 0.78rem 1rem;
    font-size: 0.9rem;
  }
  .site-header-with-color {
    display: block;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(23, 33, 47, 0.08);
  }
  .site-header-with-color .site-header {
    position: static;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
  }
  .desktop-color-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 18px;
  }
  .desktop-color-bar span {
    display: block;
    height: 18px;
  }
  .desktop-color-bar-orange { background: #f39a22; }
  .desktop-color-bar-red { background: #cf3a32; }
  .desktop-color-bar-blue { background: #0099ff; }
  .desktop-color-bar-green { background: #2f9a5f; }
}

@media (min-width: 901px) and (max-width: 1500px) {
  .nav {
    gap: 0.65rem;
    width: min(1260px, calc(100% - 1.2rem));
  }
  .brand {
    margin-right: 0.6rem;
    padding: 0.45rem 0.65rem;
  }
  .brand-logo {
    width: 250px;
    max-width: 24vw;
  }
  nav {
    gap: 0.78rem;
    font-size: 0.92rem;
  }
  .client-portal-link {
    padding: 0.6rem 0.82rem;
    font-size: 0.84rem;
  }
  .header-actions {
    gap: 0.55rem;
  }
  .header-actions .btn {
    padding: 0.78rem 0.92rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 901px) and (max-width: 1600px) {
  .nav {
    width: min(1180px, calc(100% - 2rem));
    max-width: calc(100vw - 2rem);
    min-height: auto;
    padding: 0.55rem 0;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.55rem;
    overflow: visible;
  }
  .brand {
    margin-right: 0.35rem;
    flex: 0 1 auto;
  }
  .brand-logo {
    width: clamp(190px, 17vw, 250px);
    max-width: 100%;
  }
  nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: clamp(0.55rem, 1.1vw, 0.95rem);
    font-size: clamp(0.78rem, 1vw, 0.92rem);
    flex-wrap: wrap;
    text-align: center;
  }
  .client-portal-inline,
  .header-actions {
    flex: 0 0 auto;
  }
  .header-actions .btn,
  .client-portal-link {
    padding: 0.68rem 0.84rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 900px) {
  .mobile-color-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 14px;
    margin-bottom: 0;
  }
  .mobile-color-bar-attached {
    margin-top: 0.32rem;
    width: calc(100% + 1.3rem);
    margin-left: -0.65rem;
    margin-right: -0.65rem;
    margin-bottom: 0;
    height: 12px;
  }
  .site-header-with-color .mobile-color-bar {
    position: sticky;
    top: 106px;
    z-index: 1999;
  }
  .mobile-color-bar span {
    display: block;
    height: 14px;
  }
  .mobile-color-bar-attached span {
    height: 12px;
  }
  .mobile-color-bar-orange { background: #f39a22; }
  .mobile-color-bar-red { background: #cf3a32; }
  .mobile-color-bar-blue { background: #0099ff; }
  .mobile-color-bar-green { background: #2f9a5f; }
  .hero-brand-badge-pill-mobile-only {
    display: inline-flex !important;
  }
  .mobile-topbar,
  .mobile-menu-toggle,
  .mobile-topbar-phone,
  .mobile-topbar-logo,
  .mobile-topbar-name,
  .mobile-topbar-actions,
  .mobile-topbar-brand {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .mobile-topbar {
    display: block !important;
    position: static;
    width: 100%;
    z-index: 1;
    margin: 0;
    padding: 0.42rem 0.65rem 0;
    background: rgba(255,255,255,1);
    color: #2f2e2e;
    border-bottom: 0;
    backdrop-filter: none;
    box-sizing: border-box;
    overflow: hidden;
  }
  .mobile-topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }
  .mobile-topbar-row-primary {
    min-height: auto;
    justify-content: center;
  }
  .mobile-topbar-row-secondary {
    margin-top: 0.18rem;
    justify-content: center;
    gap: 0.8rem;
  }
  .mobile-topbar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
  }
  .mobile-topbar-logo {
    display: block;
    width: min(76vw, 230px);
    max-width: 76vw;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
  }
  .mobile-topbar-name,
  .mobile-topbar-name-banner {
    display: block;
    color: #2f2e2e;
    font-size: 0.74rem;
    line-height: 1.04;
    font-weight: 700;
    text-align: center;
    margin-top: 0.18rem;
  }
  .mobile-topbar-actions {
    display: none;
  }
  .mobile-topbar-phone {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #0099ff;
    border: 0;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
    box-shadow: none;
    letter-spacing: 0;
  }
  .mobile-zone-client-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0.45rem 0.78rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a1f 0%, #e03a34 46%, #116dff 100%);
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(224, 58, 52, 0.22);
    white-space: nowrap;
  }
  .mobile-bottom-bar,
  .mobile-bottom-bar-elegant,
  .mobile-bottom-actions,
  .mobile-bottom-link {
    display: none !important;
  }
  .site-header {
    display: none;
  }
  nav { display: none; }
  .client-portal-inline,
  .header-actions {
    display: none;
  }
  main {
    padding-bottom: 2rem;
  }
  #top {
    padding-top: 0;
  }
  .nav {
    min-height: 48px;
    flex-wrap: wrap;
    width: min(1140px, calc(100% - 1rem));
    justify-content: space-between;
    gap: 0.6rem;
  }
  .brand {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    padding: 0.25rem 0.25rem 0.15rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .brand-logo { width: 126px; max-width: 34vw; }
  .hero-grid, .split, .contact-grid, .cards.three, .services-intro, .services-expertise-layout, .about-columns, .about-feature-grid, .about-story-intro, .hero-redesign, .formulaires-grid, .legal-network-grid, .location-map-grid, .territory-layout, .team-layout, .team-grid { grid-template-columns: 1fr; }
  .location-map-desktop {
    display: none;
  }
  .location-map-mobile-top {
    display: none;
  }
  .location-map-mobile-accordion {
    display: block;
  }
  .location-mobile-card {
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(23, 33, 47, 0.08);
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.1);
    padding: 1.15rem;
  }
  .location-mobile-card .eyebrow {
    margin-bottom: 0.65rem;
  }
  .location-mobile-card h2 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    margin-bottom: 0.65rem;
  }
  .mobile-map-clickzone {
    display: block;
    position: relative;
    margin: 1rem 0;
    color: inherit;
    touch-action: pan-y;
  }
  .mobile-static-map {
    display: block;
    position: relative;
    min-height: 230px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 56% 48%, rgba(224, 58, 52, 0.18) 0 4%, transparent 4.5%),
      linear-gradient(30deg, transparent 0 42%, rgba(0, 153, 255, 0.16) 42% 46%, transparent 46% 100%),
      linear-gradient(120deg, transparent 0 50%, rgba(47, 154, 95, 0.14) 50% 54%, transparent 54% 100%),
      linear-gradient(180deg, #f8fbfd 0%, #eef5f9 100%);
  }
  .mobile-static-map::after {
    content: "POB Huissiers";
    position: absolute;
    left: 50%;
    top: calc(50% + 2.7rem);
    transform: translateX(-50%);
    z-index: 2;
    color: #143b5d;
    font-weight: 900;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .mobile-static-map iframe {
    min-height: 230px;
    pointer-events: none;
    opacity: 0.22;
  }
  .mobile-map-tap-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  }
  .mobile-menu-panel a[href*="pob.juriweb"] {
    background: linear-gradient(135deg, #ff8a1f 0%, #e03a34 46%, #116dff 100%);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(224, 58, 52, 0.22);
  }
  .municipality-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .municipality-grid li {
    padding: 0.72rem 0.8rem;
    font-size: 0.92rem;
  }
  .territory-postal-search {
    padding: 0.85rem;
    border-radius: 16px;
  }
  .territory-postal-search-row {
    grid-template-columns: 1fr;
  }
  .territory-postal-search .btn {
    width: 100%;
    justify-content: center;
  }
  .territory-page-section {
    padding-top: 2.2rem;
  }
  .formulaires-heading {
    margin-bottom: 1rem;
  }
  .services-expertise-layout {
    gap: 1.1rem;
  }
  .services-expertise-heading {
    max-width: 100%;
  }
  .service-click-list {
    grid-template-columns: 1fr;
    gap: 0.62rem;
  }
  .service-info-row {
    align-items: flex-start;
    padding: 0.82rem 0.85rem;
    border-radius: 14px;
  }
  .service-info-row span {
    font-size: 0.94rem;
    line-height: 1.2;
  }
  .service-info-row small {
    display: block;
    margin-left: 0;
    margin-top: 0.2rem;
    font-size: 0.68rem;
    white-space: normal;
  }
  .service-info-row::after {
    width: 28px;
    height: 28px;
  }
  .service-modal-card {
    padding: 1.35rem;
    border-radius: 20px;
  }
  .service-modal-card h2 {
    font-size: 1.5rem;
  }
  .service-modal-card p {
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .service-modal-actions {
    flex-direction: column;
  }
  .formulaires-heading h2 {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    line-height: 1.08;
    margin-bottom: 0.65rem;
  }
  .formulaires-heading p {
    font-size: 0.92rem;
    line-height: 1.42;
  }
  .formulaires-layout {
    gap: 1rem;
  }
  .formulaires-grid {
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-card {
    gap: 0.42rem;
  }
  .form-card-featured {
    padding: 0.82rem;
  }
  .form-card-label {
    margin-bottom: 0.1rem;
    font-size: 0.66rem;
    line-height: 1.1;
  }
  .form-card h3 {
    font-size: 0.86rem;
    line-height: 1.12;
    margin-bottom: 0;
  }
  .form-card p {
    display: none;
  }
  .form-card .btn {
    min-height: 36px;
    padding: 0.62rem 0.55rem;
    font-size: 0.74rem;
    white-space: normal;
  }
  .team-layout {
    gap: 1rem;
  }
  .territory-layout {
    gap: 1rem;
  }
  .territory-card {
    padding: 1.15rem;
    border-radius: 20px;
  }
  .territory-actions {
    flex-direction: column;
  }
  .team-heading {
    margin-bottom: 0;
  }
  .team-profile-card {
    padding: 1.15rem;
  }
  .team-grid {
    gap: 0.65rem;
  }
  .team-member {
    padding: 0.9rem;
  }
  .team-member h3 {
    font-size: 0.98rem;
  }
  .team-member p {
    font-size: 0.88rem;
  }
  .hero-mobile-location-shortcut {
    display: none;
  }
  .hero-mobile-location-link {
    display: none;
  }
  .hero-mobile-location-toggle {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
  }
  .location-mobile-details {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(23, 33, 47, 0.08);
    box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
  }
  .location-mobile-details summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.72rem 0.9rem 0.78rem;
    background: linear-gradient(135deg, #30bdff 0%, #116dff 100%);
    color: #ffffff;
  }
  .location-mobile-details summary::-webkit-details-marker {
    display: none;
  }
  .location-mobile-details summary span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .location-mobile-details summary strong {
    font-size: 0.88rem;
    line-height: 1.2;
  }
  .location-mobile-panel {
    padding: 1rem;
  }
  .location-mobile-panel .map-card,
  .location-mobile-panel .map-card iframe {
    min-height: 260px;
  }
  .expertise-grid .checklist, .contact-card-offset { margin-top: 0; }
  .mobile-bottom-bar,
  .mobile-bottom-bar-elegant {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .hero-card-compact { margin-top: 3rem; }
  .hero { padding-top: 0; padding-bottom: 1.5rem; }
  h1 { max-width: 100%; font-size: clamp(1.76rem, 6.2vw, 2.55rem); line-height: 1.06; margin-bottom: 0.72rem; }
  .lead { font-size: 0.95rem; line-height: 1.45; margin-bottom: 0.85rem; }
  .card p,
  .section p,
  li,
  .checklist div {
    color: #253243;
  }
  .section.dark p,
  .section.dark li {
    color: #e2ecf5;
  }
  .team-profile-card h3,
  .team-profile-card p,
  .territory-card h3,
  .territory-card li {
    color: #ffffff;
  }
  .team-profile-card .feature-label,
  .territory-card .feature-label {
    color: #f4d38c;
  }
  .section { padding: 3.2rem 0; }
  .hero-actions,
  .hero-card-actions,
  .contact-actions,
  .property-management-actions {
    flex-direction: column;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(47, 46, 46, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #2f2e2e;
    flex: 0 0 auto;
    margin-left: 0.2rem;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: #2f2e2e;
  }
  .mobile-menu-panel {
    display: grid;
    gap: 0;
    padding: 0.3rem 0.65rem 0.45rem;
    background: rgba(255,255,255,1);
    border-bottom: 1px solid rgba(47, 46, 46, 0.08);
    position: static;
    margin-top: 0;
    z-index: 3005;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
  }
  .mobile-menu-panel a {
    color: #2f2e2e;
    text-decoration: none;
    padding: 0.82rem 0.15rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(47, 46, 46, 0.08);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .mobile-menu-panel a:last-child {
    border-bottom: 0;
  }
  .mobile-menu-panel[hidden] {
    display: none;
  }
  #top,
  #services-particuliers,
  #formulaires,
  #services,
  #expertise,
  #territoire,
  #notre-equipe,
  #apropos,
  #contact,
  #trouver-bureau {
    scroll-margin-top: 18px;
    scroll-snap-margin-top: 18px;
  }
  .hero-actions {
    gap: 0.5rem;
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
  }
  .hero-actions .btn,
  .hero-card-actions .btn,
  .contact-actions .btn,
  .property-management-actions .btn,
  .location-actions .btn,
  .form-card .btn {
    width: 100%;
  }
  .hero-actions .btn {
    min-height: 38px;
    padding-top: 0.68rem;
    padding-bottom: 0.68rem;
    font-size: 0.9rem;
  }
  .hero-actions > a.btn.btn-secondary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(20, 59, 93, 0.9);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(30, 79, 120, 0.22);
  }
  .hero-actions .hero-mobile-location-toggle {
    background: linear-gradient(135deg, #30bdff 0%, #116dff 100%);
    border: 1px solid rgba(17, 109, 255, 0.24);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(17, 109, 255, 0.18);
  }
  .property-management-single-box,
  .hero-card,
  .about-story-card,
  .legal-network-card,
  .contact-card,
  .panel,
  .card {
    padding: 1.25rem;
  }
  .hero-main {
    max-width: 100%;
    padding-top: 0;
    margin-top: 0;
  }
  .hero-brand-badge {
    margin-bottom: 0.5rem;
    padding: 0.66rem 1rem;
    border-radius: 22px;
  }
  .hero-brand-badge span {
    font-size: 0.78rem;
  }
  .hero-brand-badge strong {
    font-size: 1rem;
    line-height: 1.28;
  }
  .hero-brand-badge-pills {
    gap: 0.45rem;
    flex-wrap: nowrap;
  }
  .hero-brand-badge-pill {
    min-height: 32px;
    padding: 0.4rem 0.62rem;
    font-size: 0.7rem;
  }
  .hero-card .stat-pill {
    margin-top: -0.18rem;
    margin-bottom: 0.46rem;
  }
  .property-management-super-title-outside,
  .property-management-single-box h2,
  .property-management-single-box .property-management-strong-copy,
  .property-management-white-copy,
  .hero-card-subtitle {
    text-align: left;
  }
  .eyebrow,
  .hero-brand-badge span,
  .hero-brand-badge strong {
    color: #ffffff !important;
    font-weight: 900;
  }
}

.eyebrow,
.eyebrow:link,
.eyebrow:visited,
.section .eyebrow,
.section.dark .eyebrow,
.section-theme-services .eyebrow,
.section-theme-expertise .eyebrow,
.section-theme-contact .eyebrow,
.section-theme-about .eyebrow {
  color: #ffffff !important;
}


/* Dedicated service pages */
a.service-info-row {
  color: #0f172a;
  text-decoration: none;
}
a.service-info-row::after {
  content: "→";
}
.service-detail-hero .container {
  max-width: 980px;
}
.hero-lead {
  max-width: 820px;
  font-size: 1.15rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 1rem;
  align-items: start;
}
.service-detail-card li {
  margin: 0.55rem 0;
  line-height: 1.65;
}
.faq-list {
  display: grid;
  gap: 0.8rem;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink, #0f172a);
}
.faq-item p {
  margin-bottom: 0;
}
.related-services-section .service-click-list {
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* Service detail readability */
.service-detail-hero h1,
.service-detail-hero .container h1 {
  color: #0f172a;
  text-shadow: none;
}
.service-detail-hero .hero-lead {
  color: #24364a;
}
.service-detail-hero .eyebrow,
.section-soft .eyebrow,
.related-services-section .eyebrow {
  background: #ffffff;
  color: #1e4f78;
  border-color: rgba(30, 79, 120, 0.28);
}

.useful-links-hero h1 {
  max-width: 12ch;
}
.useful-links-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.useful-link-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 100%;
}
.useful-link-card-featured,
.useful-link-card-accent {
  grid-column: 1 / -1;
}
.useful-link-list {
  display: grid;
  gap: 0.85rem;
}
.useful-link-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(17, 109, 255, 0.16);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,247,255,0.92));
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.07);
}
.useful-link-row span {
  font-weight: 900;
  color: #143b5d;
}
.useful-link-row small {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}
.useful-link-row:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 109, 255, 0.32);
}
.useful-links-note {
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .useful-links-layout {
    grid-template-columns: 1fr;
  }
  .useful-link-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .useful-link-row small {
    text-align: left;
  }
}

/* Hide decorative eyebrow pills site-wide */
.eyebrow:not(.hero-brand-badge) {
  display: none !important;
}
