/* ========================================================= */
/* === 1. ESTILOS GERAIS E BASE (BODY, HTML) === */
/* ========================================================= */
body {
    background-color: #222;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os blocos principais */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* Container principal que agrupa elementos lado a lado */
.content-section-with-side-images {
    display: flex; /* Usa flexbox para organizar os elementos lado a lado */
    align-items: center; /* Alinha os itens verticalmente no centro */
    width: 100%; /* Ocupa a largura disponível */
    max-width: 1200px; /* Largura máxima para o layout geral */
    gap: 20px; /* Espaço entre o conteúdo principal e as imagens */
    margin-bottom: 20px; /* Adiciona espaço abaixo deste bloco */
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para as imagens laterais */
.side-image {
    flex-shrink: 0; /* Impede que as imagens encolham */
    width: 200px; /* Largura fixa para as imagens laterais */
    height: 251px; /* Altura definida para loja1.jpg (sua imagem) */
    object-fit: cover; /* Garante que a imagem cubra a área definida */
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(251, 236, 93, 0.6); /* Sombra similar */
}

/* Estilo para blocos de conteúdo suave (usado no Bem Vindo, Quem é Meltec, etc) */
.container-mais-suave {
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(251, 236, 93, 0.5);
    color: #e0d553;
    padding: 30px 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-sizing: border-box;
}

.container-mais-suave .container-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(251, 236, 93, 0.7);
}

.container-mais-suave p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: #ccc;
}

/* ========================================================= */
/* === 2. ESTILOS DE COMPONENTES (BOTÕES) === */
/* ========================================================= */

.btn-custom-warning {
    background-color: #FBEC5D; color: #222; padding: 10px 20px; border-radius: 5px;
    text-decoration: none; font-weight: bold; transition: background-color 0.3s ease;
    display: inline-block;
    margin-right: 15px;
}
.btn-custom-warning:hover { background-color: #e0d553; color: #222; }

.btn-custom-primary {
    background-color: #333; color: #FBEC5D; padding: 10px 20px; border-radius: 5px;
    text-decoration: none; font-weight: bold; transition: background-color 0.3s ease;
    border: 1px solid #FBEC5D;
    display: inline-block;
}
.btn-custom-primary:hover { background-color: #444; color: #FBEC5D; }

.mt-4 { margin-top: 20px !important; } /* Classe de margem básica */
.mt-3 { margin-top: 15px !important; } /* Classe de margem básica */

/* === ESTILOS ESPECÍFICOS PARA O BOTÃO DE CHAMADA (CTA) === */
.cta-button-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.cta-button {
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    background-color: #FBEC5D;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(251, 236, 93, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.cta-button:hover {
    background-color: #e0d357;
    box-shadow: 0 6px 20px rgba(251, 236, 93, 0.7);
    transform: translateY(-2px);
}

/* ========================================================= */
/* === 3. ESTILOS DE ELEMENTOS ESPECÍFICOS (CARROSSEL E IMAGENS) === */
/* ========================================================= */

/* === ESTILOS PARA O CARROSSEL VERTICAL === */
.container-carrossel-vertical {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(251, 236, 93, 0.8);
    color: #FBEC5D;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    flex-grow: 1;
    max-width: 600px;
}

.container-carrossel-vertical .container-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #FBEC5D;
}

.container-carrossel-vertical .container-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.4;
}

.carrossel-vertical-wrapper {
    height: 230px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    border: 1px solid #FBEC5D;
    border-radius: 8px;
}

.carrossel-vertical-list {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    animation: scrollVertical 60s linear infinite;
}

.carrossel-vertical-item {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 10px;
    border-bottom: 1px dashed rgba(251, 236, 93, 0.4);
    transition: background-color 0.3s ease;
    white-space: normal;
    line-height: 1.4;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrossel-vertical-item:last-child { border-bottom: none; }
.carrossel-vertical-item:hover { background-color: rgba(251, 236, 93, 0.2); color: #fff; }

@keyframes scrollVertical {
    0% { transform: translateY(0); }
    /* ATENÇÃO: Ajuste este valor se o número de itens ou a altura mudar. O valor foi aproximado */
    100% { transform: translateY(calc(-100% - 210px)); }
}

/* === ESTILOS DO BLOCO DE IMAGENS DE CATEGORIA === */
.container-imagens {
    text-align: center;
    padding: 20px 0;
    box-sizing: border-box;
    width: 100%;
}

.container-imagens .container-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(251, 236, 93, 0.7);
    color: #FBEC5D;
}

.imagens-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 990px;
    margin: 0 auto;
    padding: 0 15px;
}

.imagem-item {
    flex: 1 1 250px;
    min-width: 180px;
    margin: 0;
    text-align: center;
}

.imagem-item img {
    max-width: 100%;
    height: 200px; /* Altura fixa para as imagens */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(251, 236, 93, 0.6);
}

.imagem-item figcaption {
    margin-top: 10px;
    font-size: 1rem;
    color: #FBEC5D;
    line-height: 1.4;
}

.imagem-item figcaption small { font-size: 0.8rem; color: #ccc; }

/* ========================================================= */
/* === 4. ESTILOS DE CABEÇALHO E RODAPÉ (HEADER / FOOTER) === */
/* ========================================================= */

.site-header {
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    padding: 15px 0;
    color: #FBEC5D;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    box-sizing: border-box;
    overflow-x: hidden;
}
.site-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    /* Ajustado para acomodar a Logo, o Menu e o WhatsApp */
    display: flex; 
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.site-header .logo-and-name { display: flex; align-items: center; }
.site-header .site-logo { height: 40px; margin-right: 15px; }
.site-header .site-name { font-size: 1.5rem; font-weight: bold; text-shadow: 0 0 5px #FBEC5D; }

/* --- NOVOS ESTILOS DO MENU DE NAVEGAÇÃO --- */
.main-nav {
    flex-grow: 1; /* Permite que o menu ocupe o espaço central */
    margin: 0 20px; 
}
.nav-list {
    list-style: none; /* Remove marcadores de lista */
    padding: 0;
    margin: 0;
    display: flex; /* Alinha os itens lado a lado */
    justify-content: center; /* Centraliza o menu no espaço disponível */
    gap: 25px; /* Espaço entre os itens do menu */
}
.nav-item a {
    text-decoration: none; 
    color: #FBEC5D; /* Cor do texto do menu */
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap; /* Impede a quebra de linha dos itens (ajustado na media query) */
    display: inline-block;
    padding: 5px 0;
}
.nav-item a:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}
/* ------------------------------------------- */

/* Estilos para os links/botões (agora só resta o WhatsApp) */
.site-header .auth-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Estilos do Rodapé */
.site-footer {
    width: 100%;
    background-color: rgba(0,0,0,0.8);
    color: #FBEC5D;
    padding-top: 30px;
    padding-bottom: 20px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.5);
    margin-top: 20px;
    box-sizing: border-box;
    overflow-x: hidden;
}
.footer-custom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    gap: 20px;
    box-sizing: border-box;
}
.footer-column { flex: 1 1 250px; min-width: 200px; color: #FBEC5D; }
.site-footer h5 { margin-bottom: 15px; color: #FBEC5D; font-weight: bold; }
.site-footer p, .site-footer a { color: #ddd; font-size: 0.95rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Estilos de Redes Sociais no Rodapé */
.social-buttons {
    display: flex; gap: 15px; justify-content: flex-start; align-items: center; margin-top: 10px;
}
.social-buttons a {
    font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; color: white; transition: background-color 0.3s ease;
}
.social-buttons a.facebook { background-color: #3b5998; } .social-buttons a.facebook:hover { background-color: #2d4373; }
.social-buttons a.twitter { background-color: #1da1f2; } .social-buttons a.twitter:hover { background-color: #0d95e8; }
.social-buttons a.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); } .social-buttons a.instagram:hover { filter: brightness(0.85); }
.social-buttons a.linkedin { background-color: #0077b5; } .social-buttons a.linkedin:hover { background-color: #005983; }
.social-buttons a.youtube { background-color: #ff0000; } .social-buttons a.youtube:hover { background-color: #cc0000; }

.site-footer .text-center p { margin-top: 20px; font-size: 0.9rem; color: #bbb; }

/* ========================================================= */
/* === 5. ESTILOS DE MODAL E FORMULÁRIO (MANTENDO O TEMA MEL) === */
/* ========================================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding-top: 60px;
    box-sizing: border-box;
}

.modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #FBEC5D;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(251, 236, 93, 0.8);
    width: 90%;
    max-width: 500px;
    box-sizing: border-box;
    position: relative;
    text-align: center;
}

.modal-content .modal-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FBEC5D;
    text-shadow: 0 0 10px #FBEC5D;
}

.modal-content .modal-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #ccc;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.modal-form-group {
    margin-bottom: 15px;
    text-align: left;
}

.modal-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #FBEC5D;
}

.modal-form-group input[type="text"],
.modal-form-group input[type="email"],
.modal-form-group input[type="password"],
.modal-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FBEC5D;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FBEC5D;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.modal-form-group input::placeholder,
.modal-form-group textarea::placeholder {
    color: rgba(251, 236, 93, 0.7);
}

.modal-form-group input:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.modal-submit-button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
    background-color: #FBEC5D;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(251, 236, 93, 0.7);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 25px; /* Para separar do último campo */
}

.modal-submit-button:hover {
    background-color: #e0d357;
    box-shadow: 0 4px 15px rgba(251, 236, 93, 0.7);
    transform: translateY(-2px);
}

/* Botão de fechar do modal */
.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #FBEC5D;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
}

/* Estilos de links dentro do modal */
.modal-description a {
    color: #FBEC5D;
    text-decoration: none;
    margin: 0 5px;
}
.modal-description a:hover {
    text-decoration: underline;
}


/* === Estilos do WhatsApp (Fixos) === */

.whatsapp-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.7);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10000;
}
.whatsapp-button svg {
    filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.whatsapp-button:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 0 25px rgba(37, 211, 102, 1);
}

/* Posição no Cabeçalho (Relativo ao topo da tela) */
.header-whatsapp {
    top: 15px;
    left: 15px; /* Ajustado para não ficar no centro, mas no canto */
    width: 45px;
    height: 45px;
    z-index: 10000;
}

/* Posição no Rodapé (Relativo ao rodapé da tela) */
.footer-whatsapp {
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    z-index: 10000;
}

/* ========================================================= */
/* === 6. MEDIA QUERIES (RESPONSIVIDADE) === */
/* ========================================================= */

@media (max-width: 1050px) {
    /* Ajuste para telas entre 992px e 1050px, para o menu não quebrar */
    .nav-list {
        gap: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 992px) { /* Ajuste em telas médias */
    /* Empilha elementos de conteúdo */
    .content-section-with-side-images {
        flex-direction: column; 
    }
    .side-image {
        width: 150px;
        height: 200px;
        margin-bottom: 20px;
    }
    .side-image.left { display: none; } /* Oculta imagem da esquerda */
    .side-image.right { margin-bottom: 30px; }
    
    /* Configuração do Cabeçalho para Mobile */
    .site-header .header-container {
        flex-wrap: wrap; /* Permite a quebra de linha dos elementos */
        justify-content: center;
    }
    
    .site-header .logo-and-name {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        order: 1; /* Coloca a logo em primeiro */
    }
    
    .main-nav {
        order: 3; /* Coloca o menu por baixo da logo e do whatsapp */
        margin: 10px 0 0 0;
        width: 100%; /* Ocupa a largura toda */
    }
    .nav-list {
        flex-wrap: wrap; /* Permite que os links do menu quebrem linha */
        gap: 10px;
        justify-content: center;
    }
    
    .site-header .auth-links {
        order: 2; /* Coloca o WhatsApp (ícone) ao lado da logo se houver espaço, ou na próxima linha */
        width: auto;
    }
}

@media (max-width: 768px) { /* Ajuste em telas menores (smartphones) */
    /* ... (restante do seu media query mantido) ... */
    
    /* Carrossel Vertical */
    .container-carrossel-vertical { padding: 30px 15px; }
    .carrossel-vertical-wrapper { height: 160px; }
    .carrossel-vertical-item { font-size: 1rem; height: 53px; padding: 10px 8px; }
    .container-carrossel-vertical .container-title { font-size: 1.8rem; }
    .container-carrossel-vertical .container-subtitle { font-size: 0.9rem; }
    .carrossel-vertical-list {
        animation: scrollVertical 40s linear infinite;
    }
    @keyframes scrollVertical { 0% { transform: translateY(0); } 100% { transform: translateY(calc(-100% - 159px)); } }

    /* Footer */
    .footer-custom-grid { flex-direction: column; align-items: center; }
    .footer-column { min-width: 100%; text-align: center; }
    .social-buttons { justify-content: center; }

    /* Modal */
    .modal-content {
        margin: 10% auto;
        padding: 30px;
    }
    .modal-content .modal-title {
        font-size: 1.8rem;
    }
    .modal-submit-button {
        font-size: 1rem;
        padding: 10px;
    }
    .close-button {
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }

    /* WhatsApp */
    .header-whatsapp { top: 10px; left: 10px; width: 40px; height: 40px; }
    .footer-whatsapp { bottom: 10px; right: 10px; width: 50px; height: 50px; }
}