/* ========================================
   COLOR OVERRIDE - Rosa + Fundo Branco
   Corrige todos os problemas visuais
   ======================================== */

:root {
    /* Rosa com bom contraste */
    --primary: #DB2777 !important;
    --primary-dark: #BE185D !important;
    --primary-light: #F9A8D4 !important;
    --secondary: #111827 !important;

    --border-grad-a: #EC4899 !important;
    --border-grad-b: #A855F7 !important;
    --surface: #ffffff !important;
    --surface-2: #f9fafb !important;
    --border-light: #e5e7eb !important;
    --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.08) !important;
    --shadow-pink: 0 14px 40px rgba(236, 72, 153, 0.20) !important;
    
    /* Cores de texto com contraste WCAG AA */
    --text-dark: #111827 !important;
    --text-medium: #374151 !important;
    --text-light: #6B7280 !important;
}

/* Body Background */
body {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Links / destaque */
a {
    color: inherit;
}

a:hover {
    color: #DB2777 !important;
}

/* ========================================
   NAVBAR - CABEÇALHO VISÍVEL
   ======================================== */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.navbar .logo-text,
.navbar .logo span {
    color: #DB2777 !important;
    font-weight: 700 !important;
    background: none !important;
    -webkit-text-fill-color: #DB2777 !important;
}

.navbar .logo i {
    color: #EC4899 !important;
}

.nav-menu a,
.nav-links a {
    color: #374151 !important;
    font-weight: 500 !important;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-links a:hover,
.nav-links a.active {
    color: #EC4899 !important;
}

.nav-menu .btn-nav {
    background: linear-gradient(135deg, #EC4899, #DB2777) !important;
    color: #ffffff !important;
    padding: 8px 20px !important;
    border-radius: 25px !important;
}

/* Utilitário: borda degradê */
.ad-card,
.category-card,
.auth-card,
.search-box,
.breadcrumb,
.ad-info,
.gallery-main {
    border: 2px solid transparent !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, var(--border-grad-a), var(--border-grad-b)) border-box !important;
}

.mobile-menu-btn {
    color: #1f2937 !important;
}

.mobile-menu-btn i {
    font-size: 1.8rem !important;
    color: #1f2937 !important;
}

/* Dropdown Menu */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
}

.dropdown-menu a {
    color: #374151 !important;
}

.dropdown-menu a:hover {
    background: #fdf2f8 !important;
    color: #EC4899 !important;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary,
.btn-red {
    background: linear-gradient(135deg, #EC4899, #DB2777) !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-red:hover {
    background: linear-gradient(135deg, #DB2777, #BE185D) !important;
}

.btn-outline {
    border: 2px solid #EC4899 !important;
    color: #EC4899 !important;
    background: transparent !important;
}

.btn-outline:hover {
    background: #EC4899 !important;
    color: #ffffff !important;
}

.btn-search {
    background: linear-gradient(135deg, #EC4899, #DB2777) !important;
    color: #ffffff !important;
}

/* ========================================
   AD CARDS - TEXTO VISÍVEL
   ======================================== */
.ad-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-soft) !important;
}

.ad-card:hover {
    box-shadow: var(--shadow-pink) !important;
    transform: translateY(-5px) !important;
}

/* Placeholder quando não há imagem */
.ad-image > div {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

.ad-image > div i {
    color: #9ca3af !important;
}

.ad-content {
    padding: 15px !important;
    background-color: #ffffff !important;
}

.ad-content h3,
.ad-content h3 a {
    color: #111827 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.ad-content h3 a:hover {
    color: #BE185D !important;
}

.ad-location,
.ad-age {
    color: #4B5563 !important;
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.ad-location i,
.ad-age i {
    color: #DB2777 !important;
    font-size: 1rem !important;
}

.ad-price {
    color: #BE185D !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin: 10px 0 !important;
}

.ad-actions {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.btn-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.btn-favorite {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
}

.btn-favorite:hover,
.btn-favorite.active {
    background: #fdf2f8 !important;
    color: #EC4899 !important;
}

/* ========================================
   CATEGORIES - ÍCONES VISÍVEIS
   ======================================== */
.categories-section {
    background: #f9fafb !important;
    padding: 60px 0 !important;
}

.category-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px 20px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.category-card:hover {
    background-color: #fdf2f8 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15) !important;
}

.category-icon {
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, #fdf2f8, #fce7f3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 15px !important;
}

.category-icon i,
.category-card i {
    font-size: 2.2rem !important;
    color: #DB2777 !important;
}

.category-card h3 {
    color: #111827 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

.category-count {
    color: #4B5563 !important;
    font-size: 0.9rem !important;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: 30px !important;
}

.section-header h2 {
    color: #111827 !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
}

.section-header h2 i {
    color: #DB2777 !important;
    margin-right: 10px !important;
}

.section-header p {
    color: #4B5563 !important;
    font-size: 1rem !important;
}

.view-all {
    color: #BE185D !important;
    font-weight: 600 !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: #ffffff !important;
    position: relative !important;
    padding: 50px 0 40px !important;
    min-height: auto !important;
}

.hero .hero-bg {
    background: radial-gradient(circle at 25% 20%, rgba(236, 72, 153, 0.14), transparent 45%), radial-gradient(circle at 80% 30%, rgba(168, 85, 247, 0.12), transparent 55%) !important;
}

.hero .hero-bg::before {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 45%), radial-gradient(circle at 80% 30%, rgba(255,255,255,0.10), transparent 50%) !important;
}

.hero .hero-content {
    position: relative !important;
    z-index: 1 !important;
}

.hero h1 {
    color: #111827 !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.hero h1 .highlight {
    color: #DB2777 !important;
}

.hero p {
    color: #4B5563 !important;
    font-size: 1.1rem !important;
}

.hero-cta {
    display: flex !important;
    gap: 12px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin: 18px 0 22px !important;
}

.hero-cta .btn {
    min-width: 200px !important;
}

.hero-cta .btn-outline {
    border-color: rgba(255,255,255,0.85) !important;
    color: #ffffff !important;
}

.hero-cta .btn-outline:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0 18px !important;
    }

    .hero h1 {
        font-size: 1.65rem !important;
        margin-bottom: 10px !important;
    }

    .hero p {
        font-size: 0.98rem !important;
        margin-bottom: 14px !important;
    }

    .search-box {
        padding: 12px !important;
        margin-bottom: 14px !important;
    }

    .search-field {
        min-width: 100% !important;
    }

    .search-field select,
    .search-field input {
        padding: 12px 12px 12px 42px !important;
        font-size: 0.95rem !important;
    }

    .btn-search {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
        justify-content: center !important;
    }

    .hero-cta {
        margin: 10px 0 0 !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
    }

    .hero-cta .btn {
        min-width: auto !important;
        padding: 10px 14px !important;
        font-size: 0.95rem !important;
        flex: 1 1 0 !important;
        white-space: nowrap !important;
    }
}

.hero-stats {
    margin-top: 40px !important;
}

.stat-item {
    text-align: center !important;
}

.stat-number {
    color: #BE185D !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    display: block !important;
}

.stat-label {
    color: #4B5563 !important;
    font-size: 0.95rem !important;
}

/* Search Box */
.search-box {
    background-color: #ffffff !important;
    padding: 25px !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-soft) !important;
}

.search-field select,
.search-field input {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    padding: 12px 15px 12px 45px !important;
    border-radius: 10px !important;
}

.search-field i {
    color: #EC4899 !important;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #EC4899, #DB2777) !important;
    padding: 60px 0 !important;
}

.cta-section h2,
.cta-section p {
    color: #ffffff !important;
}

.cta-section .btn {
    background-color: #ffffff !important;
    color: #EC4899 !important;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1f2937 !important;
    color: #ffffff !important;
    padding: 60px 0 30px !important;
}

.footer h4 {
    color: #ffffff !important;
}

.footer a {
    color: #9ca3af !important;
}

.footer a:hover {
    color: #EC4899 !important;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-page {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
    min-height: 100vh !important;
    padding: 40px 20px !important;
}

.auth-card {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: var(--shadow-soft) !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

/* Ad detail */
.ad-detail .ad-layout {
    gap: 22px !important;
}

.gallery {
    border-radius: 18px !important;
}

.gallery-main {
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-soft) !important;
}

.gallery-thumbs .gallery-thumb {
    border-radius: 12px !important;
    border: 2px solid transparent !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(236,72,153,0.35), rgba(168,85,247,0.35)) border-box !important;
}

.ad-info {
    border-radius: 18px !important;
    padding: 18px !important;
    box-shadow: var(--shadow-soft) !important;
}

.breadcrumb {
    border-radius: 14px !important;
    padding: 10px 12px !important;
    color: #4B5563 !important;
}

.breadcrumb a {
    color: #DB2777 !important;
    font-weight: 600 !important;
}

.breadcrumb span {
    color: #111827 !important;
    font-weight: 600 !important;
}

.auth-header h1 {
    color: #1f2937 !important;
}

.auth-header p {
    color: #6b7280 !important;
}

.form-group label {
    color: #374151 !important;
    font-weight: 500 !important;
}

.form-control {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    color: #1f2937 !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
}

.form-control:focus {
    border-color: #EC4899 !important;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1) !important;
    background: #ffffff !important;
}

.input-icon {
    position: relative !important;
}

.input-icon i {
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9ca3af !important;
}

.input-icon input {
    padding-left: 45px !important;
}

/* ========================================
   BADGES - CORES MANTIDAS
   ======================================== */
.badge-vip { background: #ffd700 !important; color: #000 !important; }
.badge-gold { background: #ffb300 !important; color: #000 !important; }
.badge-premium { background: #9c27b0 !important; color: #fff !important; }
.badge-top-premium { background: #ff1744 !important; color: #fff !important; }
.badge-online { background: #00bcd4 !important; color: #fff !important; }
.badge-new { background: #4caf50 !important; color: #fff !important; }
.badge-verified { background: #2196f3 !important; color: #fff !important; }

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    background: rgba(0,0,0,0.6) !important;
}

.modal {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 80px rgba(0,0,0,0.2) !important;
}

.modal-header h3 {
    color: #1f2937 !important;
}

.modal-body {
    color: #4b5563 !important;
}

.modal-close {
    color: #6b7280 !important;
}

/* ========================================
   MISC FIXES
   ======================================== */
.divider {
    color: #9ca3af !important;
}

.divider::before,
.divider::after {
    background: #e5e7eb !important;
}

.checkbox-group {
    color: #4b5563 !important;
}

.text-primary {
    color: #EC4899 !important;
}

/* WhatsApp Float */
.whatsapp-float {
    background: #25d366 !important;
    color: #ffffff !important;
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999 !important;
}
