* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }
body { background-color: #0b0b0b; color: #ffffff; scroll-behavior: smooth; }

header {
    background-color: #1a1a1a;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #e63946;
}

.logo { font-weight: bold; font-size: 24px; letter-spacing: 2px; text-transform: uppercase; }
.logo span { color: #e63946; }

nav a { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; }

#cart-btn {
    background: #e63946;
    border: none;
    padding: 10px 18px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.hero {
    height: 45vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('img/logotipo.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero h1 { font-size: 42px; margin-bottom: 10px; }
.hero p { font-size: 18px; color: #ccc; }

.container { padding: 60px 5%; }
.section-title { text-align: center; margin-bottom: 40px; color: #e63946; text-transform: uppercase; }

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card-produto {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.card-produto:hover { border-color: #e63946; transform: translateY(-5px); }
.card-produto img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; margin-bottom: 15px; }

.btn-comprar {
    background: #e63946;
    color: white;
    border: none;
    padding: 12px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    font-weight: bold;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #e63946;
    width: 90%;
    max-width: 450px;
    border-radius: 10px;
}

.close-modal { float: right; font-size: 30px; cursor: pointer; color: #e63946; }

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #333;
}

.cart-total {
    margin-top: 25px;
    font-size: 22px;
    text-align: right;
    border-top: 2px solid #e63946;
    padding-top: 15px;
}

.form-box { max-width: 450px; margin: 0 auto; background: #1a1a1a; padding: 30px; border-radius: 10px; }
input { width: 100%; padding: 12px; margin-bottom: 15px; background: #222; border: 1px solid #444; color: white; border-radius: 5px; }
footer { text-align: center; padding: 40px; color: #666; }