/* ==========================================================================
   MarcPouliot.ca — Design System
   Design premium immobilier — Blanc/dark avec accent rouge
   ========================================================================== */

/* ─── CSS Variables ───────────────────────────────────────────────────────── */
:root {
    --bg-primary: #ffffff;
    --bg-alt: #f5f5f7;
    --bg-dark: #1a1a2e;
    --bg-overlay: rgba(0, 0, 0, 0.55);
    --bg-card: #ffffff;
    --accent: #be0000;
    --accent-hover: #d41c1c;
    --accent-light: rgba(190, 0, 0, 0.08);
    --text-dark: #1a1a2e;
    --text-light: #f0f0f5;
    --text-muted: #6b7280;
    --success: #16a34a;
    --sold: #dc2626;
    --pending: #f59e0b;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ─── Reset & Base ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

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

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.page-subtitle {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ─── Header / Nav — Premium Style ───────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(15, 22, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 80px;
    max-width: 1400px;
    transition: height 0.4s ease;
}

.site-header.scrolled .header-inner {
    height: 64px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s, width 0.4s ease, height 0.4s ease;
    width: 184px;
    height: 48px;
}

.site-header.scrolled .logo {
    width: 127px;
    height: 33px;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.4s ease;
}

.logo-white {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
}

/* Logo stays white in both states (dark bg always) */
.site-header.scrolled .logo-white {
    opacity: 1;
}

.site-header.scrolled .logo-dark {
    opacity: 0;
}

/* Legacy text logo (kept for footer/overlay) */
.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.logo-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ─── Primary Nav (visible desktop) ──────────────────────────────────────── */
.nav-primary {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    position: relative;
    transition: color 0.4s ease;
}

.site-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ─── Nav Actions (right side) ───────────────────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.4s ease;
}

.nav-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.35s ease;
}

.nav-cta:hover::after,
.nav-cta.active::after {
    width: 100%;
}

.site-header.scrolled .nav-cta {
    color: rgba(255, 255, 255, 0.85);
}

.nav-cta:hover,
.nav-cta.active {
    color: #fff;
}

.site-header.scrolled .nav-cta:hover,
.site-header.scrolled .nav-cta.active {
    color: #fff;
}

/* ─── Burger Button ──────────────────────────────────────────────────────── */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.site-header.scrolled .burger-line {
    background: rgba(255, 255, 255, 0.85);
}

.burger-btn.open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.open .burger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── Language Switch ────────────────────────────────────────────────────── */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: 6px;
}
.lang-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 8px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: color 0.25s ease;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
}
.lang-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.35s ease;
}
.lang-btn:hover::after {
    width: 100%;
}
.lang-btn:hover {
    color: #fff;
}
.lang-btn.active {
    color: rgba(255, 255, 255, 0.95);
}
.lang-btn:not(.active):hover {
    color: rgba(255, 255, 255, 0.7);
}
.site-header.scrolled .lang-btn {
    color: rgba(255, 255, 255, 0.85);
}
.site-header.scrolled .lang-btn.active {
    color: rgba(255, 255, 255, 0.95);
}
.site-header.scrolled .lang-btn:not(.active):hover {
    color: #fff;
}

/* ─── Fullscreen Menu Overlay ────────────────────────────────────────────── */
/* ─── Menu Overlay Backdrop ──────────────────────────────────────────── */
.menu-overlay-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.menu-overlay-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* ─── Menu Overlay — Side Panel ──────────────────────────────────────── */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 720px;
    max-width: 92vw;
    z-index: 999;
    background: linear-gradient(180deg, #0a0e20 0%, #111838 50%, #0d1228 100%);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.menu-overlay.open {
    transform: translateX(0);
}

.menu-overlay-inner {
    display: flex;
    flex-direction: column;
    padding: 100px 48px 48px;
    flex: 1;
    justify-content: center;
    gap: 48px;
}

.menu-overlay-nav {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.menu-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

/* ── Category labels (Premium style) ── */
.menu-col-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
    padding-bottom: 12px;
    margin-bottom: 6px;
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: flex-end;
    min-height: 5.2rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.04s, transform 0.4s ease 0.04s;
}
.menu-overlay.open .menu-col-label {
    opacity: 1;
    transform: translateY(0);
}

/* ── Sub-links with dash prefix ── */
.menu-overlay-sub {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
}
.menu-overlay-sub::before {
    content: "— ";
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}
.menu-overlay-sub:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Divider between sections within a column ── */
.menu-col-divider {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 10px 0;
}

.menu-overlay-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    letter-spacing: 0.01em;
    padding: 7px 0;
    transition: color 0.3s, transform 0.3s, padding-left 0.3s;
    transform: translateX(20px);
    opacity: 0;
}

.menu-overlay.open .menu-overlay-link {
    transform: translateX(0);
    opacity: 1;
}

/* Staggered animation delays for 3 columns */
.menu-col:nth-child(1) .menu-overlay-link:nth-child(2)  { transition-delay: 0.06s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(3)  { transition-delay: 0.08s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(4)  { transition-delay: 0.10s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(5)  { transition-delay: 0.12s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(7)  { transition-delay: 0.14s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(8)  { transition-delay: 0.16s; }
.menu-col:nth-child(1) .menu-overlay-link:nth-child(9)  { transition-delay: 0.18s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(2)  { transition-delay: 0.08s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(3)  { transition-delay: 0.10s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(4)  { transition-delay: 0.12s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(5)  { transition-delay: 0.14s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(7)  { transition-delay: 0.18s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(8)  { transition-delay: 0.20s; }
.menu-col:nth-child(2) .menu-overlay-link:nth-child(9)  { transition-delay: 0.22s; }
.menu-col:nth-child(3) .menu-overlay-link:nth-child(2)  { transition-delay: 0.10s; }
.menu-col:nth-child(3) .menu-overlay-link:nth-child(3)  { transition-delay: 0.12s; }
.menu-col:nth-child(3) .menu-overlay-link:nth-child(4)  { transition-delay: 0.14s; }

.menu-overlay-link:hover {
    color: #fff;
    padding-left: 8px;
}

.menu-overlay-contact {
    display: flex;
    gap: 24px;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-overlay.open .menu-overlay-contact {
    opacity: 1;
}

.menu-overlay-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-overlay-info:hover {
    color: var(--accent);
}

/* Legacy menu-toggle hidden */
.menu-toggle {
    display: none;
}

/* Non-hero pages: push content below fixed header + dark bg immediately */
body.no-hero {
    padding-top: 80px;
}

body.no-hero .site-header {
    background: rgba(15, 22, 42, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: #0a0e20;
    color: var(--text-light);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.6s ease;
}

/* ─── Hero Play Button (mobile only) ─────────────────────────────────────── */
.hero-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.4s ease, transform 0.3s ease;
    padding: 0;
    animation: hero-play-pulse 2.5s ease-in-out infinite;
}

.hero-play-btn svg {
    width: 80px;
    height: 80px;
    display: block;
}

.hero-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.5);
}

.hero-play-btn--hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes hero-play-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}

/* Desktop: hide play button (autoplay handles it) */
@media (min-width: 769px) {
    .hero-play-btn {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 120px;
    background: radial-gradient(ellipse at bottom right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-brand {
    margin-bottom: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 620px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}

.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 0.3em;
    font-weight: 500;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 90vw;
    max-width: 1100px;
    margin-bottom: 90px;
    flex-shrink: 0;
}

.hero-cta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-light);
    padding: 24px 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
    flex: 1;
    text-align: center;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d61616;
    z-index: -1;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.hero-cta:hover::before {
    transform: translateX(0);
}

.hero-cta:hover {
    border-color: #d61616;
    color: var(--text-light);
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

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

.section--dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.page-header {
    padding: 120px 0 40px;
}

/* ─── Services ────────────────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    padding: 32px;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent);
}

.service-link i {
    margin-left: 4px;
    transition: transform var(--transition);
}

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

/* ─── Property Cards ──────────────────────────────────────────────────────── */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.property-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    color: var(--text-dark);
    text-decoration: none;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.property-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-alt);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 2rem;
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.badge--for-sale {
    background: var(--success);
}

.badge--sold {
    background: var(--sold);
}

.badge--pending {
    background: var(--pending);
    color: var(--text-dark);
}

.badge--rental {
    background: #2563eb;
}

.badge--new {
    background: #f59e0b;
    color: #1a1a1a;
    top: 42px;
    left: 12px;
}

.property-photo-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.property-address {
    font-weight: 500;
    margin-bottom: 2px;
}

.property-city {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.property-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-details i {
    color: var(--accent);
    font-size: 0.8rem;
}

.property-type-label {
    background: var(--accent-light);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.property-card--sold {
    opacity: 0.85;
}

.property-card--sold:hover {
    opacity: 1;
}

/* ─── Listing Detail ──────────────────────────────────────────────────────── */
.listing-hero {
    padding: 100px 0 32px;
    background: var(--bg-alt);
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb span {
    margin: 0 6px;
}

.listing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.listing-title {
    font-size: 1.8rem;
    margin: 8px 0;
}

.listing-location {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.listing-location i {
    color: var(--accent);
    margin-right: 4px;
}

.listing-type {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.listing-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: right;
}

.price-sold {
    color: var(--sold);
}

.price-asked {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.listing-mls {
    text-align: right;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ─── Gallery ─────────────────────────────────────────────────────────────── */
.gallery-section {
    padding: 24px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 8px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.badge-open-house {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #cc0000;
    color: #fff;
    padding: 8px 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.4);
}

.gallery-item--main {
    grid-row: 1 / -1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ─── Lightbox ────────────────────────────────────────────────────────────── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close {
    top: 16px;
    right: 16px;
}

.lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ─── Listing Layout ──────────────────────────────────────────────────────── */
.listing-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}

.listing-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

/* ─── Open House ──────────────────────────────────────────────────────────── */
.open-house-section {
    background: #fffafa;
    border: 1px solid #ffebeb;
    border-left: 4px solid #cc0000;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 40px;
    border-bottom: none; /* override default listing-section */
}

.open-house-section h2 {
    color: #cc0000;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.open-house-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.open-house-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #ffebeb;
}

.open-house-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.oh-datetime {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.oh-date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.oh-time {
    background: #ffebeb;
    color: #cc0000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.oh-remarks {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 4px;
}

.listing-section h2 {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--accent);
}

.listing-description {
    line-height: 1.8;
    color: var(--text-dark);
}

/* ─── Quick Stats ─────────────────────────────────────────────────────────── */
.quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.stat i {
    color: var(--accent);
    font-size: 1.1rem;
}

.stat span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.stat small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ─── Tables ──────────────────────────────────────────────────────────────── */
.rooms-table,
.expenses-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.rooms-table th,
.expenses-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-alt);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rooms-table td,
.expenses-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.rooms-table tr:hover td,
.expenses-table tr:hover td {
    background: var(--accent-light);
}

/* ─── Property Specs Table (SEO auto-generated) ──────────────────────────── */
.property-specs-table {
    border-collapse: collapse;
    font-size: 0.9rem;
}

.property-specs-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}

.property-specs-table td:first-child {
    color: var(--text-muted);
    white-space: nowrap;
    width: 180px;
}

.property-specs-table tr:hover td {
    background: var(--accent-light);
}

/* ─── Tech Sheet ──────────────────────────────────────────────────────────── */
.tech-sheet {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tech-sheet td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.tech-sheet td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 40%;
    font-size: 0.85rem;
}

.tech-sheet td:last-child {
    font-weight: 500;
}

.tech-sheet tr:hover td {
    background: var(--accent-light);
}

/* ─── Sold Price Label ────────────────────────────────────────────────────── */
.price-sold-label {
    color: var(--sold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* ─── Features ────────────────────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.feature-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.feature-group ul {
    list-style: none;
}

.feature-group li {
    padding: 4px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.feature-complement {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─── Inclusions / Exclusions ─────────────────────────────────────────────── */
.inclusions-exclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ie-column {
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.ie-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ie-inclusions h4 {
    color: var(--success);
}

.ie-exclusions h4 {
    color: var(--sold);
}

.ie-column p {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .inclusions-exclusions-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Evaluation ──────────────────────────────────────────────────────────── */
.eval-grid {
    display: flex;
    gap: 24px;
}

.eval-item {
    flex: 1;
    padding: 16px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: center;
}

.eval-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.eval-item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.eval-total {
    background: var(--accent-light);
}

/* ─── Agent Card (Sidebar) ────────────────────────────────────────────────── */
.listing-sidebar {
    position: sticky;
    top: 96px;
}

.agent-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    margin-bottom: 16px;
}

.agent-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: none;
}

.agent-card h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.agent-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.agent-brokerage {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 2px;
}

.agent-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

/* ─── Sidebar Form ────────────────────────────────────────────────────────── */
.sidebar-form {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.sidebar-form h3 {
    font-size: 1rem;
    margin-bottom: 16px;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--accent {
    background: var(--accent);
    color: var(--text-light);
    border-color: var(--accent);
}

.btn--accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section--dark .btn--outline,
.program-cta .btn--outline,
.investir-cta-final .btn--outline {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.section--dark .btn--outline:hover,
.program-cta .btn--outline:hover,
.investir-cta-final .btn--outline:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn--full {
    width: 100%;
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.75rem;
}

/* ─── CTA Section ─────────────────────────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Forms ───────────────────────────────────────────────────────────────── */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
    background: var(--bg-primary);
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-status {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

.form-status.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
}

/* ─── Contact Page V2 — Hero Compact ─────────────────────────────────────── */
.contact-hero-v2 {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/assets/img/heroes/hero-contact.jpg") center 25%/cover no-repeat;
    color: var(--text-light);
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.contact-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.6) 50%, rgba(0,40,80,0.3) 100%);
    pointer-events: none;
}

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

.contact-hero-v2-badge {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
}

.contact-hero-v2 h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.contact-hero-v2 h1 .accent {
    color: var(--accent, #c1272d);
}

.contact-hero-v2 p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Contact Main (Formulaire + Coordonnées) ────────────────────────────── */
.contact-main {
    background: var(--bg-alt, #f5f7fa);
    padding: 60px 0 80px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-main-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.contact-main-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* ─── Sidebar coordonnées ────────────────────────────────────────────────── */
.contact-main-sidebar {
    background: var(--bg-dark, #1a1a2e);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text-light);
}

/* ─── Standing photo layout ──────────────────────────────────────────────── */
.contact-sidebar--standing {
    position: relative;
    min-height: 520px;
    display: flex;
    overflow: hidden;
}

.contact-standing-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    z-index: 1;
}

/* Gradient overlay on left side for text readability */
.contact-sidebar--standing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(to right, var(--bg-dark, #1a1a2e) 55%, transparent);
    z-index: 2;
}

.contact-standing-overlay {
    position: relative;
    z-index: 3;
    width: 55%;
    padding: 28px 20px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-sidebar--standing .contact-sidebar-info {
    padding: 0 0 16px;
}

.contact-sidebar--standing .contact-sidebar-details {
    padding: 16px 0;
    margin-top: 0;
    gap: 14px;
}

.contact-sidebar--standing .contact-sidebar-office {
    padding: 14px 0;
}

.contact-sidebar--standing .contact-sidebar-social {
    padding: 14px 0 0;
}

.contact-sidebar-info {
    padding: 24px 28px 0;
}

.contact-sidebar-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.contact-sidebar-title {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 2px;
    line-height: 1.4;
}

.contact-sidebar-brokerage {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.contact-sidebar-details {
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 20px;
}

.contact-sidebar-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

a.contact-sidebar-item:hover {
    color: var(--accent);
}

.contact-sidebar-item i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--accent);
    transition: background 0.2s;
}

a.contact-sidebar-item:hover i {
    background: var(--accent);
    color: #fff;
}

.contact-sidebar-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.contact-sidebar-value {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.contact-sidebar-value--sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.contact-sidebar-office {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.contact-sidebar-remax {
    width: 90px;
    height: auto;
    flex-shrink: 0;
}

.contact-sidebar-social {
    padding: 16px 28px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-sidebar-social .contact-sidebar-label {
    margin-bottom: 10px;
}

.contact-sidebar-social-links {
    display: flex;
    gap: 10px;
}

.contact-sidebar-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.contact-sidebar-social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* ─── Page 404 ─────────────────────────────────────────────────────────────── */
.error-hero {
    background: var(--bg-dark);
    padding: 80px 0 60px;
    text-align: center;
}
.error-hero-content { max-width: 600px; margin: 0 auto; }
.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), #6c7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}
.error-hero h1 { color: var(--text-light); font-size: 1.8rem; margin-bottom: 12px; }
.error-sub { color: var(--text-muted); font-size: 1.1rem; }

.error-links { padding: 60px 0; background: var(--bg-alt); }
.error-links h2 { text-align: center; margin-bottom: 40px; font-size: 1.6rem; color: var(--text-dark); }
.error-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.error-link-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.error-link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}
.error-link-icon {
    width: 56px; height: 56px;
    background: var(--bg-dark);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--text-light);
}
.error-link-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-dark); }
.error-link-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; margin: 0; }

.error-listings { padding: 60px 0; background: var(--bg-light, #fff); }
.error-listings h2 { margin-bottom: 32px; font-size: 1.4rem; color: var(--text-dark); }

.error-cities { padding: 60px 0; background: var(--bg-alt); }
.error-cities h2 { margin-bottom: 32px; font-size: 1.4rem; color: var(--text-dark); }
.error-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.error-city-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3/2;
    display: block;
}
.error-city-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.error-city-card:hover img { transform: scale(1.08); }
.error-city-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6), transparent 60%);
}
.error-city-name {
    position: absolute;
    bottom: 14px; left: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* ─── Contact Page — Form Section (legacy compat) ────────────────────────── */
.contact-form-section {
    background: var(--bg-alt);
    padding: 80px 0;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-premium {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cfp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cfp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cfp-field--full {
    grid-column: 1 / -1;
}

.cfp-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.cfp-field label i {
    color: var(--accent);
    font-size: 0.78rem;
    width: 14px;
    text-align: center;
}

.cfp-optional {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.72rem;
    margin-left: 4px;
}

.cfp-field input,
.cfp-field select,
.cfp-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.cfp-field input:focus,
.cfp-field select:focus,
.cfp-field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08);
}

.cfp-field input::placeholder,
.cfp-field textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.cfp-field textarea {
    resize: vertical;
    min-height: 100px;
}

.cfp-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Consent checkbox */
.cfp-consent {
    padding: 16px 20px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cfp-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.cfp-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--accent);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Submit button */
.cfp-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 4px;
}

.cfp-submit:hover {
    background: var(--accent-dark, #991b1b);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.25);
}

.cfp-submit:active {
    transform: translateY(0);
}

.cfp-submit i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cfp-submit:hover i {
    transform: translateX(3px);
}

/* ─── About ───────────────────────────────────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 48px;
    align-items: start;
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.about-title {
    color: var(--text-muted);
    margin-bottom: 2px;
}

.about-brokerage {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.about-bio {
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-bio p {
    margin-bottom: 16px;
}

.about-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.about-contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.about-contact-info i {
    color: var(--accent);
}

/* ─── Filters ─────────────────────────────────────────────────────────────── */
.filters-bar {
    background: var(--bg-alt);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.filters-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    padding: 10px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-primary);
    min-width: 180px;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
}

/* ─── Empty State ─────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
}

.empty-state h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.empty-state p {
    margin-bottom: 24px;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo-name {
    color: var(--text-light);
    font-size: 1rem;
}

.footer-logo .logo-tagline {
    color: var(--accent);
}

.footer-brokerage {
    color: var(--accent);
    font-weight: 600;
    margin-top: 8px;
    font-size: 0.85rem;
}

.footer-address {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a,
.footer-contact a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 0;
    font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--text-light);
}

.footer-contact a i {
    margin-right: 8px;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}
.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal-links a:hover {
    color: var(--accent, #be0000);
}
.footer-legal-links a + a::before {
    content: '·';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* ─── Reviews / Testimonials ──────────────────────────────────────────────── */
.reviews-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reviews-section.reviews--visible {
    opacity: 1;
    transform: translateY(0);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 16px;
}

.reviews-header-left {
    flex: 1;
}

.reviews-header .section-title {
    margin-bottom: 0.5rem;
}

.reviews-google-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.reviews-google-rating {
    display: flex;
    gap: 2px;
}

.reviews-google-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.reviews-google-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent);
    padding: 10px 20px;
    border: 2px solid var(--accent);
    border-radius: 30px;
    transition: all var(--transition);
    white-space: nowrap;
}

.reviews-google-link:hover {
    background: var(--accent);
    color: #fff;
}

.reviews-google-logo {
    height: 18px;
    width: auto;
}

/* Carousel */
.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviews-viewport {
    overflow: hidden;
    flex: 1;
}

.reviews-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
    padding: 28px 32px 32px;
    margin: 0 10px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 340px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition), box-shadow var(--transition);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Avatar */
.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 16px;
    flex-shrink: 0;
}

/* Stars */
.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.review-star {
    color: #f59e0b;
    font-size: 1rem;
}

.review-star--empty {
    color: rgba(245, 158, 11, 0.3);
}

/* Text */
.review-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(240, 240, 245, 0.85);
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
    border: none;
    padding: 0;
}

.review-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: auto;
}

/* Nav Buttons */
.reviews-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition);
    flex-shrink: 0;
    z-index: 2;
}

.reviews-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.reviews-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Dots */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.reviews-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.reviews-dot:hover:not(.active) {
    background: var(--text-muted);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {

    .error-links-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .error-cities-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .error-code { font-size: 5rem; }
    .error-hero { padding: 60px 0 40px; }

    .nav-primary,
    .nav-cta {
        display: none;
    }

    .menu-overlay-nav {
        flex-direction: column;
        gap: 24px;
    }

    .menu-col-label {
        font-size: 1.1rem;
    }

    .menu-overlay-link {
        font-size: 1rem;
    }

    .menu-overlay-contact {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero {
        min-height: 500px;
        padding-top: 40vh;
    }

    .hero-name {
        font-size: 2rem;
    }

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

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

    .listing-header {
        flex-direction: column;
    }

    .listing-layout {
        grid-template-columns: 1fr;
    }

    .listing-sidebar {
        position: static;
    }

    .contact-hero-v2 {
        padding: 120px 0 50px;
        min-height: auto;
    }

    .contact-hero-v2 h1 {
        font-size: 2rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-sidebar--standing {
        min-height: auto;
        flex-direction: column;
    }

    .contact-standing-img {
        position: relative;
        width: 100%;
        height: 260px;
        object-position: top center;
    }

    .contact-sidebar--standing::before {
        display: none;
    }

    .contact-standing-overlay {
        width: 100%;
        padding: 24px;
    }




    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-photo img {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 250px 150px;
    }

    .gallery-item--main {
        grid-column: 1 / -1;
    }

    .form-row,
    .cfp-row {
        grid-template-columns: 1fr;
    }

    .eval-grid {
        flex-direction: column;
    }

    .filters-form {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        padding: 0 24px;
    }

    .hero-cta {
        padding: 14px 32px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-google-link {
        align-self: flex-start;
    }

    .reviews-nav {
        display: none;
    }

    .reviews-carousel {
        gap: 0;
    }

    .review-card {
        margin: 0 6px;
        padding: 24px 20px 28px;
        min-height: 300px;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 48px 0;
    }

    .page-header {
        padding: 96px 0 32px;
    }

    .quick-stats {
        gap: 16px;
    }

    .stat {
        min-width: 60px;
    }

    .review-card {
        padding: 20px 16px 24px;
        min-height: 280px;
    }

    .review-avatar {
        width: 52px;
        height: 52px;
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.85rem;
    }
}

/* ─── Blog ────────────────────────────────────────────────────────────────── */

/* ══ LISTING PAGE ══════════════════════════════════════════════════════════ */

/* Listing Hero — Premium-style dark bar */
.blog-listing-hero {
    background: #1a2332;
    padding: 7rem 0 3rem;
    margin-top: 0;
}

.blog-listing-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-listing-hero-sub {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.blog-listing-hero h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.blog-listing-section {
    background: #f4f6f8;
    padding: 3rem 0 5rem;
}

/* Category Filter — Premium-style dropdown */
.blog-category-filter {
    margin-bottom: 2.5rem;
    max-width: 350px;
}

.blog-category-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-bottom: 8px;
}

.blog-category-select-wrap {
    position: relative;
}

.blog-category-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0;
    padding: 12px 40px 12px 16px;
    font-size: 0.95rem;
    color: #1a1a2e;
    cursor: pointer;
    transition: border-color 0.2s;
    font-family: inherit;
}

.blog-category-select:focus {
    outline: none;
    border-color: var(--accent);
}

.blog-category-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

/* Empty state */
.blog-empty {
    text-align: center;
    padding: 5rem 2rem;
}

.blog-empty-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-empty-text {
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}

/* Blog Grid — 3 columns like Premium */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Blog Card — full clickable block */
.blog-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ffffff;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3445 0%, #1a2332 100%);
}

.blog-card-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: auto;
    color: #1a1a2e;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-readmore {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
}

/* ══ BLOG PAGINATION ════════════════════════════════════════════════════ */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 48px 0 8px;
    padding: 0;
}

.blog-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark, #1a1a2e);
    background: var(--bg-alt, #f0f2f5);
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.blog-page-btn:hover:not(.disabled) {
    background: var(--accent, #be0000);
    color: #fff;
    border-color: var(--accent, #be0000);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(190,0,0,0.25);
}

.blog-page-btn.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.blog-page-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.blog-page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 8px;
}

.blog-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-dark, #1a1a2e);
    background: transparent;
    transition: all 0.2s ease;
}

.blog-page-num:hover:not(.active) {
    background: var(--bg-alt, #f0f2f5);
    color: var(--accent, #be0000);
}

.blog-page-num.active {
    background: var(--accent, #be0000);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(190,0,0,0.3);
}

.blog-page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 40px;
    color: var(--text-muted, #999);
    font-size: 1rem;
    letter-spacing: 2px;
}

.blog-page-info {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted, #999);
    margin: 8px 0 0;
    letter-spacing: 0.03em;
}

@media (max-width: 640px) {
    .blog-pagination {
        gap: 4px;
    }
    .blog-page-btn span {
        display: none;
    }
    .blog-page-btn {
        padding: 10px 14px;
    }
    .blog-page-numbers {
        margin: 0 4px;
        gap: 2px;
    }
    .blog-page-num {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* ══ ARTICLE PAGE ══════════════════════════════════════════════════════════ */

/* Reading Progress Bar */
.blog-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Hero — Full viewport background image (Premium style) */
.blog-post-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.55) 100%);
}

.blog-post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-post-hero-sub {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.blog-post-hero-content h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Article wrapper */
.blog-article-wrapper {
    background: #ffffff;
    padding: 0 0 4rem;
}

.blog-article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Back link */
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 2.5rem 0 2rem;
    transition: color 0.2s;
}

.blog-back-link:hover {
    color: var(--accent);
}

/* Article Header (no hero fallback) */
.blog-article-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-article-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.blog-article-header h1 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.blog-article-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Table of Contents */
.blog-toc {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--accent);
}

.blog-toc-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.blog-toc ol {
    list-style: none;
    counter-reset: toc;
    padding: 0;
    margin: 0;
}

.blog-toc li {
    counter-increment: toc;
    margin-bottom: 0.4rem;
}

.blog-toc li::before {
    content: counter(toc) ".";
    color: var(--accent);
    font-weight: 600;
    margin-right: 8px;
    font-size: 0.85rem;
}

.blog-toc a {
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-toc a:hover {
    color: var(--accent);
}

/* Article Content — Clean Premium Typography */
.blog-article-content {
    line-height: 1.85;
    font-size: 1.05rem;
    color: #374151;
}

.blog-article-content h2 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

.blog-article-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

.blog-article-content p {
    margin-bottom: 1.5rem;
}

.blog-article-content ul,
.blog-article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-article-content li {
    margin-bottom: 0.6rem;
    line-height: 1.75;
}

.blog-article-content strong {
    color: #1a1a2e;
    font-weight: 700;
}

.blog-article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    background: #f9fafb;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #6b7280;
    font-size: 1.05rem;
}

/* In-content images */
.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem auto;
    display: block;
}

/* FAQ Section */
.blog-faq {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.blog-faq-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.blog-faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.blog-faq-question {
    font-weight: 600;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    color: #1a1a2e;
    font-size: 0.95rem;
}

.blog-faq-answer {
    padding: 1rem 1.25rem;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Share Buttons */
.blog-share {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 3rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.blog-share-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
}

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.blog-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.blog-share-btn--fb {
    background: #1877f2;
}

.blog-share-btn--li {
    background: #0a66c2;
}

.blog-share-btn--email {
    background: #6b7280;
}

.blog-share-btn--copy {
    background: #374151;
}

/* Author Box */
.blog-author-box {
    margin-top: 3rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.blog-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-info strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
    color: #1a1a2e;
}

.blog-author-info p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-author-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cta-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta-small:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 0, 0, 0.25);
}

.btn-cta-small--outline {
    background: transparent;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-cta-small--outline:hover {
    background: #f9fafb;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: none;
}

/* CTA Section (between article and related) */
.blog-cta-section {
    background: #f4f6f8;
    text-align: center;
    padding: 4rem 2rem;
}

.blog-cta-label {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.blog-cta-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: #1a1a2e;
}

.blog-cta-title span {
    color: var(--accent);
    font-weight: 700;
}

.blog-cta-sub {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Related Articles */
.blog-related-section {
    background: #ffffff;
    padding: 4rem 0 5rem;
}

.blog-related-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Scroll animations */
.blog-card[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══ BLOG RESPONSIVE ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-listing-hero {
        padding: 5rem 0 2rem;
    }

    .blog-listing-hero h1 {
        font-size: 2.2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-hero {
        height: 60vh;
        min-height: 350px;
    }

    .blog-post-hero-content h1 {
        font-size: 2rem;
    }

    .blog-post-hero-content {
        padding: 0 1.5rem 2.5rem;
    }

    .blog-article-header h1 {
        font-size: 1.8rem;
    }

    .blog-article-content {
        font-size: 1rem;
    }

    .blog-article-meta {
        gap: 12px;
    }

    .blog-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blog-author-links {
        justify-content: center;
    }

    .blog-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-toc {
        padding: 1.25rem;
    }

    .blog-cta-title {
        font-size: 1.6rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VILLES / CITIES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Hero (Index & City) ──────────────────────────────────────────────────── */
.cities-hero,
.city-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: -80px;
    display: flex;
    align-items: flex-end;
    padding: 0 0 60px;
    overflow: hidden;
}

/* ─── Scroll Indicator (Mouse) ─────────────────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.85;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2.4s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-mouse {
    width: 28px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 14px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.8s ease-in-out infinite;
}

.scroll-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-family: 'Montserrat', sans-serif;
}

@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    50%  { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

.cities-hero-bg,
.city-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cities-hero-bg img,
.city-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.cities-hero-overlay,
.city-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.cities-hero-content,
.city-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cities-hero-badge,
.city-hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}

.cities-hero-content h1,
.city-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 8px;
}

.cities-hero-content p,
.city-hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-style: italic;
}

/* ─── Intro Section ────────────────────────────────────────────────────────── */
.cities-intro {
    padding: 80px 0;
}

.cities-intro-grid,
.city-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.cities-intro-left h2,
.city-about-left h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a2e;
    line-height: 1.2;
    font-style: italic;
}

.cities-intro-right p,
.city-about-right p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

/* ─── Cities Grid (Index) ──────────────────────────────────────────────────── */
.cities-grid-section {
    padding: 0 0 80px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.city-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.city-card-image {
    position: absolute;
    inset: 0;
}

.city-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.city-card:hover .city-card-image img {
    transform: scale(1.08);
}

.city-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 60%);
    transition: background 0.3s ease;
}

.city-card:hover .city-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 70%);
}

.city-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.city-card-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
}

.city-card-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    font-style: italic;
}

/* ─── City About (Individual Page) ─────────────────────────────────────────── */
.city-about {
    padding: 80px 0;
}

.city-highlights {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.city-highlights h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.city-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.city-highlights li {
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-highlights li i {
    color: #003da6;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.city-pop {
    margin-top: 24px;
    padding: 12px 20px;
    background: #f5f7fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
    display: inline-block;
}

.city-pop i {
    color: #003da6;
    margin-right: 6px;
}

/* ─── City Listings ────────────────────────────────────────────────────────── */
.city-listings {
    padding: 60px 0 80px;
    background: #f8f9fb;
}

.city-listings h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 32px;
}

.city-listings h2 i {
    color: #003da6;
    margin-right: 10px;
}

.city-demand-notice {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #003da6;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.city-demand-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #003da6, #0056d6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
}

.city-demand-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px !important;
}

.city-demand-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 12px;
}

.city-demand-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.city-demand-actions .btn i {
    margin-right: 6px;
}

.city-demand-actions .btn-outline {
    background: transparent;
    border: 2px solid #003da6;
    color: #003da6;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.city-demand-actions .btn-outline:hover {
    background: #003da6;
    color: #fff;
}

@media (max-width: 768px) {
    .city-demand-notice {
        flex-direction: column;
        padding: 28px;
    }

    .city-demand-actions {
        flex-direction: column;
    }

    .city-demand-actions .btn {
        text-align: center;
    }
}

/* ─── Cities CTA ───────────────────────────────────────────────────────────── */
.cities-cta {
    padding: 80px 0;
    background: #fff;
}

.cities-cta-inner {
    max-width: 640px;
}

.cities-cta-badge {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.cities-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    font-style: italic;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.cities-cta p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ─── Back Link ────────────────────────────────────────────────────────────── */
.city-back {
    padding: 24px 0;
    background: #f8f9fb;
    border-top: 1px solid #eee;
}

.city-back a {
    font-size: 0.95rem;
    color: #003da6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.city-back a:hover {
    color: #002d7a;
}

.city-back a i {
    margin-right: 6px;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cities-hero,
    .city-hero {
        height: 100vh;
        min-height: 500px;
        padding-bottom: 40px;
    }

    .cities-hero-content h1,
    .city-hero-content h1 {
        font-size: 2.4rem;
    }

    .cities-intro-grid,
    .city-about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .city-highlights ul {
        grid-template-columns: 1fr;
    }

    .cities-intro,
    .city-about,
    .cities-cta {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .cities-hero-content h1,
    .city-hero-content h1 {
        font-size: 1.8rem;
    }

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

    .city-card {
        aspect-ratio: 16/9;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — À PROPOS HERO (Ticket #244)
   ═══════════════════════════════════════════════════════════════════════════ */

.about-hero-section {
    background: #f8f9fb;
    padding: 5rem 0;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    max-height: 480px;
}

.about-hero-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ff4444);
}

.about-hero-photo img {
    width: 100%;
    height: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
    object-position: center 20%;
}

.section-title--left {
    text-align: left;
}

.section-title--left::after {
    margin-left: 0;
    margin-right: auto;
}

.about-hero-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    font-weight: 500;
    margin-bottom: 1rem;
}

.about-hero-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.about-hero-text .btn {
    margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — CARTE VENDUS (Ticket #245)
   ═══════════════════════════════════════════════════════════════════════════ */

.sold-map-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.sold-map-home {
    height: 420px;
    min-height: 420px;
    width: 100%;
    z-index: 1;
    position: relative;
    background: #e5e7eb;
}

.sold-map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 500;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.sold-map-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sold-map-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.sold-map-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 600;
    margin-top: 4px;
}

.sold-map-actions {
    text-align: center;
    margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — BLOGUE (Ticket #246)
   ═══════════════════════════════════════════════════════════════════════════ */

.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 2rem;
}

.blog-home-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid #f0f0f0;
}

.blog-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.blog-home-image {
    height: 200px;
    overflow: hidden;
}

.blog-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-home-card:hover .blog-home-image img {
    transform: scale(1.06);
}

.blog-home-no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #eee);
    color: #ccc;
    font-size: 2rem;
}

.blog-home-content {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-home-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 650;
    color: #1a1a2e;
    margin: 0 0 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-home-content p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 1rem;
}

.blog-home-read {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.blog-home-card:hover .blog-home-read {
    color: var(--accent-hover);
}

.blog-home-read i {
    font-size: 0.7rem;
    transition: transform 0.2s;
    margin-left: 4px;
}

.blog-home-card:hover .blog-home-read i {
    transform: translateX(3px);
}

.blog-home-actions {
    text-align: center;
    margin-top: 2.5rem;
}

/* ─── RE/MAX Programmes — Protections ────────────────────────────────────── */
.remax-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.remax-program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 28px 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-dark);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.remax-program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text-dark);
}

.remax-program-logo {
    width: 100%;
    max-width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.remax-program-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.remax-program-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.remax-program-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.remax-program-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.remax-program-card:hover .remax-program-link {
    color: var(--accent-hover);
}

.remax-program-link i {
    font-size: 0.65rem;
    margin-left: 6px;
    transition: transform 0.2s;
}

.remax-program-card:hover .remax-program-link i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS — RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-hero-photo {
        max-width: 320px;
        margin: 0 auto;
    }

    .about-hero-photo img {
        aspect-ratio: 1/1;
    }

    .section-title--left {
        text-align: center;
    }

    .section-title--left::after {
        margin: 0.75rem auto 0;
    }

    .about-hero-text .btn {
        margin: 1.5rem auto 0;
        display: inline-flex;
    }

    .sold-map-home {
        height: 300px;
    }

    .sold-map-overlay {
        top: 10px;
        left: 10px;
        padding: 10px 16px;
    }

    .sold-map-number {
        font-size: 1.6rem;
    }

    .blog-home-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .remax-programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .about-hero-section {
        padding: 3rem 0;
    }

    .about-hero-photo {
        max-width: 260px;
    }

    .sold-map-home {
        height: 250px;
    }

    .blog-home-image {
        height: 180px;
    }

    .remax-program-card {
        padding: 28px 20px 24px;
    }
}

/* ==========================================================================
   PAGE OUTILS — Calculatrices financières
   ========================================================================== */

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
.tools-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 80px;
    background: url("/assets/img/heroes/hero-outils.png") center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}
.tools-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.65) 50%, rgba(0,60,120,0.25) 100%);
    pointer-events: none;
}
.tools-hero .container {
    position: relative;
    z-index: 1;
}
.tools-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #93c5fd;
    background: rgba(0, 90, 180, 0.25);
    border: 1px solid rgba(0, 90, 180, 0.4);
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
}
.tools-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}
.tools-hero h1 span {
    color: var(--accent);
    display: block;
}
.tools-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Section communes ─────────────────────────────────────────────────────── */
.tools-section {
    padding: 80px 0;
}
.tools-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.tools-section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.tools-section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Calculator Card (light) ──────────────────────────────────────────────── */
.tools-calc-section {
    background: #f8f9ff;
}
.tools-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.tools-calc-form {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.tools-form-group {
    margin-bottom: 20px;
}
.tools-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.tools-form-group input,
.tools-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--bg-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.tools-form-group input:focus,
.tools-form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(190, 0, 0, 0.08);
}
.tools-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tools-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px;
}
.tools-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(190, 0, 0, 0.25);
}
.tools-btn i {
    font-size: 0.85rem;
}
.tools-schl-note {
    display: none;
    margin-top: 12px;
    padding: 10px 14px;
    font-size: 0.78rem;
    color: var(--accent);
    background: rgba(190, 0, 0, 0.04);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
}
.tools-schl-note.show {
    display: block;
}

/* ─── Calculator Results ───────────────────────────────────────────────────── */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tools-calc-results {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
}
#calcResultContent { animation: fadeSlideUp .45s ease-out; }
.tools-ratio-card { animation: fadeSlideUp .4s ease-out; }
/* ─── Validation error state ───────────────────────────────────────────────── */
.tools-form-error {
    color: #ff6b6b;
    font-size: 0.82rem;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 6px;
}
.tools-form-error.show { display: flex; }
.tools-form-group input.input-error { border-color: #ff6b6b; box-shadow: 0 0 0 2px rgba(255,107,107,.15); }
.tools-result-hero {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tools-result-hero .tools-result-label {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}
.tools-result-hero .tools-result-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.tools-result-hero .tools-result-suffix {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-left: 4px;
}
.tools-result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tools-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tools-result-row:last-child {
    border-bottom: none;
}
.tools-result-row .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
.tools-result-row .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.tools-result-row.schl-row {
    color: var(--accent);
}
.tools-result-row.schl-row .label,
.tools-result-row.schl-row .value {
    color: var(--accent);
}
.tools-result-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    padding: 60px 20px;
}
.tools-result-placeholder i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ─── GDS/TDS Ratio Section (dark) ─────────────────────────────────────────── */
.tools-ratio-section {
    background: var(--bg-dark);
    padding: 80px 0;
    color: var(--text-light);
}
.tools-ratio-section .tools-section-header h2 {
    color: var(--text-light);
}
.tools-ratio-section .tools-section-header p {
    color: rgba(255,255,255,0.55);
}
.tools-ratio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.tools-ratio-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.tools-ratio-form label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}
.tools-ratio-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
    transition: all var(--transition);
    outline: none;
}
.tools-ratio-form input::placeholder {
    color: rgba(255,255,255,0.25);
}
.tools-ratio-form input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(190, 0, 0, 0.15);
}
.tools-ratio-form .tools-form-note {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: -10px;
}
.tools-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    color: #fff;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all var(--transition);
}
.tools-btn-outline:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(190, 0, 0, 0.3);
}

/* ─── Ratio Results ────────────────────────────────────────────────────────── */
.tools-ratio-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}
.tools-ratio-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.tools-ratio-card .ratio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.tools-ratio-card .ratio-name {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    font-family: 'Montserrat', sans-serif;
}
.tools-ratio-card .ratio-status {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.tools-ratio-card .ratio-status.ok {
    background: rgba(22, 163, 74, 0.15);
    color: #4ade80;
}
.tools-ratio-card .ratio-status.warn {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
.tools-ratio-card .ratio-status.danger {
    background: rgba(220, 38, 38, 0.15);
    color: #f87171;
}
.tools-ratio-card .ratio-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.tools-ratio-card .ratio-value.ok { color: #4ade80; }
.tools-ratio-card .ratio-value.warn { color: #fbbf24; }
.tools-ratio-card .ratio-value.danger { color: #f87171; }
.tools-ratio-card .ratio-bar {
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}
.tools-ratio-card .ratio-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease, background var(--transition);
}
.tools-ratio-card .ratio-bar-fill.ok { background: #4ade80; }
.tools-ratio-card .ratio-bar-fill.warn { background: #fbbf24; }
.tools-ratio-card .ratio-bar-fill.danger { background: #f87171; }
.tools-ratio-card .ratio-max {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
}
.tools-ratio-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.2);
    font-size: 0.85rem;
    padding: 40px 20px;
}
.tools-ratio-placeholder i {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.3;
}

/* ─── Info Cards (Knowledge) ───────────────────────────────────────────── */
.tools-info-section {
    background: var(--bg-alt);
}
.tools-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.tools-info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}
.tools-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(190, 0, 0, 0.08);
}
.tools-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.tools-info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.tools-info-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ─── Strategy / CTA Section ───────────────────────────────────────────── */
.tools-strategy-section {
    background: var(--bg-primary);
    padding: 100px 0;
}
.tools-strategy-inner {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.tools-strategy-content .tools-strategy-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent);
    background: rgba(190, 0, 0, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}
.tools-strategy-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.15;
}
.tools-strategy-content > p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}
.tools-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.tools-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tools-feature .feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.tools-feature h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.tools-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ─── Strategy Visual (right column) ───────────────────────────────────── */
.tools-strategy-visual {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.tools-strategy-visual .strat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(190, 0, 0, 0.12);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 28px;
}
.tools-strategy-visual h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.tools-strategy-visual p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    line-height: 1.6;
}
.tools-strategy-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.tools-strategy-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 0, 0, 0.3);
}

/* ─── Responsive: Outils ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .tools-hero {
        padding: 130px 0 60px;
        min-height: auto;
    }
    .tools-calc-grid,
    .tools-ratio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tools-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tools-strategy-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tools-strategy-visual {
        order: -1;
        min-height: 280px;
        padding: 36px 24px;
    }
    .tools-form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tools-calc-form {
        padding: 24px;
    }
    .tools-calc-results {
        padding: 28px 24px;
        min-height: auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.legal-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 0 80px;
    background: center 25%/cover no-repeat;
    text-align: center;
    overflow: hidden;
}
.legal-hero--politique { background-image: url("/assets/img/heroes/hero-politique.png"); }
.legal-hero--conditions { background-image: url("/assets/img/heroes/hero-conditions.png"); }
.legal-hero--consentement { background-image: url("/assets/img/heroes/hero-consentement.png"); }
.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.60) 50%, rgba(0,40,80,0.25) 100%);
    pointer-events: none;
}
.legal-hero .container {
    position: relative;
    z-index: 1;
}
.legal-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #93c5fd;
    background: rgba(0, 90, 180, 0.25);
    border: 1px solid rgba(0, 90, 180, 0.4);
    padding: 8px 20px;
    border-radius: 40px;
    margin-bottom: 24px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}
.legal-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}
.legal-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Legal hero icon accent ─────────────────────────────────────────────── */
.legal-hero-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* ─── Legal content improvements ─────────────────────────────────────────── */
.legal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary, #1a1a2e);
    margin-top: 32px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}
.legal-content ul {
    padding-left: 20px;
    margin: 12px 0;
}
.legal-content ul li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .legal-hero {
        min-height: 45vh;
        padding: 140px 0 60px;
    }
    .legal-hero h1 {
        font-size: 1.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOME — SEO/GEO/AEO Sections (2026-04)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Live Market Stats ──────────────────────────────────────────────────── */
.market-live-section {
    background: linear-gradient(135deg, #0a0e20 0%, #111838 50%, #0d1228 100%);
    color: #fff;
    padding: 60px 0;
}

.market-live-header .section-title {
    color: #fff;
}

.market-live-header .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.market-live-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
    50% { opacity: 0.5; box-shadow: 0 0 12px #22c55e, 0 0 24px rgba(34, 197, 94, 0.3); }
}

.market-live-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.market-live-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: all var(--transition);
}

.market-live-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.market-live-card i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 4px;
}

.market-live-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.market-live-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.market-live-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.market-live-badge.badge-up {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.market-live-badge.badge-down {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.market-live-period {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 20px;
    font-style: italic;
}

.market-live-cta {
    text-align: center;
    margin-top: 24px;
}

/* ─── Hero H1 (SEO) ─────────────────────────────────────────────────────── */
.hero-h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    margin: 0 0 6px;
    text-align: center;
    max-width: 800px;
}

.hero-h1-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.75rem, 1.4vw, 0.95rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
    margin: 0 0 28px;
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
}

/* ─── Trust Bar (E-E-A-T) ────────────────────────────────────────────────── */
.trust-bar {
    background: linear-gradient(135deg, #0d1228 0%, #141d3d 100%);
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.trust-bar-item i {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 2px;
}

.trust-bar-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.trust-bar-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ─── Territories Grid (GEO) ────────────────────────────────────────────── */
.territories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.territory-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-dark);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.territory-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text-dark);
}

.territory-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.territory-tagline {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 10px;
    flex: 1;
}

.territory-pop {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.territory-pop i {
    color: var(--accent);
    margin-right: 4px;
}

.territory-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
}

.territory-link i {
    margin-left: 4px;
    transition: transform var(--transition);
}

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

.territories-actions {
    text-align: center;
    margin-top: 32px;
}

/* ─── FAQ Accordion (AEO) ────────────────────────────────────────────────── */
.faq-grid {
    max-width: 800px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item[open] {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    user-select: none;
    transition: color var(--transition);
}

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

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ─── Responsive — New Sections ──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .territories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-h1 {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }
    .hero-h1-sub {
        font-size: 0.75rem;
        padding: 0 16px;
        margin-bottom: 20px;
    }
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .trust-bar-number {
        font-size: 1.3rem;
    }
    .territories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .faq-question {
        font-size: 0.88rem;
        padding: 16px 18px;
    }
    .faq-answer {
        padding: 0 18px 16px;
    }
    .market-live-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .market-live-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .trust-bar-number {
        font-size: 1.1rem;
    }
    .trust-bar-label {
        font-size: 0.7rem;
    }
    .territories-grid {
        grid-template-columns: 1fr;
    }
    .market-live-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .market-live-value {
        font-size: 1.2rem;
    }
    .market-live-card {
        padding: 16px 12px;
    }
}

/* ─── Territory Live Stats ───────────────────────────────────────────────── */
.territory-stats-live {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.territory-listings {
    font-size: 0.75rem;
    color: #4ade80;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(34,197,94,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    animation: fadeInUp 0.6s ease;
}
.territory-listings i {
    font-size: 0.65rem;
}

/* ─── City Market Stats Dashboard ────────────────────────────────────────── */
.city-market-stats {
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}
.city-market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.city-market-header h2 {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
}
.city-market-header h2 span {
    color: var(--accent);
}
.city-market-period {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.city-market-period .pulse-dot {
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
.city-market-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.city-kpi {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition);
}
.city-kpi:hover {
    border-color: rgba(190,0,0,0.3);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.city-kpi-value {
    font-family: "Montserrat", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}
.city-kpi-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* Stats Table */
.city-stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}
.city-stats-table thead th {
    background: rgba(255,255,255,0.06);
    padding: 14px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.6);
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.city-stats-table thead th:first-child {
    text-align: left;
}
.city-stats-table tbody tr {
    transition: background 0.2s;
}
.city-stats-table tbody tr:hover {
    background: rgba(255,255,255,0.04);
}
.city-stats-table tbody td {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.city-stats-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #fff;
}
.city-stats-table .table-pct-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.city-stats-table .pct-above {
    background: rgba(34,197,94,0.15);
    color: #4ade80;
}
.city-stats-table .pct-below {
    background: rgba(239,68,68,0.15);
    color: #f87171;
}
.city-stats-source {
    text-align: right;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .city-market-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    .city-stats-table {
        font-size: 0.8rem;
    }
    .city-stats-table thead th,
    .city-stats-table tbody td {
        padding: 10px 8px;
    }
}
@media (max-width: 480px) {
    .city-market-kpis {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .city-kpi {
        padding: 16px 12px;
    }
    .city-kpi-value {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   Enfant Soleil — Section ambassadeur (Cause caritative)
   ========================================================================== */
.enfant-soleil-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF3D6 40%, #FFEBC6 100%);
    position: relative;
    overflow: hidden;
}

.enfant-soleil-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 184, 1, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.enfant-soleil-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: 0 8px 40px rgba(241, 135, 1, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(247, 184, 1, 0.2);
    overflow: hidden;
}

.enfant-soleil-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(247, 184, 1, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.enfant-soleil-content {
    position: relative;
    z-index: 1;
}

.enfant-soleil-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F7B801, #F18701);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.enfant-soleil-badge i {
    font-size: 0.72rem;
}

.enfant-soleil-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 16px;
}

.enfant-soleil-intro {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 12px;
    font-weight: 500;
}

.enfant-soleil-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.enfant-soleil-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.enfant-soleil-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(247, 184, 1, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(247, 184, 1, 0.2);
}

.enfant-soleil-stat i {
    color: #F18701;
    font-size: 1.1rem;
}

.enfant-soleil-stat span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.02em;
}

.enfant-soleil-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #F7B801, #F18701);
    color: #fff;
    padding: 16px 36px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(241, 135, 1, 0.3);
}

.enfant-soleil-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(241, 135, 1, 0.4);
    color: #fff;
    background: linear-gradient(135deg, #F9C22E, #F18701);
}

.enfant-soleil-btn i {
    font-size: 1rem;
}

.enfant-soleil-footer {
    margin-top: 16px;
    font-size: 0.8rem;
    color: #F18701;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Visual — Promotional Image */
.enfant-soleil-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.enfant-soleil-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(241, 135, 1, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.enfant-soleil-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 48px rgba(241, 135, 1, 0.3), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .enfant-soleil-card {
        grid-template-columns: 1fr;
        padding: 36px 28px;
        text-align: center;
    }

    .enfant-soleil-visual {
        order: -1;
    }

    .enfant-soleil-img {
        max-width: 340px;
    }

    .enfant-soleil-stats {
        justify-content: center;
    }

    .enfant-soleil-title {
        font-size: 1.5rem;
    }

    .enfant-soleil-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .enfant-soleil-section {
        padding: 60px 0;
    }

    .enfant-soleil-card {
        padding: 28px 20px;
    }

    .enfant-soleil-img {
        max-width: 280px;
    }

    .enfant-soleil-stats {
        flex-direction: column;
        gap: 12px;
    }

    .enfant-soleil-stat {
        justify-content: center;
    }
}
