/* Cardápio — destaques + menu impresso + barra pedido */

.section {
  padding: 5.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brick);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  color: var(--leather);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head h2 em {
  font-style: italic;
  color: var(--brick);
}

.section-head p {
  margin-top: 0.85rem;
  color: var(--mute);
  max-width: 34em;
  margin-inline: auto;
  font-size: 1.02rem;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.1rem auto 0;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
}

.section-ornament::before,
.section-ornament::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Destaques (referência: La Braciera / Restics — sem cards de e-commerce) */
.destaques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.destaque {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.destaque-foto {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #3d2a1c;
}

.destaque-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.destaque:hover .destaque-foto img {
  transform: scale(1.04);
}

.destaque h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.destaque p {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--mute);
  font-style: italic;
  flex: 1;
}

.destaque-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  gap: 0.75rem;
}

.destaque-meta .menu-price {
  font-size: 1.15rem;
}

/* Folha de cardápio */
.menu-sheet {
  max-width: 760px;
  margin-inline: auto;
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.95), rgba(247, 241, 228, 0.98));
  border: 1px solid rgba(59, 42, 30, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 18px 48px rgba(36, 27, 20, 0.08);
  padding: 2rem 2rem 1.5rem;
  position: relative;
}

.menu-sheet::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(200, 155, 60, 0.22);
  pointer-events: none;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  margin-bottom: 1.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(36, 27, 20, 0.18);
  position: relative;
  z-index: 1;
}

.menu-tab {
  position: relative;
  padding: 0.35rem 0.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(36, 27, 20, 0.45);
  transition: color 0.25s var(--ease);
}

.menu-tab:hover {
  color: var(--leather);
}

.menu-tab.is-active {
  color: var(--brick);
}

.menu-tab.is-active::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: -0.35rem;
  height: 2px;
  background: var(--brick);
  border-radius: 2px;
}

.menu-panel {
  display: none;
  position: relative;
  z-index: 1;
}

.menu-panel.is-active {
  display: block;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(1.5rem, 1fr) auto auto;
  align-items: end;
  gap: 0.2rem 0.55rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(36, 27, 20, 0.07);
}

.menu-item:last-child {
  border-bottom: 0;
}

.menu-item-text {
  min-width: 0;
  grid-column: 1;
}

.menu-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.menu-item-desc {
  margin-top: 0.28rem;
  font-size: 0.9rem;
  color: var(--mute);
  line-height: 1.45;
  font-style: italic;
}

.menu-dots {
  grid-column: 2;
  align-self: end;
  margin-bottom: 0.45rem;
  border-bottom: 1.5px dotted rgba(36, 27, 20, 0.3);
  min-width: 1.25rem;
}

.menu-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--leather);
  white-space: nowrap;
}

.menu-item .menu-price {
  grid-column: 3;
  align-self: end;
  margin-bottom: 0.15rem;
}

.menu-add {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(59, 42, 30, 0.2);
  color: var(--leather);
  font-size: 1.15rem;
  line-height: 1;
  display: grid;
  place-items: center;
  background: rgba(247, 241, 228, 0.6);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.menu-item .menu-add {
  grid-column: 4;
  justify-self: end;
  align-self: end;
  margin-bottom: 0.05rem;
}

.menu-add:hover {
  background: var(--brick);
  border-color: var(--brick);
  color: var(--cream);
  transform: scale(1.06);
}

.menu-add:active {
  transform: scale(0.94);
}

.menu-foot-note {
  margin-top: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--olive);
  position: relative;
  z-index: 1;
}

.order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: linear-gradient(180deg, #2a1f18, var(--charcoal));
  color: var(--cream);
  border-top: 1px solid rgba(200, 155, 60, 0.4);
  padding: 0.85rem 0;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 -12px 36px rgba(20, 14, 10, 0.25);
}

.order-bar.is-visible {
  transform: translateY(0);
}

.order-bar-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-summary {
  font-size: 0.92rem;
  color: rgba(247, 241, 228, 0.88);
}

.order-summary strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.order-send {
  padding: 0.72rem 1.25rem;
  background: var(--brick);
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(178, 58, 46, 0.3);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.order-send:hover {
  background: #9a3127;
  transform: translateY(-1px);
}

.order-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

body.has-order {
  padding-bottom: 4.75rem;
}

body.pedido-modal-open {
  overflow: hidden;
}

.pedido-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.pedido-modal[hidden] {
  display: none !important;
}

.pedido-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 27, 20, 0.55);
  backdrop-filter: blur(2px);
}

.pedido-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: linear-gradient(180deg, #fffaf0, var(--cream));
  border: 1px solid rgba(36, 27, 20, 0.12);
  border-radius: 12px 12px 0 0;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 -12px 40px rgba(36, 27, 20, 0.2);
  animation: pedido-modal-in 0.28s ease;
}

@keyframes pedido-modal-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pedido-modal__fechar {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  color: var(--leather);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.pedido-modal__head {
  margin-bottom: 1.1rem;
  padding-right: 2rem;
}

.pedido-modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--leather);
  margin: 0.15rem 0 0.35rem;
}

.pedido-modal__head p {
  color: var(--mute);
  font-size: 0.92rem;
  margin: 0;
}

.pedido-modal__form {
  gap: 0.95rem;
}

.pedido-modal__step {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.pedido-modal__step[hidden] {
  display: none !important;
}

.pedido-modal__voltar {
  border: 0;
  background: transparent;
  color: var(--olive);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.35rem 0;
  text-align: left;
}

.pedido-modal__voltar:hover {
  color: var(--brick);
}

@media (min-width: 640px) {
  .pedido-modal {
    align-items: center;
    padding: 1.5rem;
  }

  .pedido-modal__dialog {
    border-radius: 10px;
    max-height: min(88vh, 860px);
  }
}

@media (max-width: 860px) {
  .destaques {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .menu-sheet {
    padding: 1.35rem 1.15rem 1.1rem;
  }

  .menu-sheet::before {
    inset: 7px;
  }

  .menu-item {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.25rem 0.5rem;
  }

  .menu-dots {
    display: none;
  }

  .menu-price {
    grid-column: 2;
  }

  .menu-add {
    grid-column: 3;
  }

  .menu-tabs {
    gap: 0.2rem 1rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .menu-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-tab {
    white-space: nowrap;
    font-size: 0.98rem;
  }
}
