:root {
    --color-orange: #f58426;
    --color-brown: #5c3a21;
    --color-honey: #f2ba00;
    --color-light: #fffaf0;
    --color-white: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-brown);
    line-height: 1.6;
    background-color: #faebd7; 
}

/* =========================================
   Header e Logo Container
   ========================================= */
header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container { 
    position: relative;
    width: 100%;
    height: 350px; 
    background-color: transparent; 
    overflow: hidden; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    opacity: 0.3;
    z-index: 1;
    object-fit: contain;
}

.logo-left {
    position: absolute;
    top: 50%;
    left: 2%; 
    transform: translateY(-50%);
    height: 40%;
    z-index: 2;
    object-fit: contain;
}

.mascot-right {
    position: absolute;
    bottom: -10px; 
    right: 2%;
    height: 90%; 
    z-index: 2;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-container { height: 200px; }
    .logo-left { left: 5%; height: 50%; }
    .mascot-right { right: 5%; height: 85%; }
}

/* =========================================
   Navegação e Menu Hambúrguer
   ========================================= */
.navbar {
    width: 100%;
    background-color: var(--color-brown);
    padding: 10px 0;
    position: relative; /* Necessário para posicionar o menu dropdown no mobile */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px 20px;
    align-items: flex-end;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    transition: 0.3s;
    border-radius: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover { 
    color: var(--color-honey); 
}

.btn-pedir {
    background-color: var(--color-orange);
    padding: 2px 10px;
    border-radius: 4px;
}

/* Responsividade do Menu */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none; /* Escondido por padrão no mobile */
        flex-direction: column;
        width: 100%;
        background-color: var(--color-brown);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        padding: 0 0 20px 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex; /* Exibido quando ativo */
    }
}

.honey-drip {
    width: 100%;
    height: 50px; 
    background-image: url('../assets/pngwing.com.png');
    background-repeat: repeat-x; 
    background-size: auto 100%; 
    background-position: top center;
    background-color: transparent; 
}

/* =========================================
   Sessões de Conteúdo
   ========================================= */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Alteração exigida: Opacidade de 0.6 aplicada pelo canal alpha (RGBA) */
.alt-bg {
    background-color: rgba(255, 250, 240, 0.6);
    max-width: 100%;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

h2 {
    color: var(--color-orange);
    margin-bottom: 30px;
    font-size: 2rem;
}

.grid-gallery, .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.grid-gallery img { width: 100%; border-radius: 8px; object-fit: cover; }
.card { background: var(--color-white); border: 2px solid var(--color-honey); border-radius: 8px; padding: 20px; }

.split-section { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.split-section > div { flex: 1; min-width: 300px; text-align: left; }

.carousel { overflow: hidden; width: 100%; padding: 20px 0; white-space: nowrap; position: relative; }
.carousel-track { display: inline-block; animation: marquee 20s linear infinite; }
.carousel-track img { height: 80px; margin: 0 40px; vertical-align: middle; }

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

.product-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 30px; }
.product-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; }

@media (max-width: 768px) {
    .product-gallery { grid-template-columns: repeat(2, 1fr); }
    .product-gallery img { height: 150px; }
}

/* =========================================
   Footer e Botão Flutuante
   ========================================= */
footer {
    background-color: var(--color-brown);
    color: var(--color-white);
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.footer-content { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; max-width: 1200px; margin: 0 auto; }
footer a { color: var(--color-orange); text-decoration: none; }
.tech-credit { width: 100%; margin-top: 20px; font-size: 12px; color: #ccc; }

/* Botão Flutuante Oculto por Padrão */
.btn-floating {
    position: fixed;
    right: 20px;
    bottom: 20px; /* Será manipulado via JS para não invadir o footer */
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, bottom 0.1s linear;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.btn-floating:hover {
    transform: scale(1.05);
    background-color: var(--color-honey);
}

.btn-floating.visible {
    opacity: 1;
    visibility: visible;
}