:root {
  --paper: #f8f0e4;
  --white: #fffaf2;
  --ink: #261d17;
  --muted: #67544b;
  --red: #962d29;
  --wine: #5b211e;
  --rule: #dfcfbe;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #416f9c; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.focus-link:focus { z-index: 10; width: auto; height: auto; clip-path: none; left: 12px; top: 12px; padding: 8px 14px; background: var(--white); }
.page { width: min(100% - clamp(28px, 7vw, 90px), 1152px); margin-inline: auto; }
.top-demo { padding-block: 9px; border-bottom: 1px solid var(--rule); font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.brand-bar { display: flex; align-items: center; justify-content: space-between; padding-block: clamp(12px,2.5vw,22px); gap: 12px; }
.brand { font: 700 clamp(1.3rem,3vw,2rem)/1.05 Georgia, serif; text-decoration: none; color: var(--wine); }
.brand span { display: block; margin-top: 6px; color: var(--muted); font: 700 .66rem/1 system-ui,sans-serif; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(10px,3vw,26px); flex-wrap: wrap; font-size: .9rem; }
.hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: center; gap: clamp(24px,5vw,74px); padding-block: clamp(16px,4vw,54px) clamp(44px,7vw,92px); }
figure { margin: 0; }
.hero figure img { display: block; width: 100%; height: auto; aspect-ratio: 6/5; object-fit: cover; object-position: center 50%; border-radius: 120px 120px 8px 8px; }
figcaption { margin-top: 8px; color: var(--muted); font-size: .82rem; text-align: center; }
.kicker { margin: 0 0 10px; color: var(--red); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .105em; }
h1, h2 { margin: 0; font: 500 clamp(2.7rem,6vw,5.75rem)/.96 Georgia,serif; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem,4.6vw,4.2rem); }
h3 { margin: 0; }
.lead { max-width: 35ch; margin: 20px 0 24px; font-size: 1.1rem; color: var(--muted); }
.primary, #itens .item button { display:inline-block; padding: 9px 15px; min-height: 44px; border: 1px solid var(--red); background: var(--red); color: #fff; border-radius: 7px; font-weight: 700; text-decoration: none; }
.primary:active, #itens .item button:active { transform: translateY(1px); }
.menu-section { border-top: 1px solid var(--rule); padding-block: clamp(28px,5vw,65px); }
.section-verbatim { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-verbatim > p { max-width: 40ch; margin: 0; color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr); align-items: start; gap: clamp(20px,5vw,65px); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.soft { padding: 7px 12px; min-height: 42px; border: 1px solid #bdab9a; color: var(--wine); background: transparent; border-radius: 6px; }
.filters button[aria-pressed="true"] { border-color: var(--wine); background: var(--wine); color: #fff; }
.item, .cart-line { min-width: 0; padding-block: 14px; border-top: 1px solid var(--rule); }
.item { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.item > div:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.item h3 { font: 700 1.3rem Georgia,serif; }
.item p { color: var(--muted); margin: 2px 0; }
.item .price { font-weight: 750; color: var(--wine); white-space: nowrap; }
select { min-width: 0; max-width: 100%; min-height: 44px; padding-inline: 6px; background: var(--white); color: var(--ink); border: 1px solid #bdab9a; border-radius: 6px; }
.order { top: 14px; padding: clamp(16px,3vw,30px); background: var(--white); border: 1px solid var(--rule); border-radius: 8px; }
.order h3 { font: 500 2rem/1 Georgia,serif; margin-bottom: 12px; }
.cart-line p { margin-block: 2px 6px; }
.qty { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.qty button { min-width: 44px; }
.cart-total { display: block; margin-block: 12px; font-weight: 750; }
.note { font-size: .88rem; color: var(--muted); margin-bottom: 0; }
.review:not(:empty) { white-space: pre-wrap; margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 10px; }
.process { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); align-items:center; gap:clamp(20px,5vw,66px); padding-block: clamp(24px,4vw,50px) clamp(44px,7vw,85px); }
.process img { width: 100%; height: auto; border-radius: 8px; }
.process p:last-child { max-width: 48ch; color: var(--muted); }
.demo-footer { background: #2d1c17; color: var(--white); padding-block: clamp(25px,5vw,65px); }
.demo-footer .page { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.62fr); gap: 16px clamp(16px,5vw,64px); align-items:center; }
.demo-footer .kicker { color: #ffd8a7; }
.demo-footer h2 { font-size: clamp(1.8rem,3.4vw,3rem); }
.demo-footer p:last-child { max-width: 65ch; color: #e7d8ca; }
.contact a { display: inline-block; padding: 10px 14px; background: #e8f4ff; color: #103056; border-radius: 7px; font-weight: 750; text-decoration: none; }
.contact small { display: block; margin-top: 8px; }
@media (min-width:900px) { .order { position: sticky; } }
@media (max-width:740px) {
  .hero, .layout, .process, .demo-footer .page { grid-template-columns: 1fr; }
  .hero figure img { aspect-ratio: 3/2; border-radius: 65px 65px 6px 6px; }
  .item { flex-wrap: wrap; }
}
@media (max-width:420px) { nav { gap: 7px 10px; } nav a { font-size: .82rem; } }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .primary, #itens .item button { transition: transform .18s ease, background .18s ease; }
  .primary:hover:not(:disabled),#itens .item button:hover { background: var(--wine); transform: translateY(-2px); }
}
