/* ========================================== */
/* MARKETPLACE - SHOPVERSE */
/* ========================================== */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #f0f5ff;
    --gold: #f59e0b;
    --dark: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --gray: #f8fafc;
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================== */
/* HEADER */
/* ========================================== */
.header {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.85);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
    font-weight: 500;
}

.menu ul li a {
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.menu ul li a:hover {
    color: var(--primary);
}

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

.btn-login {
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--gray);
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-register {
    padding: 8px 24px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* ========================================== */
/* HERO */
/* ========================================== */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--secondary), var(--white));
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: var(--primary);
    opacity: 0.3;
}

.hero-placeholder {
    background: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary);
}

.hero-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}

/* ========================================== */
/* SECTION HEADER */
/* ========================================== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.4rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ========================================== */
/* OFERTAS / PRODUTOS */
/* ========================================== */
.ofertas {
    padding: 80px 0;
    background: var(--gray);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.produto-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.produto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.produto-imagem {
    position: relative;
    height: 200px;
    background: var(--gray);
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-oferta {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.produto-info {
    padding: 16px;
}

.produto-info h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.loja-nome {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.preco {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.preco-antigo {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}

.preco-promocional {
    font-weight: 700;
    color: #ef4444;
    font-size: 1.1rem;
}

.preco-normal {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
}

.btn-ver-loja {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-ver-loja:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================== */
/* LOJAS DESTAQUE */
/* ========================================== */
.lojas-destaque {
    padding: 80px 0;
    background: var(--white);
}

.lojas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.loja-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    display: block;
}

.loja-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.loja-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
    background: var(--gray);
    border: 2px solid var(--primary);
}

.loja-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.loja-logo span {
    font-size: 2rem;
}

.loja-card h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.loja-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.loja-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.lojas-cta {
    text-align: center;
    margin-top: 40px;
}

/* ========================================== */
/* COMO FUNCIONA */
/* ========================================== */
.como-funciona {
    padding: 80px 0;
    background: var(--gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.step {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================== */
/* PLANOS */
/* ========================================== */
.planos {
    padding: 80px 0;
    background: var(--white);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plano-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}

.plano-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.02);
}

.plano-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plano-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.preco {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.preco span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.plano-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
    padding: 0;
}

.plano-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.95rem;
    color: var(--text);
}

.plano-card ul li:last-child {
    border-bottom: none;
}

.plano-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* ========================================== */
/* CTA FINAL */
/* ========================================== */
.cta-final {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.cta-content .btn-primary {
    background: var(--gold);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.cta-content .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ========================================== */
/* FOOTER */
/* ========================================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}

/* ========================================== */
/* RESPONSIVO */
/* ========================================== */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero p {
        margin: 0 auto 32px;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lojas-grid,
    .planos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: center;
    }
    .menu ul {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    .lojas-grid,
    .planos-grid {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .plano-card.featured {
        transform: scale(1);
    }
    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }
    .stat-divider {
        display: none;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* ========================================== */
/* PÁGINA DE LOJAS - MARKETPLACE */
/* ========================================== */
.menu ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

.lojas-header {
    background: var(--gray);
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.lojas-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}
.lojas-header p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.busca-container {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--white);
    padding: 6px 6px 6px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}
.busca-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(59,130,246,0.15);
}
.busca-container input {
    flex: 1;
    padding: 14px 0;
    border: none;
    outline: none;
    font-size: 1rem;
    background: transparent;
    color: var(--text);
}
.busca-container input::placeholder {
    color: #94a3b8;
}
.busca-container button {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.busca-container button:hover {
    background: var(--primary-dark);
}

.lojas-contador {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.lojas-contador strong {
    color: var(--dark);
}

.lojas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0 60px;
}

.sem-resultados {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}
.sem-resultados span {
    font-size: 4rem;
    display: block;
    margin-bottom: 16px;
}
.sem-resultados h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .lojas-header h1 {
        font-size: 2rem;
    }
    .busca-container {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        border: none;
        gap: 12px;
    }
    .busca-container input {
        background: var(--white);
        padding: 14px 20px;
        border-radius: 50px;
        box-shadow: var(--shadow);
        border: 2px solid transparent;
    }
    .busca-container input:focus {
        border-color: var(--primary);
    }
    .busca-container button {
        width: 100%;
        justify-content: center;
    }
    .lojas-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .lojas-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================== */
/* CORES VIBRANTES - MARKETPLACE */
/* ========================================== */
.header .btn-register {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(255,107,0,0.3);
}
.header .btn-register:hover {
    box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

.btn-primary {
    background: var(--primary);
    box-shadow: 0 4px 14px rgba(255,107,0,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255,107,0,0.4);
}

.btn-secondary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.menu ul li a.active {
    color: var(--primary);
}
.menu ul li a:hover {
    color: var(--primary);
}