/*
 Theme Name: Leilão SaySix
 Theme URI: https://leilao.saysix.com.br
 Author: SaySix
 Description: Tema para o sistema de leilões de imóveis da Caixa Econômica Federal
 Version: 1.1.0
 Requires at least: 6.0
 Requires PHP: 8.0
 Text Domain: leilao-saysix-theme
*/

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --success: #27ae60;
    --danger: #c0392b;
    --dark: #1e293b;
    --dark-soft: #334155;
    --light: #f1f5f9;
    --lighter: #f8fafc;
    --white: #fff;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-h: 64px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    background: var(--lighter);
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 60px 0; }

/* ============================================
   HEADER — Logo | Busca | Login/Cadastro
   ============================================ */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}
.site-logo .accent { color: var(--accent); }

/* — Barra de Busca — */
.header-search {
    flex: 1;
    max-width: 520px;
    position: relative;
}

.header-search .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
}

.header-search input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid var(--gray-light);
    border-radius: 100px;
    font-size: 14px;
    font-family: var(--font);
    background: var(--lighter);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.header-search input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41,128,185,0.12);
    background: var(--white);
}

.header-search input::placeholder { color: var(--gray); }

/* — Nav — */
.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-header-outline {
    padding: 8px 18px;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-header-outline:hover {
    background: var(--primary);
    color: var(--white) !important;
}

.btn-header {
    padding: 8px 18px;
    background: var(--accent);
    color: var(--white) !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--accent);
    transition: all 0.2s;
}
.btn-header:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

/* ============================================
   SEÇÃO IA DE TRIAGEM (2x header height = 128px mín)
   ============================================ */
.ai-triage-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 50%, var(--dark) 100%);
    min-height: calc(var(--header-h) * 2);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.ai-triage-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(230,126,34,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(41,128,185,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.ai-triage-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.ai-triage-header {
    text-align: center;
    margin-bottom: 28px;
}

.ai-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.ai-triage-header h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.ai-triage-header p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto;
}

/* — Chat Box — */
.ai-chat-box {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.ai-messages {
    max-height: 220px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-message {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    animation: fadeInUp 0.3s ease;
}

.ai-message.ai-user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ai-message.ai-user .ai-avatar {
    background: var(--accent);
    font-size: 14px;
    color: #fff;
}

.ai-bubble {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px 12px 12px 4px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 80%;
}

.ai-message.ai-user .ai-bubble {
    background: var(--accent);
    border-radius: 12px 12px 4px 12px;
}

.ai-bubble em { opacity: 0.7; font-size: 13px; }

/* — Input IA — */
.ai-input-form {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.15);
}

.ai-input-form input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}

.ai-input-form input::placeholder { color: rgba(255,255,255,0.4); }

.ai-input-form button {
    padding: 16px 20px;
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.ai-input-form button:hover { background: var(--accent-light); }

/* Typing dots */
.ai-typing .ai-bubble::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin-left: 4px;
    animation: dotPulse 1s infinite;
}

@keyframes dotPulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* — AI Result Cards (dentro do chat) — */
.ai-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ai-result-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
    transition: background 0.2s;
    font-size: 12px;
}

.ai-result-card:hover {
    background: rgba(255,255,255,0.18);
}

.ai-result-card strong {
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ai-result-card span { opacity: 0.7; }

.ai-result-price {
    color: var(--accent-light) !important;
    opacity: 1 !important;
    font-weight: 700;
    font-size: 14px !important;
}

.ai-result-desconto {
    color: #ff6b6b !important;
    opacity: 1 !important;
    font-weight: 700;
    font-size: 11px !important;
}

/* ============================================
   GRID DE IMÓVEIS — 4 colunas × 3 linhas
   ============================================ */
.imoveis-destaque {
    padding: 48px 0 64px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
}

.ver-todos {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent) !important;
}

.imoveis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* — Card Imóvel — */
.imovel-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
}

.imovel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.imovel-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--light);
}

.imovel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.imovel-card:hover .imovel-card-img img {
    transform: scale(1.05);
}

.imovel-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--light);
    color: var(--gray);
}

.imovel-desconto {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.imovel-status {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.imovel-status.ativo { background: rgba(192,57,43,0.85); }
.imovel-status.agendado { background: rgba(0,0,0,0.55); }

/* — Card Body — */
.imovel-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.imovel-card-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: #e8f4fd;
    color: var(--primary);
}

.meta-tag.modalidade {
    background: #fef3e2;
    color: #b45309;
}

.imovel-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.imovel-card-location {
    font-size: 12px;
    color: var(--gray);
}

.imovel-card-features {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--dark-soft);
}

.imovel-card-price {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--gray-light);
}

.price-old {
    font-size: 12px;
    color: var(--gray);
    text-decoration: line-through;
    display: block;
}

.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--success);
}

.imoveis-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
    font-size: 16px;
}

/* ============================================
   FOOTER — Simples com redes sociais
   ============================================ */
.site-footer {
    background: var(--dark);
    padding: 32px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
}

.footer-brand .accent { color: var(--accent); }

.footer-tagline {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--gray);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 12px;
    color: #64748b;
}

/* ============================================
   DETAILS GRID (single-imovel.php)
   ============================================ */
.leilao-single-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

.leilao-gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
}

.leilao-gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.leilao-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 8px;
    overflow-x: auto;
}

.leilao-gallery-thumbs img {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.leilao-gallery-thumbs img:hover { opacity: 1; }

.leilao-bid-panel {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    position: sticky;
    top: calc(var(--header-h) + 16px);
}

.leilao-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--gray-light);
    color: var(--dark-soft);
}

.leilao-badge.ativo { background: #fee2e2; color: #b91c1c; }
.leilao-badge.agendado { background: #fef3c7; color: #92400e; }
.leilao-badge.encerrado { background: #d1fae5; color: #065f46; }

.leilao-bid-current {
    text-align: center;
    padding: 16px;
    background: var(--lighter);
    border-radius: 8px;
    margin-bottom: 16px;
}

.leilao-bid-current small { display: block; color: var(--gray); font-size: 12px; }
.big-value { font-size: 28px; font-weight: 800; color: var(--success); display: block; margin: 4px 0; }

.leilao-bid-timer {
    background: var(--danger);
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.leilao-bid-status {
    background: var(--lighter);
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
}

.status-label { display: block; font-size: 11px; color: var(--gray); }
.status-value { font-weight: 700; color: var(--dark); }

.leilao-bid-form label { font-size: 13px; color: var(--gray); display: block; margin-bottom: 6px; }

.leilao-bid-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font);
    margin-bottom: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.leilao-bid-form input:focus { border-color: var(--primary-light); }

.leilao-bid-quick {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.leilao-bid-quick button {
    flex: 1;
    padding: 6px;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    background: var(--white);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark-soft);
    transition: all 0.2s;
    font-family: var(--font);
}

.leilao-bid-quick button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.leilao-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    font-size: 14px;
    text-align: center;
}

.leilao-btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.leilao-btn-accent:hover { background: var(--accent-light); border-color: var(--accent-light); }
.leilao-btn-success { background: var(--success); color: #fff; }
.leilao-btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.leilao-btn-outline:hover { background: var(--primary); color: #fff; }
.leilao-btn-full { display: block; width: 100%; }
.leilao-btn-sm { padding: 8px 16px; font-size: 13px; }

.leilao-msg-box { margin: 8px 0; font-size: 13px; border-radius: 6px; padding: 0; }
.leilao-msg-box.success { background: #d1fae5; color: #065f46; padding: 8px 12px; }
.leilao-msg-box.error { background: #fee2e2; color: #b91c1c; padding: 8px 12px; }

.leilao-auto-lance {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-light);
}

.leilao-auto-lance h4 { font-size: 14px; margin-bottom: 10px; color: var(--dark); }

.leilao-auto-lance input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    margin-bottom: 8px;
    outline: none;
}

.leilao-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.leilao-detail-item {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 16px;
}

.leilao-detail-item strong {
    display: block;
    font-size: 12px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.leilao-detail-item span {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

/* ============================================
   BOTÃO CONTATAR (cards + single)
   ============================================ */
.btn-contatar {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-top: 10px;
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-contatar:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-contatar:active {
    transform: translateY(0);
}

.btn-contatar-single {
    font-size: 16px;
    padding: 14px 28px;
}

/* ============================================
   MODAL DE CONTATO
   ============================================ */
.contato-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.contato-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contato-modal {
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.contato-modal-overlay.active .contato-modal {
    transform: translateY(0) scale(1);
}

.contato-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    color: var(--dark-soft);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.contato-modal-close:hover {
    background: var(--gray-light);
}

.contato-modal-header {
    margin-bottom: 24px;
}

.contato-modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.contato-modal-imovel-title {
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
    line-height: 1.4;
}

.contato-field {
    margin-bottom: 16px;
    flex: 1;
}

.contato-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-soft);
    margin-bottom: 6px;
}

.contato-field input,
.contato-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--dark);
    background: var(--lighter);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.contato-field input:focus,
.contato-field textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
    background: var(--white);
}

.contato-field input::placeholder,
.contato-field textarea::placeholder {
    color: var(--gray);
}

.contato-field-row {
    display: flex;
    gap: 12px;
}

.contato-msg {
    font-size: 13px;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 12px;
    line-height: 1.5;
    transition: padding 0.2s;
}

.contato-msg.success {
    background: #d1fae5;
    color: #065f46;
    padding: 10px 14px;
}

.contato-msg.error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 10px 14px;
}

.contato-btn-enviar {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.contato-btn-enviar:hover:not(:disabled) {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.contato-btn-enviar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .imoveis-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-search { display: none; }

    .ai-triage-section { padding: 32px 0; }
    .ai-triage-header h2 { font-size: 20px; }

    .imoveis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .leilao-single-header {
        grid-template-columns: 1fr;
    }

    .leilao-bid-panel {
        position: static;
    }

    .leilao-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
    .imoveis-grid {
        grid-template-columns: 1fr;
    }

    .price-current { font-size: 16px; }

    .leilao-details-grid {
        grid-template-columns: 1fr;
    }

    .footer-social { gap: 12px; }
    .footer-social a { width: 36px; height: 36px; }

    .contato-modal { padding: 24px 18px; }
    .contato-field-row { flex-direction: column; gap: 0; }
}
