/* ==========================================================================
   Ma Pice — Public & Dashboard Styles
   Hybrid Leboncoin / Airbnb redesign — light public theme
   ========================================================================== */

:root {
    --navy: #0A0A0A;
    --navy-dark: #000000;
    --gold: #F9A825;
    --gold-dark: #E09200;
    --brand-orange: #F9A825;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --gray-100: #F0F0EE;
    --gray-200: #E0E0DC;
    --gray-400: #9A9A96;
    --gray-600: #52524E;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: none;
    --shadow-lg: none;
    --font: 'DM Sans', system-ui, sans-serif;
    --header-h: 5rem;
    --header-chips-h: 2.75rem;
    --orange-soft: rgba(249, 168, 37, 0.14);
    --orange-ring: rgba(249, 168, 37, 0.28);
    --peach: #FFF6E8;
    --cream: #FFFBF5;
    --mint: #E8F8F0;
    --sky: #E8F2FC;
    --lavender: #F0ECFA;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.public-site {
    background: var(--white);
    color: var(--navy);
}

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

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

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

/* Main offset for fixed header + chips + espace sous la nav */
body:not(.page-auth):not(.dashboard-body) main {
    padding-top: calc(var(--header-h) + var(--header-chips-h) + 1.5rem);
}

body.page-auth main {
    padding-top: calc(var(--header-h) + 1.5rem);
    min-height: 100vh;
}

body.has-hero:not(.page-auth) main {
    padding-top: 0;
}

body.dashboard-body main {
    padding-top: 0;
}

/* --------------------------------------------------------------------------
   Icons — Phosphor duotone via x-mapice-icon
   -------------------------------------------------------------------------- */

.icon,
.mp-ph {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
}

.icon-xs {
    width: 0.95rem;
    height: 0.95rem;
}

.icon-sm,
.mp-ph--sm {
    width: 1.15rem;
    height: 1.15rem;
}

.icon-lg {
    width: 1.75rem;
    height: 1.75rem;
}

.feature-icon .icon,
.feature-icon .mp-ph,
.become-step-icon .mp-ph,
.become-benefit-icon .mp-ph,
.become-owner-keep-cta-icon .mp-ph {
    width: 1.65rem;
    height: 1.65rem;
}

.icon-xl {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--brand-orange);
    margin: 0 auto 1rem;
}

.form-group label,
.property-card-meta,
.property-card-type,
.nav-link,
.sidebar-link,
.site-footer a,
.header-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.property-card-type {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   Brand logo
   -------------------------------------------------------------------------- */

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.brand-logo-img {
    display: block;
    height: 3.25rem;
    width: auto;
    max-width: 12rem;
    object-fit: contain;
}

.header-row .brand-logo-img {
    height: 4.75rem;
    max-width: 16.5rem;
}

.site-footer .brand-logo-img,
.brand-logo--dark .brand-logo-img {
    height: 3rem;
    background: var(--white);
    border-radius: 0.55rem;
    padding: 0.2rem 0.45rem;
}

.auth-topbar .brand-logo-img,
.mp-qr-card .brand-logo-img,
.qr-inactive-brand .brand-logo-img {
    height: 2.4rem;
    background: var(--white);
    border-radius: 0.45rem;
    padding: 0.15rem 0.35rem;
}

/* legacy wordmark (si encore référencé) */
.brand-wordmark {
    font-family: var(--font);
    font-size: clamp(1.35rem, 2.5vw, 1.55rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-wordmark--light .brand-ma {
    color: var(--navy);
}

.brand-wordmark--light .brand-pice {
    color: var(--gold-dark);
}

.brand-wordmark--dark .brand-ma {
    color: var(--white);
}

.brand-wordmark--dark .brand-pice {
    color: var(--gold);
}

.brand-wordmark--adaptive .brand-ma {
    color: var(--navy);
}

.brand-wordmark--adaptive .brand-pice {
    color: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-200);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--navy);
}

.btn-ghost {
    background: var(--gray-100);
    color: var(--navy);
    border-color: var(--gray-200);
}

.btn-ghost:hover {
    background: var(--gray-200);
    border-color: var(--gray-400);
    color: var(--navy);
}

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

.btn-navy:hover {
    background: #333333;
    border-color: #333333;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-danger {
    background: #dc2626;
    color: var(--white);
    border-color: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.btn-block {
    width: 100%;
    margin-top: 0.75rem;
}

/* Ghost on dark hero overlay */
.hero .btn-ghost,
.page-banner .btn-ghost,
.cta-section .btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
}

.hero .btn-ghost:hover,
.page-banner .btn-ghost:hover,
.cta-section .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.alerts,
.dashboard-alerts {
    padding: 1rem 0 0;
    position: relative;
    z-index: 150;
}

.has-hero .alerts {
    padding-top: calc(var(--header-h) + var(--header-chips-h) + 0.75rem);
}

body.page-auth .alerts-auth {
    position: fixed;
    top: calc(var(--header-h) + 0.5rem);
    left: 0;
    right: 0;
    z-index: 300;
    padding-top: 0;
}

.alert {
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.field-error[hidden] {
    display: none;
}

textarea.is-invalid,
input.is-invalid {
    border-color: #dc2626;
}

.mp-toast-host {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
    max-width: min(22rem, calc(100vw - 2rem));
}

.mp-toast {
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: none;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.mp-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mp-toast--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mp-toast--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-check label {
    text-transform: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--navy);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2352524E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.form-group select option {
    background-color: var(--white);
    color: var(--navy);
    padding: 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--orange-ring);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Panels, badges, tables, empty state
   -------------------------------------------------------------------------- */

.panel {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.panel h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--navy);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    color: var(--gray-600);
}

.feature-tag {
    background: var(--gray-100);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--gray-600);
    display: inline-block;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-approved {
    background: #ecfdf5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-draft {
    background: var(--gray-100);
    color: var(--gray-600);
}

.status-rejected {
    background: #fef2f2;
    color: #991b1b;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.data-table th {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.data-table td {
    color: var(--navy);
}

.data-table a {
    color: var(--gold-dark);
    font-weight: 600;
}

.data-table a:hover {
    color: var(--brand-orange);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--gray-600);
}

.empty-state .empty-icon {
    display: block;
    opacity: 0.7;
}

.empty-state p {
    margin: 0 0 1rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-600);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination a:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.pagination .active {
    background: var(--brand-orange);
    color: var(--white);
    border-color: var(--brand-orange);
}

.pagination-wrap {
    margin-top: 2rem;
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Site header — Leboncoin style
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: box-shadow 0.25s ease;
}

.site-header.is-light,
.site-header.is-scrolled {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 0.75rem 1rem;
    min-height: var(--header-h);
    padding: 0.65rem 0;
    position: relative;
}

.header-row .brand {
    order: 1;
}

.header-row .nav-publish {
    order: 2;
    flex-shrink: 0;
}

.header-search {
    order: 3;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 999px;
    padding: 0.35rem 0.35rem 0.35rem 1.1rem;
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}

.header-search:focus-within {
    background: var(--white);
    border-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.header-search input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.45rem 0.5rem;
    font-size: 0.92rem;
    color: var(--navy);
    outline: none;
}

.header-search input::placeholder {
    color: var(--gray-400);
}

.header-search-btn {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    border: none;
    background: var(--brand-orange);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.header-search-btn:hover {
    background: var(--gold-dark);
    transform: scale(1.04);
}

.header-actions {
    order: 4;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.header-icon-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray-600);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    line-height: 1.2;
    min-height: 3.25rem;
}

.header-icon-link:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.header-icon-link.is-active {
    color: var(--brand-orange);
    background: rgba(249, 168, 37, 0.12);
    box-shadow: inset 0 0 0 1px rgba(249, 168, 37, 0.35);
}

.btn .icon,
.btn .mp-ph {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    fill: currentColor;
}

.btn-sm .icon,
.btn-sm .mp-ph,
.btn .icon-xs,
.btn .mp-ph.icon-xs {
    width: 0.95rem;
    height: 0.95rem;
}

.header-register {
    margin-left: 0.25rem;
}

.nav-toggle {
    display: none;
    order: 5;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.25rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    border-radius: 2px;
    transition: background 0.2s;
}

/* Header categories — style Leboncoin (texte + points) */
.header-cats {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    min-height: var(--header-chips-h);
    display: flex;
    align-items: center;
}

.header-cats-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-block: 0.65rem;
    width: 100%;
}

.header-cats-inner::-webkit-scrollbar {
    display: none;
}

.header-cat {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: #415464;
    background: none;
    border: none;
    padding: 0.15rem 0;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease;
}

.header-cat:not(:last-child)::after {
    content: '·';
    display: inline-block;
    margin: 0 0.75rem;
    color: #415464;
    font-weight: 700;
    pointer-events: none;
}

.header-cat:hover {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.header-cat.is-active {
    color: var(--gold-dark);
    font-weight: 700;
}

.header-cat.is-active:hover {
    text-decoration: none;
}

/* Compat anciens chips si utilisés ailleurs */
.header-chips { display: none; }
.chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-label {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 300;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 0.875rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

a.nav-dropdown-item:hover,
button.nav-dropdown-item:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.35rem 0;
}

.nav-dropdown-logout {
    margin: 0;
}

.nav-dropdown-logout button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

/* Legacy nav links (dashboard crossover) */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    transition: all 0.2s;
    color: var(--gray-600);
}

.nav-link:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.nav-link.is-active {
    color: var(--brand-orange);
    background: var(--orange-soft);
}

/* --------------------------------------------------------------------------
   Auth topbar
   -------------------------------------------------------------------------- */

.auth-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
    padding: 0.75rem clamp(1rem, 4vw, 1.5rem);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.auth-topbar-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: var(--navy);
    transition: background 0.2s;
}

.auth-topbar-back:hover {
    background: var(--gray-100);
}

.auth-back-icon {
    transform: rotate(180deg);
}

.auth-topbar-spacer {
    flex: 1;
}

body.page-auth {
    background: var(--white);
    color: var(--navy);
}

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

.hero {
    color: var(--white);
    position: relative;
    margin-top: 0;
}

.hero-bg {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: clamp(520px, 85vh, 720px);
}

.hero-overlay {
    width: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0.55) 14%, transparent 38%),
        linear-gradient(to bottom, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.2) 20%, transparent 45%),
        linear-gradient(105deg, rgba(26, 26, 26, 0.72) 0%, rgba(26, 26, 26, 0.45) 42%, rgba(26, 26, 26, 0.15) 70%, transparent 100%);
    padding-block: calc(var(--header-h) + var(--header-chips-h) + 2rem) 3rem;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-intro {
    width: 100%;
    max-width: 38rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.12;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero h1 span {
    color: var(--brand-orange);
}

.hero p {
    font-size: 1.05rem;
    opacity: 0.92;
    margin: 0 0 1.75rem;
    line-height: 1.7;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* --------------------------------------------------------------------------
   Search forms & home search wrap
   -------------------------------------------------------------------------- */

.search-section {
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.home-search-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
}

.search-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
    border: 1px solid var(--gray-200);
}

.hero-search {
    width: 100%;
    margin: 0;
}

.home-search-wrap .search-form {
    box-shadow: none;
    border: none;
    padding: 0;
}

/* --------------------------------------------------------------------------
   Home CTA banner & carousel
   -------------------------------------------------------------------------- */

.home-cta-banner {
    background: linear-gradient(135deg, var(--peach) 0%, var(--cream) 50%, #FFECD9 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid rgba(249, 168, 37, 0.12);
}

.home-cta-banner--photo {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(280px, 38vw, 420px);
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    border: none;
    box-shadow: var(--shadow);
}

.home-cta-banner--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        105deg,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.72) 36%,
        rgba(0, 0, 0, 0.35) 62%,
        rgba(0, 0, 0, 0.12) 100%
    );
    pointer-events: none;
}

.home-cta-banner--photo .home-cta-copy {
    position: relative;
    z-index: 1;
}

.home-cta-banner--photo .home-eyebrow {
    color: var(--gold);
}

.home-cta-banner--photo h1 {
    color: var(--white);
}

.home-cta-banner--photo p {
    color: rgba(255, 255, 255, 0.82);
}

.home-cta-banner--photo .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.home-cta-banner--photo .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.home-cta-banner h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.home-cta-banner p {
    margin: 0;
    color: var(--gray-600);
    max-width: 32rem;
    line-height: 1.6;
}

.carousel-row {
    position: relative;
    margin-inline: calc(-1 * clamp(1rem, 4vw, 1.5rem));
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track > * {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.home-qr-banner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow);
}

.home-qr-banner-copy {
    flex: 1 1 16rem;
    max-width: 34rem;
}

.home-qr-banner-copy h2 {
    margin: 0 0 0.65rem;
    color: var(--navy);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.home-qr-banner-copy p {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    line-height: 1.65;
}

.home-qr-example {
    flex: 0 0 auto;
    margin-inline: auto;
}

/* Carte QR physique — style Ma Pice / Wave */
.mp-qr-card {
    margin: 0;
    width: min(220px, 70vw);
    filter: drop-shadow(0 18px 32px rgba(10, 10, 10, 0.18));
}

.mp-qr-card-inner {
    background: linear-gradient(165deg, #1a1a1a 0%, #0a0a0a 55%, #141210 100%);
    border-radius: 1.35rem;
    padding: 1.15rem 1.1rem 1.25rem;
    border: 1px solid rgba(249, 168, 37, 0.35);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
}

.mp-qr-card-inner::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}

.mp-qr-card-header {
    text-align: center;
    width: 100%;
}

.mp-qr-card-header .brand-logo-img {
    height: 2.1rem;
}

.mp-qr-card-header p {
    margin: 0.35rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.mp-qr-card-code {
    width: 100%;
    display: flex;
    justify-content: center;
}

.mp-qr-frame {
    background: var(--white);
    border-radius: 0.85rem;
    padding: 0.65rem;
    box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.35);
    line-height: 0;
}

.mp-qr-frame svg {
    width: 148px;
    height: auto;
    display: block;
}

.mp-qr-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: 100%;
}

.mp-qr-code-label {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: var(--gold);
}

.mp-qr-domain {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-header h2 {
    margin: 0;
    font-size: 1.75rem;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.section-header p {
    margin: 0.35rem 0 0;
    color: var(--gray-600);
}

.section-header-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header-center p {
    max-width: 32rem;
}

/* Features */
.section-features {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 168, 37, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: var(--orange-soft);
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon .icon {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--navy);
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Owner section */
.section-owner {
    background: var(--white);
}

.owner-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.owner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--orange-soft);
    color: var(--gold-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.owner-content h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--navy);
}

.owner-intro {
    margin: 0 0 2rem;
    color: var(--gray-600);
    line-height: 1.65;
    max-width: 34rem;
}

.owner-steps {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.owner-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.owner-step-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-step h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--navy);
}

.owner-step p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
}

.owner-visual {
    position: relative;
}

.owner-visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
}

/* Globe / transaction map */
.section-globe {
    background: var(--off-white);
}

.globe-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.transaction-map svg {
    display: block;
    width: 100%;
    height: auto;
    background: var(--white);
}

.transaction-map .world-land {
    fill: rgba(26, 26, 26, 0.06);
    stroke: none;
}

.transaction-map .flow-labels text {
    fill: var(--gray-600);
}

.transaction-map .flow-labels text[font-weight="700"] {
    fill: var(--navy);
}

.flow-path {
    fill: none;
    stroke: var(--brand-orange);
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-dasharray: 10 8;
    animation: flowDash 2.4s linear infinite;
    opacity: 0.85;
}

.flow-node {
    fill: var(--brand-orange);
}

.flow-hub {
    fill: var(--brand-orange);
}

.flow-hub-ring {
    fill: none;
    stroke: rgba(249, 168, 37, 0.4);
    stroke-width: 2;
    animation: hubPulse 2.2s ease-out infinite;
}

@keyframes flowDash {
    to { stroke-dashoffset: -36; }
}

@keyframes hubPulse {
    0% { r: 14; opacity: 0.7; }
    100% { r: 28; opacity: 0; }
}

/* Testimonials */
.section-testimonials {
    background: var(--white);
    border-block: 1px solid var(--gray-100);
    overflow: hidden;
    padding-bottom: 0.5rem;
}

.section-testimonials .testimonials-marquee {
    padding-block: 0.25rem 1.5rem;
}

.section-testimonials .section-header {
    margin-bottom: 2rem;
}

.section-testimonials .section-header h2 {
    color: var(--navy);
}

.section-testimonials .section-header p {
    color: var(--gray-600);
}

.testimonials-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-dark);
}

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

.testimonials-marquee {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.testimonials-marquee--vertical {
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 6%, #000 94%, transparent);
    flex: 1;
    min-height: 0;
}

.testimonials-marquee-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: testimonials-scroll-x 48s linear infinite;
    will-change: transform;
}

.testimonials-marquee--vertical .testimonials-marquee-track {
    flex-direction: column;
    width: 100%;
    animation-name: testimonials-scroll-y;
    animation-duration: 42s;
}

.testimonials-marquee:hover .testimonials-marquee-track {
    animation-play-state: paused;
}

@keyframes testimonials-scroll-x {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes testimonials-scroll-y {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}

.testimonials-marquee--horizontal .testimonial-card {
    flex: 0 0 min(340px, 78vw);
    width: min(340px, 78vw);
}

.testimonials-marquee--vertical .testimonial-card {
    flex: 0 0 auto;
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        transform: none !important;
    }

    .testimonials-marquee--vertical .testimonials-marquee-track {
        flex-wrap: nowrap;
    }

    .testimonials-marquee {
        -webkit-mask-image: none;
        mask-image: none;
        overflow: auto;
    }
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.35rem;
    border: 1px solid var(--gray-200);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.testimonial-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.testimonial-quote-mark {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    line-height: 0.7;
    color: var(--gold);
    opacity: 0.85;
    font-weight: 700;
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.15rem;
    color: var(--gold);
}

.testimonial-text {
    margin: 0;
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--navy);
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    margin: 0;
}

.testimonial-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: none;
}

.testimonial-author-meta {
    flex: 1;
    min-width: 0;
}

.testimonial-author-meta strong {
    display: block;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 0.15rem;
}

.testimonial-author-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.testimonial-card .trust-badge {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--orange-soft);
    color: var(--gold-dark);
    font-weight: 600;
    border: 1px solid rgba(224, 146, 0, 0.25);
}

.testimonial-card .trust-badge--or,
.testimonial-card .trust-badge--premium {
    background: rgba(249, 168, 37, 0.2);
    color: var(--gold-dark);
}

.testimonial-card .trust-badge--argent {
    background: var(--gray-100);
    color: var(--gray-600);
    border-color: var(--gray-200);
}

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

/* CTA section */
.cta-section {
    color: var(--white);
    padding: 0;
}

.cta-with-image {
    background-size: cover;
    background-position: center;
}

.cta-join {
    position: relative;
    isolation: isolate;
    background-position: right center;
    background-color: #0a0a0a;
    min-height: clamp(440px, 52vw, 560px);
    overflow: hidden;
}

.cta-overlay {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.72) 100%);
    padding: 4rem 0;
    min-height: inherit;
    display: flex;
    align-items: center;
}

/* Effet Netflix : scrim gauche + fondu bas vers le footer noir */
.cta-join .cta-overlay {
    position: relative;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.72) 28%,
            rgba(0, 0, 0, 0.35) 52%,
            rgba(0, 0, 0, 0.08) 78%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            transparent 28%,
            transparent 48%,
            rgba(0, 0, 0, 0.55) 72%,
            rgba(10, 10, 10, 0.92) 88%,
            #0a0a0a 100%
        );
    min-height: inherit;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4.5rem, 8vw, 6.5rem);
}

.cta-join::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to top,
        #0a0a0a 0%,
        rgba(10, 10, 10, 0.85) 28%,
        rgba(10, 10, 10, 0.35) 65%,
        transparent 100%
    );
}

.cta-join .cta-content {
    position: relative;
    z-index: 3;
}

.cta-join .btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
}

.cta-join .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.cta-content {
    text-align: left;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-intro {
    max-width: 34rem;
}

.cta-section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--white);
}

.cta-section p {
    margin: 0 0 1.5rem;
    opacity: 0.88;
    max-width: 36rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-join .cta-buttons {
    justify-content: flex-start;
}

/* --------------------------------------------------------------------------
   Page banner (listing hero)
   -------------------------------------------------------------------------- */

.page-banner {
    background-size: cover;
    background-position: center;
    min-height: clamp(200px, 32vh, 280px);
    margin-top: calc(-1 * (var(--header-h) + var(--header-chips-h)));
}

.page-banner-overlay {
    min-height: inherit;
    display: flex;
    align-items: center;
    background:
        linear-gradient(to top, var(--white) 0%, rgba(255, 255, 255, 0.5) 20%, transparent 45%),
        linear-gradient(to bottom, rgba(26, 26, 26, 0.6) 0%, rgba(26, 26, 26, 0.25) 30%, transparent 55%),
        linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(26, 26, 26, 0.45) 100%);
    padding: calc(var(--header-h) + var(--header-chips-h) + 2rem) 0 2.5rem;
    color: var(--white);
}

.page-banner h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.page-banner p {
    margin: 0;
    opacity: 0.88;
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Listing page
   -------------------------------------------------------------------------- */

.listing-page {
    padding: 2rem 0 4rem;
    background: var(--white);
}

.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: start;
}

.listing-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: visible;
    position: relative;
    z-index: 5;
}

.listing-toolbar form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.filter-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--navy);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.filter-pill:hover,
.filter-pill.is-active {
    background: var(--orange-soft);
    border-color: rgba(249, 168, 37, 0.35);
    color: var(--gold-dark);
}

.filter-pill:focus-within {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--orange-ring);
}

.filter-pill select.mp-select-native {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.mp-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 8.5rem;
}

.mp-select-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    min-width: inherit;
    padding: 0.1rem 0.15rem 0.1rem 0.1rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.mp-select-trigger-label {
    white-space: nowrap;
}

.mp-select-chevron {
    width: 0.7rem;
    height: 0.7rem;
    flex-shrink: 0;
    color: var(--gray-600);
    transition: transform 0.2s;
}

.mp-select.is-open .mp-select-chevron {
    transform: rotate(180deg);
}

.mp-select-menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: -0.75rem;
    right: auto;
    min-width: max(100%, 12rem);
    max-height: 16rem;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: none;
    padding: 0.35rem;
    z-index: 400;
    display: none;
}

.mp-select.is-open .mp-select-menu {
    display: block;
}

.mp-select-option {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    font-family: inherit;
}

.mp-select-option:hover {
    background: var(--gray-100);
    color: var(--navy);
}

.mp-select-option.is-selected {
    background: var(--orange-soft);
    color: var(--gold-dark);
    font-weight: 600;
}

.mp-select-option.is-placeholder {
    color: var(--gray-600);
}

.filter-pill:has(.mp-select.is-open) {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--orange-ring);
    z-index: 401;
}

.filter-pill-input {
    padding-right: 0.9rem;
}

.filter-pill-input input {
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.875rem;
    width: 6.5rem;
    outline: none;
    color: var(--navy);
}

.filter-pill-input input::placeholder {
    color: var(--gray-400);
}

.listing-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.listing-split.has-map {
    grid-template-columns: 1.1fr 0.9fr;
}

.listing-map {
    position: sticky;
    top: calc(var(--header-h) + var(--header-chips-h) + 1rem);
    height: calc(100vh - var(--header-h) - var(--header-chips-h) - 2rem);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    background: var(--gray-100);
}

.listing-map iframe,
.listing-map .map-container {
    width: 100%;
    height: 100%;
    border: none;
}

.filters-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + var(--header-chips-h) + 1rem);
    border: 1px solid var(--gray-200);
    color: var(--navy);
}

.filters-panel h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-panel .form-group {
    margin-bottom: 0.875rem;
}

.filters-panel .form-group label {
    color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Property cards — Airbnb style
   -------------------------------------------------------------------------- */

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: transparent;
    border-radius: var(--radius);
    overflow: visible;
    transition: transform 0.2s;
    border: none;
    box-shadow: none;
}

.property-card:hover {
    transform: translateY(-2px);
}

.property-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--gray-100);
}

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

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

.property-card-heart {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s, color 0.2s;
    z-index: 2;
}

.property-card-heart:hover,
.property-card-heart.is-active {
    color: #e11d48;
    transform: scale(1.08);
}

.property-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-weight: 600;
}

.property-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--white);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.property-card-body {
    padding: 0.75rem 0.15rem 0;
}

.property-card-meta {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.property-card-body h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--navy);
}

.property-card-body h3 a:hover {
    color: var(--brand-orange);
}

.property-card-type {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0;
    border-top: none;
}

.property-card-footer strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
}

.property-card-footer small {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.property-card-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--gray-100);
}

.property-card-owner-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gray-200);
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gray-600);
}

.property-card-owner span {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Property detail — Leboncoin style
   -------------------------------------------------------------------------- */

.property-detail,
.listing-page {
    color: var(--navy);
}

.property-detail {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.breadcrumb-sep {
    color: var(--gray-400);
}

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

.property-gallery,
.detail-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    aspect-ratio: 16/10;
}

.detail-gallery-main {
    grid-row: 1 / -1;
    overflow: hidden;
}

.detail-gallery-main img,
.detail-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-gallery-thumb {
    overflow: hidden;
    border-radius: 0;
}

.property-gallery {
    aspect-ratio: 16/10;
}

.property-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.property-detail h1 {
    margin: 0.5rem 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0.5rem 0 1rem;
}

.property-price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-600);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.property-description {
    color: var(--gray-600);
    line-height: 1.7;
}

.detail-summary-card,
.detail-owner-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.detail-owner-card {
    margin-top: 1rem;
}

.detail-owner-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--gold-dark));
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.key-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1rem 0;
}

.key-info-item {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
}

.key-info-item dt {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    margin: 0 0 0.15rem;
}

.key-info-item dd {
    margin: 0;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.detail-map-wrap {
    margin-top: 0.25rem;
    height: 280px;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
    z-index: 0;
    isolation: isolate;
    contain: layout paint;
}

.detail-map,
.detail-map.leaflet-container {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--gray-100);
    z-index: 0;
}

.detail-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.contact-box h3 {
    color: var(--navy);
    margin: 0 0 1rem;
}

.contact-box textarea {
    width: 100%;
    min-height: 100px;
    resize: vertical;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--navy);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    font-family: inherit;
}

.owner-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

.owner-link:hover strong {
    color: var(--gold-dark);
}

.owner-link-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-orange);
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   Owner profile (public)
   -------------------------------------------------------------------------- */

.owner-profile {
    padding: 2rem 0 4rem;
    color: var(--navy);
}

.owner-profile-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.owner-profile-identity {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.owner-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--gold-dark));
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.owner-profile-label {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
}

.owner-profile h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    color: var(--navy);
}

.owner-profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.owner-profile-stats {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.owner-profile-stats > div {
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.owner-profile-stats strong {
    display: block;
    font-size: 1.35rem;
    color: var(--navy);
    line-height: 1.2;
}

.owner-profile-stats span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.owner-listings h2 {
    color: var(--navy);
    margin: 0 0 1.5rem;
}

/* --------------------------------------------------------------------------
   QR inactive page
   -------------------------------------------------------------------------- */

.qr-inactive {
    min-height: calc(100vh - var(--header-h) - var(--header-chips-h) - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.qr-inactive-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.qr-inactive-brand {
    margin: 0 0 1.25rem;
}

.qr-inactive-card h1 {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    color: var(--navy);
}

.qr-inactive-card > p {
    color: var(--gray-600);
    margin: 0 0 1rem;
}

.qr-inactive-code {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.qr-inactive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Auth layout & mosaic
   -------------------------------------------------------------------------- */

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-mosaic {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--off-white);
    min-height: 100vh;
    height: 100%;
}

.auth-side-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1.5rem 1.5rem;
    background: var(--white);
    border-left: 1px solid var(--gray-100);
    min-height: 100vh;
    height: 100%;
    overflow: hidden;
}

.auth-side-intro {
    flex-shrink: 0;
    padding-inline: 0.25rem;
}

.auth-side-intro h2 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.auth-side-intro > p:last-child {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-side-marquee {
    flex: 1;
    min-height: 0;
}

.auth-mosaic-card {
    border-radius: var(--radius-lg);
    min-height: 0;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.auth-mosaic-card.mosaic-wide {
    grid-column: span 2;
}

.auth-mosaic-card.mosaic-tall {
    grid-row: span 2;
}

.auth-mosaic-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.auth-visual {
    position: relative;
    overflow: hidden;
    background: var(--off-white);
}

.auth-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100vh;
    display: block;
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(26, 26, 26, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

.auth-visual-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--white);
    background: rgba(26, 26, 26, 0.82);
    backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
}

.auth-card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem 2.5rem;
    width: min(440px, 100%);
    border: none;
    color: var(--navy);
}

.auth-brand {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.auth-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    color: var(--navy);
}

.auth-card > p {
    color: var(--gray-600);
    margin: 0 0 1.5rem;
}

.auth-card .form-group {
    margin-bottom: 1rem;
}

.auth-card .form-group label {
    color: var(--gray-600);
}

.auth-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.auth-links a {
    color: var(--brand-orange);
    font-weight: 600;
}

.auth-links a:hover {
    color: var(--gold-dark);
}

.role-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.role-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    padding: 0.65rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    background: var(--white);
    transition: all 0.2s;
    text-decoration: none;
}

.role-tab:hover {
    border-color: var(--brand-orange);
    color: var(--navy);
}

.role-tab.active {
    border-color: var(--brand-orange);
    background: var(--orange-soft);
    color: var(--brand-orange);
}

/* --------------------------------------------------------------------------
   Footer — noir Ma Pice
   -------------------------------------------------------------------------- */

.site-footer {
    background: #0a0a0a;
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

main:has(> .cta-section:last-child) + .site-footer {
    margin-top: 0;
    border-top: none;
    padding-top: 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-about .footer-brand {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    max-width: 28rem;
}

.site-footer h4 {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--white);
}

.site-footer a {
    display: flex;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--gold);
}

.site-footer p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Dashboard (public navbar, no sidebar)
   -------------------------------------------------------------------------- */

.dashboard-page {
    padding: 0 0 4rem;
    min-height: 50vh;
}

.dashboard-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 1.75rem;
}

.dashboard-page-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
}

.dashboard-page-header h1 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
    letter-spacing: -0.02em;
}

.dashboard-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.dashboard-page-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-page-body > .dashboard-stats {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .dashboard-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-page-actions {
        width: 100%;
    }

    .dashboard-page-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

.dashboard-page .panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    color: var(--navy);
}

.dashboard-page .panel h2 {
    margin: 0 0 0.75rem;
    color: var(--navy);
}

body.page-dashboard {
    background: var(--white);
    color: var(--navy);
}

body.page-dashboard main {
    background: var(--white);
}

/* Legacy sidebar layout (unused) */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background: var(--off-white);
    color: var(--navy);
}

.dashboard-sidebar {
    width: 260px;
    background: var(--navy);
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-brand {
    display: block;
    text-decoration: none;
    padding-bottom: 0.25rem;
}

.sidebar-user {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(249, 168, 37, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    flex-shrink: 0;
}

.sidebar-user strong {
    display: block;
    font-size: 0.9rem;
}

.sidebar-user span {
    font-size: 0.78rem;
    opacity: 0.7;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.sidebar-link,
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.875rem;
    border-radius: 10px;
    font-size: 0.88rem;
    opacity: 0.85;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.sidebar-link:hover,
.sidebar-link.active,
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(249, 168, 37, 0.15);
    opacity: 1;
    color: var(--brand-orange);
}

.sidebar-logout {
    margin-top: auto;
}

.sidebar-logout button {
    width: 100%;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.sidebar-logout button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--off-white);
}

.dashboard-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-topbar h1 {
    margin: 0;
    font-size: 1.35rem;
    color: var(--navy);
}

.dashboard-content {
    padding: 2rem;
    flex: 1;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-stat {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dashboard-stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--brand-orange);
}

.dashboard-stat span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.dashboard-body .panel {
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    background: var(--white);
}

.dashboard-body .panel h2,
.dashboard-body .section-header h2 {
    color: var(--navy);
}

.dashboard-body .section-header {
    margin-bottom: 1.5rem;
}

.dashboard-body .property-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dashboard-body .property-card:hover {
    box-shadow: var(--shadow-lg);
}

.dashboard-body .property-card-image {
    border-radius: var(--radius) var(--radius) 0 0;
}

.dashboard-body .property-card-body {
    padding: 1rem 1.25rem 1.25rem;
}

.dashboard-alerts {
    padding: 1rem 2rem 0;
}

/* --------------------------------------------------------------------------
   Page-specific body overrides
   -------------------------------------------------------------------------- */

body.page-listing,
body.page-property-detail,
body.page-owner-profile,
body.page-qr-inactive,
body.page-become-owner {
    background: var(--white);
    color: var(--navy);
}

body.page-listing main,
body.page-property-detail main,
body.page-owner-profile main,
body.page-qr-inactive main,
body.page-become-owner main {
    background: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive — tablet
   -------------------------------------------------------------------------- */

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

    .auth-layout,
    .property-detail-grid,
    .detail-layout,
    .listing-layout,
    .listing-split.has-map,
    .footer-grid,
    .owner-split {
        grid-template-columns: 1fr;
    }

    .auth-visual,
    .auth-mosaic,
    .auth-side-panel {
        display: none;
    }

    .listing-map {
        position: static;
        height: 360px;
        order: -1;
    }

    .detail-summary-card {
        position: static;
    }

    .filters-panel {
        position: static;
    }

    .dashboard-body {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
    }

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

    .hero-bg {
        background-position: center;
        min-height: clamp(580px, 88vh, 700px);
    }

    .hero-overlay {
        padding-block: calc(var(--header-h) + var(--header-chips-h) + 1.5rem) 2rem;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .cta-join .cta-content {
        text-align: center;
    }

    .cta-join .cta-intro {
        max-width: none;
    }

    .cta-join .cta-buttons {
        justify-content: center;
    }

    .cta-join .cta-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.55) 0%,
                rgba(0, 0, 0, 0.45) 35%,
                rgba(10, 10, 10, 0.88) 78%,
                #0a0a0a 100%
            );
        text-align: center;
    }

    .cta-join::after {
        height: 48%;
    }

    .detail-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }

    .detail-gallery-main {
        grid-row: auto;
        aspect-ratio: 16/10;
    }

    .detail-gallery-thumb {
        display: none;
    }

    .home-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-cta-banner--photo {
        background-position: center;
        min-height: 300px;
    }

    .home-cta-banner--photo::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.62) 55%,
            rgba(0, 0, 0, 0.45) 100%
        );
    }
}

/* --------------------------------------------------------------------------
   Responsive — mobile
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
    :root {
        --header-chips-h: 2.5rem;
    }

    .header-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .header-row .brand-logo-img {
        height: 3.75rem;
        max-width: 13rem;
    }

    .header-row .brand {
        order: 1;
    }

    .nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .header-row .nav-publish {
        order: 4;
        width: 100%;
        justify-content: center;
    }

    .header-search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
    }

    .header-actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        padding: 1rem;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        gap: 0.25rem;
        margin-left: 0;
        z-index: 250;
    }

    .header-actions.open {
        display: flex;
    }

    .header-icon-link {
        flex-direction: row;
        font-size: 0.9rem;
        padding: 0.65rem 0.875rem;
        border-radius: var(--radius);
    }

    .header-register {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        min-height: 0;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .nav-dropdown-label {
        flex: 1;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 0.35rem;
        box-shadow: none;
        transform: none;
        border: 1px solid var(--gray-200);
    }

    .nav-dropdown:not(.is-open) .nav-dropdown-menu {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .header-cats-inner {
        justify-content: flex-start;
        padding-inline: 0;
    }

    .header-cat {
        font-size: 0.82rem;
    }

    .header-cat:not(:last-child)::after {
        margin: 0 0.55rem;
    }

    .header-chips-inner {
        gap: 0.35rem;
    }

    .chip {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

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

    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .owner-profile-stats {
        flex-direction: column;
        width: 100%;
    }

    .owner-profile-stats > div {
        min-width: 0;
    }

    .dashboard-content {
        padding: 1.25rem;
    }

    .dashboard-topbar {
        padding: 1rem 1.25rem;
    }

    .auth-card {
        padding: 1.5rem 1rem;
    }

    .key-info-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Patch v45 — classes templates refonte
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-hero {
    padding-top: 1.5rem;
}

.home-cta-banner h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.home-cta-banner--photo h1,
.home-cta-banner--photo .home-cta-copy h1 {
    color: #fff !important;
}

.home-cta-banner--photo p,
.home-cta-banner--photo .home-cta-copy > p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.home-cta-banner--photo .home-eyebrow {
    color: var(--gold) !important;
}

.home-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-orange);
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.home-cta-copy {
    max-width: 40rem;
}

.carousel-item {
    flex: 0 0 min(280px, 78vw);
    scroll-snap-align: start;
}

.carousel-item .property-card {
    height: 100%;
}

.listing-page {
    background: var(--white);
    min-height: 60vh;
    padding: 1.5rem 0 4rem;
}

.listing-header h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--navy);
}

.listing-count {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.listing-toolbar {
    margin-bottom: 1.5rem;
}

.filter-check {
    cursor: pointer;
    user-select: none;
}

.filter-check input {
    margin-right: 0.35rem;
}

.listing-map-panel {
    min-height: 420px;
}

.listing-map {
    width: 100%;
    min-height: 420px;
}

.detail-page {
    padding: 1.5rem 0 4rem;
}

.detail-gallery {
    position: relative;
    margin-bottom: 1.5rem;
}

.detail-gallery-side {
    display: contents;
}

.detail-gallery-count {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--shadow);
}

.detail-summary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.detail-price {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
}

.detail-price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

.detail-specs {
    margin: 0 0 0.75rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.detail-summary-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    color: var(--navy);
}

.detail-posted {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-400);
}

.detail-section {
    margin-bottom: 2rem;
}

.detail-section h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    color: var(--navy);
}

.detail-location-text {
    color: var(--gray-600);
    margin: 0 0 1rem;
}

.detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--header-chips-h) + 1rem);
}

.detail-owner-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.detail-owner-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: var(--navy);
}

.detail-owner-head:hover strong {
    color: var(--brand-orange);
}

.detail-owner-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--gold-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.detail-owner-head strong {
    display: block;
    margin-bottom: 0.25rem;
}

.detail-fav-form {
    margin: 0.75rem 0;
}

.detail-login-hint {
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.detail-similar {
    margin-top: 3rem;
    padding-top: 0;
}

.detail-similar .section::before,
.detail-similar::before {
    display: none;
}

.key-info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.key-info-item span {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-600);
}

.key-info-item strong {
    color: var(--navy);
}

.auth-mosaic-card span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    opacity: 0.75;
}

.mosaic-peach { background: linear-gradient(145deg, #FFDCC8, var(--peach)) !important; }
.mosaic-mint { background: linear-gradient(145deg, #C8EDD8, var(--mint)) !important; }
.mosaic-sky { background: linear-gradient(145deg, #C8DFF5, var(--sky)) !important; }
.mosaic-cream { background: linear-gradient(145deg, var(--cream), #FFE8D0) !important; }
.mosaic-lavender { background: linear-gradient(145deg, #D8D0F0, var(--lavender)) !important; }

.dashboard-topbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.sidebar-avatar {
    font-weight: 700;
    font-size: 1rem;
    color: var(--brand-orange);
}

.property-card-owner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: var(--navy);
}

.property-card-owner:hover .property-card-owner-name {
    color: var(--brand-orange);
}

.property-card-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.property-card-owner-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.chip-sep {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.auth-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    min-height: var(--header-h);
}

.auth-topbar-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: var(--brand-orange);
}

.auth-back-icon {
    transform: rotate(180deg);
}

.auth-topbar-spacer {
    width: 2.5rem;
}

body.page-auth main {
    padding-top: 0;
}

@media (max-width: 900px) {
    .listing-split.has-map {
        grid-template-columns: 1fr;
    }

    .listing-map {
        position: relative;
        top: auto;
        height: 320px;
    }

    .detail-sidebar {
        position: static;
    }

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

/* --------------------------------------------------------------------------
   Devenir propriétaire — page explicative
   -------------------------------------------------------------------------- */

.become-owner-page {
    padding-bottom: 0;
}

.become-owner-page .section {
    padding-block: 3rem;
}

.become-owner-page .section + .section {
    border-top: 1px solid var(--gray-100);
}

.become-owner-page .section-header {
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
}

.become-owner-page .section-header h2 {
    width: 100%;
}

.become-owner-hero {
    padding-top: 0.5rem;
}

.become-owner-hero-inner {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.become-owner-eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold-dark);
}

.become-owner-hero h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    color: var(--navy);
    letter-spacing: -0.03em;
}

.become-owner-lead {
    margin: 0 auto 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 36rem;
}

.become-owner-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.become-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 960px;
    align-items: stretch;
}

.become-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.15rem 1.35rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    min-height: 100%;
    position: relative;
}

.become-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    margin-bottom: 0.85rem;
    background: linear-gradient(145deg, #FFF6E5, #FFE8C2);
    color: var(--gold-dark);
    box-shadow: inset 0 0 0 1px rgba(249, 168, 37, 0.2);
}

.become-step-num {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.become-step h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    color: var(--navy);
}

.become-step p {
    margin: 0;
    color: var(--gray-600);
    line-height: 1.65;
    font-size: 0.95rem;
}

.become-owner-benefits {
    background: var(--white);
}

.become-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin-inline: auto;
    align-items: stretch;
}

.become-benefits-grid .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

.become-benefit-card .become-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #FFF6E5, #FFE8C2);
    color: var(--gold-dark);
    box-shadow: inset 0 0 0 1px rgba(249, 168, 37, 0.2);
}

.become-benefits-grid .feature-card p {
    margin-top: auto;
}

.become-keep-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    flex-shrink: 0;
    background: rgba(249, 168, 37, 0.14);
    color: var(--gold-dark);
}

.become-owner-keep-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    margin-bottom: 0.85rem;
    background: linear-gradient(145deg, #FFF6E5, #FFE8C2);
    color: var(--gold-dark);
}

/* Phosphor icons — rendu luxueux */
.mp-ph {
    width: 1.65rem;
    height: 1.65rem;
    display: block;
    flex-shrink: 0;
}

.mp-ph--sm {
    width: 1.15rem;
    height: 1.15rem;
}

.btn .mp-ph {
    margin-right: 0.15rem;
}

.become-owner-keep {
    background: linear-gradient(180deg, #FFF9F0 0%, var(--white) 100%);
    border-top: 1px solid rgba(249, 168, 37, 0.15);
}

.become-owner-keep-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    max-width: 960px;
    margin-inline: auto;
}

.become-owner-keep-copy h2 {
    margin: 0 0 0.5rem;
    color: var(--navy);
}

.become-owner-keep-copy > p {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.become-keep-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.become-keep-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.45;
}

.become-keep-list .icon {
    color: var(--gold-dark);
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.become-owner-keep-cta {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    width: 100%;
}

.become-owner-keep-cta-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}

.become-owner-keep-cta > p {
    margin: 0 0 1.25rem;
    color: var(--gray-600);
    line-height: 1.55;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .become-steps,
    .become-benefits-grid,
    .become-owner-keep-inner {
        grid-template-columns: 1fr;
        max-width: 28rem;
    }

    .become-owner-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .become-owner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
