/* --- RESET & VARIÁVEIS --- */
:root {
    --primary: #ff6b00; /* Laranja principal */
    --blue-header: #0044cc;
    --blue-dark: #0033a0;
    --bg-app: #f2f4f8; /* Fundo claro */
    --white: #ffffff;
    --text: #333333;
    --border-color: #ddd;
    --radius: 12px; 
    --shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: #eef1f5; 
    font-family: 'Inter', sans-serif;
    color: var(--text);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* --- CONTAINER MÓVEL --- */
.app-container {
    width: 100%;
    max-width: 480px; 
    background: var(--bg-app);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    overflow-x: hidden;
    padding-bottom: 20px;
}

/* --- HEADER AZUL --- */
.main-header {
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-header) 100%);
    padding: 20px 20px 40px 20px; 
    border-bottom-left-radius: 30px; 
    border-bottom-right-radius: 30px;
    color: var(--white);
    position: relative;
}
.header-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.logo { font-size: 22px; font-weight: 800; }
.logo span { color: var(--primary); font-style: italic; }
.user-btn { background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-weight: 500; }

/* Banners Topo */
.header-banners { overflow: hidden; border-radius: 16px; margin-bottom: 20px; height: 160px; background: #eee; box-shadow: var(--shadow); position: relative; }
.banner-track { display: flex; width: 100%; height: 100%; }
.banner-track img { width: 100%; min-width: 100%; height: 100%; object-fit: cover; cursor: pointer; }

/* --- CONTEÚDO PRINCIPAL --- */
.content-area { padding: 0 20px; margin-top: -30px; position: relative; z-index: 10; }

/* Serviço Cards */
.services-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.service-card { background: var(--white); padding: 20px 15px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; }
.service-card.active { border-color: var(--primary); background: #fff8f2; }
.icon-box { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 8px; }
.moto { background: #ffeadd; color: var(--primary); }
.delivery { background: #e0eaff; color: var(--blue-header); }

/* CTA */
.cta-wrapper { position: relative; text-align: center; margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }
.btn-chamada { width: 100%; max-width: 280px; background: linear-gradient(135deg, #ff8c00, #ff6b00); color: white; border: none; padding: 18px; border-radius: 50px; font-size: 18px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4); position: relative; z-index: 2; }
.pulse-anim { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; max-width: 280px; height: 60px; border-radius: 50px; border: 2px solid var(--primary); opacity: 0.6; animation: pulse 2s infinite; z-index: 1; }
@keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; } 100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; } }

/* Banner Destaque e Grid */
.banner-slot-destaque { margin-bottom: 30px; height: 120px; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.partners-section h3 { font-size: 16px; margin-bottom: 15px; color: var(--text); }
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.partner-slot { height: 100px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: 0 2px 5px rgba(0,0,0,0.05); cursor: pointer; }
.partner-slot img { width: 100%; height: 100%; object-fit: cover; }

/* Modais e Dropdowns */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-body { background: white; width: 90%; max-width: 340px; padding: 30px 25px; border-radius: 24px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.inp-clean { width: 100%; padding: 16px; margin: 8px 0; border: 1px solid #e0e0e0; border-radius: 12px; font-size: 16px; outline: none; }
.btn-block { width: 100%; padding: 16px; border: none; border-radius: 12px; font-weight: bold; margin-top: 15px; cursor: pointer; font-size: 16px; }
.btn-block.primary { background: var(--primary); color: white; }
.btn-block.text { background: transparent; color: #888; margin-top: 5px; font-size: 14px; }
.hidden { display: none !important; }
.pwa-banner { background: var(--primary); color: white; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dropdown { position: absolute; top: 45px; right: 0; background: white; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); z-index: 50; }
.dropdown a { padding: 10px 15px; display: block; text-decoration: none; color: var(--text); border-bottom: 1px solid #eee; }