@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("assets/fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --bordo: #790D20; --vinho: #310B12; --dourado: #B68A37; --creme: #F8F2E8; --verde: #477426;
  --areia: #EFE5D3; --texto: #2b1a1c; --suave: #5f4a4c; --ouro-claro: #E3C27A;
  --titulo: "Cinzel", Georgia, serif; --corpo: "Montserrat", Arial, sans-serif;
  --sombra: 0 10px 30px rgb(49 11 18 / .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1rem/1.65 var(--corpo); color: var(--texto); background: var(--creme); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }
.container { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.estreito { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--vinho); color: #fff; padding: .7rem 1rem; }
.skip:focus { top: .5rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem 1.3rem; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; text-align: center; }
.btn--bordo { background: var(--bordo); color: #fff; }
.btn--bordo:hover { background: var(--vinho); }
.btn--ouro { background: var(--ouro-claro); color: var(--vinho); }
.btn--ouro:hover { background: #f0d596; }
.btn--linha { border-color: var(--ouro-claro); color: var(--creme); background: transparent; }
.btn--linha:hover { background: rgb(227 194 122 / .14); }
.btn--linha-escura { border-color: var(--bordo); color: var(--bordo); background: transparent; }
.btn--verde { background: var(--verde); color: #fff; }
.btn--cheio { width: 100%; }
.link { background: none; border: 0; padding: .6rem 0; text-decoration: underline; color: var(--bordo); font-weight: 600; font-size: .9rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.acoes--centro { justify-content: center; }

.topo { position: sticky; top: 0; z-index: 10; background: var(--creme); border-bottom: 3px solid var(--bordo); }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.marca img { width: 108px; }
.menu { display: none; gap: 1.6rem; font-weight: 600; font-size: .9rem; }
.menu a { text-decoration: none; padding: .5rem 0; }
.menu a:hover { color: var(--bordo); text-decoration: underline; }
.selecao-btn { padding-inline: 1rem; }
.contador { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding-inline: .3em; border-radius: 99px; background: var(--creme); color: var(--bordo); font-size: .8rem; }

.hero { background: radial-gradient(ellipse at 50% 30%, #6a1423 0%, var(--vinho) 65%); color: var(--creme); text-align: center; overflow: hidden; }
.hero__texto { padding: clamp(3rem, 8vw, 6rem) 0 2.5rem; max-width: 820px; animation: surgir .8s ease-out both; }
.hero__sub { font-size: 1.08rem; max-width: 560px; margin: 0 auto; }
.hero__foto { margin: 0; position: relative; border-block: 3px solid var(--dourado); }
.hero__foto img { width: 100%; height: clamp(250px, 40vw, 620px); object-fit: cover; object-position: 50% 45%; }
.hero__foto figcaption { position: absolute; right: 0; bottom: 0; background: rgb(0 0 0 / .72); color: #fff; font-size: .72rem; padding: .15rem .6rem; }
@keyframes surgir { from { opacity: 0; transform: translateY(16px); } }
.sobretitulo { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 700; color: var(--ouro-claro); margin: 0 0 .8rem; }
.sobretitulo--escuro { color: var(--bordo); }

.secao { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.secao--vinho { background: var(--vinho); color: var(--creme); }
.secao--areia { background: var(--areia); }
.lead { max-width: 640px; margin-top: 0; }

.ferramentas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin: 1.8rem 0; }
.filtros { display: flex; flex-wrap: wrap; gap: .5rem; }
.filtro { min-height: 44px; padding: .45rem 1rem; border-radius: 99px; border: 1.5px solid var(--bordo); background: transparent; color: var(--bordo); font-weight: 600; font-size: .85rem; }
.filtro[aria-pressed="true"] { background: var(--bordo); color: #fff; }
.busca { flex: 1 1 220px; max-width: 320px; }
.busca input { width: 100%; min-height: 46px; padding: .6rem 1rem; border: 1.5px solid #8a7072; border-radius: 99px; background: #fff; }

.grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--sombra); border: 1px solid #eadfcb; }
.card__foto { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__figura { margin: 0; position: relative; }
.card__figura figcaption { position: absolute; right: 0; bottom: 0; background: rgb(0 0 0 / .75); color: #fff; font-size: .72rem; padding: .2rem .6rem; }
[data-m-foto] { margin-bottom: 1.2rem; }
[data-m-foto] .card__figura { border-radius: 12px; overflow: hidden; }
[data-m-foto] .aviso { margin: 0; }
.card__sem-foto { aspect-ratio: 3 / 2; display: grid; place-content: center; text-align: center; gap: .3rem; padding: 1rem; background: linear-gradient(135deg, var(--vinho), var(--bordo)); color: var(--creme); }
.card__sem-foto span:first-child { font: 600 1.4rem var(--titulo); color: var(--ouro-claro); }
.card__sem-foto span:last-child { font-size: .78rem; }
.card__corpo { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.card__corpo p { margin: 0 0 1rem; color: var(--suave); font-size: .92rem; }
.card__preco { font-weight: 700; color: var(--verde) !important; margin-top: auto !important; }

.dupla { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.molho { padding: 2rem; border: 1px solid var(--dourado); border-radius: 16px; border-top-width: 8px; }
.molho--tomate { border-top-color: #c8442c; }
.molho--queijos { border-top-color: var(--ouro-claro); }
.molho h3 { color: var(--ouro-claro); }
.molho p { margin: 0; }

.chips { display: grid; gap: 2.5rem; align-items: center; }
.chips__logo { width: 150px; border-radius: 50%; margin-bottom: 1.2rem; box-shadow: var(--sombra); }
.chips__foto { margin: 0 auto; width: min(100%, 440px); }
.chips__foto img { border-radius: 16px; box-shadow: var(--sombra); }
.chips__foto figcaption { font-size: .8rem; color: var(--suave); text-align: center; margin-top: .6rem; }
.passos { list-style: none; margin: 2.5rem auto 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.passos li { background: #fff; border-left: 6px solid var(--dourado); border-radius: 10px; padding: 1.1rem 1.3rem; box-shadow: var(--sombra); }
.passos strong { display: block; font-family: var(--titulo); }
.passos span { font-size: .9rem; color: var(--suave); }
.nota { font-size: .8rem; color: var(--suave); }

details { background: var(--creme); border-radius: 12px; margin-bottom: .7rem; border: 1px solid #ddcfb5; }
summary { cursor: pointer; font-weight: 600; padding: 1rem 1.2rem; }
details p { margin: 0; padding: 0 1.2rem 1.2rem; }

.final { text-align: center; border-bottom: 3px solid var(--dourado); }
.rodape { text-align: center; padding: 2.5rem 0; }
.rodape img { width: 170px; margin: 0 auto 1rem; }

.modal { width: min(600px, 100% - 1rem); max-height: min(92dvh, 900px); padding: 0; border: 0; border-radius: 18px; background: var(--creme); color: var(--texto); box-shadow: 0 25px 70px rgb(0 0 0 / .4); }
.modal[open] { display: flex; flex-direction: column; overflow: hidden; }
.modal form { display: flex; flex-direction: column; min-height: 0; }
.modal::backdrop { background: rgb(30 5 10 / .7); }
.modal--lateral { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(480px, 100%); border-radius: 0; }
.modal__topo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 2px solid var(--dourado); }
.modal__topo h2 { margin: 0; font-size: 1.25rem; }
.fechar { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--areia); font-size: 1.5rem; line-height: 1; }
.modal__corpo { padding: 1.25rem; overflow-y: auto; flex: 1; min-height: 0; }
.modal__base { padding: 1rem 1.25rem; border-top: 1px solid #ddcfb5; }
.modal__base .nota { margin: 0 0 .7rem; }
.modal--lateral .modal__base { max-height: 55dvh; overflow-y: auto; }

fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.opcoes { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opcao { display: flex; align-items: center; gap: .6rem; min-height: 50px; padding: .6rem .8rem; background: #fff; border: 1.5px solid #d6c6a8; border-radius: 10px; font-size: .88rem; line-height: 1.35; cursor: pointer; }
.opcao:has(input:checked) { border-color: var(--bordo); box-shadow: inset 0 0 0 1px var(--bordo); }
.opcao input { accent-color: var(--bordo); flex: none; }
.aviso { background: #fff4d6; border: 1px solid var(--dourado); border-radius: 10px; padding: .8rem 1rem; font-size: .86rem; }
.quantidade { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 1.2rem; }
.stepper { display: flex; align-items: center; gap: .4rem; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--bordo); background: #fff; color: var(--bordo); font-size: 1.2rem; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper input, .stepper output { width: 3.2rem; text-align: center; font-weight: 700; }
.stepper input { height: 44px; border: 1px solid #d6c6a8; border-radius: 8px; background: #fff; appearance: textfield; }
.resumo { background: var(--areia); border-radius: 12px; padding: 1rem; }
.resumo h3 { margin: 0 0 .3rem; font-size: .95rem; }
.resumo p { margin: 0; font-size: .9rem; }

.itens { list-style: none; margin: 0; padding: 0; }
.item { background: #fff; border-radius: 12px; padding: 1rem; margin-bottom: .8rem; border: 1px solid #eadfcb; }
.item h3 { font-size: 1rem; margin-bottom: .3rem; }
.item p { margin: 0 0 .6rem; font-size: .85rem; color: var(--suave); }
.item__acoes { display: flex; justify-content: space-between; align-items: center; }
.vazio { text-align: center; padding: 2.5rem 1rem; }
.copia { width: 100%; margin-top: .6rem; padding: .6rem; font-size: .8rem; border-radius: 8px; border: 1px solid #d6c6a8; }
.canais { display: flex; flex-wrap: wrap; gap: .6rem; margin: .7rem 0; }
.canais .btn { flex: 1; }
.toast { position: fixed; left: 50%; bottom: 1rem; translate: -50% 0; width: max-content; max-width: calc(100% - 2rem); z-index: 30; background: var(--verde); color: #fff; border-radius: 99px; font-weight: 600; font-size: .88rem; }
.toast:not(:empty) { padding: .7rem 1.2rem; }
body:has(dialog[open]) { overflow: hidden; }

@media (min-width: 860px) {
  .menu { display: flex; }
  .chips { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 420px) {
  .selecao-btn { font-size: .8rem; }
  .marca img { width: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
