/* --- 1. CONFIGURAÇÕES GERAIS E FUNDO --- */
body {
    background-color: #f1f5f9;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-family: 'Inter', sans-serif;
    position: relative;
}

/* Fundo com Grid e Brilho (Adaptável) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(30, 41, 59, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -2;
}

/* --- 2. BANNER ADMINISTRATIVO (RESPONSIVO) --- */
.admin-banner {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 6px solid #3b82f6;
    box-sizing: border-box;
}

.admin-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.admin-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #f1f5f9;
    margin: 0;
    flex: 1;
}

.admin-description {
    color: #94a3b8;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    flex: 1;
    text-align: right;
}

/* --- 3. CARROSSEL DE IMAGENS (PC E MOBILE) --- */
.carrossel-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

.imgg {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 5%; /* Padding lateral flexível */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.imgg::-webkit-scrollbar { display: none; }

.imgg img {
    flex: 0 0 220px; /* Largura no PC */
    height: 310px;
    object-fit: cover;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    scroll-snap-align: center;
}

/* --- 4. SETAS (DISPONÍVEIS APENAS NO PC) --- */
.seta-decorativa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #3b82f6;
    z-index: 25;
    pointer-events: none;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}
.seta-esq { left: 10px; animation: moverEsqMkt 1.5s infinite; }
.seta-dir { right: 10px; animation: moverDirMkt 1.5s infinite; }

@keyframes moverEsqMkt { 0%, 100% { transform: translate(0, -50%); opacity: 0.4; } 50% { transform: translate(-10px, -50%); opacity: 0.9; } }
@keyframes moverDirMkt { 0%, 100% { transform: translate(0, -50%); opacity: 0.4; } 50% { transform: translate(10px, -50%); opacity: 0.9; } }

/* --- 5. GRID DE CATEGORIAS --- */
.botoes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- 6. SEÇÃO DE CONVERSÃO (LINK DE COMPRA) --- */
.secao-conversao {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
}

.btn-marketing-direto {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background-color: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-marketing-direto:hover {
    background-color: #1d4ed8;
    transform: translateY(-4px);
}

/* --- 7. AJUSTES ESPECÍFICOS PARA TELEFONE (MOBILE) --- */
@media (max-width: 768px) {
    .admin-content {
        flex-direction: column;
        text-align: center;
    }

    .admin-description {
        text-align: center;
        margin-top: 10px;
    }

    .imgg {
        padding: 20px 10px; /* Menos espaço lateral no celular */
        gap: 15px;
    }

    .imgg img {
        flex: 0 0 180px; /* Imagens menores no celular para caber melhor */
        height: 250px;
    }

    .seta-decorativa {
        display: none; /* Esconde setas no celular (usa-se o dedo para arrastar) */
    }

    .btn-marketing-direto {
        width: 100%; /* Botão ocupa a largura total no celular */
        box-sizing: border-box;
        justify-content: center;
    }
}

/* --- 8. AJUSTE PARA PC (HOVER) --- */
@media (min-width: 769px) {
    .imgg img:hover {
        transform: translateY(-10px);
        filter: grayscale(0%);
        border: 1px solid #3b82f6;
    }
}