:root {
    --accent-color: #ff0080;
    --accent-gradient: linear-gradient(90deg, #FF0080, #7928CA);
}

/* --- REGRAS GERAIS --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* --- NOVAS CLASSES DE ANIMAÇÃO (REVEAL) --- */
.reveal {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.active-reveal {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.section-subtitle {
    color: var(--accent-color);
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-top: 10px;
}

.section-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

/* --- CARD ESTILO VITRINE --- */
.food-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), 
                background 0.5s ease, 
                border-color 0.5s ease, 
                box-shadow 0.5s ease;
    position: relative;
}

.food-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image-container {
    position: relative;
    padding: 15px;
}

.card-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.6s ease;
}

.food-card:hover .card-thumb {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 30px;
    left: 30px;
    background: var(--accent-gradient);
    color: #fff;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.3);
    z-index: 2;
}

.card-info {
    padding: 0 30px 30px 30px;
}

.card-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.card-info p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    height: 50px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expand-btn {
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- MODAL ESTRUTURA --- */

.modal, .modal * {
    box-sizing: border-box;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 10000;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #0f0f0f;
    width: 95%;
    max-width: 1100px;
    height: 85vh;
    border-radius: 40px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modal-body-wrapper {
    height: 100%;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    height: 100%;
}

.modal-header-side {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.modal-category {
    color: var(--accent-color);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.modal-title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
    color: #fff;
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    overflow-wrap: break-word; 
}

.modal-desc {
    color: #888;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1rem;
}

.modal-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px;
    background: var(--accent-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: 0.3s;
}

.modal-list-side {
    padding: 60px;
    overflow-y: auto;
    height: 100%;
    background: #0f0f0f;
}

.modal-list-side::-webkit-scrollbar { width: 6px; }
.modal-list-side::-webkit-scrollbar-track { background: transparent; }
.modal-list-side::-webkit-scrollbar-thumb { 
    background: var(--accent-color); 
    border-radius: 10px; 
}

.variant-label {
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 700;
}

.variants-list {
    display: grid;
    gap: 15px;
}

.variant-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.variant-card > div:not(.variant-img) {
    flex: 1;
    min-width: 0;
}

.variant-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(5px);
}

.variant-img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
}

/* --- AJUSTE PRINCIPAL DO PREÇO --- */
.variant-name {
    color: #fff;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 1.1rem;
    width: 100%;
}

/* preço responsivo */
.variant-name span,
.variant-price {
    white-space: nowrap;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--accent-color);
    font-weight: 800;
}

/* opcional: caso queira separar nome e preço melhor */
.variant-price {
    margin-left: auto;
    text-align: right;
}

/* --- descrição --- */
.variant-desc {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    font-size: 24px;
}

/* Responsividade */
@media (max-width: 992px) {
    .modal-content {
        height: 90vh;
        overflow-y: auto;
    }

    .modal-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .modal-header-side {
        height: auto;
        padding: 35px 20px;
    }

    .modal-list-side {
        height: auto;
        overflow-y: visible;
        padding: 30px 20px;
    }

    .variant-card {
        padding: 15px;
    }
}