/* Camada de apresentação e recursos do cardápio. */
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 110px; }
.main-nav { gap: 20px; }
.site-header { box-shadow: 0 6px 30px #40090d08; backdrop-filter: blur(14px); }
.order-bag { position: relative; display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--wine); }
.order-bag [data-order-count] { position: absolute; top: -6px; right: -6px; min-width: 20px; padding: 1px 5px; border-radius: 20px; background: var(--gold); color: var(--wine-deep); font-size: .7rem; font-weight: 800; }
.hero { min-height: 0; gap: 66px; padding-top: 68px; padding-bottom: 78px; }
.hero h1 { font-size: clamp(2.8rem, 4.8vw, 4.4rem); }
.hero-location { color: var(--wine); font-size: .72rem; font-weight: 800; letter-spacing: .17em; margin-bottom: 15px; }
.hero-lead { max-width: 440px; }
.hero-facts { margin-top: 38px; }
.hero-visual { max-width: 430px; }
.hero-deck { aspect-ratio: .96; }
.hero-deck img { border-width: 3px; }
.service-section { padding-bottom: 80px; }
.service-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.service-heading .kicker { margin-bottom: 12px; }
.service-heading h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin: 0; max-width: 550px; }
.service-heading time { color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.service-tile { padding: 23px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff8; display: flex; flex-direction: column; align-items: start; }
.service-label { font-size: .67rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; font-weight: 800; }
.service-tile h3 { font: 1.28rem/1.2 Georgia, serif; color: var(--wine); margin: 13px 0 9px; }
.service-tile p { font-size: .8rem; color: var(--muted); margin-bottom: 19px; }
.service-state { font-size: .7rem; margin-top: auto; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.service-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #a19a91; flex: none; }
.is-available .service-state { color: #326a41; }
.is-available .service-state::before { background: #458254; }
.quick-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 22px 0 0; }
.quick-links a { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: .82rem; }
.quick-links span { font-size: .68rem; color: var(--muted); }
.menu-tools { display: flex; align-items: stretch; gap: 10px; margin-bottom: 22px; }
.menu-search { display: flex; align-items: center; gap: 12px; flex: 1; padding: 0 15px; border: 1px solid var(--line); background: #fff9; border-radius: 12px; color: var(--wine); min-width: 0; }
.menu-search input { min-width: 0; width: 100%; border: 0; padding: 14px 0; background: transparent; color: var(--ink); outline-offset: 0; }
.menu-tools > button { border: 1px solid var(--line); background: transparent; border-radius: 12px; color: var(--wine); padding: 10px 15px; font-size: .85rem; }
.menu-tools > button[aria-pressed='true'] { background: var(--gold-pale); border-color: var(--gold); }
#search-feedback { color: var(--muted); font-size: .9rem; }
.menu-item, .search-product { position: relative; }
.menu-item h3, .search-product h3 { padding-right: 30px; }
.favorite-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--wine); background: transparent; }
.menu-item > .favorite-button, .search-product > .favorite-button { position: absolute; top: 15px; right: 14px; }
.favorite-button:hover { background: var(--paper); }
.favorite-button[aria-pressed='true'] svg { fill: var(--gold); stroke: var(--wine); }
button.item-order { border: 0; font: inherit; font-size: .8rem; }
.add-product { min-height: 40px; padding: 8px 13px; border-radius: 8px; background: var(--wine); color: var(--cream); text-decoration: none; }
.add-product:hover { background: var(--wine-soft); color: var(--cream); }
.pizza-product-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 15px; align-items: center; }
.pizza-product-actions .item-order { text-align: center; }
.search-product { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff8; }
.search-product h3 { font: 1.35rem Georgia, serif; margin-bottom: 0; }
.search-product p { color: var(--muted); font-size: .87rem; margin-bottom: auto; white-space: pre-line; }
.search-price { font-size: .95rem; color: var(--wine); }
.search-product > .item-order { align-self: start; }
.weekly-highlight { display: grid; grid-template-columns: 130px 1fr; gap: 8px 24px; align-items: center; padding: 25px 30px; background: var(--gold-pale); border-radius: 18px; color: var(--wine); margin-bottom: 24px; }
#weekly-label { grid-row: span 2; letter-spacing: .13em; font-size: .7rem; font-weight: 800; }
#weekly-title { font: 1.55rem Georgia, serif; }
#weekly-description { font-size: .87rem; }
.quote-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 100px; padding-bottom: 100px; border-top: 1px solid var(--line); }
.quote-intro h2 { font-size: clamp(2.8rem, 4.6vw, 4rem); margin-bottom: 25px; }
.quote-intro > p:not(.kicker) { color: var(--muted); max-width: 440px; }
.occasion-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 25px 0; }
.occasion-list span { border: 1px solid var(--line); padding: 7px 12px; border-radius: 30px; font-size: .75rem; color: var(--wine); }
.quote-photo { margin: 30px 0 0; border-radius: 18px; overflow: hidden; }
.quote-photo img { width: 100%; height: 235px; object-fit: cover; object-position: center 42%; }
.quote-photo figcaption { padding: 10px 0; color: var(--muted); font-size: .75rem; }
.quote-form { align-self: start; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff9; display: grid; gap: 18px; }
.quote-form label, #order-details label, .line-note { display: grid; gap: 7px; font-size: .8rem; font-weight: 700; color: var(--wine); }
.quote-form input, .quote-form select, .quote-form textarea, #order-details input, #order-details select, #order-details textarea, .line-note input { font: 16px/1.4 "Trebuchet MS", "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; min-width: 0; width: 100%; min-height: 44px; }
textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-help { color: var(--muted); font-size: .75rem; font-weight: 400; line-height: 1.6; margin: 0; }
.form-error { color: #a31e25; font-size: .87rem; }
.order-dialog:not([open]) { display: none; }
.order-dialog { width: min(570px, calc(100% - 28px)); max-height: calc(100dvh - 40px); margin: auto; padding: 28px; border: 0; border-radius: 22px; background: var(--cream); color: var(--ink); box-shadow: var(--shadow); overscroll-behavior: contain; }
.order-dialog::backdrop { background: #220c12ab; backdrop-filter: blur(4px); }
.order-is-open { overflow: hidden; }
.order-dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.order-dialog-header .kicker { margin-bottom: 8px; }
.order-dialog-header h2 { font-size: 2.7rem; margin: 0; }
.dialog-close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); background: transparent; font-size: 1.6rem; flex: none; }
#order-empty { padding-block: 28px; text-align: center; color: var(--muted); }
.order-line { border-bottom: 1px solid var(--line); padding: 0 0 20px; margin-bottom: 20px; }
.order-line-heading { display: flex; gap: 12px; justify-content: space-between; align-items: start; }
.order-line-heading h3 { font-size: 1rem; color: var(--wine); margin-bottom: 14px; }
.remove-item { border: 0; background: transparent; color: var(--muted); text-decoration: underline; font-size: .75rem; padding: 3px 0; }
.quantity-row { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
.quantity-button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--wine); font-size: 1.2rem; }
.quantity-button:disabled { opacity: .4; cursor: default; }
.quantity-amount { min-width: 45px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.line-note { font-weight: 400; color: var(--muted); font-size: .75rem; }
#order-details { display: grid; gap: 16px; margin-top: 26px; }
#order-hours-note { padding: 13px 15px; border-left: 2px solid var(--gold); margin: 20px 0; font-size: .8rem; color: var(--muted); background: var(--paper); }
.message-preview { margin-bottom: 20px; color: var(--wine); font-size: .85rem; }
.message-preview summary { cursor: pointer; }
.message-preview pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: .78rem; line-height: 1.6; color: var(--muted); background: #fff9; padding: 16px; border-radius: 10px; }
#order-send { width: 100%; margin-bottom: 12px; }
.site-toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; z-index: 15; max-width: calc(100% - 28px); width: max-content; padding: 13px 20px; border: 1px solid #ffffff33; border-radius: 12px; background: var(--wine-deep); color: var(--cream); font-size: .85rem; box-shadow: var(--shadow); transition: opacity .2s, transform .2s; }
.site-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.developer-credit { display: block; width: fit-content; margin-top: 10px; color: var(--muted); font-size: .68rem; }
.developer-credit:hover { color: var(--wine); text-decoration: underline; }
:where(select, textarea, dialog):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 1050px) {
  .main-nav { gap: 14px; font-size: .83rem; }
  .header-actions { gap: 8px; }
  .hero { gap: 40px; }
  .quote-section { gap: 35px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-section { grid-template-columns: 1fr; }
  .quote-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 30px; }
  .quote-intro > .kicker, .quote-intro > h2 { grid-column: 1 / -1; }
  .quote-photo { grid-column: 2; grid-row: 3 / 5; margin: 0; }
  .quote-photo img { height: 190px; }
}
@media (max-width: 680px) {
  section[id] { scroll-margin-top: 100px; }
  .site-header { gap: 5px; }
  .brand { width: 110px; height: 48px; }
  .header-actions { gap: 5px; }
  .header-order { max-width: 120px; font-size: .76rem; min-height: 40px; padding: 7px; }
  .order-bag { width: 36px; height: 40px; }
  .menu-toggle { width: 34px; padding: 0; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 42px; padding-bottom: 65px; }
  .hero h1 { font-size: clamp(2.7rem, 10.5vw, 3.8rem); }
  .hero .eyebrow { margin-bottom: 22px; }
  .hero-actions-row .button { width: auto; flex: 1 1 140px; padding-inline: 10px; font-size: .85rem; }
  .hero-visual { width: min(100%, 380px); }
  .service-section { padding-bottom: 65px; }
  .service-heading { align-items: start; flex-direction: column; gap: 14px; }
  .service-grid { gap: 9px; }
  .service-tile { padding: 18px 14px; }
  .service-tile h3 { font-size: 1.2rem; }
  .service-tile p { font-size: .75rem; }
  .service-label { font-size: .6rem; }
  .service-state { font-size: .65rem; }
  .quick-links { display: grid; gap: 16px; }
  .menu-tools { flex-wrap: wrap; }
  .menu-search { flex-basis: 100%; }
  .menu-tools > button { flex: 1; min-height: 44px; }
  .menu-item { min-height: 190px; }
  .weekly-highlight { padding: 22px; grid-template-columns: 1fr; }
  #weekly-label { grid-row: auto; margin-bottom: 5px; }
  .quote-section { padding-block: 70px; gap: 25px; }
  .quote-intro { display: block; }
  .quote-photo { display: none; }
  .quote-form { padding: 22px 18px; }
  .field-row { gap: 10px; }
  .order-dialog { max-height: calc(100dvh - 24px); padding: 23px 20px; }
  .site-toast { bottom: 18px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-toast { transition: none; }
}
