/*
    Nome do Arquivo : podeouro.css
    Projeto         : Pó de Ouro — Classificados Rurais
    Plataforma      : Softwareby (Low-Code)
    Autor           : GitHub Copilot
    Data            : 18/03/2026
    Upload          : /app/file/resource/css/{ID}
*/

/* ============================================================================
   LAYER ORDER
   ========================================================================= */
@layer reset, tokens, base, layout, components, utilities;

/* ============================================================================
   RESET
   ========================================================================= */
@layer reset {

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

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

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

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

    ul,
    ol {
        list-style: none;
    }

    button {
        cursor: pointer;
        background: none;
        border: none;
    }
}

/* ============================================================================
   TOKENS
   ========================================================================= */
@layer tokens {
    :root {
        /* Cores */
        --color-primary: #2D6A2F;
        --color-primary-light: #4A9E4D;
        --color-primary-dark: #1E4A20;
        --color-accent: #E8A020;
        --color-accent-light: #F5C842;
        --color-accent-dark: #B87A10;
        --color-neutral-900: #1A1A1A;
        --color-neutral-700: #3D3D3D;
        --color-neutral-500: #6B6B6B;
        --color-neutral-400: #9A9A9A;
        --color-neutral-200: #D8D8D0;
        --color-neutral-100: #F5F5F0;
        --color-white: #FFFFFF;
        --color-danger: #C0392B;
        --color-danger-light: #F9EBEA;
        --color-success: #27AE60;
        --color-success-light: #E9F7EF;
        --color-warning: #E67E22;
        --color-warning-light: #FEF9E7;

        /* Espaçamento (escala 4px) */
        --space-1: 4px;
        --space-2: 8px;
        --space-3: 12px;
        --space-4: 16px;
        --space-5: 20px;
        --space-6: 24px;
        --space-7: 32px;
        --space-8: 40px;
        --space-9: 48px;
        --space-10: 64px;

        /* Tipografia */
        --font-sans: 'Inter', system-ui, -apple-system, Arial, sans-serif;
        --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
        --font-size-xs: 0.6875rem;
        /* 11px */
        --font-size-sm: 0.8125rem;
        /* 13px */
        --font-size-md: 1rem;
        /* 16px */
        --font-size-lg: 1.125rem;
        /* 18px */
        --font-size-xl: 1.25rem;
        /* 20px */
        --font-size-2xl: 1.5rem;
        /* 24px */
        --font-size-3xl: 2rem;
        /* 32px */
        --font-size-4xl: 2.75rem;
        /* 44px */

        /* Border radius */
        --radius-sm: 4px;
        --radius-md: 8px;
        --radius-lg: 16px;
        --radius-xl: 24px;
        --radius-full: 9999px;

        /* Sombras */
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, .10), 0 2px 4px rgba(0, 0, 0, .06);
        --shadow-lg: 0 10px 32px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
        --shadow-xl: 0 20px 48px rgba(0, 0, 0, .14);

        /* Transições */
        --transition-fast: 150ms ease;
        --transition-base: 250ms ease;
        --transition-slow: 400ms ease;

        /* Container */
        --container-max: 1366px;
        --container-pad: clamp(16px, 4vw, 48px);

        /* Header */
        --header-height: 72px;
    }
}

/* ============================================================================
   BASE
   ========================================================================= */
@layer base {
    html {
        font-size: 16px;
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        font-family: var(--font-sans);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-900);
        background: var(--color-neutral-100);
        line-height: 1.6;
        min-height: 100dvh;
    }

    /* padding-top do body é controlado por initHeaderLayout() no JS */

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        line-height: 1.25;
        font-weight: 700;
        color: var(--color-neutral-900);
    }

    p {
        line-height: 1.7;
    }

    strong {
        font-weight: 700;
    }

    /* Google Fonts — carregadas via @import para evitar FOUT */
    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Merriweather:wght@700;900&display=swap');
}

/* ============================================================================
   LAYOUT HELPERS
   ========================================================================= */
@layer layout {
    .container {
        width: 100%;
        max-width: var(--container-max);
        margin-inline: auto;
        padding-inline: var(--container-pad);
    }

    .section {
        padding-block: var(--space-10);
    }

    .section--sm {
        padding-block: var(--space-7);
    }

    .grid-auto {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
        gap: var(--space-6);
    }

    .grid-auto--sm {
        grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
        gap: var(--space-4);
    }

    .flex-center {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .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;
    }
}

/* ============================================================================
   COMPONENTS
   ========================================================================= */
@layer components {

    /* ------------------------------------------------------------------ */
    /* HEADER                                                               */
    /* ------------------------------------------------------------------ */
    .header-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
        height: var(--header-height);
        box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    }

    .header-wrapper .container {
        height: 100%;
        display: flex;
        align-items: center;
        gap: var(--space-6);
    }

    .header-logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .header-logo img,
    .header-logo svg {
        height: 44px;
        width: auto;
    }

    .header-search {
        flex: 1;
        position: relative;
        max-width: 600px;
    }

    .header-search input[type="search"] {
        width: 100%;
        height: 44px;
        padding: 0 var(--space-9) 0 var(--space-5);
        border: 2px solid transparent;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, .15);
        color: var(--color-white);
        font-size: var(--font-size-sm);
        transition: background var(--transition-fast), border-color var(--transition-fast);
        -webkit-appearance: none;
        outline: none;
    }

    .header-search input[type="search"]::placeholder {
        color: rgba(255, 255, 255, .65);
    }

    .header-search input[type="search"]:focus {
        background: rgba(255, 255, 255, .22);
        border-color: var(--color-accent);
    }

    .header-search input[type="search"]::-webkit-search-cancel-button {
        display: none;
    }

    .header-search__btn {
        position: absolute;
        right: var(--space-2);
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: var(--radius-full);
        color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background var(--transition-fast);
    }

    .header-search__btn:hover {
        background: rgba(255, 255, 255, .15);
    }

    .header-search__btn svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .header-search__btn i {
        font-size: 16px;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        margin-left: auto;
    }

    .header-nav a {
        color: rgba(255, 255, 255, .85);
        font-size: var(--font-size-sm);
        font-weight: 500;
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-md);
        transition: background var(--transition-fast), color var(--transition-fast);
        white-space: nowrap;
    }

    .header-nav a:hover {
        background: rgba(255, 255, 255, .12);
        color: var(--color-white);
    }

    .header-nav .btn-cta {
        background: var(--color-accent);
        color: var(--color-neutral-900);
        font-weight: 700;
        padding: var(--space-2) var(--space-5);
    }

    .header-nav .btn-cta:hover {
        background: var(--color-accent-light);
    }

    /* ---- Dropdown do usuário logado ---- */
    .nav-user {
        position: relative;
        display: flex;
        align-items: center;
    }

    .header-user-btn {
        display: flex;
        align-items: center;
        gap: var(--space-1);
        padding: var(--space-1) var(--space-3);
        border-radius: var(--radius-md);
        color: var(--color-white);
        font-size: var(--font-size-sm);
        font-weight: 600;
        max-width: 160px;
        transition: background var(--transition-fast);
        cursor: pointer;
    }

    .header-user-btn:hover {
        background: rgba(255, 255, 255, .12);
    }

    .header-user-btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-user-chevron {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        opacity: .6;
        transition: transform var(--transition-fast);
    }

    /* Dropdown menu — animado */
    .header-user-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        min-width: 180px;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        padding: var(--space-2);
        z-index: 10000;
        flex-direction: column;
        gap: 2px;

        /* Animação */
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }

    .header-user-menu.is-open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
        display: flex;
    }

    /* Seta gira ao abrir */
    .header-user-menu.is-open~.header-user-chevron,
    .header-user-btn:has(+ .header-user-menu.is-open) .header-user-chevron {
        transform: rotate(180deg);
    }

    .header-user-menu a,
    .header-user-menu button {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        width: 100%;
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--color-neutral-700);
        text-align: left;
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .header-user-menu a:hover,
    .header-user-menu button:hover {
        background: var(--color-neutral-100);
        color: var(--color-neutral-900);
    }

    .header-user-menu a i,
    .header-user-menu button i {
        width: 16px;
        text-align: center;
        color: var(--color-neutral-400);
        font-size: 13px;
    }

    .header-user-menu button i {
        color: var(--color-danger);
    }

    /* Mobile: dropdown alinha à esquerda e fica mais largo */
    @media (max-width: 960px) {
        .nav-user {
            width: 100%;
            flex-direction: column;
            align-items: stretch;
        }

        .header-user-btn {
            max-width: none;
            justify-content: space-between;
            padding: var(--space-3) var(--space-4);
            border-radius: var(--radius-md);
        }

        .header-user-menu {
            position: static;
            top: auto;
            right: auto;
            min-width: 0;
            width: 100%;
            border-radius: var(--radius-md);
            box-shadow: none;
            background: rgba(255, 255, 255, .08);
            margin-top: 4px;
            transform: none;
            /* sem slide vertical no mobile */
            max-height: 0;
            overflow: hidden;
            padding: 0 var(--space-2);
            transition: max-height .25s ease, padding .25s ease, opacity .2s ease;
        }

        .header-user-menu.is-open {
            max-height: 120px;
            padding: var(--space-2);
            display: flex;
        }

        .header-user-menu a,
        .header-user-menu button {
            color: rgba(255, 255, 255, .85);
        }

        .header-user-menu a:hover,
        .header-user-menu button:hover {
            background: rgba(255, 255, 255, .12);
            color: var(--color-white);
        }

        .header-user-menu a i,
        .header-user-menu button i {
            color: rgba(255, 255, 255, .6);
        }

        .header-user-menu button i {
            color: rgba(255, 255, 255, .6);
        }
    }

    /* Menu mobile toggle */
    .header-menu-toggle {
        display: none;
        color: var(--color-white);
        padding: var(--space-2);
    }

    .header-menu-toggle svg {
        width: 24px;
        height: 24px;
    }

    @media (max-width: 960px) {
        .header-menu-toggle {
            display: flex;
            margin-left: auto;
        }

        .header-nav {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
            flex-direction: column;
            align-items: stretch;
            padding: var(--space-4);
            gap: var(--space-1);
            box-shadow: var(--shadow-lg);
        }

        .header-nav.is-open {
            display: flex;
        }

        .header-nav a {
            padding: var(--space-3) var(--space-4);
            border-radius: var(--radius-md);
        }

        .header-search {
            max-width: none;
        }
    }

    @media (max-width: 640px) {
        .header-wrapper {
            height: auto;
            padding-block: var(--space-3);
        }

        .header-wrapper .container {
            flex-wrap: wrap;
            height: auto;
        }

        .header-logo img,
        .header-logo svg {
            height: 36px;
        }

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

    /* ------------------------------------------------------------------ */
    /* HERO                                                                 */
    /* ------------------------------------------------------------------ */
    .hero-section {
        position: relative;
        background: var(--color-primary-dark);
        min-height: 580px;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(1100px 560px at 82% -8%, rgba(232, 160, 32, .20) 0%, transparent 55%),
            radial-gradient(900px 500px at -8% 112%, rgba(20, 48, 22, .9) 0%, transparent 60%),
            linear-gradient(135deg, rgba(45, 106, 47, .94) 0%, rgba(30, 74, 32, .86) 55%, rgba(18, 44, 20, .95) 100%);
        z-index: 1;
    }

    .hero-section__bg {
        position: absolute;
        inset: 0;
        object-fit: cover;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .hero-section .container {
        position: relative;
        z-index: 2;
        padding-block: var(--space-10);
    }

    .hero-section__content {
        max-width: 600px;
    }

    .hero-section__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: var(--radius-full);
        padding: var(--space-1) var(--space-4);
        color: var(--color-accent-light);
        font-size: var(--font-size-xs);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .08em;
        margin-bottom: var(--space-5);
    }

    .hero-section__title {
        font-family: var(--font-serif);
        font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
        color: var(--color-white);
        margin-bottom: var(--space-5);
        font-weight: 900;
    }

    .hero-section__title span {
        color: var(--color-accent-light);
    }

    .hero-section__subtitle {
        font-size: var(--font-size-lg);
        color: rgba(255, 255, 255, .85);
        margin-bottom: var(--space-7);
        max-width: 480px;
    }

    .hero-section__counter {
        display: inline-flex;
        align-items: baseline;
        gap: var(--space-2);
        margin-bottom: var(--space-7);
    }

    .hero-section__counter strong {
        font-size: var(--font-size-3xl);
        color: var(--color-accent-light);
        font-weight: 900;
        line-height: 1;
    }

    .hero-section__counter span {
        color: rgba(255, 255, 255, .75);
        font-size: var(--font-size-md);
    }

    .hero-section__actions {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-4);
    }

    @media (max-width: 640px) {
        .hero-section {
            min-height: 360px;
        }

        .hero-section__actions {
            flex-direction: column;
        }

        .hero-section__actions .btn {
            width: 100%;
            justify-content: center;
        }
    }

    /* ------------------------------------------------------------------ */
    /* HOME TOPO — Carrossel dinâmico                                      */
    /* ------------------------------------------------------------------ */
    .home-topo {
        position: relative;
        width: 100%;
        height: calc(100vh - var(--header-height));
        overflow: hidden;
        background: var(--color-primary-dark);
        user-select: none;
    }

    .home-topo__track {
        position: relative;
        width: 100%;
        height: 100%;
    }

    /* Todos os slides: absolutos empilhados, ocupam 100% do track */
    .home-topo__slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        z-index: 0;
        transition: opacity .6s ease;
        pointer-events: none;
    }

    /* Slide ativo */
    .home-topo__slide.is-active {
        opacity: 1;
        z-index: 1;
        pointer-events: auto;
    }

    .home-topo__img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .home-topo__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, .10) 0%,
                rgba(0, 0, 0, .55) 100%);
        display: flex;
        align-items: flex-end;
        padding-bottom: var(--space-10);
    }

    .home-topo__overlay .container {
        position: relative;
        z-index: 2;
    }

    .home-topo__title {
        font-family: var(--font-serif);
        font-size: clamp(var(--font-size-xl), 3.5vw, var(--font-size-3xl));
        color: var(--color-white);
        font-weight: 900;
        margin-bottom: var(--space-3);
        text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
    }

    .home-topo__subtitle {
        font-size: var(--font-size-md);
        color: rgba(255, 255, 255, .90);
        margin-bottom: var(--space-6);
        max-width: 560px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
    }

    .home-topo__cta {
        display: inline-flex;
    }

    /* Dots */
    .home-topo__dots {
        position: absolute;
        bottom: var(--space-5);
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        display: flex;
        gap: var(--space-2);
    }

    .home-topo__dot {
        width: 8px;
        height: 8px;
        border-radius: 99px;
        background: rgba(255, 255, 255, .4);
        border: none;
        cursor: pointer;
        transition: all .3s ease;
    }

    .home-topo__dot.is-active {
        width: 26px;
        background: var(--color-accent);
    }

    .home-topo__dot:hover {
        background: rgba(255, 255, 255, .8);
    }

    @media (max-width: 640px) {
        .home-topo__title {
            font-size: var(--font-size-lg);
        }

        .home-topo__subtitle {
            font-size: var(--font-size-sm);
        }
    }

    /* ------------------------------------------------------------------ */
    /* BUTTONS                                                              */
    /* ------------------------------------------------------------------ */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-3) var(--space-6);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        font-weight: 600;
        line-height: 1.4;
        transition:
            background var(--transition-fast),
            color var(--transition-fast),
            box-shadow var(--transition-fast),
            transform var(--transition-fast);
        white-space: nowrap;
    }

    .btn:active {
        transform: scale(.98);
    }

    .btn--primary {
        background: var(--color-primary);
        color: var(--color-white);
        box-shadow: var(--shadow-sm);
    }

    .btn--primary:hover {
        background: var(--color-primary-light);
        box-shadow: var(--shadow-md);
    }

    .btn--accent {
        background: var(--color-accent);
        color: var(--color-neutral-900);
        box-shadow: var(--shadow-sm);
    }

    .btn--accent:hover {
        background: var(--color-accent-light);
        box-shadow: var(--shadow-md);
    }

    .btn--outline {
        background: transparent;
        color: var(--color-white);
        border: 2px solid rgba(255, 255, 255, .5);
    }

    .btn--outline:hover {
        background: rgba(255, 255, 255, .1);
        border-color: var(--color-white);
    }

    .btn--outline-primary {
        background: transparent;
        color: var(--color-primary);
        border: 2px solid var(--color-primary);
    }

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

    .btn--lg {
        padding: var(--space-4) var(--space-8);
        font-size: var(--font-size-md);
        border-radius: var(--radius-lg);
    }

    .btn--sm {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-xs);
    }

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

    .btn:disabled {
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

    /* ------------------------------------------------------------------ */
    /* BADGE                                                                */
    /* ------------------------------------------------------------------ */
    .badge {
        display: inline-flex;
        align-items: center;
        gap: var(--space-1);
        padding: 2px var(--space-3);
        border-radius: var(--radius-full);
        font-size: var(--font-size-xs);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        line-height: 1.6;
    }

    .badge--pub {
        background: var(--color-success-light);
        color: var(--color-success);
    }

    .badge--ana {
        background: var(--color-warning-light);
        color: var(--color-warning);
    }

    .badge--apr {
        background: #EBF5FB;
        color: #1A5276;
    }

    .badge--rep {
        background: var(--color-danger-light);
        color: var(--color-danger);
    }

    .badge--pau {
        background: var(--color-neutral-100);
        color: var(--color-neutral-500);
    }

    .badge--ven {
        background: #F4ECF7;
        color: #6C3483;
    }

    .badge--dest {
        background: var(--color-accent);
        color: var(--color-neutral-900);
    }

    /* ------------------------------------------------------------------ */
    /* BREADCRUMB                                                           */
    /* ------------------------------------------------------------------ */
    .breadcrumb {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-2);
        padding-block: var(--space-5);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
    }

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

    .breadcrumb a:hover {
        text-decoration: underline;
    }

    .breadcrumb__sep {
        color: var(--color-neutral-400);
        font-size: var(--font-size-xs);
    }

    .breadcrumb__current {
        color: var(--color-neutral-700);
        font-weight: 500;
    }

    /* ------------------------------------------------------------------ */
    /* SECTION TITLE                                                        */
    /* ------------------------------------------------------------------ */
    .section-title {
        font-size: var(--font-size-2xl);
        font-weight: 700;
        color: var(--color-neutral-900);
        margin-bottom: var(--space-2);
        position: relative;
        padding-left: var(--space-4);
    }

    .section-title::before {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 6px;
        width: 4px;
        border-radius: 2px;
        background: var(--color-accent);
    }

    .section-subtitle {
        font-size: var(--font-size-md);
        color: var(--color-neutral-500);
        margin-bottom: var(--space-7);
    }

    .section-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: var(--space-4);
        margin-bottom: var(--space-7);
        flex-wrap: wrap;
    }

    .section-header__link {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--color-primary);
        white-space: nowrap;
    }

    .section-header__link:hover {
        text-decoration: underline;
    }

    /* ------------------------------------------------------------------ */
    /* CATEGORY GRID & CARD                                                 */
    /* ------------------------------------------------------------------ */
    .category-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
        gap: var(--space-5);
    }

    .category-card {
        position: relative;
        display: flex;
        flex-direction: column;
        border-radius: var(--radius-lg);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        cursor: pointer;
        text-decoration: none;
        transition:
            box-shadow var(--transition-fast),
            transform var(--transition-fast);
        background: var(--color-neutral-900);
        min-height: 240px;
    }

    .category-card:hover {
        box-shadow: 0 20px 44px rgba(0, 0, 0, .24);
        transform: translateY(-6px);
    }

    /* Imagem de capa ocupa todo o card */
    .category-card__icon {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: var(--color-neutral-200);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        transition: transform .4s ease;
        overflow: hidden;
    }

    .category-card:hover .category-card__icon {
        background: var(--color-neutral-200);
    }

    .category-card:hover .category-card__icon img {
        transform: scale(1.06);
    }

    .category-card__icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .4s ease;
    }

    /* Gradiente sobre a imagem */
    .category-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0) 30%,
                rgba(0, 0, 0, .65) 100%);
        z-index: 1;
        border-radius: inherit;
    }

    /* Textos ficam na base sobre o gradiente */
    .category-card__name {
        position: relative;
        z-index: 2;
        margin-top: auto;
        padding: var(--space-4) var(--space-5) var(--space-2);
        font-family: var(--font-serif);
        font-size: var(--font-size-xl);
        font-weight: 900;
        color: var(--color-white);
        text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
        text-align: left;
        letter-spacing: -0.01em;
    }

    .category-card__count {
        position: relative;
        z-index: 2;
        padding: 0 var(--space-4) var(--space-4);
        font-size: var(--font-size-xs);
        font-weight: 600;
        color: rgba(255, 255, 255, .80);
        text-align: left;
        background: none;
        border-radius: 0;
    }

    /* ------------------------------------------------------------------ */
    /* PROPERTY CARD                                                        */
    /* ------------------------------------------------------------------ */
    .property-card {
        display: flex;
        flex-direction: column;
        background: var(--color-white);
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 1px solid var(--color-neutral-200);
        box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
        transition:
            box-shadow var(--transition-fast),
            transform var(--transition-fast);
        container-type: inline-size;
    }

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

    .property-card--dest {
        border: 2px solid var(--color-accent);
    }

    /* ── Oportunidade Exclusiva para Investidores ── */
    .property-card--exclusive {
        border: 3px solid #d4a017;
        box-shadow: 0 0 0 4px rgba(212, 160, 23, .10), 0 8px 36px rgba(212, 160, 23, .18);
        position: relative;
        overflow: hidden;
        animation: cardPulseGold 3s ease-in-out infinite;
    }

    .property-card--exclusive::before {
        content: '';
        position: absolute;
        top: -60%;
        left: -60%;
        width: 180%;
        height: 180%;
        background: radial-gradient(circle at 30% 30%,
                rgba(255, 215, 0, .10) 0%,
                rgba(212, 160, 23, .04) 25%,
                transparent 55%);
        z-index: 2;
        pointer-events: none;
        animation: shineGold 5s ease-in-out infinite;
    }

    .property-card--exclusive::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(212, 160, 23, .08) 0%, rgba(180, 130, 10, .04) 40%, transparent 65%);
        pointer-events: none;
        z-index: 0;
    }

    .property-card--exclusive:hover {
        box-shadow: 0 0 0 6px rgba(212, 160, 23, .22), 0 16px 48px rgba(212, 160, 23, .32);
        animation: none;
        transform: translateY(-4px);
    }

    .property-card__ribbon {
        position: absolute;
        top: 12px;
        left: -18px;
        z-index: 3;
        width: 140px;
        padding: 7px 0;
        background: linear-gradient(135deg, #d4a017, #b8860b);
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        text-align: center;
        letter-spacing: .5px;
        text-transform: uppercase;
        transform: rotate(-32deg);
        box-shadow: 0 3px 12px rgba(180, 130, 10, .5), 0 0 20px rgba(212, 160, 23, .3);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    }

    .property-card__ribbon i {
        font-size: 10px;
    }

    .property-card__image {
        position: relative;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background: var(--color-neutral-200);
    }

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

    .property-card:hover .property-card__image img {
        transform: scale(1.08);
    }

    .property-card__badges {
        position: absolute;
        top: var(--space-3);
        left: var(--space-3);
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-1);
    }

    .property-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: var(--space-5);
        gap: var(--space-3);
    }

    .property-card__category {
        font-size: var(--font-size-xs);
        font-weight: 600;
        color: var(--color-primary-light);
        text-transform: uppercase;
        letter-spacing: .06em;
    }

    .property-card__title {
        font-size: var(--font-size-md);
        font-weight: 700;
        color: var(--color-neutral-900);
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .property-card__meta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-3);
        font-size: var(--font-size-xs);
        color: var(--color-neutral-500);
    }

    .property-card__meta-item {
        display: flex;
        align-items: center;
        gap: var(--space-1);
    }

    .property-card__meta-item svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .property-card__price {
        margin-top: auto;
        padding-top: var(--space-3);
        border-top: 1px solid var(--color-neutral-200);
    }

    .property-card__price strong {
        font-size: var(--font-size-2xl);
        color: var(--color-primary);
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .property-card__price .price-label {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-400);
        display: block;
    }

    .property-card__price .price-negociavel {
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
        font-style: italic;
    }


    /* ------------------------------------------------------------------ */
    /* GALLERY (Detalhe do Anúncio) — nova versão                         */
    /* ------------------------------------------------------------------ */
    /* ------------------------------------------------------------------ */
    /* GALERIA — Grid estilo Airbnb                                       */
    /* ------------------------------------------------------------------ */

    .gallery-wrapper {
        position: relative;
        width: 100%;
        border-radius: var(--radius-lg);
        overflow: hidden;
    }

    /* Grid: foto principal (col 1) + 4 miniaturas em 2x2 (col 2) */
    .gallery-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 4px;
        aspect-ratio: 16 / 7;
        width: 100%;
    }

    /* Foto principal ocupa as 2 linhas da coluna esquerda */
    .gallery-main-wrap {
        grid-column: 1;
        grid-row: 1 / 3;
        position: relative;
        overflow: hidden;
        background: var(--color-neutral-200);
        cursor: zoom-in;
    }

    /* Coluna das miniaturas: grid 2x2 */
    .gallery-thumbs-grid {
        grid-column: 2;
        grid-row: 1 / 3;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 4px;
    }

    .gallery-main-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform var(--transition-slow), opacity var(--transition-fast);
    }

    .gallery-main-wrap:hover .gallery-main-img {
        transform: scale(1.03);
    }

    /* Cada miniatura no grid 2x2 */
    .gallery-thumb {
        position: relative;
        overflow: hidden;
        background: var(--color-neutral-200);
        cursor: zoom-in;
        opacity: 1;
        border: none;
        border-radius: 0;
        width: auto;
        height: auto;
    }

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

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

    /* Overlay "+N" na última miniatura */
    .gallery-thumb__more {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .52);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-white);
        font-size: var(--font-size-lg);
        font-weight: 700;
        pointer-events: none;
    }

    /* Contador de fotos (badge no canto inferior esquerdo da foto principal) */
    .gallery-photo-count {
        position: absolute;
        bottom: var(--space-4);
        left: var(--space-4);
        display: flex;
        align-items: center;
        gap: var(--space-2);
        background: rgba(0, 0, 0, .55);
        color: var(--color-white);
        font-size: var(--font-size-xs);
        font-weight: 600;
        padding: var(--space-1) var(--space-3);
        border-radius: var(--radius-full);
        backdrop-filter: blur(4px);
        pointer-events: none;
        z-index: 2;
    }

    .gallery-photo-count svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

    .gallery-photo-count i {
        font-size: 14px;
    }

    /* Botão "Ver fotos" (canto inferior direito da galeria inteira) */
    .gallery-expand-btn {
        position: absolute;
        bottom: var(--space-4);
        right: var(--space-4);
        display: flex;
        align-items: center;
        gap: var(--space-2);
        background: rgba(255, 255, 255, .92);
        color: var(--color-neutral-800, #222);
        font-size: var(--font-size-xs);
        font-weight: 700;
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-full);
        border: none;
        cursor: pointer;
        backdrop-filter: blur(4px);
        transition: background var(--transition-fast);
        z-index: 3;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    }

    .gallery-expand-btn:hover {
        background: rgba(255, 255, 255, 1);
    }

    .gallery-expand-btn svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
    }

    .gallery-expand-btn i {
        font-size: 14px;
    }

    /* Placeholder sem foto */
    .gallery-empty {
        aspect-ratio: 16 / 7;
        border-radius: var(--radius-lg);
        background: var(--color-neutral-100);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 80px;
    }

    /* Mobile: empilha foto principal + scroll horizontal nas thumbs */
    @media (max-width: 640px) {
        .gallery-grid {
            grid-template-columns: 1fr;
            grid-template-rows: auto auto;
            aspect-ratio: unset;
            gap: 3px;
        }

        .gallery-main-wrap {
            grid-column: 1;
            grid-row: 1;
            aspect-ratio: 4 / 3;
        }

        .gallery-thumbs-grid {
            grid-column: 1;
            grid-row: 2;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: 1fr;
            aspect-ratio: unset;
            height: 72px;
        }
    }

    /* ------------------------------------------------------------------ */
    /* LIGHTBOX                                                             */
    /* ------------------------------------------------------------------ */
    /* ------------------------------------------------------------------ */
    /* GALERIA MODAL — tela fullscreen com grid de fotos                  */
    /* ------------------------------------------------------------------ */

    .gallery-modal {
        display: none;
        position: fixed;
        top: var(--header-real-height, var(--header-height));
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9998;
        background: #fff;
        flex-direction: column;
        overflow: hidden;
    }

    .gallery-modal.is-open {
        display: flex;
    }

    /* Header */
    .gallery-modal__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-4) var(--space-6);
        border-bottom: 1px solid var(--color-neutral-100);
        background: #fff;
        flex-shrink: 0;
        gap: var(--space-4);
    }

    .gallery-modal__title {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        flex: 1;
        min-width: 0;
        font-size: var(--font-size-md);
        font-weight: 600;
        color: var(--color-neutral-800);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .gallery-modal__title i {
        color: var(--color-primary);
        font-size: 18px;
    }

    .gallery-modal__count {
        font-size: var(--font-size-sm);
        font-weight: 400;
        color: var(--color-neutral-400);
    }

    .gallery-modal__close {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-md);
        border: 1.5px solid var(--color-neutral-200);
        background: #fff;
        color: var(--color-neutral-700);
        font-size: var(--font-size-sm);
        font-weight: 600;
        cursor: pointer;
        flex-shrink: 0;
        transition: background var(--transition-fast), border-color var(--transition-fast);
    }

    .gallery-modal__close:hover {
        background: var(--color-neutral-50);
        border-color: var(--color-neutral-300);
    }

    .gallery-modal__back {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-3);
        border-radius: var(--radius-md);
        border: none;
        background: transparent;
        color: var(--color-primary);
        font-size: var(--font-size-sm);
        font-weight: 600;
        cursor: pointer;
        flex-shrink: 0;
        transition: background var(--transition-fast);
    }

    .gallery-modal__back:hover {
        background: var(--color-neutral-50);
    }

    /* Grid de fotos */
    .gallery-modal__grid {
        flex: 1;
        overflow-y: auto;
        padding: var(--space-5) var(--space-6);
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: var(--space-3);
        align-content: start;
    }

    .gallery-modal__item {
        position: relative;
        aspect-ratio: 4 / 3;
        border-radius: var(--radius-md);
        overflow: hidden;
        cursor: pointer;
        background: var(--color-neutral-100);
    }

    .gallery-modal__item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
    }

    .gallery-modal__item-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 28px;
        opacity: 0;
        transition: background 0.2s ease, opacity 0.2s ease;
    }

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

    .gallery-modal__item:hover .gallery-modal__item-overlay {
        background: rgba(0, 0, 0, .35);
        opacity: 1;
    }

    /* ------------------------------------------------------------------ */
    /* VISUALIZADOR — lightbox dentro da modal                            */
    /* ------------------------------------------------------------------ */

    .gallery-viewer {
        display: none;
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .95);
        z-index: 10;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery-viewer.is-open {
        display: flex;
    }

    .gallery-viewer__stage {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 72px 80px 64px;
    }

    .gallery-viewer__img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: var(--radius-md);
        user-select: none;
        -webkit-user-drag: none;
        cursor: zoom-in;
        transition: transform .3s ease;
    }

    .gallery-viewer__img.is-zoomed {
        transform: scale(2);
        cursor: zoom-out;
    }

    .gallery-viewer__close {
        position: absolute;
        top: var(--space-4);
        left: var(--space-5);
        z-index: 11;
        display: flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .2);
        color: #fff;
        font-size: var(--font-size-sm);
        font-weight: 600;
        cursor: pointer;
        transition: background var(--transition-fast);
    }

    .gallery-viewer__close:hover {
        background: rgba(255, 255, 255, .22);
    }

    .gallery-viewer__nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 11;
        width: 52px;
        height: 52px;
        border-radius: var(--radius-full);
        background: rgba(255, 255, 255, .12);
        border: 1px solid rgba(255, 255, 255, .2);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background var(--transition-fast);
        font-size: 20px;
    }

    .gallery-viewer__nav:hover {
        background: rgba(255, 255, 255, .25);
    }

    .gallery-viewer__nav--prev {
        left: var(--space-4);
    }

    .gallery-viewer__nav--next {
        right: var(--space-4);
    }

    .gallery-viewer__counter {
        position: absolute;
        bottom: var(--space-5);
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, .5);
        color: #fff;
        font-size: var(--font-size-sm);
        font-weight: 600;
        padding: var(--space-2) var(--space-5);
        border-radius: var(--radius-full);
        backdrop-filter: blur(4px);
        pointer-events: none;
        white-space: nowrap;
    }

    @media (max-width: 768px) {
        .gallery-modal__grid {
            display: flex;
            flex-wrap: wrap;
            padding: 12px;
            gap: 12px;
            overflow-y: auto;
        }

        .gallery-modal__item {
            flex: 0 0 calc(50% - 6px);
            aspect-ratio: 4 / 3;
            overflow: hidden;
            border-radius: var(--radius-md);
            margin: 0;
        }

        .gallery-modal__header {
            padding: var(--space-3) var(--space-4);
        }

        .gallery-viewer__nav--prev {
            left: var(--space-2);
        }

        .gallery-viewer__nav--next {
            right: var(--space-2);
        }

        .gallery-viewer__stage {
            padding: 64px var(--space-5) 56px;
        }
    }



    /* ------------------------------------------------------------------ */
    /* ANÚNCIO DETALHE — Layout principal                                  */
    /* ------------------------------------------------------------------ */

    /* Galeria fora do grid — ocupa toda a largura do container */
    .container>.gallery-wrapper,
    .container>.gallery-empty {
        margin-top: var(--space-5);
    }

    .anuncio-container {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: var(--space-8);
        align-items: start;
        padding-block: var(--space-6) var(--space-10);
    }

    @media (max-width: 1024px) {
        .anuncio-container {
            grid-template-columns: 1fr 320px;
            gap: var(--space-6);
        }
    }

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

    .anuncio-main {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
        min-width: 0;
    }

    /* Título do anúncio — sempre visível */
    .anuncio-title-block {
        display: block;
    }

    /* Mantém compatibilidade com mobile */
    .anuncio-title-mobile {
        display: none;
    }

    @media (max-width: 860px) {
        .anuncio-title-mobile {
            display: block;
        }
    }

    .anuncio-title {
        font-family: var(--font-serif);
        font-size: clamp(var(--font-size-xl), 2.5vw, var(--font-size-2xl));
        font-weight: 900;
        color: var(--color-neutral-900);
        line-height: 1.3;
        margin-top: var(--space-3);
        margin-bottom: var(--space-3);
    }

    .anuncio-badges {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-2);
    }

    .anuncio-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-4);
        margin-top: var(--space-2);
    }

    .anuncio-meta-item {
        display: flex;
        align-items: center;
        gap: var(--space-1);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
    }

    .anuncio-meta-item svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
    }

    .anuncio-meta-item i {
        font-size: 13px;
        flex-shrink: 0;
    }

    /* Card title icon */
    .info-card-title {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        font-size: var(--font-size-lg);
        font-weight: 700;
        color: var(--color-neutral-700);
        margin-bottom: var(--space-5);
        padding-bottom: var(--space-4);
        border-bottom: 2px solid var(--color-neutral-100);
    }

    .info-card-title svg {
        width: 20px;
        height: 20px;
        fill: var(--color-primary);
        flex-shrink: 0;
    }

    .info-card-title i {
        font-size: 18px;
        color: var(--color-primary);
        flex-shrink: 0;
    }

    /* Descrição */
    .anuncio-descricao {
        font-size: var(--font-size-md);
        color: var(--color-neutral-700);
        line-height: 1.85;
    }

    /* SIDEBAR */
    .anuncio-sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
        position: sticky;
        top: calc(var(--header-height) + var(--space-5));
    }

    @media (max-width: 860px) {
        .anuncio-sidebar {
            position: static;
        }
    }

    /* Price card na sidebar */
    .sidebar-price-card {
        border-top: 4px solid var(--color-primary);
    }

    .sidebar-title {
        font-family: var(--font-serif);
        font-size: var(--font-size-xl);
        font-weight: 900;
        color: var(--color-neutral-900);
        line-height: 1.3;
        margin-bottom: var(--space-3);
    }

    .sidebar-meta {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        margin-bottom: var(--space-5);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
    }

    .sidebar-meta span {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }

    .sidebar-meta svg {
        width: 15px;
        height: 15px;
        fill: currentColor;
        flex-shrink: 0;
    }

    .sidebar-meta i {
        font-size: 13px;
        flex-shrink: 0;
    }

    .sidebar-price {
        margin-bottom: var(--space-4);
    }

    .sidebar-price .price-label {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-400);
        text-transform: uppercase;
        letter-spacing: .05em;
        font-weight: 600;
        display: block;
        margin-bottom: var(--space-1);
    }

    .sidebar-price strong {
        font-size: var(--font-size-3xl);
        font-weight: 900;
        color: var(--color-primary);
        line-height: 1.1;
        display: block;
    }

    .sidebar-price .price-negociavel {
        font-size: var(--font-size-xl);
        font-weight: 700;
        color: var(--color-neutral-500);
        font-style: italic;
    }

    .sidebar-stats {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-4);
        font-size: var(--font-size-xs);
        color: var(--color-neutral-400);
        padding-top: var(--space-4);
        border-top: 1px solid var(--color-neutral-200);
        margin-bottom: var(--space-5);
    }

    .sidebar-stats span {
        display: flex;
        align-items: center;
        gap: var(--space-1);
    }

    .sidebar-stats svg {
        width: 14px;
        height: 14px;
        fill: currentColor;
    }

    .sidebar-stats i {
        font-size: 13px;
    }

    /* Botões de ação (Salvar / Compartilhar) */
    .sidebar-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3);
        margin-top: var(--space-2);
    }

    .btn-action {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-2);
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        font-weight: 600;
        cursor: pointer;
        transition:
            background var(--transition-fast),
            color var(--transition-fast),
            border-color var(--transition-fast),
            box-shadow var(--transition-fast);
        white-space: nowrap;
    }

    .btn-action i {
        font-size: 15px;
        transition: transform var(--transition-fast);
    }

    /* Salvar — outline vermelho suave */
    .btn-action--save {
        background: transparent;
        color: var(--color-neutral-600, #555);
        border: 1.5px solid var(--color-neutral-200);
    }

    .btn-action--save:hover {
        background: #FEF0F0;
        color: #C0392B;
        border-color: #C0392B;
    }

    .btn-action--save:hover i {
        transform: scale(1.2);
    }

    .btn-action--save.is-saved {
        background: #FEF0F0;
        color: #C0392B;
        border-color: #C0392B;
    }

    .btn-action--save.is-saved i::before {
        content: "\f004";
    }

    /* fa-heart solid */

    /* Compartilhar — outline primário */
    .btn-action--share {
        background: transparent;
        color: var(--color-primary);
        border: 1.5px solid var(--color-primary);
    }

    .btn-action--share:hover {
        background: var(--color-primary);
        color: var(--color-white);
        box-shadow: var(--shadow-sm);
    }

    .btn-action--share i {
        font-size: 14px;
    }

    /* Botão WhatsApp */
    .btn-whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-3);
        width: 100%;
        margin-top: var(--space-4);
        padding: var(--space-3) var(--space-5);
        border-radius: var(--radius-md);
        background: #25D366;
        color: var(--color-white);
        font-size: var(--font-size-sm);
        font-weight: 700;
        text-decoration: none;
        transition: background var(--transition-fast), box-shadow var(--transition-fast);
        box-shadow: 0 2px 8px rgba(37, 211, 102, .25);
    }

    .btn-whatsapp:hover {
        background: #1EBE5A;
        box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
    }

    .btn-whatsapp svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
        flex-shrink: 0;
    }

    .btn-whatsapp i {
        font-size: 20px;
        flex-shrink: 0;
    }

    /* ------------------------------------------------------------------ */
    /* PROPERTY DETAIL (legado — mantido para compatibilidade)             */
    /* ------------------------------------------------------------------ */
    .property-detail {
        display: grid;
        grid-template-columns: 1fr 340px;
        gap: var(--space-8);
        align-items: start;
        padding-block: var(--space-7);
    }

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

    .property-detail__main {
        display: flex;
        flex-direction: column;
        gap: var(--space-7);
    }

    .property-detail__sidebar {
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
    }

    .property-info-card {
        background: var(--color-white);
        border-radius: var(--radius-lg);
        padding: var(--space-6);
        box-shadow: var(--shadow-sm);
    }

    .property-info-card__title {
        font-size: var(--font-size-2xl);
        font-weight: 700;
        margin-bottom: var(--space-3);
        line-height: 1.3;
    }

    .property-info-card__price {
        font-size: var(--font-size-3xl);
        font-weight: 900;
        color: var(--color-primary);
        margin-bottom: var(--space-5);
    }

    .property-info-card__price .price-label {
        font-size: var(--font-size-sm);
        color: var(--color-neutral-400);
        font-weight: 400;
        display: block;
        margin-bottom: var(--space-1);
    }

    .property-info-card__price .price-negociavel {
        font-size: var(--font-size-lg);
        color: var(--color-neutral-500);
        font-weight: 600;
        font-style: italic;
    }

    .property-specs {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: var(--space-4);
        margin-block: var(--space-5);
    }

    .property-spec {
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
        padding: var(--space-4);
        background: var(--color-neutral-100);
        border-radius: var(--radius-md);
        border: 1px solid var(--color-neutral-200);
        transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }

    .property-spec:hover {
        border-color: var(--color-primary-light);
        box-shadow: var(--shadow-sm);
    }

    .property-spec__label {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-400);
        text-transform: uppercase;
        letter-spacing: .06em;
        font-weight: 600;
        margin-top: var(--space-1);
    }

    .property-spec__value {
        font-size: var(--font-size-md);
        font-weight: 700;
        color: var(--color-neutral-900);
    }

    .property-spec__icon {
        font-size: 20px;
        line-height: 1;
        color: var(--color-primary);
    }

    /* Atributos extras (tabela) */
    .attributes-table {
        width: 100%;
        border-collapse: collapse;
        font-size: var(--font-size-sm);
    }

    .attributes-table tr:nth-child(even) td {
        background: var(--color-neutral-100);
    }

    .attributes-table td {
        padding: var(--space-3) var(--space-4);
        border-bottom: 1px solid var(--color-neutral-200);
        vertical-align: top;
    }

    .attributes-table td:first-child {
        font-weight: 600;
        color: var(--color-neutral-700);
        width: 40%;
    }

    .attributes-table td:last-child {
        color: var(--color-neutral-900);
    }

    /* Mapa embed */
    .map-wrapper {
        border-radius: var(--radius-lg);
        overflow: hidden;
        aspect-ratio: 16 / 9;
        background: var(--color-neutral-200);
    }

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

    /* ------------------------------------------------------------------ */
    /* FORMULÁRIO DE INTERESSE                                              */
    /* ------------------------------------------------------------------ */
    .form-interest {
        background: var(--color-white);
        border-radius: var(--radius-lg);
        padding: var(--space-6);
        box-shadow: var(--shadow-sm);
        border-top: 4px solid var(--color-accent);
    }

    .form-interest__title {
        font-size: var(--font-size-xl);
        font-weight: 700;
        margin-bottom: var(--space-2);
    }

    .form-interest__subtitle {
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
        margin-bottom: var(--space-6);
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-1);
        margin-bottom: var(--space-4);
    }

    .form-group label {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--color-neutral-700);
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: var(--space-3) var(--space-4);
        border: 1px solid var(--color-neutral-200);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-900);
        background: var(--color-white);
        transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        outline: none;
    }

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(45, 106, 47, .12);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 100px;
    }

    /* Estados Alpine.js */
    .form-interest__success {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-4);
        padding: var(--space-7);
        text-align: center;
    }

    .form-interest__success-icon {
        width: 64px;
        height: 64px;
        border-radius: var(--radius-full);
        background: var(--color-success-light);
        color: var(--color-success);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
    }

    .form-interest__error-msg {
        padding: var(--space-3) var(--space-4);
        background: var(--color-danger-light);
        border-radius: var(--radius-md);
        color: var(--color-danger);
        font-size: var(--font-size-sm);
        margin-bottom: var(--space-4);
    }

    /* ------------------------------------------------------------------ */
    /* SKELETON LOADERS                                                     */
    /* ------------------------------------------------------------------ */
    @keyframes shimmer {
        0% {
            background-position: -400px 0;
        }

        100% {
            background-position: 400px 0;
        }
    }

    .skeleton {
        background: linear-gradient(90deg,
                var(--color-neutral-200) 25%,
                var(--color-neutral-100) 50%,
                var(--color-neutral-200) 75%);
        background-size: 800px 100%;
        animation: shimmer 1.4s ease infinite;
        border-radius: var(--radius-md);
    }

    .skeleton--text {
        height: 1em;
        margin-bottom: var(--space-2);
    }

    .skeleton--title {
        height: 1.5em;
        width: 60%;
        margin-bottom: var(--space-4);
    }

    .skeleton--image {
        aspect-ratio: 16/10;
        border-radius: var(--radius-lg);
    }

    /* ------------------------------------------------------------------ */
    /* EMPTY STATE                                                          */
    /* ------------------------------------------------------------------ */
    .empty-state {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-5);
        padding: var(--space-10) var(--space-6);
        text-align: center;
    }

    .empty-state__icon {
        width: 80px;
        height: 80px;
        border-radius: var(--radius-full);
        background: var(--color-neutral-100);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-neutral-400);
        font-size: 36px;
    }

    .empty-state__title {
        font-size: var(--font-size-xl);
        font-weight: 700;
    }

    .empty-state__text {
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
        max-width: 360px;
    }

    /* ------------------------------------------------------------------ */
    /* FOOTER                                                               */
    /* ------------------------------------------------------------------ */
    .footer-wrapper {
        background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
        color: rgba(255, 255, 255, .75);
        padding-block: var(--space-10) var(--space-6);
        margin-top: auto;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 2fr repeat(3, 1fr);
        gap: var(--space-8);
        margin-bottom: var(--space-8);
    }

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

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

    .footer-brand__logo {
        height: 48px;
        width: auto;
        margin-bottom: var(--space-4);
    }

    .footer-brand__desc {
        font-size: var(--font-size-sm);
        line-height: 1.7;
        color: rgba(255, 255, 255, .55);
        max-width: 280px;
    }

    .footer-col__title {
        font-size: var(--font-size-sm);
        font-weight: 700;
        color: var(--color-white);
        margin-bottom: var(--space-5);
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .footer-col a {
        font-size: var(--font-size-sm);
        color: rgba(255, 255, 255, .55);
        transition: color var(--transition-fast);
    }

    .footer-col a:hover {
        color: var(--color-accent-light);
    }

    .footer-bottom {
        padding-top: var(--space-6);
        border-top: 1px solid rgba(255, 255, 255, .08);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--space-4);
        font-size: var(--font-size-xs);
        color: rgba(255, 255, 255, .35);
    }

    /* ------------------------------------------------------------------ */
    /* OVERLAY GLOBAL                                                       */
    /* ------------------------------------------------------------------ */
    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 150;
        display: none;
    }

    .overlay.is-open {
        display: block;
    }

    /* ============================================================================
       CADASTRO
       ========================================================================= */
    @layer components {

        /* ---- Login loading overlay ---- */
        #login-loading-overlay {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }

        .login-loading__box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-5);
        }

        .login-loading__spinner {
            width: 56px;
            height: 56px;
            border: 5px solid var(--color-neutral-200);
            border-top-color: var(--color-primary);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .login-loading__msg {
            font-size: var(--font-size-base);
            font-weight: 600;
            color: var(--color-neutral-700);
            letter-spacing: 0.01em;
        }

        /* ------------------------------------------------------------------ */
        /* AUTH HEADER — login e cadastro                                      */
        /* ------------------------------------------------------------------ */
        .auth-header {
            background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
            border-bottom: 1px solid rgba(255, 255, 255, .08);
        }

        .auth-header__inner {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 var(--space-6);
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .auth-header__logo img {
            height: 34px;
            display: block;
        }

        .auth-header__actions {
            display: flex;
            align-items: center;
            gap: var(--space-3);
        }

        .auth-header__link {
            font-size: var(--font-size-sm);
            font-weight: 500;
            color: rgba(255, 255, 255, .75);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 6px;
            transition: color var(--transition-fast), background var(--transition-fast);
        }

        .auth-header__link:hover {
            color: #fff;
            background: rgba(255, 255, 255, .08);
        }

        .auth-header__btn {
            font-size: var(--font-size-sm);
            font-weight: 600;
            color: var(--color-primary);
            background: #fff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 7px 16px;
            border-radius: 8px;
            transition: background var(--transition-fast), transform var(--transition-fast);
        }

        .auth-header__btn:hover {
            background: #f0fdf4;
            transform: translateY(-1px);
        }

        @media (max-width: 480px) {

            .auth-header__link span,
            .auth-header__link {
                font-size: 13px;
            }

            .auth-header__inner {
                padding: 0 var(--space-4);
            }
        }

        /* Destrava a altura do body (o bloco do dashboard define html,body{height:100%}).
           Nas telas de login/cadastro o body precisa crescer para a página rolar normalmente. */
        body.cadastro-page {
            height: auto;
            min-height: 100vh;
        }

        .cadastro-page {
            min-height: calc(100vh - var(--header-height));
            display: flex;
            flex-direction: column;
            background: var(--color-neutral-100);
        }

        .cadastro-wrap {
            flex: 1;
            display: flex;
            padding: var(--space-6) var(--space-4);
        }

        .cadastro-card {
            background: var(--color-white);
            border-radius: var(--radius-xl);
            box-shadow: 0 4px 32px rgba(0, 0, 0, .10);
            width: 100%;
            max-width: 520px;
            padding: var(--space-7) var(--space-7);
            margin: auto;
        }

        .cadastro-logo {
            display: flex;
            justify-content: center;
            margin-bottom: var(--space-6);
        }

        .cadastro-logo img {
            height: 40px;
            filter: none;
        }

        .cadastro-title {
            font-size: var(--font-size-2xl);
            font-weight: 800;
            color: var(--color-neutral-900);
            text-align: center;
            margin-bottom: var(--space-1);
        }

        .cadastro-subtitle {
            font-size: var(--font-size-sm);
            color: var(--color-neutral-500);
            text-align: center;
            margin-bottom: var(--space-6);
        }

        /* Tabs de tipo */
        .cadastro-tipo-tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-2);
            margin-bottom: var(--space-6);
        }

        .cadastro-tipo-tab {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--space-1);
            padding: var(--space-4);
            border: 2px solid var(--color-neutral-200);
            border-radius: var(--radius-lg);
            cursor: pointer;
            transition: all var(--transition-fast);
            background: var(--color-white);
            color: var(--color-neutral-600);
            font-family: inherit;
        }

        .cadastro-tipo-tab:hover,
        .cadastro-tipo-tab.is-selected {
            border-color: var(--color-primary);
            color: var(--color-primary);
        }

        .cadastro-tipo-tab.is-selected {
            background: rgba(74, 124, 89, .06);
        }

        .cadastro-tipo-tab i {
            font-size: 24px;
        }

        .cadastro-tipo-tab>span {
            font-size: var(--font-size-sm);
            font-weight: 700;
        }

        .cadastro-tipo-tab small {
            font-size: 11px;
            color: var(--color-neutral-400);
            text-align: center;
            line-height: 1.4;
        }

        /* Alertas */
        .cadastro-alert {
            display: flex;
            align-items: flex-start;
            gap: var(--space-3);
            padding: var(--space-3) var(--space-4);
            border-radius: var(--radius-md);
            font-size: var(--font-size-sm);
            margin-bottom: var(--space-5);
        }

        .cadastro-alert--erro {
            background: rgba(220, 53, 69, .08);
            border: 1px solid rgba(220, 53, 69, .25);
            color: #b91c1c;
        }

        .cadastro-alert--sucesso {
            background: rgba(74, 124, 89, .08);
            border: 1px solid rgba(74, 124, 89, .25);
            color: var(--color-primary);
        }

        /* Divisória */
        .cadastro-divider {
            display: flex;
            align-items: center;
            gap: var(--space-3);
            margin: var(--space-5) 0;
            color: var(--color-neutral-400);
            font-size: var(--font-size-xs);
        }

        .cadastro-divider::before,
        .cadastro-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--color-neutral-200);
        }

        /* Wrap input com botão olho */
        .cadastro-input-wrap {
            position: relative;
        }

        .cadastro-input-wrap input {
            padding-right: 44px;
            width: 100%;
        }

        .cadastro-eye-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            color: var(--color-neutral-400);
            padding: 0;
            line-height: 1;
            transition: color var(--transition-fast);
        }

        .cadastro-eye-btn:hover {
            color: var(--color-neutral-600);
        }

        /* Botão principal */
        .cadastro-btn {
            width: 100%;
            padding: var(--space-4);
            background: var(--color-primary);
            color: var(--color-white);
            border: none;
            border-radius: var(--radius-md);
            font-size: var(--font-size-base);
            font-weight: 700;
            cursor: pointer;
            transition: background var(--transition-fast);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--space-2);
            margin-top: var(--space-4);
            text-decoration: none;
        }

        .cadastro-btn:hover:not(:disabled) {
            background: var(--color-primary-dark);
        }

        .cadastro-btn:disabled {
            opacity: .6;
            cursor: not-allowed;
        }

        /* Link login */
        .cadastro-login-link {
            text-align: center;
            margin-top: var(--space-5);
            font-size: var(--font-size-sm);
            color: var(--color-neutral-500);
        }

        .cadastro-login-link a {
            color: var(--color-primary);
            font-weight: 700;
            text-decoration: none;
        }

        .cadastro-login-link a:hover {
            text-decoration: underline;
        }

        /* Tela sucesso */
        .cadastro-sucesso {
            text-align: center;
            padding: var(--space-4) 0;
        }

        .cadastro-sucesso__icon {
            width: 72px;
            height: 72px;
            background: rgba(74, 124, 89, .1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto var(--space-5);
        }

        .cadastro-sucesso__icon i {
            font-size: 32px;
            color: var(--color-primary);
        }

        .cadastro-sucesso h2 {
            font-size: var(--font-size-xl);
            font-weight: 800;
            margin-bottom: var(--space-2);
        }

        .cadastro-sucesso p {
            font-size: var(--font-size-sm);
            color: var(--color-neutral-500);
            margin-bottom: var(--space-6);
        }

        .cadastro-sucesso .cadastro-btn {
            display: inline-flex;
            width: auto;
            min-width: 280px;
            margin: 0 auto;
        }

        @media (max-width: 560px) {
            .cadastro-card {
                padding: var(--space-8) var(--space-5);
            }
        }

        /* Notebooks: telas mais baixas (ex.: 1366x768, 1280x800) —
           reduz o respiro vertical para o card caber sem scroll. */
        @media (max-height: 820px) and (min-width: 561px) {
            .cadastro-card {
                padding: var(--space-5) var(--space-6);
            }

            .cadastro-logo {
                margin-bottom: var(--space-4);
            }
        }
    }

}

/* ============================================================================
   UTILITIES
   ========================================================================= */
@layer utilities {
    .text-primary {
        color: var(--color-primary);
    }

    .text-accent {
        color: var(--color-accent);
    }

    .text-muted {
        color: var(--color-neutral-500);
    }

    .text-sm {
        font-size: var(--font-size-sm);
    }

    .text-xs {
        font-size: var(--font-size-xs);
    }

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

    .text-bold {
        font-weight: 700;
    }

    .mt-auto {
        margin-top: auto;
    }

    .mb-0 {
        margin-bottom: 0;
    }

    .gap-2 {
        gap: var(--space-2);
    }

    .gap-4 {
        gap: var(--space-4);
    }

    .d-flex {
        display: flex;
    }

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

    .flex-wrap {
        flex-wrap: wrap;
    }

    .w-full {
        width: 100%;
    }

    .hidden {
        display: none !important;
    }

    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    /* Fundo sections alternados */
    .bg-white {
        background: var(--color-white);
    }

    .bg-neutral {
        background: var(--color-neutral-100);
    }

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

}

/* ============================================================================
   DASHBOARD
   ========================================================================= */
@layer components {

    /* Layout geral */
    .dash-page {
        background: #F4F5F7;
        min-height: 100vh;
    }

    .dash-layout {
        display: flex;
        min-height: 100vh;
    }

    /* ------------------------------------------------------------------
       SIDEBAR
       ------------------------------------------------------------------ */
    .dash-sidebar {
        width: 240px;
        flex-shrink: 0;
        background: var(--color-white);
        border-right: 1px solid var(--color-neutral-200);
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        z-index: 100;
    }

    .dash-sidebar__logo {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-5) var(--space-5) var(--space-4);
        border-bottom: 1px solid var(--color-neutral-200);
    }

    .dash-sidebar__logo img {
        height: 36px;
    }

    .dash-sidebar__logo-link {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        text-decoration: none;
    }

    .dash-sidebar__logo-icon {
        font-size: 24px;
        color: var(--color-primary);
    }

    .dash-sidebar__logo-text {
        font-size: var(--font-size-base);
        font-weight: 800;
        color: var(--color-neutral-900);
        letter-spacing: -.01em;
    }

    .dash-sidebar__close {
        display: none;
        color: var(--color-neutral-500);
        font-size: 20px;
    }

    .dash-sidebar__perfil {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-5);
        border-bottom: 1px solid var(--color-neutral-200);
    }

    .dash-sidebar__avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--color-accent);
        color: var(--color-neutral-900);
        font-weight: 700;
        font-size: var(--font-size-base);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        text-transform: uppercase;
    }

    .dash-sidebar__perfil-info {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .dash-sidebar__perfil-nome {
        font-weight: 700;
        font-size: var(--font-size-sm);
        color: var(--color-neutral-900);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dash-sidebar__perfil-role {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-500);
        margin-top: 2px;
    }

    .dash-sidebar__nav {
        flex: 1;
        padding: var(--space-4) var(--space-3);
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .dash-sidebar__nav-item {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--color-neutral-600);
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .dash-sidebar__nav-item i {
        width: 18px;
        text-align: center;
        font-size: 15px;
    }

    .dash-sidebar__nav-item:hover {
        background: var(--color-neutral-100);
        color: var(--color-neutral-900);
    }

    .dash-sidebar__nav-item.is-active {
        background: #E8F5E9;
        color: var(--color-primary);
        font-weight: 700;
    }

    .dash-sidebar__footer {
        padding: var(--space-4) var(--space-3);
        border-top: 1px solid var(--color-neutral-200);
    }

    .dash-sidebar__sair {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        width: 100%;
        padding: var(--space-3) var(--space-4);
        border-radius: var(--radius-md);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--color-danger);
        transition: background var(--transition-fast);
    }

    .dash-sidebar__sair:hover {
        background: var(--color-danger-light);
    }

    .dash-sidebar__sair i {
        width: 18px;
        text-align: center;
    }

    /* ------------------------------------------------------------------
       TOPBAR (mobile)
       ------------------------------------------------------------------ */
    .dash-topbar {
        display: none;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-4) var(--space-5);
        background: var(--color-white);
        border-bottom: 1px solid var(--color-neutral-200);
        position: sticky;
        top: 0;
        z-index: 90;
    }

    .dash-topbar__menu {
        font-size: 20px;
        color: var(--color-neutral-700);
        flex-shrink: 0;
    }

    .dash-topbar__title {
        flex: 1;
        font-weight: 700;
        font-size: var(--font-size-base);
        color: var(--color-neutral-900);
    }

    .dash-topbar__perfil {
        display: flex;
        align-items: center;
        gap: var(--space-2);
    }

    .dash-topbar__avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--color-accent);
        color: var(--color-neutral-900);
        font-weight: 700;
        font-size: var(--font-size-xs);
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
    }

    .dash-topbar__nome {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--color-neutral-700);
    }

    /* ------------------------------------------------------------------
       MAIN
       ------------------------------------------------------------------ */
    .dash-main {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }

    .dash-content {
        padding: var(--space-8) var(--space-8);
        display: flex;
        flex-direction: column;
        gap: var(--space-7);
        max-width: 100%;
        overflow-x: hidden;
    }

    /* ------------------------------------------------------------------
       RESPONSIVO
       ------------------------------------------------------------------ */
    @media (max-width: 768px) {
        .dash-topbar {
            display: flex;
        }

        .dash-content {
            padding: var(--space-5) var(--space-4);
        }

        .dash-sidebar {
            position: fixed;
            left: -260px;
            top: 0;
            height: 100vh;
            transition: left .25s ease;
            box-shadow: var(--shadow-lg);
        }

        .dash-sidebar.is-open {
            left: 0;
        }

        .dash-sidebar__close {
            display: flex;
        }
    }

    @media (max-width: 480px) {
        .dash-content {
            padding: var(--space-4) var(--space-3);
            overflow-x: hidden;
        }
    }

    /* ==================================================================
       ABA ANÚNCIOS — movida para podeouroperfil.css
       ================================================================== */
}

/* =============================================================================
   NOVO ANÚNCIO — Formulário
   ============================================================================= */
@layer podeouro {

    /* Breadcrumb */
    .na-breadcrumb {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-500);
        margin-bottom: var(--space-5);
    }

    .na-breadcrumb a {
        color: var(--color-primary);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .na-breadcrumb a:hover {
        text-decoration: underline;
    }

    .na-breadcrumb__sep {
        color: var(--color-neutral-300);
    }

    /* Wrap do formulário */
    .na-form-wrap {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
    }

    @media (max-width: 640px) {
        .na-form-wrap {
            gap: var(--space-4);
        }
    }

    /* Alertas */
    .na-alert {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        padding: var(--space-4) var(--space-5);
        border-radius: var(--radius-lg);
        font-size: var(--font-size-sm);
        font-weight: 500;
    }

    .na-alert--erro {
        background: #FEF2F2;
        color: #B91C1C;
        border: 1px solid #FECACA;
    }

    .na-alert--ok {
        background: #F0FDF4;
        color: #166534;
        border: 1px solid #BBF7D0;
    }

    /* Seção */
    .na-section {
        background: var(--color-white);
        border-radius: var(--radius-xl);
        box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
        border: 1px solid var(--color-neutral-100);
        padding: var(--space-6);
        display: flex;
        flex-direction: column;
        gap: var(--space-5);
    }

    .na-section__head {
        display: flex;
        align-items: flex-start;
        gap: var(--space-4);
        padding-bottom: var(--space-4);
        border-bottom: 1px solid var(--color-neutral-100);
    }

    .na-section__num {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--color-primary);
        color: #fff;
        font-weight: 800;
        font-size: .85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .na-section__title {
        font-size: var(--font-size-base);
        font-weight: 700;
        color: var(--color-neutral-900);
        margin: 0 0 2px;
    }

    .na-section__sub {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-500);
        margin: 0;
    }

    /* Grids de campos */
    .na-grid {
        display: grid;
        gap: var(--space-4);
    }

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

    .na-grid--2 {
        grid-template-columns: 1fr 1fr;
    }

    .na-grid--3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    /* Campos */
    .na-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .na-field--check {
        justify-content: flex-end;
    }

    .na-label {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--color-neutral-700);
    }

    .na-required {
        color: #EF4444;
    }

    .na-hint {
        font-size: var(--font-size-xs);
        color: var(--color-neutral-400);
        text-align: right;
    }

    .na-input {
        width: 100%;
        padding: 10px 14px;
        border: 1.5px solid var(--color-neutral-200);
        border-radius: var(--radius-lg);
        font-size: var(--font-size-sm);
        color: var(--color-neutral-900);
        background: var(--color-white);
        transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        box-sizing: border-box;
    }

    .na-input:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(74, 124, 89, .12);
    }

    .na-textarea {
        resize: vertical;
        min-height: 110px;
    }

    .na-checkbox-label {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        font-size: var(--font-size-sm);
        font-weight: 500;
        color: var(--color-neutral-700);
        cursor: pointer;
        padding: 10px 0;
    }

    .na-checkbox-label input[type=checkbox] {
        width: 16px;
        height: 16px;
        accent-color: var(--color-primary);
    }

    /* Área de fotos */
    .na-fotos-area {
        border: 2px dashed var(--color-neutral-200);
        border-radius: var(--radius-xl);
        padding: var(--space-5);
        transition: border-color var(--transition-fast), background var(--transition-fast);
    }

    .na-fotos-area.is-dragover {
        border-color: var(--color-primary);
        background: rgba(74, 124, 89, .04);
    }

    .na-fotos-empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-8) var(--space-4);
        cursor: pointer;
        color: var(--color-neutral-400);
    }

    .na-fotos-empty i {
        font-size: 2.5rem;
        color: var(--color-neutral-300);
    }

    .na-fotos-empty span {
        font-weight: 600;
        color: var(--color-neutral-600);
    }

    .na-fotos-empty small {
        font-size: var(--font-size-xs);
    }

    .na-fotos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: var(--space-3);
    }

    .na-foto-thumb {
        position: relative;
        aspect-ratio: 1;
        border-radius: var(--radius-lg);
        overflow: hidden;
        border: 2px solid var(--color-neutral-100);
    }

    .na-foto-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .na-foto-remove {
        position: absolute;
        top: 4px;
        right: 4px;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: rgba(0, 0, 0, .6);
        color: #fff;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    .na-foto-remove:hover {
        background: #EF4444;
    }

    .na-foto-badge {
        position: absolute;
        bottom: 4px;
        left: 4px;
        background: var(--color-primary);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 7px;
        border-radius: 20px;
    }

    .na-foto-add {
        aspect-ratio: 1;
        border: 2px dashed var(--color-neutral-200);
        border-radius: var(--radius-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--color-neutral-400);
        font-size: 1.5rem;
        transition: border-color var(--transition-fast), color var(--transition-fast);
    }

    .na-foto-add:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

    /* Ações do rodapé */
    .na-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: var(--space-3);
        padding: var(--space-5) var(--space-6);
        background: var(--color-white);
        border-radius: var(--radius-xl);
        box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
        border: 1px solid var(--color-neutral-100);
    }

    .na-btn {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        padding: 10px 20px;
        border-radius: var(--radius-lg);
        font-size: var(--font-size-sm);
        font-weight: 600;
        cursor: pointer;
        border: none;
        text-decoration: none;
        transition: background var(--transition-fast), transform var(--transition-fast);
    }

    .na-btn:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

    .na-btn--primary {
        background: var(--color-primary);
        color: #fff;
    }

    .na-btn--primary:hover:not(:disabled) {
        background: var(--color-primary-dark);
        transform: translateY(-1px);
    }

    .na-btn--secondary {
        background: var(--color-neutral-100);
        color: var(--color-neutral-700);
        border: 1.5px solid var(--color-neutral-200);
    }

    .na-btn--secondary:hover:not(:disabled) {
        background: var(--color-neutral-200);
    }

    .na-btn--ghost {
        background: transparent;
        color: var(--color-neutral-500);
        border: 1.5px solid var(--color-neutral-200);
    }

    .na-btn--ghost:hover {
        background: var(--color-neutral-50);
    }

    /* Responsivo */
    @media (max-width: 768px) {
        .na-grid--2 {
            grid-template-columns: 1fr;
        }

        .na-grid--3 {
            grid-template-columns: 1fr;
        }

        .na-actions {
            flex-wrap: wrap;
        }

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

    /* ========================================================================
       PERFIL — SIDEBAR ESCURA
       ======================================================================== */
    .dash-sidebar {
        background: linear-gradient(135deg, #1a3d2b 0%, #2d6a4f 100%);
        border-right: 1px solid #2d4a33 !important;
    }

    .dash-sidebar__logo-link,
    .dash-sidebar__perfil-nome,
    .dash-sidebar__nav-item,
    .dash-sidebar__sair {
        color: #e8f5e9 !important;
        background: transparent !important;
    }

    .dash-sidebar__sair:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }

    .dash-sidebar__perfil-role {
        color: #a5d6a7 !important;
    }

    .dash-sidebar__nav-item:hover,
    .dash-sidebar__nav-item.is-active {
        background: rgba(255, 255, 255, 0.10) !important;
        color: #fff !important;
    }

    .dash-sidebar__close {
        color: #e8f5e9 !important;
    }

    .dash-sidebar__footer {
        border-top: 1px solid #2d4a33 !important;
    }

    /* ========================================================================
       PERFIL — LAYOUT (sidebar acompanha toda a altura da página)
       ======================================================================== */

    /* A página ocupa 100% da viewport em altura */
    html,
    body {
        height: 100%;
    }

    .dash-page {
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    /* Layout principal: linha flex que estica para preencher a tela */
    .dash-layout {
        display: flex !important;
        flex-direction: row !important;
        min-height: 100vh !important;
        align-items: stretch !important;
    }

    /* Sidebar estica junto com o conteúdo */
    .dash-sidebar {
        align-self: stretch !important;
        min-height: 100vh !important;
        flex-shrink: 0 !important;
    }

    /* Área principal ocupa o resto do espaço */
    .dash-main {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* ========================================================================
       PERFIL — SIDEBAR MOBILE (toggle .is-open)
       ======================================================================== */
    @media (max-width: 768px) {

        /* Garante que o botão de abrir menu seja visível e clicável */
        .dash-topbar__menu {
            display: flex !important;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            font-size: 20px;
            cursor: pointer;
            z-index: 200;
            position: relative;
        }

        /* Sidebar fora da tela por padrão no mobile */
        .dash-sidebar {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            height: 100vh !important;
            width: 260px !important;
            z-index: 1000 !important;
            transform: translateX(-100%) !important;
            transition: transform .25s ease !important;
            min-height: unset !important;
            align-self: unset !important;
        }

        /* Sidebar visível quando tem .is-open */
        .dash-sidebar.is-open {
            transform: translateX(0) !important;
            box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35) !important;
        }

        /* Overlay escuro ao abrir o menu */
        .dash-sidebar.is-open::before {
            content: '';
            position: fixed;
            inset: 0;
            left: 260px;
            background: rgba(0, 0, 0, 0.4);
            z-index: -1;
        }

        /* Botão de fechar visível dentro do sidebar */
        .dash-sidebar__close {
            display: flex !important;
        }
    }

    /* Desktop — esconde botão de abrir e o X, sidebar sempre visível */
    @media (min-width: 769px) {
        .dash-topbar__menu {
            display: none !important;
        }

        .dash-sidebar__close {
            display: none !important;
        }

        .dash-sidebar {
            transform: translateX(0) !important;
            position: sticky !important;
            top: 0 !important;
            height: 100vh !important;
            overflow-y: auto !important;
        }
    }

    /* ========================================================================
       PERFIL — BADGES DE STATUS (movido para podeouroperfil.css)
       ======================================================================== */

    /* ========================================================================
       PERFIL — BOTÃO VER ANÚNCIO (movido para podeouroperfil.css)
       ======================================================================== */
}

/* =============================================================================
   PÁGINA DE PLANOS DE ANÚNCIO — movida para podeouroplanos.css
   ============================================================================= */

[x-cloak] {
    display: none !important;
}

/* =============================================================================
   NOVO ANÚNCIO / EDITAR ANÚNCIO — Hero, Stepper, Extras
   ============================================================================= */

/* Hero banner */
.na-hero {
    background: linear-gradient(135deg, #14471f 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-5) var(--space-7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    position: relative;
}

.na-hero::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}

.na-hero::after {
    content: '';
    position: absolute;
    right: 60px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

.na-hero__title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -.02em;
    color: #fff !important;
}

.na-hero__sub {
    font-size: var(--font-size-sm);
    opacity: .82;
    margin: 0;
}

.na-hero__icon {
    font-size: 3.5rem;
    opacity: .2;
    flex-shrink: 0;
}

.na-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    opacity: .75;
    margin-bottom: var(--space-3);
}

.na-hero__breadcrumb a {
    color: #fff;
    text-decoration: none;
    opacity: .8;
}

.na-hero__breadcrumb a:hover {
    opacity: 1;
}

/* Aviso de status (editar-anuncio) */
.ea-aviso-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    color: #92400E;
}

.ea-aviso-status i {
    font-size: 16px;
    margin-top: 1px;
    flex-shrink: 0;
}

.ea-aviso-status strong {
    display: block;
    margin-bottom: 2px;
}

/* Stepper */
.na-stepper {
    display: flex;
    align-items: center;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .05), 0 1px 3px rgba(0, 0, 0, .04);
    padding: var(--space-3) var(--space-5);
    gap: 0;
    overflow: hidden;
    margin-bottom: var(--space-4);
    position: sticky;
    top: 0;
    z-index: 100;
}

.na-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
    transition: background .2s, opacity .2s;
    position: relative;
}

.na-step:hover {
    background: #f9fafb;
}

.na-step:not(:last-child)::after {
    content: '';
    flex: 1;
    height: 3px;
    background: #e5e7eb;
    margin: 0 4px;
    border-radius: 3px;
    transition: background .4s ease;
    min-width: 16px;
}

.na-step.is-done:not(:last-child)::after {
    background: var(--color-primary);
}

.na-step__num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    font-weight: 800;
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

/* Concluído: fundo verde + checkmark */
.na-step.is-done .na-step__num {
    background: var(--color-primary);
    color: transparent;
    box-shadow: 0 2px 8px rgba(45, 106, 47, .25);
}

.na-step.is-done .na-step__num::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .7rem;
    color: #fff;
    position: absolute;
}

/* Ativo: glow dourado + número grande */
.na-step.is-active .na-step__num {
    background: var(--color-accent);
    color: #fff;
    font-size: .85rem;
    font-weight: 900;
    box-shadow: 0 0 0 5px rgba(232, 160, 32, .2), 0 3px 12px rgba(232, 160, 32, .3);
    transform: scale(1.12);
}

.na-step__label {
    font-size: .78rem;
    font-weight: 600;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .3s;
}

.na-step.is-active .na-step__label {
    color: #1f2937;
    font-weight: 700;
}

.na-step.is-done .na-step__label {
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .na-step__label {
        display: none;
    }

    .na-stepper {
        justify-content: center;
        padding: var(--space-2) var(--space-3);
    }

    .na-step {
        padding: 4px 2px;
    }

    .na-step:not(:last-child)::after {
        min-width: 8px;
        margin: 0 1px;
    }
}

/* ══════════════════════════════════════════════════
   WIZARD — Navegação & Animações de Etapa
   ══════════════════════════════════════════════════ */

/* Section card */
.na-section {
    scroll-margin-top: 24px;
}

/* Barra de navegação entre etapas */
.na-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    margin-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.na-step-nav__info {
    font-size: .82rem;
    color: #6b7280;
    font-weight: 600;
    white-space: nowrap;
    background: #f9fafb;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Section icon */
.na-section__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.na-section__icon--green {
    background: #E8F5E9;
    color: var(--color-primary);
}

.na-section__icon--blue {
    background: #E3F2FD;
    color: #1976D2;
}

.na-section__icon--amber {
    background: #FFF8E1;
    color: #F59E0B;
}

.na-section__icon--purple {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* Área de fotos */
.na-fotos-area {
    background: #FAFAFA;
}

/* Select com seta customizada */
select.na-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

/* Input com ícone à esquerda */
.na-input-wrap {
    position: relative;
}

.na-input-wrap .na-input {
    padding-left: 38px;
}

.na-input-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-neutral-400);
    font-size: 13px;
    pointer-events: none;
}

/* Chips de seleção rápida */
.na-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: 2px;
}

.na-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--color-neutral-200);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-neutral-600);
    cursor: pointer;
    transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    user-select: none;
    background: var(--color-white);
}

.na-chip:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
    background: #f0faf0;
}

.na-chip.is-on {
    background: #E8F5E9;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Foto thumb hover */
.na-foto-thumb {
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.na-foto-thumb:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
}

.na-fotos-empty {
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.na-fotos-empty:hover {
    background: rgba(45, 106, 47, .04);
}

/* Group divider label */
.na-group-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-neutral-400);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-neutral-100);
    margin-bottom: var(--space-1);
}

/* Mapa */
#na-mapa {
    width: 100%;
    height: 340px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--color-neutral-200);
    z-index: 0;
    transition: border-color var(--transition-fast);
}

#na-mapa:focus-within,
#na-mapa.is-marked {
    border-color: var(--color-primary);
}

@media (max-width: 640px) {
    #na-mapa {
        height: 240px;
    }
}

.na-mapa-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--color-neutral-400);
    margin-top: 6px;
}

.na-mapa-coords {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #E8F5E9;
    border-radius: var(--radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 8px;
}

.na-mapa-coords.is-hidden {
    display: none;
}

/* Contador de caracteres */
.na-hint--warn {
    color: var(--color-warning);
}

.na-hint--danger {
    color: var(--color-danger);
}

/* Topbar title override */
.dash-topbar__title {
    color: #ffffff;
}

/* Fotos existentes (editar-anuncio) */
.ea-foto-existente {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}

.ea-foto-existente img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ea-foto-existente .na-foto-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.ea-foto-badge-principal {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background: var(--color-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Spinner de carregamento inicial (editar-anuncio) */
.ea-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: var(--color-neutral-400);
}

.ea-loading i {
    font-size: 2.5rem;
    animation: ea-spin 1s linear infinite;
}

@keyframes ea-spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================================================
   UTILITÁRIOS COMPARTILHADOS — novo-anuncio / editar-anuncio
   ============================================================================= */

/* Campo de checkbox com borda (linha do preço negociável) */
.na-checkbox-label--box {
    padding: 11px 14px;
    border: 1.5px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

/* Ícone alinhado à direita dentro de label flex */
.na-field-ico-right {
    color: var(--color-neutral-400);
    margin-left: auto;
    font-size: 15px;
}

/* Container com flex:1 dentro da section__head (cabeçalho de fotos) */
.na-section__head-flex {
    flex: 1;
}

/* Contador de fotos (badge no canto do cabeçalho) */
.na-fotos-counter {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-neutral-400);
    background: var(--color-neutral-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

/* Label de seção interna de fotos ("Fotos atuais") */
.na-fotos-label {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-neutral-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}

/* Grid de fotos com margem inferior (bloco de fotos existentes) */
.na-fotos-grid--mb {
    margin-bottom: 16px;
}

/* Botão de remover marcador do mapa */
.na-mapa-remove-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-danger);
    font-size: 12px;
    font-weight: 700;
    padding: 0 4px;
}

/* Ícone de seta do breadcrumb */
.na-breadcrumb-chevron {
    font-size: 9px;
}

/* Ícone pequeno dentro de badge (ex: estrela "Principal") */
.na-badge-ico {
    font-size: 8px;
}

/* Input de arquivo oculto */
.na-file-hidden {
    display: none;
}

/* Ícone do pin no label de mapa */
.na-mapa-pin-ico {
    margin-right: 5px;
}

/* Avatar text dentro do sidebar */
.dash-sidebar__avatar-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

/* =============================================================================
   NOVO ANÚNCIO — LAYOUT CLEAN (Inspirado Agrofy)
   ============================================================================= */

/* ── Grid 2 colunas: formulário + sidebar ── */
.na-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 1024px) {
    .na-layout {
        grid-template-columns: 1fr 300px;
    }
}

@media (max-width: 860px) {
    .na-layout {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .na-sidebar {
        position: static !important;
    }
}

/* ── Sidebar de Objetivos ── */
.na-sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-3));
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.na-objectives-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.na-objectives__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid #f3f4f6;
    background: #fafafa;
}

@media (max-width: 640px) {
    .na-objectives__header {
        padding: var(--space-3) var(--space-4);
    }

    .na-objectives__list {
        padding: var(--space-3) var(--space-4) var(--space-3);
    }
}

.na-objectives__title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: .88rem;
    font-weight: 700;
    color: #1f2937;
}

.na-objectives__title i {
    color: var(--color-primary);
    font-size: .85rem;
}

.na-objectives__progress {
    font-size: .78rem;
    font-weight: 600;
    color: #6b7280;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.na-objectives__progress.is-complete {
    background: #E8F5E9;
    color: var(--color-primary);
}

.na-objectives__list {
    padding: var(--space-3) var(--space-5) var(--space-4);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.na-objective-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .82rem;
    color: #6b7280;
    padding: 6px 0;
    transition: color .2s;
}

.na-objective-item i {
    font-size: .85rem;
    margin-top: 1px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.na-objective-item i.fa-circle {
    color: #d1d5db;
}

.na-objective-item i.fa-circle-check {
    color: var(--color-success);
}

.na-objective-item i.fa-circle-exclamation {
    color: #f59e0b;
}

.na-objective-item.is-done {
    color: var(--color-success);
}

.na-objective-item.is-active {
    color: #1f2937;
    font-weight: 600;
}

/* ── Tip box ── */
.na-tip-box {
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid #f3f4f6;
    background: #fffbeb;
    display: flex;
    gap: 10px;
    font-size: .78rem;
    color: #92400e;
    line-height: 1.5;
}

.na-tip-box i {
    color: #f59e0b;
    font-size: .85rem;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ── Botões de ação no sidebar ── */
.na-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.na-btn--full {
    width: 100%;
    justify-content: center;
}

/* ── Seções mais clean ── */
.na-section--clean {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: none;
    padding: var(--space-6);
}

.na-section--clean .na-section__head {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-5);
}

@media (max-width: 640px) {
    .na-section--clean {
        padding: var(--space-4);
    }

    .na-section--clean .na-section__head {
        padding-bottom: var(--space-3);
        margin-bottom: var(--space-4);
    }
}

/* ── Campo com validação inline ── */
.na-field.has-erro .na-input,
.na-field.has-erro .na-cat-trigger,
.na-field.has-erro select.na-input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1) !important;
}

.na-field.has-erro .na-label {
    color: #b91c1c;
}

.na-field-msg {
    font-size: .75rem;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.na-field-msg i {
    font-size: .7rem;
}

/* ── Contador inline ── */
.na-counter {
    font-size: .72rem;
    font-weight: 600;
    color: #9ca3af;
    text-align: right;
    margin-top: 3px;
}

.na-counter.is-warn {
    color: #f59e0b;
}

.na-counter.is-danger {
    color: #ef4444;
}

/* ── Hero clean (substitui o banner grande) ── */
.na-hero--clean {
    background: linear-gradient(135deg, #14471f 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    color: #fff;
}

.na-hero--clean .na-hero__title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: #fff !important;
    margin: 0;
}

.na-hero--clean .na-hero__breadcrumb {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, .7);
    margin-bottom: 4px;
    opacity: 1;
    flex-wrap: wrap;
}

.na-hero--clean .na-hero__breadcrumb a {
    color: rgba(255, 255, 255, .85);
    opacity: 1;
}

.na-hero--clean .na-hero__breadcrumb a:hover {
    color: #fff;
}

.na-hero--clean .na-hero__sub {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, .65);
    margin: 0;
    opacity: 1;
}

/* ── Hero clean: mobile ── */
@media (max-width: 640px) {
    .na-hero--clean {
        padding: var(--space-4);
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .na-hero--clean .na-hero__title {
        font-size: var(--font-size-lg);
    }

    /* Esconde o ícone decorativo no mobile */
    .na-hero--clean>i:last-child {
        display: none;
    }
}

.na-hero--clean__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 10px;
    transition: background .15s, border-color .15s;
}

.na-hero--clean__back:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

/* ── Barra de navegação clean ── */
.na-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    margin-top: var(--space-2);
    border-top: 1px solid #f3f4f6;
}

.na-navbar__step {
    font-size: .82rem;
    font-weight: 600;
    color: #6b7280;
    background: #f9fafb;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.na-btn--prev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
}

.na-btn--prev:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0faf0;
}

.na-btn--prev:disabled {
    opacity: .4;
    cursor: not-allowed;
    border-color: #e5e7eb;
    color: #d1d5db;
}

.na-btn--next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
}

.na-btn--next:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.na-btn--next:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* ── Navbar: mobile ── */
@media (max-width: 480px) {
    .na-navbar {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .na-navbar__step {
        order: -1;
        width: 100%;
        text-align: center;
        padding: 5px 12px;
        font-size: .75rem;
    }

    .na-btn--prev,
    .na-btn--next {
        flex: 1;
        justify-content: center;
        font-size: .8rem;
        padding: 9px 14px;
    }

    /* Remove spacer invisível quando botão Anterior está escondido */
    .na-navbar>span:not(.na-navbar__step) {
        display: none;
    }
}

/* ── Ações finais clean ── */
.na-actions--clean {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--space-3);
    padding: var(--space-5) 0 0;
    margin-top: var(--space-2);
    border-top: 1px solid #f3f4f6;
}

@media (max-width: 600px) {
    .na-actions--clean {
        flex-direction: column;
        align-items: stretch;
    }

    .na-actions--clean .na-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ── Header da seção com ícone ── */
.na-section__head--clean {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-5);
    border-bottom: 1px solid #f3f4f6;
}

.na-section__head--clean .na-section__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.na-section__head--clean .na-section__title {
    font-size: .95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 2px;
}

.na-section__head--clean .na-section__sub {
    font-size: .78rem;
    color: #9ca3af;
    margin: 0;
}

/* =============================================================================
   DASH CONTENT — NO GAP (para páginas de formulário)
   ============================================================================= */
.dash-content--no-gap {
    gap: 0 !important;
}

/* =============================================================================
   MODAL DUPLICIDADE — animação
   ============================================================================= */
@keyframes poModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =============================================================================
   CATEGORY DROPDOWN (árvore expand/collapse)
   ============================================================================= */
.na-cat-dropdown {
    position: relative;
    width: 100%;
}

.na-cat-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.93rem;
    color: #374151;
    cursor: pointer;
    text-align: left;
    transition: border-color .25s, box-shadow .25s;
}

.na-cat-trigger:hover {
    border-color: #4a9d4e;
    box-shadow: 0 0 0 3px rgba(45, 106, 47, .08);
}

.na-cat-trigger.is-open {
    border-color: #2D6A2F;
    box-shadow: 0 0 0 3px rgba(45, 106, 47, .12);
}

.na-cat-trigger__ico {
    color: #2D6A2F;
    font-size: .85rem;
    flex-shrink: 0;
}

.na-cat-trigger__arrow {
    margin-left: auto;
    font-size: .72rem;
    color: #9ca3af;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
    flex-shrink: 0;
}

.na-cat-trigger.is-open .na-cat-trigger__arrow {
    transform: rotate(180deg);
    color: #2D6A2F;
}

.na-cat-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .13), 0 2px 8px rgba(0, 0, 0, .06);
    max-height: 300px;
    overflow-y: auto;
    padding: 6px 0;
}

.na-cat-panel::-webkit-scrollbar {
    width: 5px;
}

.na-cat-panel::-webkit-scrollbar-track {
    background: transparent;
}

.na-cat-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

.na-cat-node {
    display: flex;
    flex-direction: column;
}

.na-cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: .91rem;
    color: #374151;
    transition: background .18s, color .18s;
    position: relative;
}

.na-cat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 2px;
    background: #2D6A2F;
    transform: scaleY(0);
    transition: transform .2s ease;
}

.na-cat-item:hover {
    background: #f4faf4;
    color: #1a4d1c;
}

.na-cat-item:hover::before {
    transform: scaleY(1);
}

.na-cat-item.is-selected {
    background: linear-gradient(90deg, #eaf5ea, #f7fdf7);
    color: #1a4d1c;
    font-weight: 600;
}

.na-cat-item.is-selected::before {
    transform: scaleY(1);
}

.na-cat-item.has-children {
    font-weight: 700;
    color: #2D6A2F;
    letter-spacing: .01em;
}

.na-cat-item--filho {
    padding-left: 32px;
}

.na-cat-item--neto {
    padding-left: 52px;
}

.na-cat-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #9ca3af;
    font-size: .68rem;
    transition: background .18s, color .18s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.na-cat-toggle:hover {
    background: rgba(45, 106, 47, .1);
    color: #2D6A2F;
}

.na-cat-toggle.is-expanded {
    transform: rotate(90deg);
    color: #2D6A2F;
}

.na-cat-children {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.na-cat-node+.na-cat-node>.na-cat-item.has-children {
    border-top: 1px solid #f3f4f6;
    margin-top: 2px;
    padding-top: 12px;
}

/* ── Alpine x-transition: painel abre/fecha ── */
.na-panel-enter {
    transition: opacity .2s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}

.na-panel-enter-start {
    opacity: 0;
    transform: translateY(-6px) scaleY(.97);
}

.na-panel-enter-end {
    opacity: 1;
    transform: translateY(0) scaleY(1);
}

.na-panel-leave {
    transition: opacity .15s ease, transform .15s ease;
}

.na-panel-leave-start {
    opacity: 1;
    transform: translateY(0) scaleY(1);
}

.na-panel-leave-end {
    opacity: 0;
    transform: translateY(-4px) scaleY(.97);
}

/* ── Alpine x-transition: filhos expandem/recolhem ── */
.na-kids-enter {
    transition: opacity .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1);
}

.na-kids-enter-start {
    opacity: 0;
    transform: translateY(-4px);
}

.na-kids-enter-end {
    opacity: 1;
    transform: translateY(0);
}

.na-kids-leave {
    transition: opacity .15s ease, transform .15s ease;
}

.na-kids-leave-start {
    opacity: 1;
    transform: translateY(0);
}

.na-kids-leave-end {
    opacity: 0;
    transform: translateY(-4px);
}

/* ── Botão outline genérico ── */
.na-btn--outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
}

.na-btn--outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #f0faf0;
}

/* ── Ícone de seção teal ── */
.na-section__icon--teal {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #fff;
}

/* ── Seção de Atributos ── */
.na-atrib-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.na-atrib-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color .2s, box-shadow .2s;
}

.na-atrib-item:hover {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .08);
}

.na-atrib-item__chave {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.na-atrib-item__valor {
    flex: 1.5;
    min-width: 0;
}

.na-atrib-item__sep {
    flex-shrink: 0;
}

.na-atrib-ico {
    color: #0d9488;
    font-size: .85rem;
    flex-shrink: 0;
}

.na-atrib-sep-ico {
    color: #9ca3af;
    font-size: .75rem;
}

.na-atrib-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 6px 0 !important;
    font-size: .9rem;
    box-shadow: none !important;
}

.na-atrib-input:focus {
    outline: none;
}

.na-atrib-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    font-size: .9rem;
    padding: 6px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    flex-shrink: 0;
}

.na-atrib-remove:hover {
    color: #ef4444;
    background: #fef2f2;
}

@media (max-width: 480px) {
    .na-atrib-item {
        flex-wrap: wrap;
    }

    .na-atrib-item__chave,
    .na-atrib-item__valor {
        flex: 1 1 100%;
    }

    .na-atrib-item__sep {
        display: none;
    }

    .na-atrib-remove {
        margin-left: auto;
    }
}

.na-atrib-empty {
    text-align: center;
    padding: 32px 16px;
    color: #9ca3af;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
}

.na-atrib-empty__ico {
    font-size: 2rem;
    color: #d1d5db;
    margin-bottom: 8px;
    display: block;
}

.na-atrib-empty p {
    margin: 4px 0;
    font-size: .9rem;
    color: #6b7280;
}

.na-atrib-empty small {
    font-size: .8rem;
    color: #9ca3af;
}

.na-atrib-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #f0fdfa;
    border: 1.5px dashed #0d9488;
    border-radius: 8px;
    color: #0d9488;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

.na-atrib-add-btn:hover {
    background: #ccfbf1;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, .1);
}

/* ── Grade de sugestões de características (estilo Agrofy) ── */
.na-sugest-grid {
    margin-top: 4px;
}

.na-sugest-grid__title {
    font-size: .72rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.na-sugest-grid__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.na-sugest-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.na-sugest-field {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    background: #f9fafb;
    border: 1.5px dashed #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all .18s;
}

.na-sugest-field:hover {
    border-color: #0d9488;
    background: #f0fdfa;
    border-style: solid;
}

.na-sugest-field__label {
    font-size: .85rem;
    font-weight: 600;
    color: #374151;
    flex-shrink: 0;
    min-width: 70px;
}

.na-sugest-field__placeholder {
    flex: 1;
    font-size: .78rem;
    color: #9ca3af;
    text-align: right;
}

.na-sugest-field__add {
    font-size: .65rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color .15s, transform .15s;
}

.na-sugest-field:hover .na-sugest-field__add {
    color: #0d9488;
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .na-sugest-grid__cols {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   LOADING OVERLAY GLOBAL
   ========================================================================= */
.po-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity var(--transition-base);
    opacity: 0;
}

.po-loading-overlay.is-visible {
    display: flex;
    opacity: 1;
}

.po-loading__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: var(--space-8) var(--space-10);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.po-loading__spinner {
    width: 44px;
    height: 44px;
    border: 4px solid var(--color-neutral-200);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: po-spin .7s linear infinite;
}

@keyframes po-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Animações dos cards exclusivos ── */
@keyframes cardPulseGold {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(212, 160, 23, .10), 0 8px 36px rgba(212, 160, 23, .18);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(212, 160, 23, .20), 0 12px 44px rgba(212, 160, 23, .28);
    }
}

@keyframes shineGold {

    0%,
    100% {
        opacity: .5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

.po-loading__msg {
    font-family: var(--font-sans);
    font-size: var(--font-size-md);
    color: var(--color-neutral-700);
    font-weight: 500;
}

/* ============================================================================
   TELA DE ERRO
   ========================================================================= */
.po-erro-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-neutral-100);
    padding: var(--space-6);
}

.po-erro-card {
    text-align: center;
    max-width: 520px;
    width: 100%;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-10) var(--space-8);
}

.po-erro-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-danger-light);
    color: var(--color-danger);
    font-size: 2rem;
    margin-bottom: var(--space-6);
}

.po-erro-card__code {
    font-family: var(--font-sans);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-neutral-900);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.po-erro-card__title {
    font-family: var(--font-sans);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-neutral-700);
    margin-bottom: var(--space-3);
}

.po-erro-card__desc {
    font-family: var(--font-sans);
    font-size: var(--font-size-md);
    color: var(--color-neutral-500);
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.po-erro-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.po-erro-card__actions .btn {
    min-width: 160px;
}

/* ============================================================================
   HOME — MICRO-INTERAÇÕES (aditivos)
   ========================================================================= */

/* Entrada suave do conteúdo do hero (fallback estático) */
.hero-section__content>* {
    animation: heroFadeUp .7s cubic-bezier(.22, 1, .36, 1) both;
}

.hero-section__content>*:nth-child(1) {
    animation-delay: .05s;
}

.hero-section__content>*:nth-child(2) {
    animation-delay: .12s;
}

.hero-section__content>*:nth-child(3) {
    animation-delay: .19s;
}

.hero-section__content>*:nth-child(4) {
    animation-delay: .26s;
}

.hero-section__content>*:nth-child(5) {
    animation-delay: .33s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Link "Ver todos/mais" com seta animada */
.section-header__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.section-header__link::after {
    content: '\2192';
    transition: transform var(--transition-fast);
}

.section-header__link:hover::after {
    transform: translateX(4px);
}

/* Respeita menos movimento */
@media (prefers-reduced-motion: reduce) {

    .hero-section__content>*,
    .property-card--exclusive,
    .property-card--exclusive::before {
        animation: none !important;
    }

    .category-card,
    .property-card {
        transition: none !important;
    }

    .category-card:hover,
    .property-card:hover {
        transform: none !important;
    }
}