/* ===== VARIÁVEIS E ESTILOS GLOBAIS ===== */
:root {
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --accent-color: #D2691E;
    --text-color: #4A4A4A;
    --light-bg: #FFF8DC;
    --white: #FFF8DC;
    --warm-accent: #FFB6C1;
}

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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

section {
    width: 100%;
    margin: 0;
    padding: 3rem 0;
    overflow: hidden;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    margin-top: 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar.fixed {
    position: fixed;
    top: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo img {
    height: 85px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #d4b28f;
}

.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    z-index: 1001;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(139, 69, 19, 0.7), rgba(222, 184, 135, 0.7));
    z-index: -2;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
}

/* ===== SOBRE SECTION ===== */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sobre-texto p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.sobre-video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: auto;
}

/* ===== MENU SECTION ===== */
.menu {
    background: var(--light-bg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-item {
    display: block;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover img {
    transform: scale(1.03);
}

.menu-item h3 {
    padding: 1.5rem;
    padding-bottom: 0;
    color: var(--primary-color);
    margin: 0;
    position: relative;
    z-index: 2;
}

.menu-item p {
    padding: 1.5rem;
    padding-top: 0.5rem;
    margin: 0;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}

/* ===== SERVIÇOS SECTION ===== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servico-item {
    display: block;
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.servico-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.servico-item:hover i {
    transform: scale(1.1);
}

.servico-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.servico-item:hover h3 {
    color: var(--accent-color);
}

.servico-item p {
    color: var(--text-color);
    margin: 0;
}

/* ===== CONTATO SECTION ===== */
.contato {
    background: var(--light-bg);
    padding: 2.5rem 0;
}

.bg-contatos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.contato-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contato-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
    min-height: 220px;
}

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

.contato-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.contato-icon.whatsapp {
    background: #25D366;
}

.contato-icon.instagram {
    background: #E4405F;
}

.contato-icon.email {
    background: #4A4A4A;
}

.contato-icon.location {
    background: #4267B2;
}

.contato-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.contato-card h3 {
    color: #8B4513;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.contato-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.contato-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--light-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    font-size: 0.9rem;
    border: 1px solid var(--secondary-color);
}

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

.contato-card p.single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    max-width: 200px;
}

/* ===== COLABORADORES SECTION ===== */
.bg-colaboradores {
    background-color: var(--light-bg);
}

.bg-colaboradores h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.colaboradores-container {
    background-color: var(--light-bg);
    padding-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.colaboradores-container .card {
    background:var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    width: 150px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.colaboradores-container .card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.colaboradores-container .card:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.colaboradores-container .card:hover img {
    transform: scale(1.2);
}

.colaboradores-container .card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
}

/* ===== FOOTER ===== */
.footer {
    color: var(--text-color);
    padding: 2rem 0;
    position: relative;
    background-color: var(--footer-bg-color, #f8f9fa);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 75px;
    object-fit: contain;
}

.footer-legal {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.footer-legal h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-legal a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-inspiration h4 {
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.copyright h4 {
    font-size: 0.9rem;
    color: var(--text-color-light, #666);
    font-weight: 400;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== CONTROLE DE MÚSICA ===== */
#youtube-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none; /* Impede qualquer interação com o iframe invisível */
    z-index: -1;
}

.music-control-suggestion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background-color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.music-control-suggestion:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.2);
}

.music-control-suggestion .music-info {
    background: none;
    padding: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.music-control-suggestion .song-name {
    transition: opacity 0.3s ease;
}

.music-control-suggestion .music-toggle {
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.music-control-suggestion .music-toggle:hover {
    transform: scale(1.1);
}

.music-control-suggestion .music-toggle i {
    color: var(--white);
    font-size: 1.2rem;
    position: absolute; /* Para sobrepor os ícones */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Lógica de visibilidade dos ícones Play/Pause */
.music-toggle .fa-pause {
    opacity: 0;
    transform: scale(0.7);
}

.music-toggle.playing .fa-play {
    opacity: 0;
    transform: scale(0.7);
}

.music-toggle.playing .fa-pause {
    opacity: 1;
    transform: scale(1);
}

/* Overlay de Início */
.music-start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Começa escondido */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.music-start-overlay.visible {
    display: flex;
    opacity: 1;
}

.music-start-content {
    text-align: center;
    color: white;
    padding: 40px;
    border-radius: 18px;
    background: rgba(139, 69, 19, 0.95);
    transform: scale(0.95);
    transition: all 0.3s ease;
    max-width: 90%;
    width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.music-start-overlay:hover .music-start-content {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.music-start-content i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.music-start-content p {
    font-size: 1.3rem;
    margin: 0;
    color: var(--white);
    line-height: 1.6;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* ===== BOTÕES ===== */
.cta-button, .comprar-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.cta-button:hover, .comprar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.ver-mais-container {
    text-align: center;
    margin-top: 0px;
    padding: 20px;
}

.ver-mais-container .ver-mais-btn {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 1rem;
    width: auto;
    padding: 0.8rem 2rem;
}

.ver-mais-btn {
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}

/* ===== CATÁLOGO SECTION ===== */
.catalogo {
    background: var(--light-bg);
    padding: 0px 0;
}

.catalogo-completo {
    padding: 3rem 0;
}

.catalogo-completo h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.catalogo-descricao {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-items: center; /* Centraliza os itens horizontalmente */
}

.produto-card {
    display: flex;
    flex-direction: column;
    height: 600px;
    position: relative;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(222, 184, 135, 0.3);
    width: 100%; /* Altere de 300px para 100% */
    max-width: 300px; /* Adicione esta linha para limitar a largura */
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
    border-color: var(--secondary-color);
}

.produto-imagem {
    background-color: #ffffff;
    position: relative;
    height: 300px;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.produto-info {
    flex-grow: 1;
    padding: 1.5rem;
    padding-bottom: 85px;
    position: relative;
    overflow: hidden;
}

.produto-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.produto-info p {
    white-space: normal;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.4;
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
}

.produto-detalhes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

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

.peso, .capacidade, .quantidade {
    font-size: 0.9rem;
    color: #666;
    background: var(--light-bg);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.comprar-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comprar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

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

.filtro-btn {
    padding: 12px 24px;
    border: 2px solid #4a4a4a;
    background: transparent;
    color: #4a4a4a;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filtro-btn.ativo,
.filtro-btn:hover {
    background: #4a4a4a;
    color: white;
}

.ver-mais-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem);
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    z-index: 2;
}

.ver-mais-btn:hover {
    background-color: var(--accent-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 80px 2rem 2rem;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease-in-out;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }
    .nav-links li:nth-child(6) { transition-delay: 0.6s; }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

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

    .menu-btn {
        display: block;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .sobre-video {
        width: 100%;
        margin-top: 2rem;
    }

    .contato-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-legal {
        margin: 1rem 0;
    }
    
    .social-links {
        justify-content: center;
    }

    .produto-card {
        height: auto;
        min-height: 550px;
    }
    
    .produto-info {
        padding-bottom: 75px;
    }
    
    .ver-mais-btn {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 1rem;
        width: 100%;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .contato-cards {
        grid-template-columns: 1fr;
    }

    .menu-grid, .servicos-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .music-control-suggestion {
        flex-direction: column;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .music-control-suggestion .music-info {
        font-size: 1rem;
    }
    
    .music-start-content {
        padding: 25px 15px;
    }

    .produto-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .produto-info p {
        -webkit-line-clamp: 3;
    }

    .filtros {
        flex-direction: column;
        align-items: center;
    }
}

/* Otimizações para dispositivos touch */
@media (hover: none) {
    .nav-links a:hover::after {
        width: 0;
    }

    .menu-item:hover,
    .servico-item:hover {
        transform: none;
    }
}