/* rede.ww3.club/public_html/css/style.css */

:root {
    --primary: #4A148C;
    --secondary: #7B1FA2;
    --accent: #00E676;
    --dark: #1A1A1A;
    --light: #F3F4F6;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* --- HEADER NAV --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--white);
}

.btn-app {
    background: var(--accent);
    color: var(--dark);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #311B92 0%, #6A1B9A 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 80px 20px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 4%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* Busca Principal */
.search-wrapper {
    background: var(--white);
    padding: 8px;
    border-radius: 100px;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    border-radius: 100px;
}

.search-wrapper button {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.search-wrapper button:hover {
    background: var(--secondary);
    transform: scale(1.05);
}

/* --- COMO FUNCIONA --- */
.steps {
    padding: 80px 5%;
    text-align: center;
}

.steps h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.step-icon {
    font-size: 40px;
    color: var(--primary);
    background: #F3E5F5;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

.step-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-card p {
    color: #666;
    font-size: 0.9rem;
}

/* --- VITRINE --- */
.showcase {
    padding: 50px 5%;
    background: #F8F9FE;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--dark);
}

.live-badge {
    background: #FF0000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    text-transform: uppercase;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid #eee;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.prod-img {
    height: 200px;
    background: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.store-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    backdrop-filter: blur(5px);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.prod-body {
    padding: 20px;
}

.prod-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-price {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 10px 0;
}

.prod-desc {
    color: #888;
    font-size: 0.8rem;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-buy {
    width: 100%;
    padding: 10px;
    background: #25D366;
    color: white;
    font-weight: 800;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 15px;
    text-decoration: none;
}

.btn-buy:hover {
    background: #128C7E;
}

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

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

    .nav-links {
        display: none;
    }

    /* Esconde menu no mobile */
}