/* ============================================
   Decinho Miranda Imóveis — Styles Premium
   ============================================ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: #0A0F1F;
    color: white;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(212, 162, 76, 0.3);
    color: white;
}

/* ✨ GLASSMORPHISM */
.glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(15, 31, 61, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 🌟 GRADIENTES */
.gradient-gold {
    background: linear-gradient(135deg, #E8C170 0%, #D4A24C 50%, #A8782F 100%);
}

.gradient-navy {
    background: linear-gradient(135deg, #0A0F1F 0%, #0F1F3D 50%, #1E3A6B 100%);
}

.gradient-radial {
    background: radial-gradient(ellipse at top, #1E3A6B 0%, #0A0F1F 70%);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #E8C170, #D4A24C, #A8782F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* 🎯 BOTÃO LUXO */
.btn-luxury {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E8C170 0%, #D4A24C 50%, #A8782F 100%);
    color: #0F1F3D;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 30px -8px rgba(212, 162, 76, 0.5);
    transition: all 0.5s ease;
    border: none;
    cursor: pointer;
}

.btn-luxury:hover {
    box-shadow: 0 12px 40px -8px rgba(212, 162, 76, 0.7);
    transform: translateY(-2px);
}

.btn-luxury::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s;
}

.btn-luxury:hover::after {
    transform: translateX(100%);
}

/* 🏷️ NOISE TEXTURE */
.noise {
    position: relative;
}

.noise::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 📋 BUSCA */
.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
    width: 100%;
}

.search-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.search-input:focus {
    outline: none;
    border-color: #D4A24C;
    background: rgba(255, 255, 255, 0.08);
}

select.search-input { cursor: pointer; }
select.search-input option { background: #0F1F3D; color: white; }

/* 🎯 TABS */
.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.tab-btn:hover { background: rgba(255, 255, 255, 0.1); color: white; }

.tab-btn.active {
    background: linear-gradient(135deg, #E8C170, #D4A24C);
    color: #0F1F3D;
    border-color: transparent;
    font-weight: 600;
}

/* 🏠 PROPERTY CARDS */
.property-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 162, 76, 0.4);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
}

.property-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #0F1F3D, #1E3A6B);
    position: relative;
    overflow: hidden;
}

/* 🛠️ SERVICE CARDS */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.5s ease;
}

.service-card:hover {
    background: rgba(212, 162, 76, 0.05);
    border-color: rgba(212, 162, 76, 0.3);
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #E8C170, #D4A24C);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #0F1F3D;
}

/* 📱 HEADER scroll */
#header.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 15, 31, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 🖱️ SCROLLBAR */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0A0F1F; }
::-webkit-scrollbar-thumb { background: rgba(212, 162, 76, 0.4); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212, 162, 76, 0.7); }

/* 📐 RESPONSIVO */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
}