/* === CSS RESET & VARIABLES === */
:root {
    --primary-color: #834346; /* A deep reddish-brown/rose from the card */
    --secondary-color: #ffffff;
    --accent-red: #C57074; /* Soft rose red for accents */
    --text-main: #4A3C3C;
    --text-light: #8E7A7A;
    --bg-light: #FDF9F8; /* Soft beige/pinkish white */
    --border-color: #EBDCDC;
    
    --font-sans: 'Roboto', sans-serif;
    --font-heading: 'Playfair Display', serif; /* Elegant serif font */
    
    --header-height: 120px; /* Header mais alto para destacar a logo */
    --top-bar-height: 35px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--secondary-color);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* === TOP BAR === */
.top-bar {
    background-color: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: var(--top-bar-height);
    border-bottom: 1px solid var(--border-color);
}

.brands {
    display: flex;
    gap: 20px;
}

.brand {
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.announcement {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 40px;
    height: 100%;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-arrow {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* === MAIN HEADER === */
.main-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(131, 67, 70, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 95px; /* Logo bem maior para máxima legibilidade */
    width: auto;
    object-fit: contain;
    transform: scale(1.1);
    transform-origin: left center;
}

.desktop-nav {
    display: flex;
    gap: 25px;
}

.desktop-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary-color);
}

.desktop-nav .sale-link {
    color: var(--primary-color);
    font-weight: 700;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.header-icons a {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.2s ease;
}

.header-icons a:hover {
    transform: scale(1.1);
}

/* === MOBILE MENU === */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    color: var(--primary-color);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 2000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    padding: 30px;
}

.mobile-menu.open {
    left: 0;
}

.close-menu {
    font-size: 1.8rem;
    color: var(--primary-color);
    position: absolute;
    top: 20px;
    right: 20px;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mobile-menu a.sale-link {
    color: var(--primary-color);
    font-weight: 700;
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--top-bar-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(74, 60, 60, 0.2), rgba(0,0,0,0));
    z-index: -1;
}

.hero-content {
    margin-left: 55%;
    text-align: left;
    color: var(--secondary-color);
    z-index: 1;
}

.showcase-title {
    margin-bottom: 20px;
}

.showcase-title h2 {
    font-size: 5rem;
    font-weight: 600;
    font-family: var(--font-heading);
    line-height: 1.1;
    color: var(--secondary-color);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    letter-spacing: 1px;
    margin-bottom: 40px;
    font-family: var(--font-heading);
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Ribbon */
.ribbon-container {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 120%;
    transform: rotate(-15deg);
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.ribbon {
    background-color: rgba(197, 112, 116, 0.9); /* Accent red/rose with slight transparency */
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    padding: 12px 0;
    white-space: nowrap;
    animation: scroll-ribbon 25s linear infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes scroll-ribbon {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === CATEGORIES CAROUSEL === */
.categories-carousel {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.category-card {
    min-width: 25%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.cat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 60, 60, 0.4); /* Brownish dark overlay */
    transition: background-color 0.3s ease;
}

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

.category-card:hover .cat-overlay {
    background-color: rgba(74, 60, 60, 0.2);
}

.category-card h3 {
    position: relative;
    z-index: 1;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(131, 67, 70, 0.15);
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* === FEATURED SECTION === */
.featured-section {
    padding: 80px 5%;
    text-align: center;
    background-color: var(--bg-light);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    margin-bottom: 40px;
}

.featured-product-carousel {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.featured-product {
    background-color: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(131, 67, 70, 0.08);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.product-actions {
    padding: 10px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-whatsapp-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
    padding: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-whatsapp-action:hover {
    background-color: #1EBE5D;
}

.prev-product { left: -70px; }
.next-product { right: -70px; }

/* === WINTER BANNER === */
.winter-banner {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}

.winter-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.winter-content {
    padding-left: 10%;
    color: var(--secondary-color);
}

.winter-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.winter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.btn-white {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* === NEW ARRIVALS === */
.new-arrivals {
    padding: 80px 5%;
    background-color: var(--secondary-color);
}

.new-arrivals .section-header {
    text-align: left;
}

.products-carousel-container {
    position: relative;
    margin-top: 40px;
}

.products-track-container {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.product-card {
    min-width: calc(20% - 16px);
    background-color: var(--bg-light);
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

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

.product-card .card-image {
    position: relative;
    padding-top: 130%;
    overflow: hidden;
}

.product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.discount-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
    letter-spacing: 1px;
}

.prev-arr { left: -25px; }
.next-arr { right: -25px; }

/* === FOOTER / CONTACT === */
.main-footer {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    margin-bottom: 30px;
}

.footer-content h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-content p {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-content p i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* === FLOATING WHATSAPP === */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-card { min-width: calc(25% - 15px); }
}

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .header-content { justify-content: flex-start; gap: 15px; }
    .header-icons { margin-left: auto; }
    .hero-content { margin-left: 0; padding: 0 5%; text-align: center; width: 100%; }
    .showcase-title h2 { font-size: 4rem; }
    .category-card { min-width: 50%; }
    .product-card { min-width: calc(33.333% - 13.33px); }
    .featured-product-carousel { padding: 0 20px; }
    .prev-product { left: 0; }
    .next-product { right: 0; }
}

@media (max-width: 600px) {
    .brands { display: none; } /* Oculta as marcas para dar mais espaço */
    .announcement { width: 100%; justify-content: space-between; padding: 0 10px; }
    .hero-section { min-height: 450px; }
    .showcase-title h2 { font-size: 3rem; }
    .hero-content .subtitle { font-size: 1rem; }
    .btn-primary { padding: 12px 25px; font-size: 0.8rem; }
    .category-card { min-width: 100%; }
    .product-card { min-width: calc(50% - 10px); }
    .winter-content h2 { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .ribbon { font-size: 1.5rem; }
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.8rem; }
}
