/* ============================================
   VitrineUDI - Home Premium CSS
   Versão: 1.0.0
   ============================================ */

:root {
    --vu-primary: #F39200;
    --vu-primary-light: #FFB627;
    --vu-secondary: #1E5BBF;
    --vu-secondary-dark: #0D3D8C;
    --vu-bg: #0A1628;
    --vu-bg-2: #112240;
    --vu-bg-3: #1A2F4E;
    --vu-text: #F8FAFC;
    --vu-text-2: #94A3B8;
    --vu-text-3: #64748B;
    --vu-border: rgba(243,146,0,0.15);
    --vu-glass: rgba(255,255,255,0.05);
    --vu-shadow: 0 8px 32px rgba(0,0,0,0.4);
    --vu-shadow-orange: 0 8px 32px rgba(243,146,0,0.3);
}

* { box-sizing: border-box; }

.vu-front-page {
    background: var(--vu-bg);
    color: var(--vu-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

.vu-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.vu-section {
    padding: 80px 0;
    position: relative;
}

.vu-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.vu-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--vu-text);
}

.vu-section-subtitle {
    color: var(--vu-text-2);
    font-size: 1.1rem;
}

.vu-gradient-text {
    background: linear-gradient(135deg, var(--vu-primary), var(--vu-primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============ HERO ============ */
.vu-hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(ellipse at top left, rgba(243,146,0,0.15), transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(30,91,191,0.25), transparent 50%),
        linear-gradient(180deg, var(--vu-bg) 0%, var(--vu-bg-2) 100%);
    padding: 60px 20px;
}

.vu-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vu-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: vuFloat 12s ease-in-out infinite;
}

.vu-p1 { width: 400px; height: 400px; background: var(--vu-primary); top: -100px; left: -100px; }
.vu-p2 { width: 500px; height: 500px; background: var(--vu-secondary); bottom: -150px; right: -100px; animation-delay: -4s; }
.vu-p3 { width: 300px; height: 300px; background: var(--vu-primary-light); top: 40%; left: 50%; animation-delay: -8s; }

@keyframes vuFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.95); }
}

.vu-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.vu-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(243,146,0,0.12);
    border: 1px solid rgba(243,146,0,0.3);
    padding: 8px 18px;
    border-radius: 100px;
    color: var(--vu-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.vu-pulse {
    width: 8px;
    height: 8px;
    background: var(--vu-primary);
    border-radius: 50%;
    animation: vuPulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--vu-primary);
}

@keyframes vuPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.vu-hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.vu-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--vu-text-2);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vu-hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    padding: 8px;
    max-width: 720px;
    margin: 0 auto 40px;
    box-shadow: var(--vu-shadow);
}

.vu-search-icon {
    padding: 0 14px;
    font-size: 1.3rem;
}

.vu-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--vu-text);
    padding: 14px 8px;
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.vu-search-input::placeholder { color: var(--vu-text-3); }

.vu-search-cat {
    background: transparent;
    border: none;
    color: var(--vu-text);
    padding: 10px;
    outline: none;
    cursor: pointer;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.vu-search-cat option { background: var(--vu-bg-2); }

.vu-search-btn {
    background: linear-gradient(135deg, var(--vu-primary), var(--vu-primary-light));
    color: var(--vu-bg);
    border: none;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1rem;
    white-space: nowrap;
}

.vu-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--vu-shadow-orange);
}

.vu-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 40px;
}

.vu-stat {
    background: var(--vu-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--vu-border);
    padding: 20px 12px;
    border-radius: 16px;
    transition: transform 0.3s;
}

.vu-stat:hover {
    transform: translateY(-4px);
    border-color: var(--vu-primary);
}

.vu-stat-num {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--vu-primary);
    margin-bottom: 4px;
}

.vu-stat-label {
    font-size: 0.85rem;
    color: var(--vu-text-2);
}

.vu-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ BOTÕES ============ */
.vu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.vu-btn-primary {
    background: linear-gradient(135deg, var(--vu-primary), var(--vu-primary-light));
    color: var(--vu-bg);
    box-shadow: var(--vu-shadow-orange);
}

.vu-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(243,146,0,0.5);
}

.vu-btn-secondary {
    background: var(--vu-secondary);
    color: var(--vu-text);
}

.vu-btn-secondary:hover {
    background: var(--vu-secondary-dark);
    transform: translateY(-2px);
}

.vu-btn-ghost {
    background: transparent;
    color: var(--vu-text);
    border: 2px solid rgba(255,255,255,0.2);
}

.vu-btn-ghost:hover {
    border-color: var(--vu-primary);
    background: rgba(243,146,0,0.1);
}

.vu-btn-lg {
    padding: 18px 42px;
    font-size: 1.1rem;
}

/* ============ CATEGORIAS ============ */
.vu-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.vu-cat-card {
    background: var(--vu-bg-2);
    border: 1px solid var(--vu-border);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    text-decoration: none;
    color: var(--vu-text);
    transition: all 0.3s;
    cursor: pointer;
}

.vu-cat-card:hover {
    transform: translateY(-6px);
    border-color: var(--vu-primary);
    background: linear-gradient(135deg, rgba(243,146,0,0.1), rgba(30,91,191,0.1));
    box-shadow: var(--vu-shadow-orange);
}

.vu-cat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.vu-cat-card:hover .vu-cat-icon {
    transform: scale(1.2) rotate(-5deg);
}

.vu-cat-name {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.vu-cat-count {
    font-size: 0.8rem;
    color: var(--vu-text-2);
}

/* ============ LOJAS DESTAQUE ============ */
.vu-lojas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.vu-loja-card {
    background: var(--vu-bg-2);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: var(--vu-text);
    transition: all 0.3s;
    border: 1px solid var(--vu-border);
}

.vu-loja-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--vu-shadow-orange);
    border-color: var(--vu-primary);
}

.vu-loja-cover {
    height: 120px;
    position: relative;
}

.vu-loja-body {
    padding: 20px;
    text-align: center;
    margin-top: -30px;
    position: relative;
}

.vu-loja-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--vu-bg);
    border: 3px solid var(--vu-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 12px;
}

.vu-loja-nome {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.vu-loja-rating {
    color: var(--vu-primary-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.vu-loja-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--vu-primary), var(--vu-primary-light));
    color: var(--vu-bg);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ============ ANÚNCIOS ============ */
.vu-anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.vu-anuncio-card {
    background: var(--vu-bg-2);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--vu-border);
    cursor: pointer;
}

.vu-anuncio-card:hover {
    transform: translateY(-4px);
    border-color: var(--vu-primary);
    box-shadow: var(--vu-shadow);
}

.vu-anuncio-img {
    height: 160px;
    position: relative;
}

.vu-anuncio-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--vu-primary);
    color: var(--vu-bg);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.vu-anuncio-body {
    padding: 16px;
}

.vu-anuncio-preco {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--vu-primary);
    margin-bottom: 6px;
}

.vu-anuncio-titulo {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--vu-text);
    line-height: 1.3;
}

.vu-anuncio-loc {
    font-size: 0.8rem;
    color: var(--vu-text-2);
}

/* ============ COMO FUNCIONA ============ */
.vu-como-funciona {
    background: linear-gradient(180deg, var(--vu-bg) 0%, var(--vu-bg-2) 100%);
}

.vu-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.vu-step {
    background: var(--vu-bg-2);
    border: 1px solid var(--vu-border);
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.vu-step:hover {
    transform: translateY(-6px);
    border-color: var(--vu-primary);
}

.vu-step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--vu-primary), var(--vu-primary-light));
    color: var(--vu-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--vu-shadow-orange);
}

.vu-step-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    margin-top: 10px;
}

.vu-step h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.vu-step p {
    color: var(--vu-text-2);
    line-height: 1.6;
}

/* ============ CTA FINAL ============ */
.vu-cta-final {
    background: var(--vu-bg);
}

.vu-cta-box {
    background: linear-gradient(135deg, var(--vu-secondary-dark), var(--vu-secondary));
    border-radius: 24px;
    padding: 60px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--vu-shadow);
}

.vu-cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(243,146,0,0.3), transparent 50%);
}

.vu-cta-box > * { position: relative; z-index: 1; }

.vu-cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
}

.vu-cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.vu-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============ RESPONSIVO ============ */
@media (max-width: 768px) {
    .vu-section { padding: 50px 0; }
    
    .vu-hero { min-height: auto; padding: 60px 20px; }
    
    .vu-hero-search {
        flex-direction: column;
        border-radius: 20px;
        padding: 12px;
    }
    
    .vu-search-cat { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; }
    .vu-search-btn { width: 100%; }
    
    .vu-hero-stats { grid-template-columns: repeat(2, 1fr); }
    
    .vu-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .vu-cat-card { padding: 16px 8px; }
    .vu-cat-icon { font-size: 2rem; }
    .vu-cat-name { font-size: 0.85rem; }
    .vu-cat-count { display: none; }
}

@media (max-width: 480px) {
    .vu-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .vu-hero-cta { flex-direction: column; width: 100%; }
    .vu-btn { width: 100%; }
}