/* Fontes e Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

:root {
    --primary-color: #41aeeb;
    --secondary-color: #000000;
    --accent-color: #2196F3;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(65,174,235,0.3);
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    color: white;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: backwards;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(65,174,235,0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2196F3 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(65,174,235,0.3);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Categorias */
.categories-section {
    background-color: #f8f9fa;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.category-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h5 {
    font-weight: 600;
    color: var(--text-dark);
}

/* Produtos */
.products-section {
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Filtros */
.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Card de Produto */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.sale {
    background: #ff5252;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-specs {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-rating span {
    color: var(--text-light);
    margin-left: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Serviços */
.services-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h5 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Promoção Banner */
.promo-section {
    background-color: white;
}

.promo-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 3rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(65,174,235,0.3);
}

.promo-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-text {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Testemunhos */
.testimonials-section {
    background-color: #f8f9fa;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card .stars {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    color: white;
}

.newsletter-section h3 {
    font-weight: 700;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    padding: 12px 20px;
    border: none;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 30px;
}

/* Footer */
.footer-section {
    background: var(--secondary-color);
    color: #b0b0b0;
    padding: 3rem 0 1rem;
}

.footer-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: #333;
    margin: 2rem 0 1rem;
}

.payment-methods {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(37,211,102,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(65,174,235,0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 1s ease;
}

/* Adicionar ao style.css existente */

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.blog-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-meta i {
    color: var(--primary-color);
}

.btn-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    transform: translateX(5px);
}

/* Modal de Compra */
.product-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
}

/* Animação de contador */
.counting {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Página do Blog */
.blog-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c2c2c 100%);
    padding: 120px 0 60px;
    color: white;
}

.blog-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.blog-categories li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.blog-categories a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-categories a:hover {
    color: var(--primary-color);
}

/* Breadcrumb personalizado */
.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-custom a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-custom .active {
    color: var(--text-light);
}

/* Footer Styles Adicionais */
.footer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.footer-info-grid .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-info-grid i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-info-grid strong {
    display: block;
    color: white;
    font-size: 0.9rem;
}

.footer-info-grid span {
    font-size: 0.8rem;
    color: #b0b0b0;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

/* Carrinho Offcanvas */
.offcanvas {
    width: 400px !important;
}

.empty-cart {
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 1rem;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
}

.cart-item-remove {
    color: #dc3545;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #bb2d3b;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Toast Notifications */
.toast-container {
    z-index: 10000;
}

/* Payment Icons */
.payment-methods img {
    vertical-align: middle;
    margin: 0 5px;
    filter: grayscale(0);
    transition: filter 0.3s ease;
}

.payment-methods img:hover {
    filter: grayscale(100%);
}


/* Modal de Compra Personalizado */
#buyModal .modal-content {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

#buyModal .modal-header {
    border-bottom: none;
}

#buyModal .product-summary {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

#buyModal .price-display {
    text-align: right;
}

#buyModal .form-label {
    font-weight: 600;
    color: var(--text-dark);
}

#buyModal .total-section {
    border: 2px solid var(--primary-color);
}

#buyModal .input-group .btn {
    border-color: #dee2e6;
}

#buyModal .input-group .btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Toast Personalizado */
.toast {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.toast-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

/* Animação do Modal */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

/* Loading State */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive Modal */
@media (max-width: 576px) {
    #buyModal .modal-dialog {
        margin: 0.5rem;
    }
    
    #buyModal .product-summary {
        font-size: 0.9rem;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .offcanvas {
        width: 100% !important;
        max-width: 350px !important;
    }
    
    .payment-methods {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .footer-bottom-links {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Animações */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.offcanvas.show {
    animation: slideInRight 0.3s ease;
}

/* Print Styles */
@media print {
    .navbar,
    .footer-section,
    .whatsapp-btn,
    .scroll-top-btn,
    .newsletter-section {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.8rem;
    }
    
    .promo-title {
        font-size: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}