/* Variáveis de Cores */
:root {
    --primary-color: #d4af37; /* Dourado */
    --secondary-color: #c0c0c0; /* Prateado */
    --accent-color: #e8c547; /* Amarelo claro */
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Efeitos de Transição */
body {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

body.fade-in {
    opacity: 1;
}

section, .destaques, .newsletter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible, .destaques.visible, .newsletter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos para aparecimento sequencial */
section:nth-child(1).visible { transition-delay: 0.2s; }
section:nth-child(2).visible { transition-delay: 0.4s; }
section:nth-child(3).visible { transition-delay: 0.6s; }
section:nth-child(4).visible { transition-delay: 0.8s; }
section:nth-child(5).visible { transition-delay: 1.0s; }
.destaques.visible { transition-delay: 0.3s; }
.newsletter.visible { transition-delay: 0.5s; }

/* Reset e Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.text-center {
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.navbar ul li a:hover::after {
    width: 100%;
}

.icons {
    display: flex;
    align-items: center;
}

.social-icon, .cart-icon {
    margin-left: 20px;
    font-size: 1.2rem;
    position: relative;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin-left: 20px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    transform: translateY(-20px);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

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

/* Destaques */
.destaques {
    background-color: var(--white);
    padding: 60px 0;
}

.destaques .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.destaque-item {
    text-align: center;
    padding: 30px 20px;
    flex: 1;
    min-width: 250px;
    margin: 10px;
    border-radius: 10px;
    transition: var(--transition);
    background-color: var(--light-color);
}

.destaque-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.destaque-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.destaque-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Produtos */
.produtos {
    background-color: var(--light-color);
}

.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 5px 10px;
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.produto-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.produto-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.produto-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.produto-item:hover .produto-img img {
    transform: scale(1.1);
}

.produto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.produto-item:hover .produto-overlay {
    opacity: 1;
}

.produto-overlay .btn {
    margin: 5px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.produto-item:hover .produto-overlay .btn {
    opacity: 1;
    transform: translateY(0);
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.rating {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating i {
    font-size: 0.9rem;
}

.preco {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Sobre */
.sobre {
    background-color: var(--white);
}

.sobre .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.sobre-img {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.sobre-img img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.sobre-content {
    flex: 1;
    min-width: 300px;
    padding-left: 40px;
}

.sobre-content h2 {
    margin-bottom: 20px;
}

.sobre-content p {
    margin-bottom: 15px;
}

/* Depoimentos */
.depoimentos {
    background-color: var(--light-color);
}

.depoimento-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 30px;
    padding-bottom: 20px;
}

.depoimento-item {
    scroll-snap-align: start;
    flex: 0 0 calc(50% - 15px);
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.depoimento-content {
    position: relative;
}

.depoimento-content .rating {
    margin-bottom: 15px;
}

.depoimento-content p {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.depoimento-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.cliente-info h4 {
    margin-bottom: 5px;
}

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

/* Contato */
.contato {
    background-color: var(--white);
}

.contato .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contato-info, .contato-form {
    flex: 1;
    min-width: 300px;
}

.contato-info h2 {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Mapa */
.mapa {
    width: 100%;
    height: 400px;
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 60px 0;
}

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

.newsletter-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.newsletter-content h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    border-radius: 0 30px 30px 0;
    padding: 15px 30px;
    border: none;
    background-color: var(--dark-color);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #000;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-col p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: block;
}

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

.footer-col .social-links a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-col .social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.pagamentos i {
    font-size: 1.5rem;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128C7E;
    color: var(--white);
}

/* Responsivo */
@media (max-width: 992px) {
    .navbar ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
    }

    .navbar ul.active {
        left: 0;
    }

    .navbar ul li {
        margin: 15px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .sobre-img, .sobre-content {
        padding: 0;
        margin-bottom: 30px;
    }

    .depoimento-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .header .container {
        height: 70px;
    }

    .logo .logo-text {
        font-size: 1.5rem;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 25px;
    }

    .destaque-item {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 30px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }
}