/* ========================================
   BAHIA PRAIA DO FORTE - ESTILOS PRINCIPAIS
   ======================================== */

/* Reset e Variáveis CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-bahia: #0066CC;
    --azul-oceano: #003D7A;
    --dourado-sol: #FFB800;
    --branco-areia: #FAFAFA;
    --cinza-moderno: #2C3E50;
    --verde-coqueiro: #228B22;
}

/* Tipografia Base */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--cinza-moderno);
    background: var(--branco-areia);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo-header {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 190px;
    height: 58px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--cinza-moderno);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--azul-bahia);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--azul-bahia);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

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

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 61, 122, 0.4), rgba(0, 102, 204, 0.3)), 
                url('../hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.1) 0%, rgba(255, 184, 0, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FORMULÁRIO DE BUSCA
   ======================================== */

.search-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
}

.search-tab {
    flex: 1;
    padding: 12px 20px;
    background: #F8FAFC;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-tab:hover {
    background: #E2E8F0;
    border-color: var(--azul-bahia);
}

.search-tab.active {
    background: linear-gradient(135deg, var(--azul-bahia) 0%, var(--azul-oceano) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.search-filters .filter-input:last-child {
    grid-column: 1 / -1;
}

.filter-input {
    padding: 12px 15px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-input:focus {
    outline: none;
    border-color: var(--azul-bahia);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--dourado-sol) 0%, #FF8C00 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
}

/* ========================================
   CONTENT SECTIONS
   ======================================== */

.content {
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section:first-child {
    padding-top: 120px;
    background: var(--branco-areia);
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cinza-moderno);
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    text-align: center;
    margin-bottom: 60px;
}

/* ========================================
   GRID DE CATEGORIAS
   ======================================== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 102, 204, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.2);
}

.category-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 61, 122, 0.3) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.category-card:hover .category-image::before {
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.2) 0%, rgba(0, 61, 122, 0.4) 100%);
}

.category-image.casas-frente-mar {
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.category-image.apartamentos-vista {
    background-image: url('https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.category-image.loteamentos {
    background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.category-image.temporada {
    background-image: url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.category-content {
    padding: 25px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cinza-moderno);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.category-description {
    color: #64748B;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-link {
    color: var(--azul-bahia);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: var(--azul-oceano);
    gap: 12px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%230066CC"/></svg>') repeat-x;
    background-size: 1200px 120px;
    opacity: 0.1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
    transition: all 0.3s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--azul-bahia) 0%, var(--azul-oceano) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cinza-moderno);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 2;
}

.feature-description {
    color: #64748B;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--azul-bahia) 0%, var(--azul-oceano) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section * {
    color: white !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white !important;
    font-family: 'Poppins', sans-serif;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    color: white !important;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn.primary {
    background: var(--dourado-sol);
    color: var(--cinza-moderno) !important;
}

.cta-btn.secondary {
    background: transparent;
    color: white !important;
    border: 2px solid white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--cinza-moderno);
    color: white;
    padding: 60px 20px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul-bahia) 0%, var(--dourado-sol) 50%, var(--verde-coqueiro) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: var(--dourado-sol);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--dourado-sol);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--azul-bahia) 0%, var(--azul-oceano) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    border: none;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

/* ========================================
   ANIMAÇÕES
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .logo-img {
        width: 140px;
        height: 43px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-form {
        padding: 20px;
        margin: 0 10px;
    }

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

    .search-filters .filter-input:last-child {
        grid-column: 1;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .nav-container {
        padding: 10px 15px;
    }

    .search-form {
        padding: 15px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .category-card {
        margin: 0 10px;
    }
}

/* ========================================
   LOADING STATES
   ======================================== */

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { 
        background-position: 200% 0; 
    }
    100% { 
        background-position: -200% 0; 
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.hidden {
    display: none;
}

.visible {
    display: block;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* ========================================
   SMOOTH SCROLLING
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   ACESSIBILIDADE
   ======================================== */

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

/* Focus states para acessibilidade */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--azul-bahia);
    outline-offset: 2px;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

.category-image,
.hero {
    will-change: transform;
}

.feature-card,
.category-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Preload critical fonts */
@font-face {
    font-family: 'Inter';
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
}
/* Scroll to Top Button - CORREÇÃO */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0066CC 0%, #003D7A 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* A SETA - Esta é a parte que estava faltando! */
.scroll-top::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #FFFFFF;
    display: block;
}
/* ===========================================
   ADICIONAR ESTE CSS AO FINAL DO SEU STYLE.CSS
   =========================================== */

/* Menu Mobile - ADICIONAR ESTAS REGRAS */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2C3E50;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #F3F4F6;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 15px 15px;
    padding: 1rem 0;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: #2C3E50;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #F3F4F6;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: #F8FAFC;
    color: #0066CC;
    padding-left: 2.5rem;
}

.mobile-menu .btn-whatsapp {
    display: block;
    margin: 1rem 2rem 0.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
}

/* MODIFICAR O HEADER EXISTENTE PARA MOBILE */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .mobile-menu a {
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu .btn-whatsapp {
        margin: 1rem 1.5rem 0.5rem;
    }
}
/* ========================================
   ADICIONAR ESSAS CORREÇÕES AO FINAL DO SEU STYLE.CSS
   ======================================== */

/* ========================================
   MENU MOBILE - CORREÇÃO COMPLETA
   ======================================== */

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cinza-moderno);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: #F3F4F6;
    color: var(--azul-bahia);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    padding: 1rem 0;
    z-index: 1000;
    border-top: 1px solid #E5E7EB;
    max-height: 70vh;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    color: var(--cinza-moderno);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #F3F4F6;
    position: relative;
}

.mobile-menu a:last-child:not(.btn-whatsapp) {
    border-bottom: none;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: linear-gradient(90deg, #F8FAFC 0%, #E2E8F0 100%);
    color: var(--azul-bahia);
    padding-left: 2.5rem;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: var(--azul-bahia);
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.mobile-menu a:hover::before,
.mobile-menu a.active::before {
    width: 4px;
}

.mobile-menu .btn-whatsapp {
    display: block;
    margin: 1rem 2rem 0.5rem;
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    background: #25D366;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.mobile-menu .btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    padding-left: 1rem;
}

.mobile-menu .btn-whatsapp::before {
    display: none;
}

/* ========================================
   RESPONSIVIDADE MÓVEL - HEADER
   ======================================== */

@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 12px 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo-img {
        width: 140px;
        height: auto;
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }
    
    .mobile-menu a {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .mobile-menu a:hover,
    .mobile-menu a.active {
        padding-left: 2rem;
    }
    
    .mobile-menu .btn-whatsapp {
        margin: 1rem 1.5rem 0.5rem;
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .logo-img {
        width: 120px;
        max-height: 40px;
    }
}

/* ========================================
   PÁGINA CONTATO - CORREÇÕES ESPECÍFICAS
   ======================================== */

@media (max-width: 768px) {
    /* Page Header */
    .page-header {
        padding: 100px 1rem 60px !important;
    }
    
    .page-title {
        font-size: 2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .page-subtitle {
        font-size: 1rem !important;
        line-height: 1.4;
        padding: 0 1rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
    }
    
    .contact-info,
    .forms-section {
        padding: 1.5rem !important;
        border-radius: 12px;
    }
    
    /* Contact Items */
    .contact-item {
        flex-direction: column !important;
        text-align: center;
        gap: 0.75rem;
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        font-size: 2.5rem !important;
        margin: 0 auto;
    }
    
    .contact-details h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-details a {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* Forms */
    .forms-tabs {
        flex-direction: column !important;
        gap: 0.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .form-tab {
        padding: 0.875rem 1rem !important;
        font-size: 0.9rem !important;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Evita zoom no iOS */
        padding: 1rem;
        border-radius: 10px;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .form-submit {
        padding: 1.25rem 2rem !important;
        font-size: 1rem !important;
        border-radius: 10px;
        margin-top: 1rem;
    }
    
    /* Success/Error Messages */
    .success-message,
    .error-message {
        padding: 1rem !important;
        border-radius: 10px;
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    /* Map Section */
    .map-section {
        padding: 1.5rem !important;
        margin: 3rem 0 !important;
        border-radius: 12px;
    }
    
    .map-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .map-container {
        height: 300px !important;
        border-radius: 10px;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 2rem 1rem !important;
        margin: 2rem 0 !important;
        border-radius: 12px;
    }
    
    .faq-section h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    .faq-item {
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .faq-question {
        padding: 1rem !important;
        font-size: 0.9rem !important;
        line-height: 1.4;
        text-align: left;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem !important;
        font-size: 0.85rem !important;
        line-height: 1.5;
    }
    
    .faq-icon {
        font-size: 1rem;
        color: var(--azul-bahia);
    }
    
    /* CTA Section */
    .cta-contact {
        padding: 2rem 1rem !important;
        margin: 2rem 0 !important;
        border-radius: 12px;
    }
    
    .cta-contact h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .cta-contact p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .cta-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center;
    }
    
    .cta-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
        border-radius: 10px;
        text-align: center;
    }
}

/* ========================================
   PÁGINA IMÓVEIS - CORREÇÕES ESPECÍFICAS
   ======================================== */

@media (max-width: 768px) {
    /* Filters Section */
    .filters-section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 12px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .filter-select,
    .filter-input {
        font-size: 16px !important; /* Evita zoom no iOS */
        padding: 1rem !important;
        border-radius: 10px;
        background: white;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .btn-filter {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
        border-radius: 10px;
    }
    
    /* Results Header */
    .results-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .results-count {
        font-size: 1rem;
        font-weight: 600;
        color: var(--azul-bahia);
    }
    
    .sort-select {
        width: 100%;
        padding: 1rem;
        font-size: 16px;
        border-radius: 10px;
    }
    
    /* Properties Grid */
    .properties-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .property-card {
        margin: 0;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .property-image {
        height: 220px !important;
    }
    
    .property-content {
        padding: 1.25rem !important;
    }
    
    .property-price {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem;
    }
    
    .property-title {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .property-location {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .property-features {
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
    }
    
    .feature {
        font-size: 0.8rem;
        background: #F8FAFC;
        padding: 0.25rem 0.5rem;
        border-radius: 6px;
        min-width: fit-content;
    }
    
    .property-actions {
        flex-direction: column !important;
        gap: 0.75rem;
    }
    
    .btn-contact,
    .btn-whatsapp {
        width: 100% !important;
        padding: 0.875rem !important;
        font-size: 0.9rem !important;
        border-radius: 8px;
        font-weight: 600;
    }
    
    /* Modal Adjustments */
    .modal-content {
        margin: 10px !important;
        max-width: none !important;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 12px;
    }
    
    .modal-gallery {
        height: 250px !important;
    }
    
    .modal-close {
        width: 35px !important;
        height: 35px !important;
        font-size: 1.3rem !important;
        top: 15px !important;
        right: 15px !important;
    }
    
    .modal-info {
        padding: 1.5rem !important;
    }
    
    .modal-price {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .modal-title {
        font-size: 1.2rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .modal-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .modal-features {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .modal-feature {
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .modal-actions {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .btn-modal {
        min-width: auto !important;
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 0.95rem !important;
        border-radius: 10px;
    }
    
    /* Pagination */
    .pagination {
        margin-top: 2rem;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-btn {
        min-width: 45px;
        height: 45px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

/* ========================================
   CORREÇÕES ULTRA MOBILE (480px)
   ======================================== */

@media (max-width: 480px) {
    /* Ajustes gerais */
    .page-header {
        padding: 90px 0.75rem 50px !important;
    }
    
    .page-title {
        font-size: 1.75rem !important;
    }
    
    .page-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* Contact page específico */
    .contact-info,
    .forms-section,
    .map-section,
    .faq-section,
    .cta-contact {
        padding: 1.25rem !important;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .contact-item {
        padding: 1.25rem 0.75rem;
    }
    
    .form-tab {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.85rem !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.875rem;
    }
    
    .cta-btn {
        max-width: 260px !important;
        padding: 1rem 1.25rem !important;
    }
    
    /* Imóveis page específico */
    .filters-section {
        padding: 1.25rem !important;
        margin: 0 0.5rem 1.25rem !important;
    }
    
    .properties-grid {
        padding: 0;
        gap: 1.25rem;
    }
    
    .property-card {
        margin: 0 0.5rem;
    }
    
    .property-content {
        padding: 1rem !important;
    }
    
    .property-features {
        gap: 0.25rem;
    }
    
    .feature {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
    
    .modal-info {
        padding: 1.25rem !important;
    }
    
    .modal-features {
        gap: 0.4rem;
    }
    
    .modal-feature {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   CORREÇÕES GERAIS MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Footer Mobile */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 3rem 1rem 2rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
}

/* ========================================
   SCROLL TO TOP MOBILE
   ======================================== */

@media (max-width: 768px) {
    .scroll-top {
        width: 45px !important;
        height: 45px !important;
        right: 20px !important;
        bottom: 20px !important;
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    }
    
    .scroll-top::before {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 10px solid #FFFFFF;
    }
}

@media (max-width: 480px) {
    .scroll-top {
        width: 40px !important;
        height: 40px !important;
        right: 15px !important;
        bottom: 15px !important;
    }
    
    .scroll-top::before {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 8px solid #FFFFFF;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */

@media (hover: none) and (pointer: coarse) {
    /* Otimizações para dispositivos touch */
    .touch-active {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 25px rgba(0, 102, 204, 0.2) !important;
    }
    
    /* Aumentar área de toque */
    .mobile-menu a,
    .form-tab,
    .btn-filter,
    .btn-contact,
    .btn-whatsapp,
    .cta-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remover hover effects problemáticos */
    .category-card:hover,
    .feature-card:hover,
    .property-card:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
}

/* ========================================
   LOADING STATES MOBILE
   ======================================== */

.mobile-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-size: 0.9rem;
    color: var(--azul-bahia);
}

.mobile-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #E5E7EB;
    border-top: 2px solid var(--azul-bahia);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   SAFE AREA INSETS (iPhone X+)
   ======================================== */

@supports (padding-top: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
    }
    
    .mobile-menu {
        top: calc(100% + env(safe-area-inset-top));
    }
    
    .page-header {
        padding-top: calc(100px + env(safe-area-inset-top));
    }
    
    .scroll-top {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* ========================================
   ACCESSIBILITY MOBILE
   ======================================== */

@media (max-width: 768px) {
    /* Aumentar contraste para leitura */
    .mobile-menu a,
    .form-tab,
    .contact-details h4 {
        font-weight: 600;
    }
    
    /* Focus states mais visíveis */
    .mobile-menu a:focus,
    .form-tab:focus,
    .btn-filter:focus,
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: 3px solid var(--azul-bahia) !important;
        outline-offset: 2px;
        background: #F0F9FF;
    }
    
    /* Texto mais legível */
    .property-description,
    .modal-description,
    .contact-details p,
    .faq-answer {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* ========================================
   ANIMAÇÕES MOBILE REDUZIDAS
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .property-card,
    .feature-card,
    .category-card,
    .scroll-top {
        animation: none !important;
        transition: none !important;
    }
    
    .mobile-menu.active {
        animation: none;
    }
}

/* ========================================
   PRINT STYLES MOBILE
   ======================================== */

@media print {
    .header,
    .mobile-menu,
    .scroll-top,
    .btn-whatsapp,
    .cta-buttons {
        display: none !important;
    }
    
    .page-header {
        padding-top: 2rem !important;
        background: none !important;
        color: black !important;
    }
}
/* ========================================
   ADICIONAR ESTE CSS AO FINAL DO SEU STYLE.CSS
   ======================================== */

/* Menu Mobile - CSS Faltante */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cinza-moderno);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 61, 122, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-menu.active {
    display: flex !important;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-menu .btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
    }
    
    .header-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
}