/* ==========================================================
   Menu Digital - ERRO V2 (CSS compartilhado)
   Arquivo: /erro/css/style_v2.css
   Objetivo:
   - Visual similar ao /erro atual (bg + overlay vermelho)
   - Com logo do restaurante e textos estilo Goomer
   - SEM expor dados internos
   ========================================================== */

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; padding: 0; }

#notfound {
  position: relative;
  height: 100vh;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* Mantém a mesma ideia do seu erro atual (bg.jpg + overlay) */
#notfound .notfound-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('/erro/bg.jpg'); /* central */
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

#notfound .notfound-bg:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 36, 0.86) 0%,
    rgba(255, 0, 36, 0.70) 45%,
    rgba(15, 15, 15, 0.65) 100%
  );
}

/* Container central */
#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 820px;
  width: calc(100% - 40px);
  text-align: left;
}

/* Card moderno (mais “premium”) */
.md-card {
  position: relative;
  border-radius: 18px;
  padding: 26px 26px 22px 26px;
  background: rgba(0,0,0,0.26);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

/* Topo com logo + nome */
.md-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.md-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.md-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  flex: 0 0 auto;
}

.md-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-name {
  min-width: 0;
}

.md-name h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.md-name small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
}

/* Badge discreto à direita */
.md-badge {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,0.90);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
}

/* Conteúdo */
.md-code {
  font-size: 92px;
  line-height: 1;
  margin: 6px 0 8px 0;
  font-weight: 900;
  color: #fff;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.md-title {
  margin: 0 0 6px 0;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.md-subtitle {
  margin: 0 0 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}

.md-why {
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
}

.md-list {
  margin: 0 0 18px 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  line-height: 1.55;
}

.md-list li { margin: 6px 0; }

/* Botões */
.md-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.md-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: 40px;
  transition: 0.18s ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.md-btn:hover { opacity: 0.92; transform: translateY(-1px); }

.md-btn-primary {
  background: #fff;
  color: rgba(255,0,36,0.85);
}

.md-btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.92);
  color: rgba(255,255,255,0.95);
}

/* Rodapé discreto */
.md-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  font-weight: 700;
}

.md-footer a {
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.40);
}
.md-footer a:hover { opacity: 0.9; }

/* Responsivo */
@media (max-width: 640px) {
  .md-card { padding: 18px 16px 16px 16px; }
  .md-code { font-size: 64px; letter-spacing: 5px; }
  .md-title { font-size: 22px; }
  .md-actions { flex-direction: column; }
  .md-btn { width: 100%; text-align: center; }
}