/* ============================================
   INDEX PAGE (HOME) STYLES - PizzaDelivery
   Extraído de: index.php
   ============================================ */

/* Fonte Inter carregada via <link> no HTML */

* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: #f0f2f5;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* HEADER */
.header-site {
    background: linear-gradient(135deg, #E53935, #C62828);
    padding: 20px 16px 16px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-site .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-site h1 {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

.header-site h1 i {
    margin-right: 8px;
}

.header-site .subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.header-site .badge-delivery {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* CONTEÚDO PRINCIPAL */
.main-content {
    padding: 16px;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 80px;
}

/* BANNER PROMOÇÃO */
.banner-promo {
    background: linear-gradient(135deg, #FF6F00, #F57C00);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    border: 2px solid #FFD54F;
}

.banner-promo::before {
    content: '🎉';
    position: absolute;
    right: -10px;
    top: -20px;
    font-size: 80px;
    opacity: 0.15;
}

.banner-promo .promo-tag {
    background: #FFD54F;
    color: #E65100;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    display: inline-block;
}

.banner-promo .promo-title {
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 4px;
}

.banner-promo .promo-desc {
    font-size: 13px;
    opacity: 0.9;
}

/* CARDS DE OPÇÕES */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.option-card {
    background: white;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-card:active {
    transform: scale(0.97);
}

.option-card .icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.option-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.option-card p {
    font-size: 11px;
    color: #999;
    margin: 0;
    line-height: 1.3;
}

.option-card .badge-new {
    background: #E53935;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 6px;
}

.option-card.primary {
    border-color: #E53935;
    background: #FFF5F5;
}

.option-card.primary .icon {
    color: #E53935;
}

.option-card.promo-card {
    border-color: #FF6F00;
    background: #FFF8E1;
}

.option-card.promo-card .icon {
    color: #FF6F00;
}

.option-card.montar-card {
    border-color: #2E7D32;
    background: #E8F5E9;
}

.option-card.montar-card .icon {
    color: #2E7D32;
}

/* SEÇÃO DE PROMOÇÕES */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #E53935;
}

.promo-item {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.promo-item .promo-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.promo-item .promo-info {
    flex: 1;
}

.promo-item .promo-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}

.promo-item .promo-info p {
    font-size: 12px;
    color: #757575;
    margin: 2px 0 0;
}

.promo-item .promo-badge {
    background: #E53935;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
}

.promo-item .promo-badge.green {
    background: #2E7D32;
}

.promo-item .promo-badge.orange {
    background: #FF6F00;
}

/* BOTÃO FLUTUANTE WHATSAPP */
.btn-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    border: none;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-whatsapp:active {
    transform: scale(0.9);
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item {
    text-align: center;
    padding: 8px;
}

.feature-item i {
    font-size: 22px;
    color: #E53935;
    margin-bottom: 4px;
    display: block;
}

.feature-item span {
    font-size: 10px;
    color: #666;
    font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 480px) {
    .options-grid {
        gap: 10px;
    }
    
    .option-card {
        padding: 16px 12px;
        min-height: 120px;
    }
    
    .option-card .icon {
        font-size: 30px;
    }
    
    .option-card h3 {
        font-size: 13px;
    }
    
    .banner-promo .promo-title {
        font-size: 16px;
    }
    
    .main-content {
        padding: 12px;
    }
}

@media (max-width: 360px) {
    .option-card {
        padding: 12px 8px;
        min-height: 100px;
    }
    
    .option-card .icon {
        font-size: 24px;
    }
    
    .option-card h3 {
        font-size: 12px;
    }
    
    .features {
        grid-template-columns: repeat(3, 1fr);
        padding: 12px;
    }
}

/* ANIMAÇÃO */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* ESTILO DO MODAL */
.modal-content {
    border-radius: 16px;
    border: none;
}

.modal-header {
    border-bottom: 2px solid #f0f0f0;
    padding: 16px 20px;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 18px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 2px solid #f0f0f0;
    padding: 16px 20px;
}




/* ============================================= */
/* ÍCONES - OPÇÃO 2: SEM FUNDO */
/* ============================================= */
.option-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.option-card:hover .option-icon {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 16px rgba(211, 47, 47, 0.2));
}

@media (max-width: 480px) {
    .option-icon {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 769px) {
    .option-icon {
        width: 100px;
        height: 100px;
    }
}