:root {
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f1f5f9;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --whatsapp-color: #25D366;
    --danger-color: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    font-size: 1.6rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.btn-whatsapp-header {
    background: var(--whatsapp-color);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-whatsapp-header:hover {
    background: #128C7E;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* ===== HERO BANNER ===== */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 0;
    color: #fff;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-image {
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ===== CATEGORY FILTER ===== */
.category-filter {
    padding: 1.5rem 0;
    background: var(--light-color);
}

.filter-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.filter-wrapper::-webkit-scrollbar {
    display: none;
}

.filter-container {
    display: flex;
    gap: 0.75rem;
    padding: 0.25rem;
    min-width: min-content;
}

.filter-btn {
    background: #fff;
    border: 2px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.filter-btn i {
    font-size: 1.1rem;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 2rem 0;
    min-height: 50vh;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--light-color);
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.badge-discount,
.badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-discount {
    background: var(--danger-color);
    color: #fff;
}

.badge-new {
    background: var(--secondary-color);
    color: #fff;
}

/* Botão WhatsApp no card */
.btn-product-whatsapp {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
    background: var(--whatsapp-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.product-card:hover .btn-product-whatsapp {
    opacity: 1;
    transform: scale(1);
}

.btn-product-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.product-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.product-description {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    line-height: 1.4;
}

.product-footer {
    margin-top: auto;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.8rem;
}

.price-current {
    color: var(--dark-color);
    font-size: 1.25rem;
    font-weight: 800;
}

.btn-interest {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.65rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-interest:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
}

.section-text {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    min-width: 40px;
}

.feature-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 3rem 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item h6 {
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.contact-item p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

.whatsapp-card {
    background: linear-gradient(135deg, var(--whatsapp-color) 0%, #128C7E 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.whatsapp-card i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.whatsapp-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.whatsapp-card p {
    opacity: 0.95;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-whatsapp{
  background: var(--whatsapp-color);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}

.btn-whatsapp:hover{
  background: #128C7E; /* hover mais escuro */
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 2.5rem 0 1rem;
}

.footer-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-text {
    opacity: 0.85;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-subtitle {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.75rem;
    opacity: 0.75;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* ===== PRODUCT MODAL ===== */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem;
}

.modal-title {
    font-size: 1.25rem;
}

.product-modal-description {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.product-modal-price {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

.product-modal-price .label {
    font-weight: 600;
    margin-right: 0.75rem;
    font-size: 0.95rem;
}

.product-modal-price .value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}

.product-features {
    margin-bottom: 1.25rem;
}

.product-features h6 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.btn-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeIn 0.5s ease both;
}

.product-item:nth-child(1) { animation-delay: 0.05s; }
.product-item:nth-child(2) { animation-delay: 0.1s; }
.product-item:nth-child(3) { animation-delay: 0.15s; }
.product-item:nth-child(4) { animation-delay: 0.2s; }
.product-item:nth-child(5) { animation-delay: 0.25s; }
.product-item:nth-child(6) { animation-delay: 0.3s; }
.product-item:nth-child(7) { animation-delay: 0.35s; }
.product-item:nth-child(8) { animation-delay: 0.4s; }

/* ===== RESPONSIVE - MOBILE FIRST ===== */
@media (max-width: 767px) {
    /* Hero */
    .hero-banner {
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-image {
        border-radius: 12px;
    }
    
    /* Category Filter */
    .category-filter {
        padding: 1rem 0;
    }
    
    .filter-container {
        padding: 0.5rem 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .filter-btn i {
        font-size: 1rem;
    }
    
    /* Products */
    .products-section {
        padding: 1.5rem 0;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-body {
        padding: 0.85rem;
    }
    
    .product-title {
        font-size: 0.9rem;
    }
    
    .product-description {
        font-size: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-price {
        margin-bottom: 0.6rem;
    }
    
    .price-current {
        font-size: 1.15rem;
    }
    
    .btn-interest {
        padding: 0.55rem;
        font-size: 0.8rem;
    }
    
    /* Mobile: Sempre mostrar botão WhatsApp do card */
    .btn-product-whatsapp {
        opacity: 1;
        transform: scale(1);
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        bottom: 8px;
        right: 8px;
    }
    
    /* About Section */
    .about-section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-text {
        font-size: 0.95rem;
    }
    
    .feature-item {
        padding: 0.85rem;
    }
    
    .feature-item i {
        font-size: 1.5rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .whatsapp-card {
        padding: 2rem 1.5rem;
    }
    
    .whatsapp-card i {
        font-size: 3rem;
    }
    
    .whatsapp-card h3 {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    /* Modal */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .product-modal-price .value {
        font-size: 1.5rem;
    }
    
    /* Floating Button */
    .btn-whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
        bottom: 15px;
        right: 15px;
    }
}

/* Tablets e acima */
@media (min-width: 768px) {
    .hero-banner {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-section,
    .contact-section {
        padding: 4rem 0;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Ajuste para scroll horizontal suave */
@supports (-webkit-overflow-scrolling: touch) {
    .filter-wrapper {
        scroll-behavior: smooth;
    }
}