/* Fontes da marca hospedadas no próprio servidor (sem Google Fonts) */
@font-face{font-family:Archivo;font-style:normal;font-weight:700;font-display:swap;src:url(../vendor/fonts/archivo-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:700;font-display:swap;src:url(../vendor/fonts/archivo-latin-700-italic.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:800;font-display:swap;src:url(../vendor/fonts/archivo-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:800;font-display:swap;src:url(../vendor/fonts/archivo-latin-800-italic.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:normal;font-weight:900;font-display:swap;src:url(../vendor/fonts/archivo-latin-900-normal.woff2) format('woff2')}
@font-face{font-family:Archivo;font-style:italic;font-weight:900;font-display:swap;src:url(../vendor/fonts/archivo-latin-900-italic.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url(../vendor/fonts/manrope-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:500;font-display:swap;src:url(../vendor/fonts/manrope-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url(../vendor/fonts/manrope-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url(../vendor/fonts/manrope-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url(../vendor/fonts/manrope-latin-800-normal.woff2) format('woff2')}
/* ETice — identidade visual do painel (Bootstrap 5 + tokens da marca) */
:root {
  --et-lime: #A3E635;
  --et-lime-soft: #ECFCCB;
  --et-lime-ink: #3F6212;
  --et-green: #0B3B1E;
  --et-ink: #07110B;
  --et-ink-2: #0F2A17;
  --et-ink-line: #1C3324;
  --et-ice: #7DD3F0;
  --et-mist: #F3F7F1;
  --et-line: #E3EBDF;
  --et-text: #0B1A10;
  --et-muted: #4B5E52;
  --bs-body-font-family: Manrope, system-ui, sans-serif;
  --bs-body-color: var(--et-text);
  --bs-body-bg: var(--et-mist);
  --bs-primary: #3F6212;
  --bs-primary-rgb: 63, 98, 18;
  --bs-link-color: #14532D;
  --bs-link-hover-color: #0B3B1E;
  --bs-border-color: var(--et-line);
  --bs-border-radius: .75rem;
}
body { background: var(--et-mist); font-family: Manrope, system-ui, sans-serif; }
.font-display, h1, .h1 { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-style: italic; letter-spacing: -.01em; }
h2, .h2, h3, .h3, h4, .h4, h5, .h5 { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 800; }

/* Layout */
.et-shell { display: flex; min-height: 100vh; }
.et-sidebar { width: 264px; flex: none; background: var(--et-ink); color: #C9D8CD; padding: 18px 14px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto; transition: width .2s; }
.et-sidebar .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; padding: 0 6px; }
.et-sidebar .brand img { width: 46px; height: 48px; object-fit: contain; }
.et-sidebar .brand b { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-style: italic; font-size: 20px; display: block; line-height: 1; }
.et-sidebar .brand small { color: var(--et-lime); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.et-nav-group > span { display: block; padding: 0 12px 6px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8FA596; }
.et-nav a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 12px; color: #C9D8CD; text-decoration: none; font-weight: 600; font-size: 15px; }
.et-nav a:hover { background: var(--et-ink-2); color: #fff; }
.et-nav a.active { background: var(--et-lime); color: var(--et-ink); font-weight: 800; }
.et-nav a .bi { font-size: 18px; width: 20px; text-align: center; }
.et-nav a .count { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--et-lime); color: var(--et-ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.et-nav a.active .count { background: var(--et-ink); color: var(--et-lime); }
.et-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--et-ink-2); }
.et-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--et-lime); color: var(--et-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.et-main { flex: 1 1 auto; min-width: 0; padding: 24px 28px 48px; }
.et-collapsed .et-sidebar { width: 78px; }
.et-collapsed .et-sidebar .label, .et-collapsed .et-sidebar .brand span, .et-collapsed .et-nav-group > span, .et-collapsed .et-user .label, .et-collapsed .et-nav a .count { display: none; }
.et-topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.et-topbar h1 { font-size: 30px; margin: 0; }
.et-topbar .sub { color: var(--et-muted); font-size: 14px; }
@media (max-width: 991.98px) {
  .et-sidebar { position: fixed; z-index: 1040; left: -280px; transition: left .2s; }
  .et-menu-open .et-sidebar { left: 0; }
  .et-main { padding: 16px; }
}

/* Componentes */
.et-card { background: #fff; border: 1px solid var(--et-line); border-radius: 20px; padding: 22px; }
.et-card-dark { background: var(--et-ink); color: #fff; border-radius: 20px; padding: 22px; }
.et-kpi .label { font-size: 14px; font-weight: 700; color: var(--et-muted); }
.et-card-dark .label { color: #C9D8CD; }
.et-kpi .value { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 900; font-size: 30px; line-height: 1.1; }
.btn { border-radius: 12px; font-weight: 700; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-sm { min-height: 34px; border-radius: 9px; }
.btn-lime { background: var(--et-lime); color: var(--et-ink); border: 0; font-weight: 800; }
.btn-lime:hover, .btn-lime:focus { background: #8fd61f; color: var(--et-ink); }
.btn-ink { background: var(--et-ink); color: var(--et-lime); border: 0; font-weight: 800; }
.btn-ink:hover { background: #000; color: var(--et-lime); }
.btn-outline-ink { border: 1.5px solid var(--et-line); background: #fff; color: var(--et-text); }
.btn-outline-ink:hover { border-color: var(--et-ink); }
.form-control, .form-select { border-radius: 12px; min-height: 44px; border-color: #CBD8C5; }
.form-control:focus, .form-select:focus { border-color: #65A30D; box-shadow: 0 0 0 .2rem rgba(163, 230, 53, .35); }
.form-label { font-weight: 700; font-size: 14px; color: #2F4337; }
.table { --bs-table-bg: transparent; }
.table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--et-muted); font-weight: 800; border-bottom-width: 1px; }
.table td { vertical-align: middle; }
.et-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.et-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-aguardando-confirmacao { background: #FEF3C7; color: #92400E; }
.st-aguardando-pagamento { background: #FFEDD5; color: #9A3412; }
.st-pagamento-aprovado { background: #CCFBF1; color: #115E59; }
.st-confirmado { background: #DBEAFE; color: #1E40AF; }
.st-em-preparacao { background: #EDE9FE; color: #5B21B6; }
.st-pronto-retirada { background: #ECFCCB; color: #3F6212; }
.st-saiu-entrega { background: #E0F2FE; color: #075985; }
.st-entregue { background: #DCFCE7; color: #166534; }
.st-cancelado { background: #FEE2E2; color: #991B1B; }
.st-neutral { background: #F1F5F0; color: #2F4337; }
.et-channel { font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: #F4F8F1; color: #2F4337; }
.et-channel.ifood { background: #FEE2E2; color: #991B1B; }
.et-channel.aiqfome { background: #EDE9FE; color: #5B21B6; }

/* Kanban */
.et-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 10px; align-items: flex-start; }
.et-col { width: 270px; flex: none; background: #E9F0E5; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.et-col-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; padding: 2px 4px; }
.et-order-card { background: #fff; border: 1px solid var(--et-line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.et-order-card:hover { border-color: var(--et-lime); color: inherit; }
.et-order-card .num { font-family: Archivo, 'Arial Black', system-ui, sans-serif; font-weight: 800; font-size: 16px; }
.et-order-card .late { color: #9A3412; font-weight: 800; }

.et-flash { border-radius: 14px; border: 0; font-weight: 600; }
.et-mascot { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.et-map { height: 520px; border-radius: 18px; border: 1px solid var(--et-line); }
.et-empty { text-align: center; padding: 40px 16px; color: var(--et-muted); }
.et-empty img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.et-timeline { list-style: none; padding: 0; margin: 0; }
.et-timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid var(--et-line); margin-left: 6px; }
.et-timeline li::before { content: ""; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--et-lime); }
.et-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--et-ink); padding: 24px; }
.et-auth .box { width: 100%; max-width: 420px; background: #fff; border-radius: 26px; padding: 32px; }
.visually-hidden-focusable:focus { position: static !important; }
@media print { .et-sidebar, .no-print { display: none !important; } .et-main { padding: 0; } body { background: #fff; } }
.form-control, .form-select { background-color: #fff; }
.et-card-dark .form-control, .et-card-dark .form-select { border-color: #2C5A37; }
