/* ============================================================
   MORKACH IMMOBILIER | Front public — Brutalist Premium
   Times New Roman | mobile-first | zero radius | shadow 6px
   Design system aligne sur le CRM /admin/
   ============================================================ */

:root {
    --black: #000;
    --black-soft: #1a1a1a;
    --white: #fff;
    --white-off: #f8f8f8;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --green: #059669;
    --green-light: #d1fae5;
    --orange: #6E4624;       /* brun chocolat profond — palette terre Marrakech */
    --orange-light: #f0e2d0;  /* sable clair — fond doux complementaire */
    --red: #dc2626;
    --blue: #2563eb;
    --teal: #0d9488;
    --header-h: 80px;
    --shadow: 6px 6px 0 var(--black);
    --shadow-hover: 10px 10px 0 var(--black);
    --shadow-sm: 3px 3px 0 var(--black);
    --font: 'Times New Roman', Georgia, serif;
    --transition: all .25s cubic-bezier(.4,0,.2,1);
    --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white-off);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHIE */
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 800; line-height: 1.15; color: var(--black); letter-spacing: -.5px; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { font-size: 1rem; }

/* CONTAINER */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
    background: var(--black); color: var(--white);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 4px solid var(--white);
}
.header-inner {
    display: flex; align-items: center; gap: 24px;
    height: var(--header-h); padding: 0 24px;
    max-width: var(--max-w); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
    height: 76px; width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform .18s ease;
    display: block;
}
.brand:hover img { transform: scale(1.04); }
@media (max-width: 768px) {
    .brand img { height: 56px; }
}

.main-nav { display: none; gap: 22px; margin-left: auto; align-items: center; }
.main-nav a {
    color: rgba(255,255,255,.78);
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 9px;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--white); }

/* Glowing nav dots — wow effect (blanc lumineux par defaut, vert pour page active) */
.nav-dot {
    position: relative;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, rgba(255,255,255,0.95) 55%, rgba(255,255,255,0.55) 100%);
    box-shadow:
        0 0 4px rgba(255,255,255,0.95),
        0 0 9px rgba(255,255,255,0.65),
        0 0 16px rgba(255,255,255,0.4);
    animation: navDotPulse 2.6s ease-in-out infinite;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
    flex-shrink: 0;
}
.main-nav a:nth-of-type(1) .nav-dot { animation-delay: 0s; }
.main-nav a:nth-of-type(2) .nav-dot { animation-delay: .35s; }
.main-nav a:nth-of-type(3) .nav-dot { animation-delay: .7s; }
.main-nav a:nth-of-type(4) .nav-dot { animation-delay: 1.05s; }
.main-nav a:nth-of-type(5) .nav-dot { animation-delay: 1.4s; }
.main-nav a:nth-of-type(6) .nav-dot { animation-delay: 1.75s; }

.main-nav a:hover .nav-dot {
    transform: scale(1.55);
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ffffff 50%, rgba(255,255,255,0.7) 100%);
    box-shadow:
        0 0 6px rgba(255,255,255,1),
        0 0 14px rgba(255,255,255,0.95),
        0 0 24px rgba(255,255,255,0.7),
        0 0 36px rgba(255,255,255,0.4);
}
.main-nav a.active .nav-dot {
    background: radial-gradient(circle at 30% 30%, #d1fae5 0%, var(--green) 55%, #034f3a 100%);
    box-shadow:
        0 0 6px rgba(255,255,255,0.85),
        0 0 14px rgba(5,150,105,1),
        0 0 24px rgba(5,150,105,0.75),
        0 0 38px rgba(5,150,105,0.45);
    transform: scale(1.4);
    animation: navDotPulseGreen 2.6s ease-in-out infinite;
}
@keyframes navDotPulse {
    0%, 100% {
        box-shadow:
            0 0 4px rgba(255,255,255,0.95),
            0 0 9px rgba(255,255,255,0.65),
            0 0 16px rgba(255,255,255,0.4);
        transform: scale(1);
    }
    50% {
        box-shadow:
            0 0 6px rgba(255,255,255,1),
            0 0 14px rgba(255,255,255,0.85),
            0 0 26px rgba(255,255,255,0.6),
            0 0 38px rgba(255,255,255,0.3);
        transform: scale(1.18);
    }
}
@keyframes navDotPulseGreen {
    0%, 100% {
        box-shadow:
            0 0 6px rgba(255,255,255,0.85),
            0 0 14px rgba(5,150,105,1),
            0 0 24px rgba(5,150,105,0.75),
            0 0 38px rgba(5,150,105,0.45);
        transform: scale(1.4);
    }
    50% {
        box-shadow:
            0 0 8px rgba(255,255,255,0.95),
            0 0 18px rgba(5,150,105,1),
            0 0 32px rgba(5,150,105,0.9),
            0 0 48px rgba(5,150,105,0.6);
        transform: scale(1.55);
    }
}
@media (prefers-reduced-motion: reduce) {
    .nav-dot, .main-nav a.active .nav-dot { animation: none; }
}
@media (min-width: 1280px) { .main-nav { gap: 24px; } .main-nav a { font-size: .78rem; letter-spacing: 1.2px; } }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.btn-call { display: inline-flex; align-items: center; gap: 9px; background: var(--white); color: var(--black); padding: 9px 18px; font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: 1.4px; border: 2px solid var(--white); transition: var(--transition); white-space: nowrap; }
.btn-call:hover { background: transparent; color: var(--white); }
.btn-call.is-active { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-call.is-active:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-call i { font-size: .9rem; }
.btn-call .btn-call-label { font-weight: 800; letter-spacing: 1.4px; }
.btn-admin {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.85);
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-admin:hover { background: var(--white); color: var(--black); border-color: var(--white); }
@media (min-width: 1024px) { .btn-admin { display: inline-flex; } }

.menu-toggle { background: transparent; border: 2px solid var(--white); color: var(--white); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: var(--transition); }
.menu-toggle:hover { background: var(--white); color: var(--black); }

@media (min-width: 1024px) {
    .main-nav { display: flex; }
    .header-cta { margin-left: 0; }
    .menu-toggle { display: none; }
}

/* MOBILE MENU */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; background: var(--black); color: var(--white); padding: 32px 24px; z-index: 99; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { color: var(--white); padding: 16px 0; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a:hover { color: var(--gray-300); }
.mobile-menu .mob-section { font-size: .65rem; color: rgba(255,255,255,.4); padding: 18px 0 6px; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }

/* SEARCH BAR */
.search-wrap { position: relative; max-width: 720px; }
.search-bar { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 6px; display: flex; gap: 6px; align-items: center; max-width: 720px; }
.search-bar input { flex: 1; border: none; outline: none; padding: 14px 16px; font-family: var(--font); font-size: 1rem; background: transparent; color: var(--black); min-width: 0; }
.search-bar button { background: var(--black); color: var(--white); border: none; padding: 14px 22px; font-family: var(--font); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); }
.search-bar button:hover { background: var(--green); }

.search-suggestions {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: var(--white); border: 3px solid var(--black);
    box-shadow: var(--shadow);
    list-style: none; margin: 0; padding: 0;
    max-height: 480px; overflow-y: auto; z-index: 80;
    display: none;
}
.search-suggestions.open { display: block; }
.search-suggestions li { border-bottom: 1px solid var(--gray-200); }
.search-suggestions li:last-child { border-bottom: none; }
.search-suggestions a { display: flex; gap: 14px; padding: 12px 14px; align-items: center; transition: var(--transition); color: var(--black); }
.search-suggestions a:hover, .search-suggestions li.focused > a { background: var(--gray-100); }
.search-suggestions .ss-img {
    width: 64px; height: 64px; flex-shrink: 0;
    background: var(--gray-200); overflow: hidden;
    border: 2px solid var(--black);
}
.search-suggestions .ss-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-suggestions .ss-img-empty {
    width: 100%; height: 100%;
    background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 8px, var(--gray-200) 8px, var(--gray-200) 16px);
    display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 1.2rem;
}
.search-suggestions .ss-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.search-suggestions .ss-titre { font-weight: 800; font-size: .96rem; color: var(--black); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions .ss-meta { font-size: .76rem; color: var(--gray-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestions .ss-id { font-size: .68rem; color: var(--gray-500); font-weight: 700; letter-spacing: 1px; }
.search-suggestions .ss-prix { font-size: .9rem; font-weight: 800; color: var(--black); flex-shrink: 0; white-space: nowrap; }
.search-suggestions .ss-section {
    background: var(--gray-100); padding: 8px 14px;
    font-size: .65rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}
.search-suggestions .ss-empty { padding: 24px 14px; text-align: center; color: var(--gray-500); font-size: .9rem; }
.search-suggestions .ss-all {
    background: var(--black); color: var(--white);
    padding: 14px 16px; text-align: center; display: flex !important; justify-content: center; align-items: center; gap: 8px;
    font-weight: 800; text-transform: uppercase; font-size: .76rem; letter-spacing: 1.5px;
}
.search-suggestions .ss-all:hover { background: var(--gray-800); color: var(--white); }
.search-suggestions .ss-loader { padding: 18px 14px; text-align: center; color: var(--gray-500); font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; }

/* HERO VIDEO BG */
.hero {
    position: relative; overflow: hidden;
    min-height: calc(100vh - var(--header-h));
    color: var(--white);
    display: flex; align-items: center;
    border-bottom: 4px solid var(--black);
    background: var(--black);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.7) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; background: var(--white); color: var(--black); padding: 6px 14px; margin-bottom: 24px; }
.hero h1 { color: var(--white); margin-bottom: 18px; max-width: 880px; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); max-width: 720px; margin-bottom: 36px; line-height: 1.55; }
.hero-search { margin-bottom: 28px; }
.hero-search.search-bar { box-shadow: 6px 6px 0 rgba(255,255,255,.85); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 32px; padding-top: 28px; border-top: 2px solid rgba(255,255,255,.3); margin-top: 40px; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong { font-size: 1.8rem; font-weight: 800; color: var(--white); }
.hero-meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.6); font-weight: 700; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-quick a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 2px solid rgba(255,255,255,.4); color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.hero-quick a:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* QUARTIERS */
.quartiers-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .quartiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quartiers-grid { grid-template-columns: repeat(4, 1fr); } }
.quartier-card { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; overflow: hidden; }
.quartier-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.quartier-card .q-img { aspect-ratio: 4/3; overflow: hidden; background: var(--gray-200); border-bottom: 3px solid var(--black); }
.quartier-card .q-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.quartier-card:hover .q-img img { transform: scale(1.08); }
.quartier-card .q-body { padding: 18px 18px 22px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.quartier-card .q-icon { font-size: 1.4rem; color: var(--black); }
.quartier-card h3 { font-size: 1.1rem; }
.quartier-card p { font-size: .85rem; color: var(--gray-600); margin-top: 2px; }

/* HERO META + STATS ICONS */
.hero-meta div { align-items: flex-start; }
.hero-meta div i { font-size: 1.1rem; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.chiffre i { display: block; font-size: 1.4rem; color: var(--gray-500); margin-bottom: 10px; }

/* THREE.JS SCENE CANVASES */
.scene-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .55; z-index: 0; }
.section, .chiffres, .cta-band { position: relative; }
.section > .container, .chiffres > .container, .cta-band > .container { position: relative; z-index: 2; }
.section-dark .scene-bg { opacity: .35; }
.section-light .scene-bg { opacity: .35; }
@media (max-width: 768px) { .scene-bg { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .scene-bg { display: none; } }

/* PROCESS STEPS */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; counter-reset: step; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card { background: var(--white); border: 3px solid var(--white); padding: 28px 22px 24px; position: relative; counter-increment: step; }
.section-dark .step-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: var(--white); }
.step-card::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--white); margin-bottom: 16px; }
.section-dark .step-card { color: rgba(255,255,255,.85); }
.section-dark .step-card h3 { color: var(--white); }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; line-height: 1.55; }
.section-dark .step-card p { color: rgba(255,255,255,.7); }

/* WHY MARRAKECH */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { padding: 28px 26px; background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); }
.why-card .why-num { display: inline-block; background: var(--black); color: var(--white); padding: 4px 12px; font-weight: 800; font-size: .72rem; letter-spacing: 1.5px; margin-bottom: 14px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { color: var(--gray-700); font-size: .92rem; line-height: 1.6; }

/* CHIFFRES BAND — ultra minimal */
.chiffres {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: clamp(28px, 4vw, 44px) 0;
}
.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
    max-width: 980px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .chiffres-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
}
.chiffre {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    position: relative;
}
@media (min-width: 768px) {
    .chiffre + .chiffre::before {
        content: ''; position: absolute; left: 0; top: 50%;
        transform: translateY(-50%);
        width: 1px; height: 44%; background: var(--gray-200);
    }
}
.chiffre i {
    font-size: .8rem;
    color: var(--gray-400);
    line-height: 1;
    margin-bottom: 2px;
}
.chiffre strong {
    display: block;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 500;
    color: var(--black);
    line-height: 1;
    letter-spacing: -.01em;
    font-family: 'Times New Roman', Times, serif;
    font-variant-numeric: tabular-nums;
}
.chiffre span {
    display: block;
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-weight: 600;
    color: var(--gray-500);
    line-height: 1.4;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq-item { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow-sm); }
.faq-item summary { padding: 22px 24px; font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; align-items: flex-start; gap: 14px; line-height: 1.4; transition: var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--black); flex-shrink: 0; transition: var(--transition); width: 26px; text-align: center; }
.faq-item[open] summary::before { content: '−'; }
.faq-item[open] summary { border-bottom: 2px solid var(--black); background: var(--gray-100); }
.faq-item .faq-answer { padding: 22px 24px 26px; color: var(--gray-700); font-size: .96rem; line-height: 1.7; }
.faq-item .faq-answer p + p { margin-top: 12px; }

/* FOUNDER PHOTO 9:16 + GRID */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: minmax(260px, 360px) 1fr; gap: 48px; } }
.founder-photo { position: relative; aspect-ratio: 9/16; background: var(--black); border: 3px solid var(--black); box-shadow: var(--shadow); overflow: hidden; max-width: 360px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 32px 22px; color: var(--white);
    background: linear-gradient(160deg, #1a1a1a 0%, #000 70%);
}
.founder-placeholder::before {
    content: ''; position: absolute; inset: 12px;
    border: 2px solid rgba(255,255,255,.15);
    pointer-events: none;
}
.founder-placeholder .fp-mono { font-size: 1.1rem; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; line-height: 1.3; margin-bottom: 8px; }
.founder-placeholder .fp-role { font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.founder-placeholder .fp-name { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.4); }

.founder-badge {
    position: absolute; left: -16px; bottom: 24px; right: -16px;
    background: var(--white); color: var(--black);
    border: 3px solid var(--black); box-shadow: var(--shadow-sm);
    padding: 14px 18px; display: flex; gap: 10px; align-items: flex-start;
}
.founder-badge i { font-size: 1.1rem; flex-shrink: 0; margin-top: 4px; }
.founder-badge p { font-size: .82rem; line-height: 1.45; font-style: italic; margin: 0; }

.founder-bio { padding-top: 8px; }

/* FOUNDER FEATURE (conseils) */
.founder-feature { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .founder-feature { grid-template-columns: minmax(280px, 380px) 1fr; gap: 56px; } }
.founder-photo--feature { max-width: 420px; }
.founder-placeholder--feature .fp-mono { font-size: 1.25rem; }
.founder-feature-tag {
    position: absolute;
    top: 16px; left: 12px; right: 12px;
    background: linear-gradient(180deg, #8c5a32 0%, var(--orange) 48%, #3e2614 100%);
    color: var(--white);
    padding: 0;
    font-size: .68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2.2px;
    border: 2px solid var(--black);
    box-shadow:
        4px 4px 0 var(--black),
        inset 0 1px 0 rgba(225,190,150,0.45),
        inset 0 -2px 0 rgba(0,0,0,0.28);
    display: flex; align-items: stretch;
    text-align: center;
    z-index: 5;
    overflow: hidden;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.42);
}
.founder-feature-tag .tag-icon {
    background: var(--black);
    color: #d4a05e;
    padding: 0 13px;
    border-right: 2px solid var(--black);
    display: flex; align-items: center;
    font-size: .98rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.founder-feature-tag .tag-text {
    flex: 1;
    padding: 10px 14px 11px;
    display: flex; align-items: center; justify-content: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-family: 'Times New Roman', Georgia, serif;
}
.founder-feature-tag .tag-text::before,
.founder-feature-tag .tag-text::after {
    content: ''; display: inline-block;
    width: 14px; height: 1px;
    background: rgba(255,255,255,0.55);
    margin: 0 9px;
    flex-shrink: 0;
}
.founder-feature-text h2 { color: var(--black); }

/* Founder signature with logo */
.founder-signature {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 0 24px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    margin: 24px 0 28px;
}
.founder-signature-logo {
    width: 120px; height: 120px;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--black); box-shadow: 4px 4px 0 var(--black);
    flex-shrink: 0; padding: 10px;
}
.founder-signature-logo--white { background: var(--white); padding: 8px; }
.founder-signature-logo img { width: 100%; height: 100%; object-fit: contain; }
.founder-signature-text { display: flex; flex-direction: column; gap: 4px; }
.founder-signature-name { font-size: 1.05rem; font-weight: 800; color: var(--black); letter-spacing: 0.5px; }
.founder-signature-role { font-size: .76rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-600); font-weight: 700; }
.founder-signature-brand { font-size: .72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-500); }
@media (max-width: 600px) {
    .founder-signature { gap: 14px; }
    .founder-signature-logo { width: 88px; height: 88px; padding: 6px; }
    .founder-signature-name { font-size: .98rem; }
}

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 28px; position: relative; }
.testimonial::before { content: '\201C'; position: absolute; top: -16px; left: 18px; background: var(--black); color: var(--white); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; }
.testimonial .stars { color: var(--orange); margin-bottom: 12px; font-size: .9rem; }
.testimonial blockquote { font-style: italic; color: var(--gray-700); font-size: .98rem; line-height: 1.65; margin-bottom: 18px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.testimonial .avatar { width: 42px; height: 42px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; border: 2px solid var(--black); }
.testimonial .author strong { display: block; font-size: .92rem; }
.testimonial .author span { display: block; font-size: .76rem; color: var(--gray-500); }

/* SECTIONS */
.section { padding: 72px 0; }
.section-light { background: var(--white); border-top: 4px solid var(--black); border-bottom: 4px solid var(--black); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; border-bottom: 2px solid var(--black); padding-bottom: 18px; }
.section-dark .section-head { border-bottom-color: var(--white); }
.section-head h2 { margin: 0; }
.section-head .section-link { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 10px 16px; border: 2px solid currentColor; transition: var(--transition); }
.section-head .section-link:hover { background: var(--black); color: var(--white); }
.section-dark .section-head .section-link:hover { background: var(--white); color: var(--black); }
.section-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gray-500); font-weight: 800; margin-bottom: 10px; }
.section-dark .section-eyebrow { color: rgba(255,255,255,.5); }

/* GRID BIENS */
.biens-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 640px) { .biens-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .biens-grid { grid-template-columns: repeat(3, 1fr); } }

.bien-card { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column; }
.bien-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.bien-card .bien-img { aspect-ratio: 4/3; background: var(--gray-200); position: relative; overflow: hidden; border-bottom: 3px solid var(--black); }
.bien-card .bien-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bien-card:hover .bien-img img { transform: scale(1.06); }
.bien-card .bien-img .bien-badge { position: absolute; top: 12px; left: 12px; background: var(--black); color: var(--white); padding: 5px 11px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.bien-card .bien-img .bien-badge.vente { background: var(--green); }
.bien-card .bien-img .bien-badge.location { background: var(--orange); }
.bien-card .bien-img .bien-id { position: absolute; top: 12px; right: 12px; background: var(--white); color: var(--black); padding: 4px 9px; font-size: .68rem; font-weight: 800; border: 2px solid var(--black); }
.bien-card .bien-img .bien-img-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 2.4rem; background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, var(--gray-200) 12px, var(--gray-200) 24px); }
.bien-card .bien-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.bien-card h3 { font-size: 1.1rem; line-height: 1.3; }
.bien-card .bien-loc { font-size: .82rem; color: var(--gray-600); display: flex; align-items: center; gap: 6px; }
.bien-card .bien-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 10px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); margin-top: 4px; font-size: .82rem; color: var(--gray-700); }
.bien-card .bien-meta span i { color: var(--gray-500); margin-right: 4px; }
.bien-card .bien-prix { font-size: 1.25rem; font-weight: 800; color: var(--black); margin-top: auto; padding-top: 8px; }

/* HOME FEATURES (Atlas-style 2 big cards) */
.home-features-section {
    padding: clamp(48px, 7vw, 80px) 0;
    background: var(--white-off);
}
.hf-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) { .hf-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }

.hf-card {
    position: relative; overflow: hidden;
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    color: var(--white);
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
    display: block;
}
.hf-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }

.hf-bg { position: absolute; inset: 0; background: var(--black); }
.hf-bg img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .8s cubic-bezier(.4,0,.2,1);
}
.hf-card:hover .hf-bg img { transform: scale(1.06); }
.hf-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 50%, rgba(0,0,0,.18) 100%);
    pointer-events: none;
}
.hf-empty-state {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, var(--gray-700), var(--gray-700) 16px, var(--gray-800) 16px, var(--gray-800) 32px);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4); font-size: 4rem;
}

.hf-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: clamp(22px, 3.5vw, 40px);
    z-index: 2;
}
.hf-content h2 {
    color: var(--white) !important;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    line-height: 1.18;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hf-content p {
    color: rgba(255,255,255,.92);
    font-size: clamp(.92rem, 1.1vw, 1.05rem);
    line-height: 1.55;
    max-width: 560px;
    margin-bottom: 22px;
}
.hf-cta {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--white); color: var(--black);
    padding: 14px 22px;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    font-size: .8rem;
    border: 3px solid var(--white);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.hf-card:hover .hf-cta { background: transparent; color: var(--white); transform: translateX(4px); }

/* PROJETS GRID */
.projets-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .projets-grid { grid-template-columns: repeat(2, 1fr); } }
.projet-card { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); transition: var(--transition); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.projet-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.projet-card .projet-tag { display: inline-block; align-self: flex-start; background: var(--blue); color: var(--white); padding: 5px 11px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.projet-card h3 { font-size: 1.4rem; }
.projet-card .projet-prom { font-size: .82rem; color: var(--gray-600); }
.projet-card .projet-progress { background: var(--gray-200); height: 14px; border: 2px solid var(--black); position: relative; }
.projet-card .projet-progress > span { display: block; height: 100%; background: var(--black); }
.projet-card .projet-prog-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; display: flex; justify-content: space-between; }
.projet-card .projet-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: .82rem; color: var(--gray-700); padding-top: 12px; border-top: 1px solid var(--gray-200); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; transition: var(--transition); }
.service-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.service-card .service-icon { width: 56px; height: 56px; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 6px; }
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: .88rem; color: var(--gray-600); }

/* CTA BAND */
.cta-band { background: var(--black); color: var(--white); padding: 64px 0; border-top: 4px solid var(--white); border-bottom: 4px solid var(--white); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.65); font-size: 1.05rem; }
.cta-band .btn-primary { background: var(--white); color: var(--black); padding: 16px 28px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: .9rem; border: 3px solid var(--white); box-shadow: 6px 6px 0 var(--gray-700); transition: var(--transition); display: inline-flex; align-items: center; gap: 10px; }
.cta-band .btn-primary:hover { background: transparent; color: var(--white); transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--gray-700); }

/* BOUTONS GENERIQUES */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--black); color: var(--white); font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; border: 3px solid var(--black); box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; font-family: var(--font); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-block { width: 100%; justify-content: center; }

/* ================================================================
   FOOTER WOW — newsletter + social brand colors + animated columns
   ================================================================ */
.site-footer {
    background: var(--black); color: var(--white);
    border-top: 4px solid var(--white);
    position: relative; overflow: hidden;
}
.site-footer::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(255,255,255,.018) 80px, rgba(255,255,255,.018) 81px);
    pointer-events: none;
}

/* NEWSLETTER BAND */
.footer-newsletter {
    padding: clamp(48px, 7vw, 80px) 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    position: relative; z-index: 2;
}
.newsletter-grid {
    display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
}
@media (min-width: 900px) { .newsletter-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.footer-eyebrow {
    font-size: .68rem; font-weight: 800; letter-spacing: 3px;
    text-transform: uppercase; color: rgba(255,255,255,.5);
    margin-bottom: 14px; display: block;
}
.newsletter-grid h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    color: var(--white); line-height: 1.2; margin: 0;
    letter-spacing: -.5px;
}
.newsletter-grid h2 .highlight {
    color: var(--white);
    background: linear-gradient(180deg, transparent 62%, rgba(255,255,255,.18) 62%);
    padding: 0 4px;
}
.newsletter-form {
    display: flex; gap: 0;
    background: var(--white); border: 3px solid var(--white); padding: 4px;
    transition: box-shadow .35s ease;
}
.newsletter-form:focus-within { box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.newsletter-form input {
    flex: 1; border: none; outline: none;
    padding: 14px 18px; font-family: var(--font); font-size: .95rem;
    background: transparent; color: var(--black); min-width: 0;
}
.newsletter-form button {
    background: var(--black); color: var(--white); border: none;
    padding: 12px 22px; font-family: var(--font); font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.2px; font-size: .76rem;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--green); transform: translate(-2px, 0); }
@media (max-width: 540px) { .newsletter-form button span { display: none; } }

/* MAIN FOOTER */
.footer-main { padding: clamp(56px, 8vw, 80px) 0 40px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }

.footer-logo-link { display: inline-block; }
.footer-brand img {
    height: 56px; width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.footer-brand img:hover { transform: rotate(-5deg) scale(1.08); }
.footer-brand p {
    color: rgba(255,255,255,.6); font-size: .92rem;
    max-width: 360px; line-height: 1.65; margin-bottom: 26px;
}

/* SOCIAL ICONS — brand colors on hover with slide-up fill */
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.footer-social a {
    width: 44px; height: 44px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    position: relative; overflow: hidden;
    transition: transform .3s cubic-bezier(.4,0,.2,1), border-color .3s ease;
}
.footer-social a svg {
    width: 16px; height: 16px;
    position: relative; z-index: 2;
    transition: color .3s ease, transform .3s cubic-bezier(.4,0,.2,1);
    fill: currentColor;
}
.footer-social a:hover svg { transform: scale(1.18) rotate(-8deg); }
.footer-social a::before {
    content: ''; position: absolute; inset: 0;
    transform: translateY(101%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.footer-social a i {
    position: relative; z-index: 2;
    transition: color .3s ease, transform .3s cubic-bezier(.4,0,.2,1);
}
.footer-social a:hover { transform: translateY(-4px); border-color: var(--white); }
.footer-social a:hover::before { transform: translateY(0); }
.footer-social a:hover i { color: var(--white); transform: scale(1.18) rotate(-8deg); }
/* brand colors */
.footer-social a.s-instagram::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.footer-social a.s-facebook::before  { background: #1877F2; }
.footer-social a.s-youtube::before   { background: #FF0000; }
.footer-social a.s-x::before         { background: #000; }
.footer-social a.s-x:hover           { border-color: var(--white); }
.footer-social a.s-linkedin::before  { background: #0A66C2; }

/* CONTACT QUICK */
.footer-contact-quick { display: flex; flex-direction: column; gap: 12px; max-width: 100%; }
.footer-contact-quick a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
    display: flex; align-items: flex-start; gap: 10px;
    transition: color .25s ease, transform .25s ease;
    max-width: 100%;
    line-height: 1.55;
    word-break: break-word;
}
.footer-contact-quick a i {
    width: 18px; text-align: center; color: rgba(255,255,255,.5);
    transition: color .25s ease;
    flex-shrink: 0;
    margin-top: 4px;
}
.footer-contact-quick a:hover { color: var(--white); transform: translateX(3px); }
.footer-contact-quick a:hover i { color: var(--white); }

/* COLUMNS */
.footer-col h4 {
    color: var(--white); font-size: .82rem;
    text-transform: uppercase; letter-spacing: 2px;
    font-weight: 800; margin-bottom: 22px; padding-bottom: 14px;
    border-bottom: 2px solid rgba(255,255,255,.15);
    position: relative; display: inline-block; min-width: 100%;
}
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 28px; height: 2px; background: var(--white);
    transition: width .4s cubic-bezier(.4,0,.2,1);
}
.footer-col:hover h4::after { width: 64px; }

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; }
.footer-col a {
    color: rgba(255,255,255,.6); font-size: .88rem;
    transition: color .25s ease;
    display: inline-flex; align-items: center;
    position: relative; padding-left: 0;
}
.footer-col a::before {
    content: '→'; position: absolute; left: 0;
    opacity: 0; transform: translateX(-8px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
    color: var(--white); font-weight: 800;
}
.footer-col a:hover { color: var(--white); padding-left: 20px; }
.footer-col a:hover::before { opacity: 1; transform: translateX(0); }

/* BOTTOM BAR */
.footer-bottom-wrap {
    padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08);
    position: relative; z-index: 2;
}
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px;
    flex-wrap: wrap; font-size: .76rem; color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); transition: color .25s ease; }
.footer-bottom a:hover { color: var(--white); }
.vsf-mark {
    font-family: 'League Spartan', 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size: .82rem;
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, color .3s ease;
    padding-bottom: 1px;
}
.vsf-mark:hover { color: var(--white) !important; border-bottom-color: var(--white); }

/* BACK TO TOP */
.back-to-top {
    position: fixed; right: 24px; bottom: 96px;
    width: 48px; height: 48px;
    background: var(--black); color: var(--white);
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 79;
    opacity: 0; pointer-events: none; transform: translateY(20px);
    transition: opacity .3s ease, transform .3s cubic-bezier(.2,.7,.3,1), background .25s ease, color .25s ease;
    font-size: 1rem;
    font-family: var(--font);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--white); color: var(--black); transform: translateY(-4px); }

/* PAGE TITLE BLOCK */
.page-head { background: var(--white); border-bottom: 4px solid var(--black); padding: 56px 0 48px; }
.page-head .breadcrumb { font-size: .72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); font-weight: 700; margin-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.page-head .breadcrumb a { color: var(--gray-700); }
.page-head .breadcrumb a:hover { color: var(--black); text-decoration: underline; }
.page-head .breadcrumb [itemprop="name"] { color: inherit; }
.page-head .breadcrumb > span[aria-hidden] { margin: 0 10px; color: var(--gray-400); }
.page-head .breadcrumb meta { display: none; }
.page-head h1 { margin-bottom: 14px; }
.page-head .lead { font-size: 1.1rem; color: var(--gray-700); max-width: 760px; line-height: 1.55; }
.page-head .filters { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.page-head .filter-chip { padding: 8px 16px; border: 2px solid var(--black); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.page-head .filter-chip:hover, .page-head .filter-chip.active { background: var(--black); color: var(--white); }

/* DETAIL BIEN */
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.detail-gallery { border: 3px solid var(--black); box-shadow: var(--shadow); background: var(--white); }
.detail-gallery .main-img { aspect-ratio: 16/10; background: var(--gray-200); border-bottom: 3px solid var(--black); overflow: hidden; }
.detail-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .main-img-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 4rem; background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 14px, var(--gray-200) 14px, var(--gray-200) 28px); }
.detail-gallery .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 4px; padding: 6px; background: var(--white); }
.detail-gallery .thumbs img { aspect-ratio: 4/3; object-fit: cover; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.detail-gallery .thumbs img:hover { border-color: var(--black); }

.detail-side { display: flex; flex-direction: column; gap: 18px; }
.detail-card { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 24px; }
.detail-card h2 { font-size: 1.4rem; margin-bottom: 14px; }
.detail-card .price-big { font-size: 2.1rem; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.detail-card .price-tag { display: inline-block; padding: 4px 10px; background: var(--green); color: var(--white); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.detail-card .price-tag.location { background: var(--orange); }
.detail-card .ref-num { font-size: .76rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gray-500); margin-bottom: 16px; }
.detail-content { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 32px; margin-bottom: 28px; }
.detail-content h2 { font-size: 1.6rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.detail-content p { white-space: pre-line; color: var(--gray-700); margin-bottom: 16px; }
.detail-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; padding-top: 18px; border-top: 1px solid var(--gray-200); }
@media (min-width: 640px) { .detail-features { grid-template-columns: repeat(3, 1fr); } }
.detail-features div { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.detail-features i { color: var(--black); font-size: 1.1rem; width: 20px; text-align: center; }
.detail-features strong { font-weight: 800; }

/* CONTACT FORM */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-form { background: var(--white); border: 3px solid var(--black); box-shadow: var(--shadow); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-form label { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 2px solid var(--black); padding: 14px 16px; font-family: var(--font); font-size: 1rem; background: var(--white); outline: none; transition: var(--transition); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { box-shadow: 4px 4px 0 var(--black); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info { background: var(--black); color: var(--white); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px; }
.contact-info h3 { color: var(--white); border-bottom: 2px solid var(--white); padding-bottom: 12px; }
.contact-info .info-row { display: flex; align-items: flex-start; gap: 14px; padding: 8px 0; }
.contact-info .info-row i { width: 30px; height: 30px; background: var(--white); color: var(--black); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info a { color: var(--white); }
.contact-info a:hover { text-decoration: underline; }

/* EMPTY STATE */
.empty-state { background: var(--white); border: 3px dashed var(--gray-400); padding: 64px 24px; text-align: center; color: var(--gray-500); }
.empty-state i { font-size: 3rem; margin-bottom: 16px; color: var(--gray-400); }
.empty-state h3 { color: var(--gray-700); margin-bottom: 10px; }
.empty-state p { color: var(--gray-500); }

/* PILLS / BADGES */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--gray-100); color: var(--gray-700); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; border: 2px solid var(--gray-300); }
.pill.dark { background: var(--black); color: var(--white); border-color: var(--black); }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 80; background: #25D366; color: #fff; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: var(--shadow); border: 3px solid var(--black); transition: var(--transition); }
.wa-float:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }

/* UTIL */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 16px; } .mb-2 { margin-bottom: 32px; }
.hide-mobile { display: none; } @media (min-width: 768px) { .hide-mobile { display: initial; } }
.show-mobile { display: initial; } @media (min-width: 768px) { .show-mobile { display: none; } }

/* ANIM */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.anim-fade-up { animation: fadeUp .5s ease both; }
.delay-1 { animation-delay: .08s; } .delay-2 { animation-delay: .16s; } .delay-3 { animation-delay: .24s; } .delay-4 { animation-delay: .32s; }
