* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', system-ui, sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
}
/* HEADER E LOGO */
header {
text-align: center;
padding: 20px;
background-color: var(--card-bg);
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.logo-img {
max-height: 80px;
width: auto;
}
.page-title-dynamic {
font-size: 1.5rem;
color: var(--primary-color);
margin-top: 10px;
text-transform: uppercase;
letter-spacing: 1px;
display: none;
}
/* HERO SLIDER (PANORÂMICO DE LENTIDÃO CONFIGURÁVEL) */
.hero-slider-container {
position: relative;
width: 100%;
height: 400px;
background-color: #000;
overflow: hidden;
margin-bottom: 40px;
}
.hero-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 1s ease-in-out;
background-size: cover;
background-position: center;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 20px;
}
.hero-slide.active {
opacity: 1;
z-index: 1;
}
.hero-slide::after {
content: '';
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 2;
}
.hero-content {
position: relative;
z-index: 3;
max-width: 800px;
}
.hero-title {
color: #ffffff;
font-size: 2.2rem;
margin-bottom: 25px;
font-weight: 700;
line-height: 1.3;
}
.hero-btn {
display: inline-block;
background-color: var(--card-bg);
color: var(--text-main);
text-decoration: none;
padding: 15px 35px;
border-radius: 30px;
font-weight: bold;
text-transform: uppercase;
transition: all 0.3s;
}
.hero-btn:hover {
background-color: var(--accent-color);
color: #fff;
}
.hero-nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.2);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
z-index: 4;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s;
}
.hero-nav:hover {
background: rgba(255, 255, 255, 0.5);
}
.hero-nav.prev { left: 20px; }
.hero-nav.next { right: 20px; }
@media (max-width: 768px) {
.hero-slider-container { height: 300px; }
.hero-title { font-size: 1.5rem; }
.hero-nav { width: 40px; height: 40px; font-size: 1.2rem; }
}
/* GRID E FILTROS DE CATEGORIA */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px 40px;
}
.filters {
display: flex;
gap: 10px;
overflow-x: auto;
padding-bottom: 10px;
margin-bottom: 25px;
}
.filter-btn {
background: #e5e7eb;
border: none;
padding: 8px 16px;
border-radius: 20px;
cursor: pointer;
white-space: nowrap;
font-weight: 600;
color: var(--text-muted);
}
.filter-btn.active, .filter-btn:hover {
background: var(--primary-color);
color: white;
}
.catalog-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
}
.card {
background-color: var(--card-bg);
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s ease;
}
.card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.card img {
width: 100%;
height: 220px;
object-fit: cover;
border-bottom: 1px solid #e5e7eb;
}
.card-content {
padding: 15px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.card-tags {
display: flex;
justify-content: space-between;
margin-bottom: 5px;
font-size: 0.75rem;
font-weight: bold;
text-transform: uppercase;
}
.tag-category { color: var(--text-muted); }
.tag-theme { color: var(--primary-color); }
.card-title {
font-size: 1rem;
font-weight: 600;
margin-bottom: 15px;
}
.btn-buy {
text-align: center;
background-color: var(--accent-color);
color: white;
text-decoration: none;
padding: 12px;
border-radius: 8px;
font-weight: bold;
text-transform: uppercase;
margin-top: auto;
}
#loader {
text-align: center;
padding: 40px;
color: var(--text-muted);
}