/* Root Variables */
:root {
    --primary: #E60014;
    --primary-hover: #CC0011;
    --secondary: #FFFFFF;
    --accent: #00B140;
    --accent-hover: #009936;
    --background: #F4F6F8;
    --text-main: #2D3748;
    --text-muted: #718096;
    --border: #E2E8F0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); background-color: var(--background); color: var(--text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.bg-light { background-color: #FFFFFF; }
.bg-dark { background-color: #1A202C; }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.text-white { color: #FFFFFF; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

.section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 30px; color: var(--text-main); }
.animated-title { animation: fadeInUp 0.8s ease-out forwards; transition: transform 0.3s ease, color 0.3s ease; display: inline-block; width: 100%; text-align: center; }
.animated-title:hover { transform: translateY(-3px) scale(1.02); color: var(--primary); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; font-weight: 600; border-radius: var(--radius-md); transition: var(--transition); font-size: 0.95rem; }
.btn-primary { background-color: var(--primary); color: #FFF; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-accent { background-color: var(--accent); color: #FFF; }
.btn-accent:hover { background-color: var(--accent-hover); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-secondary { background-color: #FFF; color: var(--primary); }
.btn-secondary:hover { background-color: #f0f0f0; }
.rounded-img { border-radius: var(--radius-lg); object-fit: cover; }
.shadow-premium { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); overflow: hidden; }
.shadow-light { box-shadow: var(--shadow-sm); border-radius: var(--radius-md); padding: 20px; background: #fff;}
.full-width { width: 100%; }

.top-bar { background-color: var(--primary); color: #FFF; text-align: center; padding: 8px 15px; font-size: 0.85rem; font-weight: 600; }
.main-header { background-color: #FFF; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-sm); }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo h1 { font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.search-bar { flex: 1; max-width: 500px; margin: 0 30px; }
.search-bar form { display: flex; border: 2px solid var(--primary); border-radius: var(--radius-lg); overflow: hidden; }
.search-bar input { flex: 1; padding: 12px 15px; border: none; outline: none; font-size: 0.95rem; }
.search-bar button { background-color: var(--primary); color: #FFF; padding: 0 20px; font-size: 1.1rem; }
.search-bar button:hover { background-color: var(--primary-hover); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.action-item { display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: var(--text-main); font-weight: 600; }
.action-item i { font-size: 1.4rem; margin-bottom: 4px; color: var(--primary); }
.cart-icon { position: relative; }
.cart-badge { position: absolute; top: -5px; right: -10px; background-color: var(--accent); color: #FFF; font-size: 0.7rem; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.mobile-menu-toggle { display: none; font-size: 1.5rem; background: transparent; color: var(--primary); }

.main-nav { background-color: #FFF; border-bottom: 1px solid var(--border); padding: 0; }
.nav-list { display: flex; align-items: center; height: 50px; gap: 25px; }
.nav-list > li > a { font-size: 0.9rem; font-weight: 500; color: var(--text-main); }
.nav-list > li > a:hover { color: var(--primary); }
.dropdown { position: relative; }
.dropdown > a { background-color: var(--primary); color: #FFF !important; padding: 10px 15px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 10px; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #FFF; box-shadow: var(--shadow-md); border-radius: var(--radius-md); width: 250px; opacity: 0; visibility: hidden; transition: var(--transition); transform: translateY(10px); z-index: 100; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background-color: var(--background); color: var(--primary); }

.hero-swiper { width: 100%; height: 450px; }
.bg-slide { background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.bg-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%); }
.hero-content { position: relative; z-index: 10; max-width: 500px; color: #FFF; }
.hero-content.text-dark { color: var(--text-main); }
.hero-content.text-dark::before { display: none; }
.hero-content h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.1; margin-bottom: 15px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; }
.swiper-pagination-bullet-active { background-color: var(--primary) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 20px !important; }

.categories-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.category-item { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100px; gap: 10px; }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; background-color: #FFF; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); transition: var(--transition); }
.category-item:hover .icon-circle { background-color: var(--primary); color: #FFF; transform: translateY(-5px); }
.category-item span { font-size: 0.8rem; font-weight: 600; color: var(--text-main); }

.product-card { background: #FFF; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 15px; display: flex; flex-direction: column; height: 100%; transition: var(--transition); }
.product-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.product-img { height: 180px; object-fit: contain; margin-bottom: 15px; width: 100%; }
.product-title { font-size: 0.9rem; color: var(--text-main); flex-grow: 1; margin-bottom: 10px; }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 15px; }
.product-price small { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; text-decoration: line-through; display: block; }

.benefits-section { background-color: #FFF; padding: 30px 0; }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.benefits-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.benefit-item { display: flex; align-items: center; gap: 12px; }
.benefit-item i { font-size: 2rem; color: var(--accent); }
.benefit-item span { font-size: 0.85rem; font-weight: 600; line-height: 1.2; }

.flex-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.flex-banners img { border-radius: var(--radius-lg); transition: var(--transition); }
.flex-banners img:hover { transform: scale(1.02); }
.stack-banners img { width: 100%; display: block; border-radius: var(--radius-lg); }

.coupon-section h2 { font-size: 2.2rem; margin-bottom: 10px; }
.coupon-box { display: inline-flex; align-items: center; background: rgba(255,255,255,0.2); padding: 10px; border-radius: var(--radius-md); border: 2px dashed #FFF; gap: 15px; }
.coupon-code { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; }

.brand-slide { background: #FFF; border: 1px solid var(--border); padding: 20px; text-align: center; font-weight: 700; color: var(--text-muted); border-radius: var(--radius-md); font-size: 1.2rem; }
.brands-swiper .swiper-wrapper { transition-timing-function: linear !important; }

.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-card { background: #FFF; }
.card-header { padding: 20px; color: #FFF; }
.card-body { padding: 25px; }
.features-list { line-height: 2; margin-bottom: 15px; }
.features-list i { color: var(--accent); margin-right: 8px; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; outline: none; font-family: inherit; }
.form-control:focus { border-color: var(--primary); }
.file-label { display: block; padding: 12px; border: 1px dashed var(--text-muted); text-align: center; border-radius: var(--radius-sm); cursor: pointer; background: var(--background); }
.mt-2 { margin-top: 15px; } .mt-3 { margin-top: 25px; } .mb-2 { margin-bottom: 15px; }
.align-stretch { align-items: stretch; }

.list-green i { color: var(--accent); font-size: 1.2rem; }
.testimonial-card { border-left: 4px solid var(--accent); }
.body-text { font-style: italic; color: #555; }

.footer-logo { display: block; height: 140px; width: auto; max-width: 100%; object-fit: contain; transition: transform 0.3s; margin-left: 0; }
.footer-logo:hover { transform: scale(1.02); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 50px 0 30px; }
.footer-title { font-size: 1.1rem; margin-bottom: 20px; color: #FFF; }
.links-col ul li { margin-bottom: 10px; }
.links-col ul li a { color: #A0AEC0; }
.links-col ul li a:hover { color: #FFF; padding-left: 5px; }
.contact-col p { color: #A0AEC0; margin-bottom: 10px; }
.payment-icons { display: flex; gap: 15px; font-size: 2rem; }
.footer-bottom { border-top: 1px solid #2D3748; padding: 20px 0; text-align: center; color: #A0AEC0; font-size: 0.85rem;}

@media (max-width: 992px) {
    .header-actions .btn { display: none; }
    .nav-list { display: none; }
    .mobile-menu-toggle { display: block; }
    .flex-banners { grid-template-columns: 1fr; }
    .grid-2-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { justify-content: center; }
    .footer-logo { height: 120px; }
}

@media (max-width: 768px) {
    .search-bar { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .payment-icons { justify-content: center; }
    .header-container { justify-content: space-between; }
    .hero-content h2 { font-size: 2rem; }
}

/* --- MELHORIAS ESTRATÉGICAS (Microinterações & Utilities) --- */
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 15px; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.border-start { border-left: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.rounded-circle { border-radius: 50%; }
.bg-white { background-color: #FFF; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }
.text-decoration-none { text-decoration: none !important; }
.d-block { display: block; }
.w-100 { width: 100%; }
.m-0 { margin: 0; }
.p-2 { padding: 0.5rem; }

/* Microinterações e Hierarquia Visual */
.btn { position: relative; overflow: hidden; font-family: 'Nunito', sans-serif; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.btn::after { content: ''; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; background: rgba(255, 255, 255, 0.5); opacity: 0; border-radius: 100%; transform: scale(1) translate(-50%, -50%); transform-origin: 50% 50%; }
.btn:hover::after { animation: ripple 1s ease-out; }
@keyframes ripple { 0% { transform: scale(0) translate(-50%, -50%); opacity: 0.5; } 100% { transform: scale(30) translate(-50%, -50%); opacity: 0; } }

.product-card { transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); background: #FFF; border: 1px solid var(--border); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary); }

.ofertas-24h .product-card { background: rgba(0,0,0,0.15); border-color: rgba(255,255,255,0.2); }
.ofertas-24h .product-title { color: #FFFFFF !important; }
.ofertas-24h .text-muted { color: rgba(255,255,255,0.7) !important; }
.ofertas-24h .product-price { color: #FFFFFF !important; }
.ofertas-24h .product-card:hover { border-color: #FFFFFF; }

.font-heading { font-family: 'Montserrat', sans-serif; font-weight: 800; }
.font-body { font-family: 'Nunito', sans-serif; font-weight: 500; }
.font-weight-bold { font-weight: bold; }
.text-decoration-line-through { text-decoration: line-through; }
.text-muted { color: #888; }
.text-danger { color: #E53935; }

.combo-card { transition: transform 0.3s ease; cursor: pointer; background: #fff; }
.combo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.combo-images img { transition: transform 0.3s ease; }
.combo-card:hover .combo-images img { transform: scale(1.05); }

.faq-item { transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--primary) !important; }
.faq-item h4 { transition: color 0.3s ease; }
.faq-item:hover h4 { color: var(--primary); }

.banner-effect { transition: transform 0.3s ease, filter 0.3s ease; display: block; width: 100%; height: auto; object-fit: cover; }
.banner-wrapper { overflow: hidden; display: block; border-radius: 12px; }
.banner-wrapper:hover .banner-effect { transform: scale(1.02); filter: brightness(0.9); }
