/* ============================
   BASE
============================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #3c005a !important; /* Roxo padrão geral */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 12px;
}

/* Caixa principal */
.card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 18px 16px 20px;
}

/* ============================
   MENU SUPERIOR FIXO
============================ */

.navbar {
    position: sticky;
    top: 0;
    z-index: 200;

    background: linear-gradient(180deg, #7a00c8, #3c005a); /* Roxo com brilho */
    backdrop-filter: blur(6px);

    padding: 14px 12px 18px;

    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;

    border-radius: 18px 18px 18px 18px; /* Cantos arredondados */
    border: 2px solid rgba(255,255,255,0.18);

    box-shadow:
        0 4px 14px rgba(0,0,0,0.25),
        0 2px 3px rgba(255,255,255,0.15) inset;
}

/* Botões do Menu */
.nav-btn {
    border: none;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;

    background: #ffcc00;
    color: #4a005f;
    font-weight: 600;

    text-decoration: none;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-btn:hover {
    background: #ffe680;
}

.nav-btn.active {
    background: #ffffff;
    color: #4a005f;
}

/* Linha separadora entre menu e conteúdo */
.hr-separador {
    height: 10px;
    background: #6b00c8;
    border-radius: 8px;
    margin: 20px 0 26px;
}

/* ============================
   GALERIA DE SABORES
============================ */

.galeria-sabores {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Card do sabor */
.sabor-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.10);
}

/* Imagem */
.sabor-card img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    padding: 4px;
}

/* ============================
   OVERLAY SOBRE A IMAGEM
============================ */

.sabor-overlay {
    position: absolute;
    top: 70px;
    left: 16px;
    z-index: 10;
    text-align: left;
}

.sabor-overlay .nome {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;

    -webkit-text-stroke: 2px #000;
    text-shadow:
        -2px -2px 6px rgba(0,0,0,0.7),
         2px -2px 6px rgba(0,0,0,0.7),
        -2px  2px 6px rgba(0,0,0,0.7),
         2px  2px 6px rgba(0,0,0,0.7);
}

.sabor-overlay .preco {
    font-size: 1.5rem;
    font-weight: 900;
    color: #7CFC00;

    -webkit-text-stroke: 1px #000;
    text-shadow:
        -1px -1px 4px rgba(0,0,0,0.8),
         1px -1px 4px rgba(0,0,0,0.8),
        -1px  1px 4px rgba(0,0,0,0.8),
         1px  1px 4px rgba(0,0,0,0.8);
}

/* Descrição */
.sabor-desc {
    padding: 12px;
    font-size: 0.85rem;
    color: #444;
    text-align: center;
}

/* ============================
   RESPONSIVIDADE PARA DESKTOP
============================ */

@media (min-width: 768px) {

    body {
        padding-top: 80px !important;
    }

    .card {
        max-width: 600px !important;
        margin-bottom: 80px !important;
        border-radius: 22px !important;
        box-shadow: 0 0 35px rgba(0,0,0,0.15) !important;
    }

    .galeria-sabores {
        gap: 24px !important;
    }

    .sabor-card img {
        max-width: 90% !important;
        margin: auto;
    }
}
