/* ===== TABELA NUTRICIONAL - ESTILOS ESPECÍFICOS ===== */

.pagina-tabela {
    background-color: #fafafa;
}

.tabela-nutricional-main {
    padding: 2rem 0 4rem;
}

/* Cabeçalho */
.tabela-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tabela-logo {
    max-width: 120px;
    margin-bottom: 1rem;
}

.tabela-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitulo {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.qr-info {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--secondary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.qr-info i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Barra de progresso */
.progress-container {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: sticky;
    top: 80px;
    z-index: 90;
    margin-bottom: 2rem;
    border-radius: 2px;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s ease;
}

/* Menu rápido */
.menu-rapido {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,132,61,0.1);
}

.menu-rapido h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.menu-rapido-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.menu-rapido-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,132,61,0.05);
}

.menu-rapido-item:hover {
    transform: translateY(-3px);
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,132,61,0.1);
}

.menu-rapido-item .emoji {
    font-size: 2rem;
}

.menu-rapido-item span:last-child {
    font-weight: 500;
    font-size: 0.9rem;
}

/* Alertas importantes */
.alertas-importantes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.alerta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.02);
}

.alerta i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alerta-aviso {
    border-left: 4px solid #ffc107;
}

.alerta-aviso i {
    color: #ffc107;
}

.alerta-info {
    border-left: 4px solid #17a2b8;
}

.alerta-info i {
    color: #17a2b8;
}

.alerta-sucesso {
    border-left: 4px solid #28a745;
}

.alerta-sucesso i {
    color: #28a745;
}

.alerta strong {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.alerta div {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Categorias */
.categoria-tabela {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

.categoria-emoji {
    font-size: 2.5rem;
}

.categoria-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
}

.categoria-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Cards de produtos */
.produto-card-tabela {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,132,61,0.1);
    transition: all 0.3s ease;
}

.produto-card-tabela:hover {
    box-shadow: 0 15px 30px rgba(0,132,61,0.1);
    border-color: var(--primary-color);
}

.produto-titulo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #eee;
}

.produto-titulo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.selos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.selo {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selo-gluten {
    background-color: #2196F3;
    color: white;
}

.selo-lactose {
    background-color: #9C27B0;
    color: white;
}

.selo-acucar {
    background-color: #FF9800;
    color: white;
}

.selo-vegano {
    background-color: #4CAF50;
    color: white;
}

.produto-info {
    margin-bottom: 1.5rem;
}

.produto-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.produto-info strong {
    color: var(--primary-color);
}

/* Tabelas nutricionais */
.tabela-nutricional-container {
    margin-top: 1.5rem;
}

.tabela-nutricional {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

.tabela-nutricional th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.8rem;
    text-align: left;
}

.tabela-nutricional td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid #e0e0e0;
}

.tabela-nutricional tr:last-child td {
    border-bottom: none;
}

.tabela-nutricional tr:nth-child(even) {
    background-color: white;
}

.vd-obs {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.5rem;
    text-align: right;
}

/* Tabela dupla (para produtos com dois tamanhos) */
.tabela-dupla {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.tabela-metade h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
}

.tabela-metade .tabela-nutricional {
    font-size: 0.9rem;
}

/* Botão voltar ao topo */
.voltar-topo {
    text-align: right;
    margin-top: 1rem;
}

.voltar-topo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: white;
    transition: all 0.3s ease;
}

.voltar-topo a:hover {
    background: var(--primary-color);
    color: white;
}

/* Rodapé da tabela */
.tabela-rodape {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--secondary-color);
}

.informacoes-legais {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.informacoes-legais p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.informacoes-legais i {
    color: var(--primary-color);
    width: 20px;
}

.contato-rapido {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contato-whatsapp, .voltar-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.contato-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

.voltar-home {
    background-color: var(--primary-color);
    color: white;
}

.voltar-home:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 992px) {
    .tabela-header h1 {
        font-size: 2rem;
    }
    
    .categoria-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .menu-rapido-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .produto-titulo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .selos {
        width: 100%;
    }
    
    .tabela-dupla {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tabela-nutricional {
        font-size: 0.85rem;
    }
    
    .alertas-importantes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .menu-rapido-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categoria-header {
        flex-wrap: wrap;
    }
    
    .categoria-badge {
        width: 100%;
        text-align: center;
    }
    
    .produto-card-tabela {
        padding: 1.5rem;
    }
    
    .contato-rapido {
        flex-direction: column;
        align-items: center;
    }
    
    .contato-whatsapp, .voltar-home {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Impressão */
@media print {
    header, footer, .menu-rapido, .qr-info, .progress-container, .voltar-topo, .contato-rapido {
        display: none !important;
    }
    
    .tabela-nutricional-main {
        padding: 0;
    }
    
    .produto-card-tabela {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc;
        box-shadow: none;
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .tabela-nutricional {
        background: white;
    }
    
    .tabela-nutricional th {
        background: #333 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* ===== MELHORIAS VISUAIS ===== */

/* Alerta importante - mais destacado */
.alerta-importante {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: linear-gradient(135deg, #fff8e7, #fff3d6);
    border: 1px solid #ffd966;
    border-left: 6px solid #f9a826;
    padding: 1.8rem 2rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 15px rgba(249, 168, 38, 0.12);
}

.alerta-importante i {
    font-size: 2.2rem;
    color: #f9a826;
    filter: drop-shadow(0 2px 4px rgba(249,168,38,0.3));
}

.alerta-importante strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #b85c00;
    font-size: 1.1rem;
}

.alerta-importante div {
    color: #7a4a00;
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Botões PDF - mais atraentes */
.pdf-download {
    margin-top: 1.8rem;
    text-align: right;
    border-top: 1px dashed #e0e0e0;
    padding-top: 1.5rem;
}

.btn-pdf {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dc3545;
    color: #dc3545;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.08);
}

.btn-pdf i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.btn-pdf:hover {
    background: linear-gradient(135deg, #dc3545, #bb2d3b);
    color: white;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(220, 53, 69, 0.2);
}

.btn-pdf:hover i {
    transform: translateY(-2px);
}

/* PDF Geral - card mais chamativo */
.pdf-geral-section {
    margin: 4rem 0 3rem;
}

.pdf-geral-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, #005C29 0%, #00843D 50%, #A6CE39 100%);
    padding: 2.8rem 3rem;
    border-radius: 30px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 92, 41, 0.25);
    position: relative;
    overflow: hidden;
}

.pdf-geral-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    pointer-events: none;
}

.pdf-geral-card::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 250px;
    height: 250px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.pdf-geral-icon {
    background: rgba(255,255,255,0.2);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.pdf-geral-icon i {
    font-size: 3.5rem;
    color: white;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.pdf-geral-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.pdf-geral-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pdf-geral-content p {
    margin-bottom: 1.2rem;
    opacity: 0.95;
    font-size: 1.1rem;
    line-height: 1.6;
}

.btn-pdf-grande {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem;
    background-color: white;
    color: #005C29;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border: 2px solid transparent;
}

.btn-pdf-grande i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-pdf-grande:hover {
    background-color: #A6CE39;
    color: #005C29;
    transform: translateY(-4px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.btn-pdf-grande:hover i {
    transform: translateY(-3px);
}

/* Badge para Sazonal */
.selo-sazonal {
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 8px rgba(255,20,147,0.3);
    animation: pulse-sazonal 2s infinite;
}

@keyframes pulse-sazonal {
    0% { box-shadow: 0 2px 8px rgba(255,20,147,0.3); }
    50% { box-shadow: 0 4px 16px rgba(255,20,147,0.6); }
    100% { box-shadow: 0 2px 8px rgba(255,20,147,0.3); }
}

/* Responsividade para os novos elementos */
@media (max-width: 768px) {
    .alerta-importante {
        padding: 1.5rem;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .pdf-geral-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .pdf-geral-icon {
        width: 70px;
        height: 70px;
    }
    
    .pdf-geral-icon i {
        font-size: 2.5rem;
    }
    
    .pdf-geral-content h3 {
        font-size: 1.8rem;
    }
    
    .btn-pdf-grande {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }
    
    .pdf-download {
        text-align: center;
    }
}
.logo-container {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
}