/* ===================================================
   PrimeABC — Stylesheet principal
   Paleta: dark #111013, accent #55EBE2
   Fonts: Roboto, Sora, Inter
   Metodologia: BEM
   =================================================== */

/* ===== TOKENS / VARIÁVEIS ========================= */
:root {
    --color-bg:          #111013;
    --color-bg-card:     #272629;
    --color-bg-form:     #060606;
    --color-bg-footer:   #2D2C2F;
    --color-bg-white:    #FFFFFF;

    --color-accent:      #55EBE2;
    --color-gold:        #A87B3A;  /* dourado do logo */
    --color-wine:        #751820;  /* vinho do logo */
    --color-danger:      #E32A2A;
    --color-border-card: #313131;

    --color-text:        #DFE7E6;
    --color-text-light:  #E5E5E5;
    --color-text-price:  #EBE4E4;
    --color-text-label:  #AAA7A7;
    --color-text-dark:   #111013;

    --font-roboto:       'Roboto', sans-serif;
    --font-sora:         'Sora', sans-serif;
    --font-inter:        'Inter', sans-serif;

    --max-width:         1140px;
    --border-radius-sm:  5px;
    --border-radius-pill: 50px;

    --transition-default: 0.3s ease;
}

/* ===== RESET BASE ================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-roboto);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-width: 320px;
}

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

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

ul, ol {
    list-style: none;
}

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

/* ===== CONTAINER =================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 4%;
    padding-right: 4%;
}

/* ===== HEADER ====================================== */
.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    /* Começa escondido acima da viewport */
    transform: translateY(-100%);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.38s ease;
}

/* Aparece ao rolar */
.site-header--visible {
    transform: translateY(0);
    opacity: 1;
}

.header__container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
}

.header__logo-col {
    flex: 0 0 63.23%;
    max-width: 63.23%;
}

.header__nav-col {
    flex: 0 0 17.483%;
    max-width: 17.483%;
}

.header__cta-col {
    flex: 0 0 18.924%;
    max-width: 18.924%;
}

.header__logo-link {
    display: inline-block;
}

.header__logo {
    display: block;
    margin-left: 18px;
    max-width: 160px;
    height: auto;
    padding: 8px 0;
}

/* ===== HERO ========================================= */
.hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Vídeo de fundo */
.hero__video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Fallback: imagem estática (ativada por JS ou media query) */
.hero__img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: none; /* JS ativa se vídeo falhar; media query ativa no mobile */
}

/* Overlay escuro sobre o vídeo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 16, 19, 0.45);
    z-index: 1;
}

/* Conteúdo sobre o vídeo */
.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Barra de logo mobile — acima do hero, oculta no desktop */
.mobile-logo-bar {
    display: none;
    background: #0b0b0f;
    text-align: center;
    padding: 18px 16px 14px;
    border-bottom: 1px solid rgba(168,123,58,.15);
}
.mobile-logo-bar__img {
    width: 180px;
    max-width: 58vw;
    height: auto;
}

.hero__headline {
    color: var(--color-accent);
    font-family: var(--font-sora);
    font-weight: 300;
    font-size: 2.1rem;
    text-align: center;
    padding: 0 6%;
    line-height: 1.4;
    letter-spacing: 0.015em;
}

/* Wrapper da seta + label */
.hero__scroll-wrap {
    position: absolute;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    animation: hero-bounce 2.2s ease-in-out infinite;
}

.hero__scroll-wrap:hover .hero__scroll-arrow {
    background-color: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.9);
}

.hero__scroll-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Seta de scroll — visual only (posição está no wrapper) */
.hero__scroll-arrow {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s, background-color 0.25s;
}

.hero__scroll-arrow svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 1; }
    50%       { transform: translateX(-50%) translateY(10px); opacity: 0.7; }
}

/* Shape divisor inferior do hero → cor = bg da seção do formulário */
.hero__shape-bottom {
    position: absolute;
    bottom: -1px; /* evita gap de 1px entre hero e próxima seção */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    height: 80px;
}

.hero__shape-bottom svg {
    display: block;
    width: 100%;
    height: 100%;
    /* Flip vertical: ondas apontam para cima (hero), sólido desce para a seção */
    transform: scaleY(-1);
}

/* Cor do shape = bg da próxima seção */
.hero__shape-bottom .shape-fill {
    fill: #060606;
}

/* ===== SEÇÃO DO FORMULÁRIO DE BUSCA ================ */
.search-section {
    background-color: var(--color-bg-form); /* #060606 */
    padding: 30px 4% 40px;
    margin-top: -30px; /* sobe sobre o hero — valor testado */
    position: relative;
    z-index: 2;
}

.search-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Logo grande na seção de busca — sobe 50px para sobrepor a forma */
.search-section__logo {
    text-align: center;
    padding: 0 0 28px;
    margin-top: 0px; /* sobe sobre a forma ondulada */
    position: relative;
    z-index: 5;
}

.search-section__logo-img {
    max-width: 300px;
    width: 70%;
    height: auto;
    margin: 0 auto;
    filter: brightness(1.05) drop-shadow(0 4px 16px rgba(168,123,58,0.25));
}

/* Separador dourado entre logo e H1 */
.search-section__divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 0 auto 28px;
}

/* Headings acima do formulário */
.search-section__headings {
    text-align: center;
    padding: 0 0 40px;
}

.search-section__h1 {
    font-family: var(--font-sora);
    font-size: 2.625rem; /* 42px — igual às seções */
    font-weight: 400;
    color: var(--color-wine);
    line-height: 1.1em;
    margin-bottom: 16px;
}

.search-section__h2 {
    font-family: var(--font-roboto);
    font-size: 1rem;
    font-weight: 300;
    color: #DFE7E6;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .search-section__logo-img { max-width: 220px; }
    .search-section__headings { padding: 0 0 28px; }
    .search-section__h1 { font-size: 1.6rem; letter-spacing: 0.015em; }
    .search-section__h2 { font-size: 0.9rem; }
}

/* ===== FORMULÁRIO — layout exato do print ========== */
.sf {
    width: 100%;
}

/* Grupo padrão (linha inteira) */
.sf__group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Linha com duas colunas (valor e dorms/garagem) */
.sf__row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.sf__label {
    color: var(--color-text-light);
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 0.875rem;
}

/* Input estreito (cód. imóvel) */
.sf__input {
    background-color: var(--color-bg-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.95rem;
    height: 44px;
    width: 220px; /* estreito como no print */
    max-width: 100%;
}

/* Select e inputs de valor (largura total) */
.sf__select,
.sf__input--full {
    background-color: var(--color-bg-white);
    color: #111;
    border: none;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.95rem;
    height: 44px;
    width: 100%;
    appearance: auto; /* mantém seta nativa */
    cursor: pointer;
}

.sf__input::placeholder,
.sf__input--full::placeholder {
    color: #888;
}

.sf__input:focus,
.sf__select:focus,
.sf__input--full:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

/* Checkboxes */
.sf__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.sf__check-label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-light);
    user-select: none;
}

.sf__check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
}

/* Campo monetário com R$ fixo */
.sf__input-money {
    position: relative;
}

.sf__input-money::before {
    content: 'R$';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.875rem;
    font-family: var(--font-roboto);
    pointer-events: none;
    z-index: 1;
}

.sf__input-money .sf__input--full {
    padding-left: 36px;
}

/* ===== PÁGINA DE LISTAGEM DE IMÓVEIS ============== */

/* Header fixo sempre visível nesta página */
.page-imoveis .site-header {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Hero / topo da listagem */
.listing-hero {
    background: linear-gradient(180deg, #000 0%, #111013 100%);
    padding: 100px 4% 32px;
    border-bottom: 1px solid rgba(168,123,58,0.25);
}

.listing-hero__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.listing-hero__title {
    font-family: var(--font-sora);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-bg-white);
    margin-bottom: 6px;
}

.listing-hero__count {
    font-family: var(--font-roboto);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-label);
}

/* Barra de filtros ativos */
.listing-filters-bar {
    background-color: #0d0c10;
    border-bottom: 1px solid #222;
    padding: 10px 4%;
}

.listing-filters-bar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.listing-filters-bar__label {
    font-family: var(--font-roboto);
    font-size: 0.78rem;
    color: var(--color-text-label);
    margin-right: 4px;
}

.listing-filters-bar__tag {
    display: inline-block;
    background-color: rgba(168,123,58,0.15);
    border: 1px solid rgba(168,123,58,0.3);
    color: var(--color-gold);
    font-family: var(--font-roboto);
    font-size: 0.75rem;
    font-weight: 400;
    padding: 3px 10px;
    border-radius: var(--border-radius-pill);
}

.listing-filters-bar__clear {
    margin-left: auto;
    font-family: var(--font-roboto);
    font-size: 0.75rem;
    color: var(--color-text-label);
    text-decoration: none;
    transition: color var(--transition-default);
}

.listing-filters-bar__clear:hover {
    color: #fff;
}

/* Área principal */
.listing-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 4% 60px;
}

/* Grid de cards — 3 colunas → 2 → 1 */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .listing-grid { grid-template-columns: 1fr; }
    .listing-hero { padding-top: 80px; }
}

/* Estado vazio */
.listing-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-label);
    font-family: var(--font-roboto);
    font-size: 1rem;
}

.listing-empty__btn {
    display: inline-block;
    margin-top: 20px;
    padding: 11px 28px;
    background-color: var(--color-wine);
    color: #fff;
    border-radius: var(--border-radius-pill);
    font-family: var(--font-roboto);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color var(--transition-default);
}

.listing-empty__btn:hover { background-color: #921e29; }

/* Paginação */
.listing-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.listing-pagination__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background-color: #1e1d21;
    color: var(--color-text);
    font-family: var(--font-roboto);
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    border: 1px solid #333;
    transition: background-color var(--transition-default), border-color var(--transition-default);
}

.listing-pagination__btn:hover {
    background-color: #2a2830;
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.listing-pagination__btn--active {
    background-color: var(--color-wine);
    border-color: var(--color-wine);
    color: #fff;
    pointer-events: none;
}

.listing-pagination__btn--prev,
.listing-pagination__btn--next {
    font-size: 1.3rem;
    font-weight: 300;
}

/* ===== TAGLINE ANTES DO RODAPÉ ==================== */
.site-tagline {
    background-color: var(--color-bg);
    text-align: center;
    padding: 40px 4%;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.site-tagline__text {
    font-family: var(--font-sora);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-label);
    letter-spacing: 0.03em;
    line-height: 1.6;
}

/* Botão Enviar */
.sf__submit {
    display: block;
    width: 100%;
    background-color: var(--color-wine);
    color: #fff;
    font-family: var(--font-roboto);
    font-weight: 300;
    font-size: 1.25rem;
    border: none;
    border-radius: 4px;
    padding: 14px;
    cursor: pointer;
    margin-top: 8px;
    letter-spacing: 0.03em;
    transition: background-color var(--transition-default), transform 0.15s ease;
}

.sf__submit:hover {
    background-color: #8f1e28;
    transform: translateY(-1px);
}

.sf__submit:active {
    transform: translateY(0);
}

/* ===== SEÇÕES DE IMÓVEIS =========================== */
.properties-section {
    margin-top: 10%;
    padding: 0 4%;
}

.properties-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 4%;
}

.properties-section__title {
    font-family: var(--font-sora);
    font-size: 2.625rem; /* 42px — original */
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1.1em;
}

/* Botão "Ver mais..." */
.btn-mais {
    display: inline-block;
    background-color: transparent;
    color: var(--color-bg-white);
    font-family: var(--font-sora);
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid var(--color-bg-white);
    border-radius: var(--border-radius-pill);
    padding: 18px 35px;
    cursor: pointer;
    transition:
        background-color var(--transition-default),
        color var(--transition-default);
    white-space: nowrap;
}

.btn-mais:hover,
.btn-mais:focus {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    outline: none;
}

/* Grid de cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ===== CARD DE IMÓVEL ============================== */
.property-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition-default), box-shadow var(--transition-default);
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* Imagem do card */
.property-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

/* Placeholder enquanto imagem carrega */
.property-card__img-placeholder {
    width: 100%;
    height: 250px;
    background-color: #1e1d21;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.75rem;
}

/* Conteúdo do card */
.property-card__body {
    padding: 4px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    text-align: center;
}

.property-card__title {
    font-family: var(--font-sora);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-bg-white);
    line-height: 1.25em;
    margin-top: 6px;
}

.property-card__description {
    font-family: var(--font-inter);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.5em;
    flex: 1;
}

.property-card__location {
    font-family: var(--font-inter);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--color-text-label);
}

.property-card__code {
    font-family: var(--font-roboto);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Badge de preço — alinhado à direita, vinho */
.property-card__price-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
    background-color: var(--color-wine);
    color: #fff;
    border: none;
    border-radius: 0 0 0 var(--border-radius-sm);
    padding: 9px 16px;
    font-family: var(--font-roboto);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-default);
    white-space: nowrap;
}

.property-card__price-btn:hover {
    background-color: #921e29;
}

.property-card__price-btn .arrow {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

/* ===== BANNER WHATSAPP ============================ */
.whatsapp-banner {
    position: relative;
    margin-top: 40px;
    min-height: 420px;
    background-image: url('https://primeabc.com.br/wp-content/uploads/2022/06/whatsapp.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}

/* Shape topo do banner WhatsApp */
.whatsapp-banner__shape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.whatsapp-banner__shape-top svg {
    display: block;
    width: 100%;
}

/* Overlay escuro sobre o banner */
.whatsapp-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 0;
}

.whatsapp-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 4%;
}

/* ===== SEÇÃO INSTITUCIONAL ======================== */
.institutional {
    background: linear-gradient(135deg, #0d0c10 0%, #1a1820 60%, #0f0e12 100%);
    padding: 0 0 60px;
    position: relative;
    overflow: hidden;
}

/* Linha dourada topo */
.institutional__bar {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin-bottom: 56px;
}

/* Padrão geométrico sutil no fundo */
.institutional::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(168,123,58,0.06) 0%, transparent 55%),
        radial-gradient(circle at 85% 30%, rgba(85,235,226,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.institutional__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 4%;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Divisor vertical */
.institutional__divider {
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(168,123,58,0.4), transparent);
    align-self: stretch;
    margin: 0 32px;
    min-height: 200px;
}

/* Card individual */
.institutional__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 8px 16px;
}

.institutional__card--cta {
    gap: 14px;
}

/* Ícone */
.institutional__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-gold), #c9973f);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 18px rgba(168,123,58,0.35);
}

.institutional__icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.institutional__card-title {
    font-family: var(--font-sora);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-bg-white);
    line-height: 1.3;
}

.institutional__card-body {
    font-family: var(--font-roboto);
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(223,231,230,0.78);
    line-height: 1.65;
}

/* Botão CTA WhatsApp */
.institutional__cta-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 10px 22px;
    background-color: #25D366;
    color: #fff;
    font-family: var(--font-roboto);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.institutional__cta-btn:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
}

/* Responsivo — empilha em mobile */
@media (max-width: 768px) {
    .institutional__container {
        grid-template-columns: 1fr;
    }
    .institutional__divider {
        width: 60px;
        height: 1px;
        min-height: unset;
        margin: 8px auto;
        background: linear-gradient(90deg, transparent, rgba(168,123,58,0.4), transparent);
    }
}

/* ===== FOOTER ===================================== */
.site-footer {
    background-color: var(--color-bg-footer);
    padding: 1.5% 4%;
}

.footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copyright {
    font-family: var(--font-inter);
    font-size: 0.75rem; /* 12px */
    font-weight: 300;
    color: var(--color-text-light);
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-bg-white);
    font-size: 0.9375rem; /* 15px */
    transition: opacity var(--transition-default);
    padding: 0;
}

.footer__social-link:hover {
    opacity: 0.7;
}

/* ===== BOTÃO FLUTUANTE WHATSAPP =================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(0,0,0,0.45);
}

.whatsapp-float__icon {
    width: 32px;
    height: 32px;
    fill: #fff;
    position: relative;
    z-index: 1;
}

/* Anel de pulso ao redor do botão */
.whatsapp-float__pulse {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    opacity: 0.5;
    animation: wa-pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    70%  { transform: scale(1.6); opacity: 0;   }
    100% { transform: scale(1.6); opacity: 0;   }
}

/* Badge DEV não colide com o botão WA */
#dev-badge {
    bottom: 90px !important;
}

/* ===== BADGE DEV ================================== */
#dev-badge {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 99999;
    background-color: rgba(10,10,10,0.92);
    color: var(--color-accent);
    font-family: var(--font-roboto);
    font-size: 0.75rem;
    font-weight: 400;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}

.dev-badge__env {
    background-color: var(--color-accent);
    color: #000;
    font-weight: 700;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.08em;
}

.dev-badge__label {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.dev-badge__date {
    color: #aaa;
    font-size: 0.7rem;
}

.dev-badge__logout {
    color: #777;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color var(--transition-default);
    margin-left: 4px;
}

.dev-badge__logout:hover {
    color: var(--color-danger);
}

/* ===== UTILITÁRIOS ================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== RESPONSIVO — TABLET (≤1024px) =============== */
@media (max-width: 1024px) {

    .header__logo-col {
        flex: 0 0 80%;
        max-width: 80%;
    }

    .header__nav-col,
    .header__cta-col {
        flex: 0 0 10%;
        max-width: 10%;
    }

    .properties-section {
        margin-top: 20%;
    }

    .properties-section__title {
        font-size: 2.25rem; /* 36px — original tablet */
    }

    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-card {
        margin-right: 0;
    }


    .site-footer {
        padding: 3% 4%;
    }
}

/* ===== RESPONSIVO — MOBILE (≤767px) ================ */
@media (max-width: 767px) {

    .hero {
        min-height: 320px;
    }

    /* Boa prática: oculta vídeo pesado, exibe imagem leve */
    .hero__video-bg {
        display: none;
    }

    .hero__img-bg {
        display: block !important; /* sobrescreve o display:none padrão */
    }

    /* Logo bar acima do hero — visível só no mobile */
    .mobile-logo-bar {
        display: block;
    }

    .hero__content {
        padding-top: 20px;
        padding-bottom: 30px;
        flex-direction: column;
        gap: 0;
    }

    /* Logo grande abaixo do hero — oculto no mobile */
    .search-section__logo {
        display: none;
    }

    .hero__headline {
        font-size: 1.4rem;
    }

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

    .sf__input {
        width: 100%;
    }

    .search-section {
        padding: 24px 4% 32px;
    }

    .properties-section {
        margin-top: 15%;
        padding: 0 3%;
    }

    .properties-section__title {
        font-size: 1.75rem; /* 28px */
    }

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

    .btn-mais {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
    }

    .properties-section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-banner {
        min-height: 280px;
    }

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

    .site-footer {
        padding: 7% 4%;
    }
}
