/* Estilos Globais */
:root {
    --primary-color: #8B0000;
    --secondary-color: #d57ce7;
    --accent-color: #D4AF37;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Cabeçalho */
.header {
    background-color: #ebc3f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
}

.search-bar {
    display: flex;
    width: 40%;
}

.search-bar input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.search-bar button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 0 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 1.5rem;
}

.account, .cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    border-top: 1px solid var(--border-color);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.main-nav a {
    display: block;
    padding: 1rem 0;
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Letreiro estilo bolsa de valores */
.ticker-wrapper {
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow: hidden;
    padding: 0.5rem 0;
}

.ticker {
    white-space: nowrap;
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    display: inline-block;
    padding: 0 2rem;
    font-weight: 500;
}

.ticker-content i.fa-arrow-up {
    color: var(--success-color);
}

.ticker-content i.fa-arrow-down {
    color: var(--error-color);
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Slider Principal */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-color: var(--dark-bg);
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--light-text);
    max-width: 500px;
    z-index: 1;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--light-text);
}

/* Categorias em Destaque */
.featured-categories {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-card h3 {
    padding: 1.5rem 0 0.5rem;
    font-size: 1.5rem;
}

.category-card .btn-outline {
    margin: 0.5rem 0 1.5rem;
}

/* Produtos em Destaque */
.featured-products {
    padding: 5rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tag {
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag.new {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.tag.sale {
    background-color: var(--error-color);
    color: var(--light-text);
}

.tag.bestseller {
    background-color: var(--accent-color);
    color: var(--dark-bg);
}

.product-actions {
    position: absolute;
    top: 10px;
    right: -50px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.product-card:hover .product-actions {
    right: 10px;
}

.product-actions button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-actions button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--warning-color);
}

.product-rating span {
    color: #999;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.view-more {
    text-align: center;
    margin-top: 3rem;
}

/* Sobre a Empresa */
.about-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text p {
    margin-bottom: 1rem;
}

/* Depoimentos */
.testimonials {
    padding: 5rem 0;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #777;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.testimonial-arrow.prev {
    left: -20px;
}

.testimonial-arrow.next {
    right: -20px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

/* Newsletter */
.newsletter {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    outline: none;
}

/* Rodapé */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 5rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--accent-color);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
}

/* Botões Flutuantes */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.whatsapp-btn, .instagram-btn, .back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
}

.whatsapp-btn {
    background-color: #25D366;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.back-to-top {
    background-color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-buttons a:hover, .back-to-top:hover {
    transform: translateY(-5px);
}

/* Modal de Produto */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.modal-product-image {
    border-radius: 8px;
    overflow: hidden;
}

.product-thumbnails {opacity: 0;
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    cursor: pointer;
    object-fit: cover;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail:hover {
    transform: scale(1.05);
}

.modal-product-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-product-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--warning-color);
    margin-bottom: 1.5rem;
}

.modal-product-description {
    margin-bottom: 1.5rem;
}

.modal-product-description ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.modal-product-size, .modal-product-color, .modal-product-quantity {
    margin-bottom: 1.5rem;
}

.size-options, .color-options {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.size-option {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    background: none;
    cursor: pointer;
    transition: var(--transition);
}

.size-option.active, .size-option:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.color-option {opacity: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.color-option.active {
    transform: scale(1.2);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quantity-selector input {
    width: 50px;
    height: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin: 0 5px;
}

.modal-product-actions {
    display: flex;
    gap: 1rem;
}

/* Carrinho de Compras */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-options {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 25px;
    height: 25px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cart-item-quantity span {
    width: 30px;
    text-align: center;
}

.cart-item-remove {
    color: var(--error-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.continue-shopping {
    width: 100%;
}

.add-to-cart-list {
    width: 100%;
    margin-top: 10px;
    font-size: 0.9rem;
    padding: 8px 15px;
}

.whatsapp-checkout-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-checkout-btn:hover {
    background-color: #128C7E;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsividade */
@media (max-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

@media (max-width: 992px) {
    .header-top {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 1;
        width: 50%;
    }
    
    .header-actions {
        order: 2;
        width: 50%;
        justify-content: flex-end;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-product-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo, .header-actions, .search-bar {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .header-actions {
        justify-content: space-between;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
}