/* ==========================================================================
   AIN — Agence Immobilière et Négoce
   ========================================================================== */

:root {
  --primary: #34449b;
  --primary-600: #2a3780;
  --primary-700: #202a63;
  --navy: #131a3d;
  --navy-soft: #1c2555;
  --primary-50: #f5f7fd;
  --primary-100: #eaeef9;
  --primary-200: #d7dff2;
  --border: #e3e7f3;
  --text: #171b2e;
  --text-muted: #5b6178;
  --text-faint: #939ab3;
  --white: #ffffff;
  --success: #1c9d5b;

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.6rem;
  --shadow-sm: 0 1px 3px rgba(19, 26, 61, 0.06), 0 1px 2px rgba(19, 26, 61, 0.04);
  --shadow-md: 0 8px 24px rgba(19, 26, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(19, 26, 61, 0.14);
  --container: 1216px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

/* -------------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 767px) {
  .section { padding: 3.25rem 0; }
}

.section-head {
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 34rem;
  margin-top: 0.6rem;
}

.section-head p {
  max-width: 28rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-bg {
  background: var(--primary-50);
}

.text-center {
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(52, 68, 155, 0.28);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-700);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-ghost-light:hover {
  background: rgba(255,255,255,0.2);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block { width: 100%; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.footer-brand .brand-mark {
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text b {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
}

.nav-home-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem 0.4rem 0.6rem;
  margin-right: 0.2rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--primary-50);
  white-space: nowrap;
}

.nav-home-btn svg { color: var(--primary); flex-shrink: 0; }

.nav-home-btn:hover,
.nav-home-btn[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary-100);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.6rem;
}

/* Compact icon-only call button — a full phone number here competed with
   the nav for space and was the main cause of header wrapping. */
.header-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--primary);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.header-phone:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}

.header-phone svg { color: var(--primary); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle svg { width: 1.6rem; height: 1.6rem; }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .header-phone { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-toggle { display: block; }

  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 4.75rem;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }

  .site-header.is-open .nav-links a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-header.is-open .nav-links a.nav-home-btn {
    width: auto;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0 0.6rem;
    border-bottom: none;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

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

.hero-center {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 1.1rem;
  justify-content: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 1.2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 auto 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-trustline li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trustline svg { color: var(--success); flex-shrink: 0; }

/* -------------------------------------------------------------------------
   Logo cloud / division switch
   ------------------------------------------------------------------------- */

.division-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 700px) {
  .division-strip { grid-template-columns: 1fr; margin-top: 0.5rem; }
}

.division-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.division-card .tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.division-card h3 { font-size: 1.15rem; }
.division-card p { color: var(--text-muted); font-size: 0.92rem; }
.division-card .link { font-weight: 700; font-size: 0.9rem; color: var(--primary); display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.3rem; }

/* -------------------------------------------------------------------------
   Solutions grid (bento cards)
   ------------------------------------------------------------------------- */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.solution-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-icon svg { width: 1.5rem; height: 1.5rem; }

.solution-card h3 { font-size: 1.08rem; }
.solution-card p { color: var(--text-muted); font-size: 0.92rem; }

.solution-card.featured {
  background: linear-gradient(155deg, var(--primary) 0%, var(--primary-700) 100%);
  color: var(--white);
  border-color: transparent;
}

.solution-card.featured h3,
.solution-card.featured p { color: var(--white); }
.solution-card.featured p { opacity: 0.82; }
.solution-card.featured .solution-icon { background: rgba(255,255,255,0.16); color: var(--white); }

/* -------------------------------------------------------------------------
   Values / banner
   ------------------------------------------------------------------------- */

.value-banner {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--primary-700) 55%, var(--primary) 100%);
  color: var(--white);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.value-banner::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
  top: -8rem;
  right: -6rem;
}

@media (max-width: 860px) {
  .value-banner { grid-template-columns: 1fr; padding: 2.25rem 1.5rem; }
}

.value-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.value-banner p { color: rgba(255,255,255,0.78); max-width: 26rem; }

.value-banner-3col {
  grid-template-columns: 1fr 1fr 1fr;
  padding: 2.5rem;
}

@media (max-width: 860px) {
  .value-banner-3col { grid-template-columns: 1fr; }
}

.value-col .n {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.value-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.35rem; }
.value-col p { color: rgba(255,255,255,0.78); font-size: 0.9rem; }

.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 560px) {
  .value-list { grid-template-columns: 1fr; }
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.value-item .n {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.value-item .n svg { width: 1.15rem; height: 1.15rem; }

.value-item h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 0.2rem; }
.value-item p { color: rgba(255,255,255,0.7); font-size: 0.86rem; }

/* -------------------------------------------------------------------------
   Process steps
   ------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
  padding-top: 0.5rem;
}

.process-step .num {
  counter-increment: step;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-200);
  line-height: 1;
  margin-bottom: 0.9rem;
}

.process-step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--text-muted); font-size: 0.88rem; }

/* -------------------------------------------------------------------------
   Case studies / projects
   ------------------------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
}

.case-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.case-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.case-media svg { width: 3.2rem; height: 3.2rem; opacity: 0.65; }

.case-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  color: var(--primary-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
}

.case-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.case-body h3 { font-size: 1.15rem; }
.case-body p { color: var(--text-muted); font-size: 0.92rem; }

.case-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.case-stats div b {
  display: block;
  font-size: 1.15rem;
  color: var(--primary);
}

.case-stats div span {
  font-size: 0.75rem;
  color: var(--text-faint);
}

.case-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* -------------------------------------------------------------------------
   Expertise split (zones desservies)
   ------------------------------------------------------------------------- */

.expertise-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .expertise-wrap { grid-template-columns: 1fr; }
}

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

.expertise-list li {
  border-bottom: 1px solid var(--border);
}

.expertise-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  padding: 1.05rem 0.2rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  cursor: pointer;
}

.expertise-list li.active button { color: var(--primary); }
.expertise-list button svg { width: 1rem; height: 1rem; opacity: 0; transition: opacity .15s; color: var(--primary); }
.expertise-list li.active button svg { opacity: 1; }

.expertise-card {
  background: var(--primary-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.expertise-card .eyebrow { margin-bottom: 0.9rem; }
.expertise-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.expertise-card p { color: var(--text-muted); margin-bottom: 1.3rem; }

/* -------------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card .quote { color: var(--text-muted); font-size: 0.96rem; font-style: italic; }
.testimonial-card .who { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.testimonial-card .avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.testimonial-card .who b { display: block; font-size: 0.9rem; }
.testimonial-card .who span { font-size: 0.8rem; color: var(--text-faint); }

.testimonial-placeholder {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */

.final-cta {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 50% 0%, rgba(255,255,255,0.16), transparent 70%);
}

.final-cta > * { position: relative; z-index: 1; }

.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  max-width: 34rem;
  margin: 0 auto 0.8rem;
}

.final-cta p {
  color: rgba(255,255,255,0.78);
  max-width: 30rem;
  margin: 0 auto 1.8rem;
}

.final-cta .hero-actions { justify-content: center; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.75rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .brand-text b { color: var(--white); }
.footer-brand .brand-text span { color: rgba(255,255,255,0.5); }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; max-width: 20rem; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col li { margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-col .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-col .contact-line svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--white); opacity: 0.7; }

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.footer-social a {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover { background: rgba(255,255,255,0.16); }

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* -------------------------------------------------------------------------
   Page hero (inner pages)
   ------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary-50) 0%, var(--white) 70%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}

.breadcrumb a { font-weight: 700; color: var(--primary); }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  max-width: 40rem;
}

.page-hero p.lead {
  color: var(--text-muted);
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* -------------------------------------------------------------------------
   Service detail list (immobilier / negoces)
   ------------------------------------------------------------------------- */

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

@media (max-width: 700px) {
  .service-detail-grid { grid-template-columns: 1fr; }
}

.service-detail {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.1rem;
}

.service-detail .solution-icon { }

.service-detail h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.service-detail p { color: var(--text-muted); font-size: 0.9rem; }
.service-detail ul { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.4rem; }
.service-detail ul li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.service-detail ul li svg { color: var(--success); flex-shrink: 0; width: 0.9rem; height: 0.9rem; }

/* FAQ */

.faq-list { display: flex; flex-direction: column; gap: 0.9rem; max-width: 44rem; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.faq-item summary {
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.faq-item[open] summary .icon { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-info-card p, .contact-info-card a { font-size: 0.9rem; color: var(--text-muted); }
.contact-info-card a:hover { color: var(--primary); }

.contact-form {
  background: var(--primary-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.45rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.94rem;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.field textarea { resize: vertical; min-height: 7rem; }

.form-note { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.8rem; }

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.1rem;
  aspect-ratio: 16/9;
}

.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* -------------------------------------------------------------------------
   About page
   ------------------------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
}

.story-art {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--primary-100), var(--primary-50));
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  border: 1px solid var(--border);
}

.story-tower-mark {
  width: 100%;
  max-width: 16rem;
  height: auto;
  filter: drop-shadow(0 20px 32px rgba(52, 68, 155, 0.16));
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .mv-grid { grid-template-columns: 1fr; }
}

.mv-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.9rem;
}

.mv-card .solution-icon { margin-bottom: 1rem; }
.mv-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.mv-card p { color: var(--text-muted); font-size: 0.94rem; }

/* -------------------------------------------------------------------------
   Skip link / a11y
   ------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  z-index: 999;
  border-radius: 0 0 0.6rem 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 2px;
}

/* Reveal animation (progressive enhancement) */
[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   Property listings
   ------------------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-group .filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.3rem;
}

.filter-btn {
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover { border-color: var(--primary-200); }

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .property-grid { grid-template-columns: 1fr; }
}

.property-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.property-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.property-media svg { width: 3rem; height: 3rem; opacity: 0.55; }

.property-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 100px;
  background: var(--white);
  color: var(--primary-700);
}

.property-badge.vente { background: var(--navy); color: var(--white); }
.property-badge.location { background: var(--white); color: var(--primary-700); }

.property-ref {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(19,26,61,0.45);
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.property-body {
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.property-body h3 { font-size: 1.02rem; line-height: 1.3; }

.property-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--text-faint);
}

.property-loc svg { flex-shrink: 0; width: 0.9rem; height: 0.9rem; }

.property-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-top: 0.6rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-meta svg { width: 0.95rem; height: 0.95rem; color: var(--primary); flex-shrink: 0; }

.price-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-faint);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  display: none;
}

/* Property detail page */

.property-detail-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .property-detail-wrap { grid-template-columns: 1fr; }
}

.property-hero-media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-100), var(--primary-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}

.property-hero-media svg { width: 5rem; height: 5rem; opacity: 0.5; }

.property-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 0.7rem;
}

.property-thumbs div {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.property-thumbs svg { width: 1.5rem; height: 1.5rem; opacity: 0.5; }

.property-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  padding: 1.25rem;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

@media (max-width: 560px) {
  .property-facts { grid-template-columns: repeat(2, 1fr); }
}

.fact { text-align: center; }
.fact svg { color: var(--primary); margin-bottom: 0.4rem; width: 1.3rem; height: 1.3rem; }
.fact b { display: block; font-size: 1.05rem; }
.fact span { font-size: 0.76rem; color: var(--text-faint); }

.atout-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.atout-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 100px;
}

.atout-chip svg { width: 0.85rem; height: 0.85rem; }

.property-sidebar {
  position: sticky;
  top: 6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.property-sidebar .price-tag { font-size: 1.05rem; margin-bottom: 0.2rem; display: block; }
.property-sidebar .ref-line { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 1.25rem; }
.property-sidebar .btn { margin-bottom: 0.7rem; }
.property-sidebar .divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
