/* --- GERAL E VARIÁVEIS --- */
:root {
    --color-background: #1a120b; /* Marrom café quase preto */
    --color-primary: #D5B06B; /* Dourado/Ouro */
    --color-text: #E5E5E5; /* Texto principal - branco acinzentado */
    --color-text-darker: #a0a0a0; /* Texto secundário */
    --color-surface: #251a11; /* Cor de fundo para cards */
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow-y: hidden;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; text-align: center; margin-bottom: 50px; }
h3 { font-size: 1.75rem; }

section {
    padding: 100px 0;
}

/* --- HEADER E NAVEGAÇÃO --- */
.header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.header.scrolled {
    background-color: rgba(26, 18, 11, 0.9);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}

.navbar {
    display: flex;
}

.navbar a {
    color: var(--color-text);
    text-decoration: none;
    margin-left: 35px;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.4s ease;
}

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

/* --- HERO --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(bg.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 20px auto 40px;
    font-weight: 300;
}

.cta-button {
    background: transparent;
    color: var(--color-primary);
    padding: 15px 40px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 400;
    font-family: var(--font-body);
    transition: background-color 0.4s, color 0.4s;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* --- COLEÇÕES --- */
#collections {
    background-color: var(--color-surface);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.collection-card {
    background-color: var(--color-background);
    border: 1px solid #3c3026;
    border-radius: 5px;
    transition: transform 0.4s, box-shadow 0.4s;
}

.collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card-content {
    padding: 30px;
}

.card-content p {
    color: var(--color-text-darker);
    margin-top: 15px;
}
/* --- NOVA SEÇÃO DE CARDÁPIO VISUAL --- */
#cardapio {
    background-color: var(--color-background);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 50px;
    color: var(--color-text-darker);
    font-size: 1.1rem;
}

/* Regras de preço (reestilizadas) */
.pricing-rules {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 70px;
    padding: 20px;
    border-top: 1px solid #3c3026;
    border-bottom: 1px solid #3c3026;
}

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

.price-item h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.price-item .price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-primary);
    line-height: 1;
}

.price-item .details {
    color: var(--color-text-darker);
    font-size: 0.9rem;
}

/* Galeria de sabores */
.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.flavor-card {
    background-color: var(--color-surface);
    border: 1px solid #3c3026;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.flavor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

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

.flavor-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço disponível */
}

.flavor-info h3 {
    font-size: 1.6rem;
    color: var(--color-primary);
}

.flavor-info p {
    color: var(--color-text-darker);
    font-size: 0.95rem;
    margin-top: 10px;
}

.final-cta {
    text-align: center;
    margin-top: 70px;
}
/* --- RESPONSIVIDADE PARA O CARDÁPIO --- */
@media (max-width: 600px) {
    .pricing-rules {
        flex-direction: column;
        gap: 30px;
    }

    .flavor-list {
        grid-template-columns: 1fr; /* Uma coluna em telas pequenas */
        text-align: center;
    }
    
    .flavor-list li {
       justify-content: center;
    }

    .flavor-list li::before {
        display: none; /* Esconde o círculo em telas pequenas para um look mais limpo */
    }
}
/* --- DEPOIMENTOS (SLIDER) --- */
#testimonials {
    text-align: center;
    background-color: var(--color-surface); /* Mudando o fundo para destacar */
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Essencial para o slider */
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%; /* Cada card ocupa 100% do container */
    box-sizing: border-box;
    padding: 40px 20px;
    background-color: var(--color-background);
    border: 1px solid #3c3026;
    border-radius: 8px;
    margin: 0 1px; /* Pequena margem para evitar sobreposição de bordas */
}

.testimonial-card .fa-quote-left {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.5;
}

.testimonial-card blockquote {
    font-size: 1.25rem; /* Ajuste no tamanho da fonte */
    font-style: italic;
    font-weight: 300;
    margin: 20px 0;
    border: none;
    min-height: 100px; /* Garante altura mínima para alinhar */
}

.testimonial-card cite {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    font-style: normal;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(213, 176, 107, 0.2);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: background-color 0.3s;
}

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

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

@media (max-width: 900px) {
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    .slider-btn.prev {
        left: 0px;
    }
    .slider-btn.next {
        right: 0px;
    }
    .testimonial-card blockquote {
        font-size: 1.1rem;
        min-height: 120px;
    }
}
/* --- CONTATO E FORMULÁRIO --- */
#contact {
    background-color: var(--color-surface);
    text-align: center;
}

#contact p {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--color-text-darker);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    border-radius: 5px;
    border: 1px solid #3c3026;
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* --- WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* --- FOOTER --- */
.footer {
    text-align: center;
    padding: 50px 0;
}

.footer h3 {
    font-size: 2rem;
}

.footer p {
    color: var(--color-text-darker);
    margin-bottom: 20px;
}

.social-links a {
    color: var(--color-text-darker);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: color 0.3s;
}

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

.copyright {
    font-size: 0.9rem;
    margin-top: 30px;
}

/* --- MENU MOBILE E RESPONSIVIDADE --- */
.menu-toggle {
    display: none; /* Escondido no desktop */
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    margin: 6px 0;
    transition: transform 0.4s, opacity 0.4s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


@media(max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }

    .navbar.active {
        transform: translateX(0);
    }
    
    .navbar a {
        font-size: 1.5rem;
        margin-left: 0;
    }
}