/* ============================================================
   EECCB — Design system premium (frontend)
   ============================================================ */
:root {
    --primary: #2b2958;
    --primary-2: #3a3770;
    --primary-3: #4a4788;
    --primary-dark: #1a1840;
    --accent: #d8762a;
    --accent-2: #f09a4e;
    --accent-dark: #c4611d;
    --bg: #f4f3ee;
    --surface: #ffffff;
    --ink: #14152e;
    --muted: #5b6174;
    --line: #e6e3d8;
    --danger: #b93a2b;
    --success: #1e8e5a;
    --radius: 20px;
    --radius-sm: 13px;
    --shadow-sm: 0 1px 2px rgba(43,41,88,.05), 0 4px 14px rgba(43,41,88,.06);
    --shadow-md: 0 4px 12px rgba(43,41,88,.07), 0 16px 40px rgba(43,41,88,.11);
    --shadow-lg: 0 8px 20px rgba(43,41,88,.10), 0 30px 70px rgba(43,41,88,.17);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Sora', var(--font);
    --container: 1200px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #1a1840; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #b2b6c8; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary-2); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid rgba(216,118,42,.55); outline-offset: 2px; border-radius: 4px; }

.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--primary-dark);
    color: #a9aed2;
    font-size: .8rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(216,118,42,.14);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent-2); }
.topbar-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-contact svg { color: var(--accent); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
    opacity: .8; display: inline-flex;
    width: 26px; height: 26px; border-radius: 50%;
    align-items: center; justify-content: center;
    transition: .25s;
}
.topbar-social a:hover { opacity: 1; background: rgba(255,255,255,.12); color: var(--accent-2); }
.topbar svg { width: 13px; height: 13px; }

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled {
    border-color: var(--line);
    box-shadow: 0 6px 24px rgba(43,41,88,.07);
    background: rgba(255,255,255,.96);
}
.navbar { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; color: var(--primary); line-height: 1; }
.brand-name small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: var(--accent-dark); margin-top: 4px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    position: relative;
    padding: 10px 15px;
    font-weight: 600;
    font-size: .93rem;
    color: #343a54;
    transition: color .2s;
}
.nav-menu a::after {
    content: '';
    position: absolute; left: 15px; right: 15px; bottom: 4px;
    height: 2.5px; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-menu a.active { color: var(--primary); font-weight: 800; }
.nav-menu a.active::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
    transition: border-color .2s;
}
.burger:hover { border-color: var(--primary); }
.burger span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed; inset: 0; z-index: 200;
    background: rgba(26,24,64,.55);
    backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(350px, 86%);
    background: #fff;
    padding: 28px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    display: flex; flex-direction: column; gap: 6px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-panel a { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 1.05rem; transition: background .2s, color .2s; }
.mobile-nav-panel a:hover, .mobile-nav-panel a.active { background: #eef0f7; color: var(--primary); }
.mobile-nav-close { align-self: flex-end; background: #f1f0ea; border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; color: var(--muted); margin-bottom: 10px; transition: .2s; }
.mobile-nav-close:hover { background: var(--line); color: var(--ink); }
.mobile-nav-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .93rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .2s, border-color .2s;
    white-space: nowrap;
    letter-spacing: .2px;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary-2), var(--primary) 60%, var(--primary-dark));
    color: #fff;
    box-shadow: 0 6px 18px rgba(43,41,88,.22), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(43,41,88,.32), inset 0 1px 0 rgba(255,255,255,.14); filter: brightness(1.08); }
.btn-accent {
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-dark));
    color: #1a1840;
    box-shadow: 0 6px 18px rgba(216,118,42,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-accent:hover { box-shadow: 0 12px 30px rgba(216,118,42,.45), inset 0 1px 0 rgba(255,255,255,.4); filter: brightness(1.05); }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.7); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-sm); }
.btn-whatsapp { background: linear-gradient(135deg, #2adb6e, #1faa53); color: #fff; box-shadow: 0 6px 18px rgba(37,190,90,.35); }
.btn-whatsapp:hover { box-shadow: 0 12px 30px rgba(37,190,90,.45); filter: brightness(1.05); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(26,24,64,.35) 0%, transparent 30%, rgba(26,24,64,.75) 100%),
        linear-gradient(98deg, rgba(26,24,64,.94) 0%, rgba(32,30,82,.72) 48%, rgba(43,41,88,.28) 100%);
}
.hero .container { position: relative; z-index: 2; padding: 110px 0 150px; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(216,118,42,.14);
    border: 1px solid rgba(216,118,42,.5);
    color: #f5b98c;
    padding: 8px 18px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase;
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
    animation: heroIn .8s var(--ease) both;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    font-weight: 800; line-height: 1.08; max-width: 660px;
    letter-spacing: -.03em;
    animation: heroIn .8s var(--ease) .12s both;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { margin-top: 22px; font-size: 1.13rem; color: #ccd2e6; max-width: 540px; animation: heroIn .8s var(--ease) .24s both; }
.hero-stats { display: flex; gap: 0; margin-top: 42px; flex-wrap: wrap; animation: heroIn .8s var(--ease) .36s both; }
.hero-stat { padding: 0 34px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stat:first-child { padding-left: 0; border-left: 0; }
.hero-stat b { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--accent-2); line-height: 1.1; }
.hero-stat > span { font-size: .82rem; color: #b3bad9; font-weight: 600; letter-spacing: .3px; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: none; }
}

.hero-scroll {
    position: absolute; left: 50%; bottom: 108px; z-index: 3;
    transform: translateX(-50%);
    width: 30px; height: 48px; border-radius: 999px;
    border: 2px solid rgba(255,255,255,.4);
    display: flex; justify-content: center;
}
.hero-scroll::before {
    content: ''; width: 4px; height: 9px; border-radius: 4px;
    background: var(--accent-2); margin-top: 8px;
    animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: .3; } }

/* ---------- Search card ---------- */
.search-card {
    position: relative; z-index: 5;
    margin-top: -92px;
    background: rgba(255,255,255,.97);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(230,227,216,.6);
    padding: 12px;
    animation: heroIn .8s var(--ease) .45s both;
}
.search-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 6px 8px 0; background: #f0efe9; border-radius: 999px; }
.search-tab {
    border: 0; background: transparent;
    padding: 10px 22px; border-radius: 999px;
    font-weight: 700; font-size: .88rem; color: var(--muted);
    transition: .25s;
}
.search-tab:hover { color: var(--primary); }
.search-tab.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(43,41,88,.3); }
.search-body { padding: 18px 10px 10px; }
.search-form { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto; gap: 14px; align-items: end; }
.field label { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #faf9f6;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cfcabd; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--primary-2);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(58,55,112,.1);
}
.field select {
    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='%235b6174' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
}
.search-form .btn { height: 52px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, #fff 0%, #fbfaf7 100%); border-block: 1px solid var(--line); }
.sec-head { max-width: 660px; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--accent-dark); font-weight: 800; font-size: .76rem;
    letter-spacing: 2.4px; text-transform: uppercase;
}
.sec-eyebrow::before { content: ''; width: 26px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.sec-head.center .sec-eyebrow::after { content: ''; width: 26px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 12px 0 14px; color: var(--primary-dark); line-height: 1.15; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prop-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(230,227,216,.8);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
    display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(216,118,42,.35); }
.prop-media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: #dee1ec; }
.prop-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(26,24,64,.55) 100%);
    opacity: .85; transition: opacity .35s;
}
.prop-card:hover .prop-media::after { opacity: 1; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.08); }
.prop-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 2; }
.badge {
    padding: 6px 14px; border-radius: 999px;
    font-size: .7rem; font-weight: 800; letter-spacing: .9px; text-transform: uppercase;
    color: #fff; backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.badge-vente { background: rgba(43,41,88,.9); }
.badge-location { background: rgba(216,118,42,.95); color: #1a1840; }
.badge-new { background: rgba(255,255,255,.94); color: var(--primary); }
.prop-price-tag {
    position: absolute; bottom: 14px; left: 14px; z-index: 2;
    background: rgba(26,24,64,.82); color: #fff;
    padding: 9px 17px; border-radius: 999px;
    font-weight: 800; font-size: .93rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.14);
}
.prop-arrow {
    position: absolute; right: 14px; bottom: 14px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--accent); color: #1a1840;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(8px) scale(.8);
    transition: .35s var(--ease);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
.prop-arrow svg { width: 18px; height: 18px; }
.prop-card:hover .prop-arrow { opacity: 1; transform: none; }
.prop-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.prop-body h3 { font-size: 1.13rem; font-weight: 700; line-height: 1.35; }
.prop-body h3 a { transition: color .2s; }
.prop-body h3 a:hover { color: var(--primary-2); }
.prop-loc { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .88rem; font-weight: 500; }
.prop-loc svg { width: 15px; height: 15px; color: var(--accent-dark); flex-shrink: 0; }
.prop-meta {
    display: flex; gap: 18px; margin-top: auto;
    padding-top: 15px; border-top: 1px solid var(--line);
    color: var(--muted); font-size: .85rem; font-weight: 600;
}
.prop-meta span { display: inline-flex; align-items: center; gap: 7px; }
.prop-meta svg { width: 17px; height: 17px; color: var(--primary-2); }
.prop-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 7px; color: var(--primary-2); font-weight: 800; font-size: .88rem; letter-spacing: .2px; }
.prop-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.prop-card:hover .prop-link svg { transform: translateX(5px); }

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
    position: relative;
    padding: 120px 0 78px;
    color: #fff;
    background:
        radial-gradient(800px 300px at 85% -10%, rgba(216,118,42,.18), transparent 60%),
        linear-gradient(112deg, var(--primary-dark), var(--primary) 55%, var(--primary-3));
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; position: relative; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: .9rem; color: #9ba3cc; position: relative; }
.breadcrumb a { color: #fff; font-weight: 700; }
.breadcrumb a:hover { color: var(--accent-2); }

/* ---------- Filter bar ---------- */
.filter-bar {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); border: 1px solid rgba(230,227,216,.8);
    padding: 24px; margin-bottom: 42px;
}
.filter-form { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end; }
.filter-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.filter-meta p { color: var(--muted); font-size: .95rem; }
.filter-meta b { color: var(--primary); font-family: var(--font-display); font-size: 1.15rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: #edeff7; color: var(--primary);
    padding: 7px 15px; border-radius: 999px;
    font-size: .82rem; font-weight: 700;
}
.chip a { display: inline-flex; color: inherit; }
.chip svg { width: 12px; height: 12px; }

.empty-state {
    text-align: center; padding: 80px 24px;
    background: #fff; border-radius: var(--radius); border: 1.5px dashed #d4d1c5;
}
.empty-state svg { width: 56px; height: 56px; color: #cdcabf; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
    background: #fff; border-radius: var(--radius);
    padding: 38px 32px;
    border: 1px solid rgba(230,227,216,.8);
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s;
    position: relative; overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary-2), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform .45s var(--ease);
}
.svc-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
    width: 62px; height: 62px; border-radius: 18px;
    background: linear-gradient(135deg, #eaedf6, #d8def0);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: .35s var(--ease);
}
.svc-card:hover .svc-icon { background: linear-gradient(135deg, var(--primary-2), var(--primary)); transform: rotate(-6deg) scale(1.05); }
.svc-icon svg { width: 28px; height: 28px; color: var(--primary); transition: color .35s; }
.svc-card:hover .svc-icon svg { color: #fff; }
.svc-card h3 { font-size: 1.17rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
    padding: 34px 30px; background: #fff; border-radius: var(--radius);
    border: 1px solid rgba(230,227,216,.8); position: relative;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
    counter-increment: step; content: '0' counter(step);
    position: absolute; top: 24px; right: 28px;
    font-family: var(--font-display);
    font-size: 2.6rem; font-weight: 800;
    background: linear-gradient(135deg, #e9e6dc, #dcd8ca);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: 9px; position: relative; padding-right: 60px; }
.step h3::before {
    content: ''; display: block; width: 34px; height: 4px; border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background:
        radial-gradient(600px 300px at 90% 110%, rgba(216,118,42,.22), transparent 60%),
        linear-gradient(112deg, var(--primary-dark), var(--primary) 50%, var(--primary-3));
    border-radius: 28px;
    padding: 66px 60px;
    color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; max-width: 580px; position: relative; line-height: 1.2; }
.cta-band p { color: #a6add4; margin-top: 12px; max-width: 480px; position: relative; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Split (image + texte) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.split-media::before {
    content: '';
    position: absolute; inset: -18px auto auto -18px;
    width: 110px; height: 110px; border-radius: 24px;
    background: repeating-linear-gradient(45deg, rgba(216,118,42,.5) 0 3px, transparent 3px 10px);
    z-index: -1;
}
.split-media .float-card {
    position: absolute; bottom: -26px; right: -14px;
    background: #fff; border-radius: 18px; padding: 18px 26px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 15px;
    border: 1px solid rgba(230,227,216,.7);
}
.float-card b { font-family: var(--font-display); font-size: 1.45rem; color: var(--primary); display: block; line-height: 1.1; }
.float-card span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.float-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #fde7d2, #f9d5ae); display: flex; align-items: center; justify-content: center; }
.float-icon svg { width: 22px; height: 22px; color: var(--accent-dark); }
.split-txt h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary-dark); margin: 12px 0 18px; line-height: 1.18; }
.split-txt > p { color: var(--muted); margin-bottom: 14px; }
.check-list { margin: 24px 0 32px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .95rem; }
.check-list svg { width: 21px; height: 21px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

/* ---------- Fiche propriété ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 370px; gap: 44px; align-items: start; }
.gallery-main { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-md); position: relative; background: #dee1ec; }
.gallery-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; cursor: zoom-in; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.92); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,.22);
    transition: .25s; z-index: 3;
    opacity: 0;
}
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: var(--accent); color: #1a1840; }
.gallery-nav svg { width: 20px; height: 20px; }
.g-prev { left: 16px; }
.g-next { right: 16px; }
.gallery-count {
    position: absolute; bottom: 16px; right: 16px; z-index: 2;
    background: rgba(26,24,64,.85); color: #fff;
    padding: 8px 15px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    display: flex; gap: 7px; align-items: center;
    backdrop-filter: blur(6px);
}
.gallery-count svg { width: 15px; height: 15px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.gallery-thumbs img {
    aspect-ratio: 4/3; object-fit: cover; width: 100%;
    border-radius: 11px; cursor: pointer;
    border: 2.5px solid transparent; opacity: .65; transition: .25s;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--accent); opacity: 1; transform: translateY(-2px); }

.detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin: 32px 0 10px; }
.detail-head h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; }
.detail-price { font-family: var(--font-display); font-size: 1.65rem; font-weight: 800; color: var(--primary); white-space: nowrap; }
.detail-price small { display: block; font-size: .74rem; font-weight: 800; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 1.2px; text-align: right; font-family: var(--font); }
.spec-chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 32px; }
.spec-chip {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 15px;
    padding: 14px 21px; font-weight: 700; font-size: .93rem;
    transition: .25s;
}
.spec-chip:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.spec-chip svg { width: 21px; height: 21px; color: var(--accent-dark); }
.spec-chip small { display: block; font-size: .68rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }

.panel { background: #fff; border-radius: var(--radius); border: 1px solid rgba(230,227,216,.8); padding: 32px; margin-bottom: 26px; box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.22rem; font-weight: 800; margin-bottom: 16px; color: var(--primary-dark); }
.panel p { color: var(--muted); }
.panel p + p { margin-top: 10px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-list li { display: flex; gap: 10px; align-items: center; font-size: .93rem; font-weight: 600; }
.feature-list svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; }

.sidebar-card { background: #fff; border-radius: var(--radius); border: 1px solid rgba(230,227,216,.8); box-shadow: var(--shadow-md); padding: 30px; position: sticky; top: 104px; }
.agent-head { display: flex; gap: 15px; align-items: center; margin-bottom: 22px; }
.agent-avatar {
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-2), var(--primary-dark));
    color: #fff; font-weight: 800; font-size: 1.25rem; font-family: var(--font-display);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(43,41,88,.25);
}
.agent-head b { font-size: 1.05rem; display: block; }
.agent-head span { font-size: .82rem; color: var(--muted); }
.agent-contacts { display: grid; gap: 10px; margin-bottom: 24px; }
.agent-contacts a, .agent-contacts div {
    display: flex; align-items: center; gap: 11px;
    font-size: .9rem; font-weight: 600; color: var(--ink);
    padding: 12px 15px; border-radius: 12px; background: #f6f5f0;
    transition: .2s;
}
.agent-contacts a:hover { background: #eaedf6; color: var(--primary); }
.agent-contacts svg { width: 16px; height: 16px; color: var(--accent-dark); flex-shrink: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(18,17,46,.94);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    padding: 30px;
}
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { width: min(1000px, 92vw); height: 84vh; object-fit: contain; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox button {
    position: absolute; background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.14); width: 50px; height: 50px; border-radius: 50%;
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
    transition: .2s; backdrop-filter: blur(6px);
}
.lightbox button:hover { background: var(--accent); color: #1a1840; border-color: var(--accent); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Bouton lecture vidéo ---------- */
.play-btn {
    position: absolute; top: 50%; left: 50%; z-index: 3;
    transform: translate(-50%, -50%);
    width: 74px; height: 74px; border-radius: 50%; border: 0;
    background: var(--accent); color: #1a1840;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(216,118,42,.45);
    transition: transform .3s var(--ease), background .3s;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-2); }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.play-btn::before, .play-btn::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid rgba(216,118,42,.55);
    animation: playWave 2.4s ease-out infinite;
    pointer-events: none;
}
.play-btn::after { animation-delay: 1.2s; }
@keyframes playWave { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Modale vidéo ---------- */
.video-modal {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(18,17,46,.94);
    backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    padding: 30px;
}
.video-modal.open { display: flex; animation: lbIn .25s ease; }
.video-modal-frame {
    width: min(960px, 92vw); aspect-ratio: 16/9;
    border-radius: 16px; overflow: hidden;
    background: #000; box-shadow: var(--shadow-lg);
}
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-close {
    position: absolute; top: 26px; right: 26px;
    background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.14); width: 50px; height: 50px; border-radius: 50%;
    font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
    transition: .2s; backdrop-filter: blur(6px);
}
.video-modal-close:hover { background: var(--accent); color: #1a1840; border-color: var(--accent); }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
    position: fixed; left: 24px; bottom: 24px; z-index: 400;
    width: min(430px, calc(100vw - 48px));
    background: #fff; border-radius: var(--radius);
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 24px 26px;
    display: none; flex-direction: column; gap: 16px;
}
.cookie-banner.show { display: flex; animation: cookieIn .45s var(--ease); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.cookie-txt b { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.cookie-txt p { font-size: .87rem; color: var(--muted); line-height: 1.55; }
.cookie-txt a { display: inline-block; margin-top: 9px; font-size: .82rem; font-weight: 700; color: var(--primary-2); }
.cookie-txt a:hover { color: var(--accent-dark); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 38px; align-items: start; }
.contact-info-card { display: grid; gap: 14px; }
.info-line { display: flex; gap: 15px; align-items: flex-start; padding: 19px 20px; background: #fff; border-radius: var(--radius-sm); border: 1px solid rgba(230,227,216,.8); transition: .25s; }
.info-line:hover { box-shadow: var(--shadow-sm); border-color: rgba(216,118,42,.4); }
.info-line svg { width: 20px; height: 20px; color: var(--accent-dark); flex-shrink: 0; margin-top: 3px; }
.info-line b { display: block; font-size: .95rem; }
.info-line span { font-size: .88rem; color: var(--muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Alerts ---------- */
.alert { padding: 16px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem; margin-bottom: 24px; display: flex; gap: 11px; align-items: center; }
.alert svg { width: 19px; height: 19px; flex-shrink: 0; }
.alert-success { background: #e3f5ea; color: #14653f; border: 1px solid #b9e6cc; }
.alert-error { background: #fdecea; color: #a32a1c; border: 1px solid #f5c6bf; }
.field-error { color: var(--danger); font-size: .8rem; font-weight: 600; margin-top: 5px; display: block; }

/* ---------- Footer ---------- */
.site-footer {
    background:
        radial-gradient(700px 260px at 15% -20%, rgba(216,118,42,.12), transparent 60%),
        var(--primary-dark);
    color: #a0a7cd; margin-top: 100px;
    border-top: 3px solid var(--accent);
}
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 46px; padding: 76px 0 54px; }
.footer-main h4 { color: #fff; font-size: .95rem; margin-bottom: 22px; letter-spacing: .5px; font-family: var(--font-display); }
.footer-main h4::after { content: ''; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: 9px; }
.footer-main p, .footer-main li { font-size: .9rem; }
.footer-main ul { display: grid; gap: 12px; }
.footer-main a { transition: color .2s, padding-left .2s; }
.footer-main ul a:hover { color: var(--accent-2); padding-left: 4px; }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
    flex: 1; padding: 12px 15px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
    color: #fff; outline: none; min-width: 0;
}
.newsletter-form input::placeholder { color: #878db8; }
.newsletter-form button { border: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center;
    transition: .3s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #1a1840; transform: translateY(-3px); }
.footer-social svg { width: 15px; height: 15px; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 150;
    width: 58px; height: 58px; border-radius: 50%;
    background: linear-gradient(135deg, #2adb6e, #1faa53); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,190,90,.5);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float::before {
    content: ''; position: absolute; inset: -5px; border-radius: 50%;
    border: 2px solid rgba(42,219,110,.4);
    animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 36px rgba(37,190,90,.6); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .hero-eyebrow, .hero h1, .hero p.lead, .hero-stats, .search-card { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
    .hero-bg img, .hero-bg video { animation: none; transform: none; }
    .wa-float::before, .hero-scroll::before, .play-btn::before, .play-btn::after { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .search-form { grid-template-columns: 1fr 1fr; }
    .filter-form { grid-template-columns: repeat(3, 1fr); }
    .prop-grid, .svc-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .sidebar-card { position: static; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .hero-stat { padding: 0 24px; }
}
@media (max-width: 768px) {
    .nav-menu, .nav-cta .btn { display: none; }
    .burger { display: flex; }
    .mobile-nav { display: block; }
    .topbar-contact { gap: 12px; }
    .topbar-contact span:nth-child(n+3) { display: none; }
    .hero { min-height: 78vh; }
    .hero .container { padding: 80px 0 130px; }
    .hero-stat { padding: 0 18px; }
    .hero-stat b { font-size: 1.5rem; }
    .hero-scroll { display: none; }
    .search-form, .filter-form { grid-template-columns: 1fr; }
    .search-tabs { display: flex; width: calc(100% - 16px); }
    .search-tab { flex: 1; padding: 10px 8px; }
    .prop-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 66px; }
    .split-media .float-card { right: 8px; }
    .cta-band { padding: 44px 30px; border-radius: 22px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 36px; }
    .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
    .gallery-nav { opacity: 1; width: 40px; height: 40px; }
    .feature-list { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .detail-price small { text-align: left; }
    .prop-arrow { opacity: 1; transform: none; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
}
