:root{--primary:#ea1d2c;--primary-dark:#c41522;--ink:#202124;--muted:#667085;--bg:#f7f7f8;--surface:#fff;--surface-2:#f2f4f7;--border:#e5e7eb;--success:#159947;--warning:#d97706;--danger:#d92d20;--radius:18px;--shadow:0 12px 36px rgba(16,24,40,.08)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.hidden,[hidden]{display:none!important}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,520px) 1fr}.auth-card{background:var(--surface);padding:42px clamp(24px,5vw,68px);display:flex;flex-direction:column;justify-content:center}.brand{display:flex;align-items:center;gap:12px;margin-bottom:32px}.brand-mark{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--primary),#ff7a59);display:grid;place-items:center;color:#fff;font-size:24px;font-weight:900}.brand small{display:block;color:var(--muted)}h1,h2,h3,p{margin-top:0}.auth-card h1{font-size:34px;margin-bottom:8px}.lead{color:var(--muted);line-height:1.6;margin-bottom:28px}.auth-form{display:grid;gap:16px}.field{display:grid;gap:7px;font-weight:700;font-size:13px}.field input,.field select,.field textarea,.search-input{width:100%;border:1px solid var(--border);border-radius:12px;padding:13px 14px;background:#fff;outline:none}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(234,29,44,.1)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.span-2{grid-column:1/-1}.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--surface-2);color:var(--ink);border:1px solid var(--border)}.btn-ghost{background:transparent;color:var(--muted)}.btn-danger{background:#fff0f1;color:var(--danger)}.form-error{min-height:20px;color:var(--danger);font-size:13px;font-weight:700}.auth-footer{text-align:center;margin-top:18px;color:var(--muted)}.auth-footer a{color:var(--primary);font-weight:800}.auth-visual{background:linear-gradient(135deg,#171717,#3b0d12 55%,#ea1d2c);padding:56px;color:#fff;display:flex;align-items:flex-end}.auth-visual-card{max-width:620px}.auth-visual h2{font-size:48px;line-height:1.05}.feature-chips{display:flex;flex-wrap:wrap;gap:10px}.feature-chips span{padding:10px 14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px}.demo-box{padding:12px;border:1px dashed #f3b1b8;background:#fff7f7;border-radius:12px;color:#8b1821;font-size:13px}.app-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid var(--border)}.header-inner{max-width:1240px;margin:auto;height:76px;padding:0 22px;display:flex;align-items:center;gap:18px}.header-search{flex:1;max-width:620px;position:relative}.header-search input{padding-left:42px}.header-search span{position:absolute;left:14px;top:12px}.header-actions{display:flex;align-items:center;gap:8px}.header-actions .btn{padding:10px 12px}.app-main{max-width:1240px;margin:auto;padding:26px 22px 90px}.hero{background:linear-gradient(120deg,#171717,#3e0b10 55%,var(--primary));color:#fff;border-radius:26px;padding:32px;display:grid;grid-template-columns:1.3fr .7fr;gap:20px;align-items:center;box-shadow:var(--shadow)}.hero h1{font-size:38px;margin-bottom:10px}.hero p{color:#f5dfe1;max-width:630px;line-height:1.6}.hero-badge{display:grid;place-items:center;font-size:100px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:32px 0 16px}.section-head p{color:var(--muted);margin:5px 0 0}.filters{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.filter-chip{border:1px solid var(--border);background:var(--surface);padding:9px 13px;border-radius:999px;white-space:nowrap;font-weight:700;color:var(--muted)}.filter-chip.active{background:#fff0f1;border-color:#f8b7bd;color:var(--primary)}.restaurant-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.restaurant-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 5px 20px rgba(16,24,40,.04);transition:.2s}.restaurant-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.restaurant-cover{height:140px;background:linear-gradient(135deg,#ffe7e9,#fff4df);display:grid;place-items:center;font-size:58px;position:relative}.premium-tag{position:absolute;top:12px;left:12px;background:#1f2937;color:#ffd66b;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.restaurant-content{padding:16px}.restaurant-title{display:flex;gap:12px;align-items:center}.restaurant-logo{width:48px;height:48px;border-radius:14px;background:#fff0f1;display:grid;place-items:center;font-size:24px;overflow:hidden}.restaurant-logo img{width:100%;height:100%;object-fit:cover}.restaurant-title h3{margin:0 0 4px;font-size:17px}.restaurant-title p{margin:0;color:var(--muted);font-size:12px}.restaurant-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin:14px 0}.restaurant-card .btn{width:100%}.empty-state{background:var(--surface);border:1px dashed var(--border);border-radius:16px;padding:36px;text-align:center;color:var(--muted)}.overlay{position:fixed;inset:0;background:rgba(16,24,40,.55);z-index:80;display:none}.overlay.open{display:block}.restaurant-modal{position:fixed;inset:4vh max(3vw,24px);z-index:90;background:var(--surface);border-radius:22px;overflow:hidden;display:none;box-shadow:0 26px 90px rgba(0,0,0,.28)}.restaurant-modal.open{display:grid;grid-template-columns:1fr 380px}.modal-catalog{overflow:auto}.catalog-header{position:relative;min-height:190px;background:linear-gradient(135deg,#1f1f1f,#7b121d);color:#fff;padding:28px}.catalog-header .close{position:absolute;right:18px;top:18px;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:23px}.catalog-header h2{font-size:32px;margin-top:45px}.catalog-header p{color:#ffe3e6}.catalog-body{padding:22px}.menu-category{margin-bottom:26px}.menu-category h3{font-size:20px}.menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.menu-item{border:1px solid var(--border);border-radius:14px;padding:14px;display:flex;gap:12px;min-height:128px}.menu-item-info{flex:1}.menu-item h4{margin:0 0 6px}.menu-item p{font-size:12px;line-height:1.45;color:var(--muted)}.menu-price{font-weight:900}.menu-item .btn{padding:8px 10px;margin-top:9px}.menu-thumb{width:92px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;font-size:30px;overflow:hidden}.menu-thumb img{width:100%;height:100%;object-fit:cover}.cart-panel{border-left:1px solid var(--border);display:flex;flex-direction:column;min-width:0}.cart-head{padding:20px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.cart-head h3{margin:0}.cart-items{padding:16px;overflow:auto;flex:1}.cart-item{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 0;border-bottom:1px solid var(--border)}.cart-item h4{margin:0 0 4px;font-size:14px}.quantity{display:flex;align-items:center;gap:8px}.quantity button{width:28px;height:28px;border-radius:8px;border:1px solid var(--border);background:#fff}.cart-summary{border-top:1px solid var(--border);padding:18px;display:grid;gap:10px}.summary-row{display:flex;justify-content:space-between;color:var(--muted)}.summary-row.total{font-size:18px;color:var(--ink);font-weight:900}.checkout{position:fixed;inset:8vh max(12vw,24px);z-index:100;background:var(--surface);border-radius:22px;display:none;grid-template-columns:1fr 360px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.3)}.checkout.open{display:grid}.checkout-main{padding:28px;overflow:auto}.checkout-side{background:var(--surface-2);padding:24px;overflow:auto}.checkout-section{border:1px solid var(--border);border-radius:16px;padding:18px;margin-bottom:14px}.checkout-section h3{margin-bottom:12px}.address-card,.payment-option{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--border);border-radius:12px;margin-top:8px;background:#fff}.payment-option input,.address-card input{margin-top:3px}.orders-panel{position:fixed;right:18px;top:86px;bottom:18px;width:min(430px,calc(100vw - 36px));background:var(--surface);z-index:70;border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow);display:none;overflow:auto;padding:18px}.orders-panel.open{display:block}.order-history-card{border:1px solid var(--border);border-radius:14px;padding:14px;margin-bottom:10px}.order-history-head{display:flex;justify-content:space-between}.order-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#fff3cd;color:#8a5c00;font-size:11px;font-weight:900;text-transform:capitalize}.order-status.concluido{background:#e8f7ef;color:var(--success)}.order-status.cancelado{background:#fff0f1;color:var(--danger)}.toast-container{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:10px}.toast{background:#202124;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:var(--shadow)}.toast.success{background:#126b39}.toast.error{background:#9f1d20}@media(max-width:980px){.auth-page{grid-template-columns:1fr}.auth-visual{display:none}.restaurant-grid{grid-template-columns:repeat(2,1fr)}.restaurant-modal.open{inset:0;display:block;border-radius:0;overflow:auto}.cart-panel{border:0}.menu-list{grid-template-columns:1fr}.checkout.open{inset:0;display:block;border-radius:0;overflow:auto}}@media(max-width:640px){.grid-2{grid-template-columns:1fr}.span-2{grid-column:auto}.header-inner{height:auto;padding:12px;flex-wrap:wrap}.header-search{order:3;flex-basis:100%}.app-main{padding:18px 12px 90px}.hero{grid-template-columns:1fr;padding:24px}.hero h1{font-size:29px}.hero-badge{display:none}.restaurant-grid{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.auth-card{padding:30px 20px}.auth-card h1{font-size:28px}.menu-item{min-height:auto}.menu-thumb{width:76px}.checkout-main,.checkout-side{padding:18px}.header-actions .btn span{display:none}}
