/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: linear-gradient(90deg, #0066FF, #00D4FF);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
}

.navbar {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066FF;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 600px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 25px 0 0 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    border-color: #0066FF;
}

.search-bar button {
    padding: 12px 25px;
    background: #0066FF;
    color: white;
    border-radius: 0 25px 25px 0;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #0052cc;
}

.nav-actions {
    display: flex;
    gap: 20px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.3s;
}

.nav-link:hover {
    background: #f5f5f5;
}

.nav-link .icon {
    font-size: 1.3rem;
}

.nav-link.cart {
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FF4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.menu-bar {
    background: #fafafa;
    padding: 12px 0;
}

.menu {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: center;
}

.menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    padding: 5px 0;
    transition: color 0.3s;
}

.menu a:hover {
    color: #0066FF;
}

.menu a.destaque {
    color: #FF4444;
    font-weight: 700;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 50px;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.hero-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-new {
    font-size: 2.5rem;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Products Section */
.products-section {
    padding: 50px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
}

.ver-mais {
    color: #0066FF;
    font-weight: 600;
    font-size: 0.95rem;
}

.ver-mais:hover {
    text-decoration: underline;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.badge-hot {
    background: #FF4444;
    color: white;
}

.badge-new {
    background: #00D4FF;
    color: white;
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img::after {
    content: '📱';
    font-size: 4rem;
    opacity: 0.3;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.product-desc {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.rating {
    font-size: 0.85rem;
    margin-bottom: 12px;
    color: #FFA500;
}

.rating span {
    color: #999;
    margin-left: 5px;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.price-box .price-old {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066FF;
}

.installment {
    font-size: 0.8rem;
    color: #00AA00;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: #0066FF;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-add-cart:hover {
    background: #0052cc;
}

/* Trust Section */
.trust-section {
    background: white;
    padding: 50px 0;
    margin: 50px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #222;
}

.trust-item p {
    font-size: 0.9rem;
    color: #777;
}

/* Footer */
.footer {
    background: #222;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #0066FF;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #333;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.social-btn:hover {
    background: #0066FF;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-methods span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: white;
}

.payment-icons {
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.address {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .menu {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
