/* css/style.css */
:root {
    --bg-color: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #0284c7; 
    --primary-hover: #0369a1;
    --success: #10b981; 
    --success-hover: #059669;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }

.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.nav-links .btn-admin { background: #1e293b; color: white; padding: 0.5rem 1rem; border-radius: 6px; }

.btn { padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all 0.2s; display: inline-block; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: var(--success-hover); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-main); }
.btn-outline:hover { background: var(--bg-color); }

.container { max-width: 1200px; margin: 2rem auto; padding: 0 5%; }
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2); }

/* Grid para os formulários ficarem bonitos no desktop */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 1rem; }

.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background-color: var(--bg-color); color: var(--text-muted); }

.hero { text-align: center; padding: 5rem 5%; background: linear-gradient(135deg, #e0f2fe 0%, #ecfdf5 100%); }
.hero h1 { font-size: 3rem; color: var(--text-main); margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; }

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
}

/* css/style.css (Adicione no final do arquivo) */

/* Nova Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Carrinho na Navbar */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
}
.cart-badge {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    position: absolute;
    top: -8px;
    right: -15px;
    font-weight: bold;
}