@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #d4867f;
    --secondary-color: #8b6d68;
    --accent-color: #f4a460;
    --background-color: #4a2c2a;
    --surface-color: #6b3e3b;
    --logo-text-color: #fff;
    --text-color: #fff;
    --text-secondary: #f5e6e3;
    --white-color: #fff;
    --container-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --box-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --bannerHero-primario: #4a2c2a;
    --bannerHero-secundario: #8b6d68;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 134, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 164, 96, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.navbar {
    background: rgba(74, 44, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(74, 44, 42, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--logo-text-color);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(135deg, rgba(74, 44, 42, 0.9), rgba(139, 109, 104, 0.9)),
        url('https://via.placeholder.com/1920x1080.png?text=Fundo+Abstrato') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 164, 96, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

section h2::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;
    animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
    from { width: 0; opacity: 0; }
    to { width: 80px; opacity: 1; }
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: linear-gradient(135deg, var(--surface-color), var(--primary-color));
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

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

.product-card h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white-color);
}

.product-card p {
    padding: 0;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.5;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Isso cria um aspecto de 1:1 (quadrado) */
    overflow: hidden;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    background-color: var(--white-color);
}
.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Contact Section */
#contato {
    display: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(212, 134, 127, 0.2);
}

.contact-form button {
    align-self: center;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Dynamic Product Banner */
#dynamic-product-banner {
    background: linear-gradient(135deg, var(--surface-color), var(--primary-color));
    padding: 5rem 0;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

#dynamic-product-banner::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 164, 96, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out reverse;
}

#dynamic-product-banner h2 {
    color: var(--white-color);
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

#dynamic-product-banner .product-grid {
    position: relative;
    z-index: 2;
}

#dynamic-product-banner .product-card,
#produtos .product-card {
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#dynamic-product-banner .product-card:hover,
#produtos .product-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

#dynamic-product-banner .product-card h3,
#produtos .product-card h3 {
    color: var(--white-color);
}

#dynamic-product-banner .product-card p,
#produtos .product-card p {
    color: var(--text-secondary);
}

#produtos-load-more-btn {
    display: block;
    margin: 3rem auto 0 auto;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

#produtos-load-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

#produtos-load-more-btn:hover::before {
    left: 100%;
}

#produtos-load-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--background-color), var(--surface-color));
    color: var(--white-color);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 134, 127, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s infinite ease-in-out reverse;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #1DA851);
    color: white;
    margin: 2rem auto;
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--box-shadow);
}

.copyright {
    margin-top: 3rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.copyright a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.copyright a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.hidden {
    display: none !important;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% escurecido */
    z-index: 999; /* Abaixo do menu mobile, mas acima do conteúdo */
    display: none; /* Inicialmente oculto */
}

.mobile-menu-overlay.overlay-active {
    display: block; /* Visível quando ativo */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(74, 44, 42, 0.98);
        backdrop-filter: blur(20px);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 2rem;
        box-shadow: var(--box-shadow);
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
        align-items: center;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        color: var(--text-color);
        text-align: center;
        padding: 1rem;
        border-radius: var(--border-radius-sm);
        width: 100%;
        display: block;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem;
        border-radius: var(--border-radius-sm);
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}
/* Category Section */
.category-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--surface-color), var(--background-color));
    position: relative;
    overflow: hidden;
}

.category-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 134, 127, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.category-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.category-section p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.category-carousel {
    position: relative;
}

.category-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white-color);
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--box-shadow-sm);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.category-btn:active {
    transform: translateY(0) scale(1.02);
}

/* Responsive Carousel for Categories */
@media (max-width: 768px) {
    .category-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }

    .category-container::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

    .category-container {
        justify-content: flex-start;
        padding: 0 10px; /* Add some padding to the sides */
    }

    .category-btn {
        scroll-snap-align: start;
        flex: 0 0 auto;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(74, 44, 42, 0.95), rgba(139, 109, 104, 0.95));
    backdrop-filter: blur(20px);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    z-index: 2000;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.95rem;
    max-width: 800px;
    text-align: center;
    line-height: 1.5;
    color: var(--text-secondary);
}

.cookie-consent-banner .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: var(--box-shadow-sm);
}

.cookie-consent-banner .btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--box-shadow);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

@media (max-width: 600px) {
    .cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .cookie-consent-banner p {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .cookie-consent-banner .btn {
        width: 100%;
        max-width: 250px;
    }
}