@font-face { font-family: 'Work Sans'; src: url('brand/fonts/WorkSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Work Sans'; src: url('brand/fonts/WorkSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Big Shoulders'; src: url('brand/fonts/BigShoulders-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nothing You Could Do'; src: url('brand/fonts/NothingYouCouldDo-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
.cachupa-menu {
    color-scheme: light;
    --paper: #ffffff;
    --surface: #fff;
    --ink: #12323c;
    --muted: #4e646c;
    --bronze: #006c9a;
    --line: #d5e2e6;
    --soft: #edf4f6;
    --serif: 'Big Shoulders', 'Arial Narrow', sans-serif;
    --sans: 'Work Sans', system-ui, sans-serif;
    --radius: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, select { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: #006c9a20; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, select:focus-visible, a:focus-visible, [tabindex="-1"]:focus-visible { outline: 2px solid var(--bronze); outline-offset: 5px; }
img { display: block; max-width: 100%; object-fit: cover; background: var(--soft); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.08; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: white; transform: translateY(-180%); border-radius: var(--radius); }
.skip-link:focus { transform: none; }
.menu-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .category-nav, main { width: min(100% - 80px, 1040px); margin-inline: auto; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-family: var(--serif); font-size: 25px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 44px; border: 1px solid var(--bronze); border-radius: 50% 50% 4px 4px; font-size: 14px; color: var(--bronze); }
.language-control { display: flex; align-items: center; gap: 12px; }
.language-control label { color: var(--muted); font-size: 12px; }
.language-control select { min-height: 44px; padding: 8px 10px; font-size: 13px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); max-width: 150px; }
.category-nav { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.category-button { flex: 0 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; min-height: 48px; padding: 10px 4px 14px; font-size: 14px; color: var(--muted); }
.category-button[aria-current="true"] { border-color: var(--bronze); color: var(--ink); font-weight: 600; }
.category-button:hover { color: var(--bronze); }
.category-button:focus-visible { outline-offset: -3px; }
main { scroll-margin-top: 150px; }
.menu-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-block: 36px 28px; }
h1 { font-size: 40px; }
.menu-intro p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.intro-note { color: var(--muted); font-size: 12px; max-width: 150px; text-align: right; }
.category-heading { display: grid; grid-template-columns: 1fr 42%; min-height: 160px; overflow: hidden; background: var(--soft); border-radius: var(--radius); margin-bottom: 12px; }
.category-heading.without-image { grid-template-columns: minmax(0, 1fr); }
.category-copy { padding: 24px 28px; align-self: center; }
.category-copy h2 { font-size: 32px; }
.category-copy p { margin-top: 8px; color: var(--muted); font-size: 14px; }
#category-description:empty { display: none; }
#category-count { display: block; font-size: 12px; color: var(--bronze); margin-top: 12px; }
#category-media img { width: 100%; height: 100%; max-height: 190px; object-position: center 55%; }
.menu-photo-note { padding: 12px 16px; margin-bottom: 12px; background: var(--soft); border-left: 3px solid var(--blue); border-radius: 4px; color: var(--ink); font-size: 14px; font-weight: 500; }
.menu-safety-note { padding: 14px 0; margin-bottom: 24px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--line); font-size: 14px; }
.items-list { padding: 0; margin: 0; list-style: none; }
.items-list li { border-bottom: 1px solid var(--line); }
.item-row { scroll-margin-block: 150px 24px; position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr) 18px; gap: 22px; align-items: center; padding: 24px 8px; width: 100%; text-align: left; border: 0; background: transparent; border-radius: var(--radius); transition: background .18s ease; }
.item-row.no-image { grid-template-columns: minmax(0, 1fr); }
.item-row.no-image:hover { background: transparent; }
.item-row:hover { background: var(--soft); }
.item-row:active { background: #e5e3d9; }
.item-thumbnail { width: 92px; height: 92px; border-radius: var(--radius); }
.item-main { display: block; min-width: 0; }
.item-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.item-name { font-family: var(--serif); font-size: 21px; line-height: 1.35; }
.item-price { flex-shrink: 0; white-space: nowrap; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.item-desc { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 65ch; }
.item-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.item-tags:empty { display: none; }
.diet-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1.5; color: #47523d; }
.diet-tag + .diet-tag::before { content: '·'; margin-right: 3px; color: var(--muted); }
.row-arrow { color: var(--bronze); font-size: 23px; font-weight: 400; }
.menu-footer { padding-block: 32px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.menu-footer p { max-width: 56ch; }
.footer-brand { font-family: var(--serif); font-size: 16px; white-space: nowrap; }
dialog { position: fixed; inset: 0; width: min(620px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; margin: auto; border: 0; border-radius: 12px; background: var(--surface); color: var(--ink); overscroll-behavior: contain; box-shadow: 0 24px 80px #171d2330; }
dialog::backdrop { background: #171d236b; backdrop-filter: blur(3px); }
dialog[open] { animation: open-detail .2s ease-out; }
#detail-media:empty { display: none; }
.detail-media img { display: block; }
.detail-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px 8px 24px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.close-button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; font-size: 28px; line-height: 1; }
.close-button:hover { background: var(--soft); }
.detail-image { width: calc(100% - 40px); height: 270px; margin: 20px 20px 0; border-radius: var(--radius); }
.detail-info { padding: 28px; }
.detail-category { font-size: 13px; color: var(--bronze); margin-bottom: 10px; }
.detail-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.detail-heading h2 { font-size: 30px; }
#detail-price { white-space: nowrap; font-size: 18px; font-variant-numeric: tabular-nums; }
#detail-desc { color: var(--muted); font-size: 16px; margin-top: 18px; }
.detail-info h3 { font-size: 14px; font-weight: 600; margin-top: 24px; }
.ingredients-list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 10px 0 0; gap: 8px; }
.ingredients-list li { background: var(--soft); border-radius: 4px; padding: 6px 10px; font-size: 13px; }
.allergy-note { border-top: 1px solid var(--line); margin-top: 24px; }
.allergy-note p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.back-button { width: 100%; min-height: 48px; margin-top: 24px; background: var(--ink); color: white; border: 0; border-radius: var(--radius); font-size: 14px; }
.back-button:hover { background: #42463a; }
@keyframes open-detail { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 600px) {
    .header-inner, .category-nav, main { width: calc(100% - 36px); }
    .header-inner { min-height: 70px; }
    .brand { font-size: 21px; gap: 10px; }
    .brand-mark { width: 30px; height: 36px; font-size: 12px; }
    .language-control label { display: none; }
    .language-control select { max-width: 132px; font-size: 16px; padding-inline: 6px; }
    .category-nav { gap: 24px; }
    .category-button { font-size: 13px; }
    .menu-intro { padding-block: 24px 20px; }
    h1 { font-size: 32px; }
    .menu-intro p { font-size: 13px; max-width: 30ch; }
    .intro-note { display: none; }
    .category-heading { min-height: 116px; grid-template-columns: minmax(0, 1fr) 30%; margin-bottom: 4px; }
    .category-copy { padding: 18px; }
    .category-copy h2 { font-size: 26px; }
    .category-copy p { display: none; }
    #category-count { margin-top: 8px; }
    #category-media img { max-height: 130px; }
    .item-row { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 20px 0; align-items: start; }
    .item-thumbnail { width: 64px; height: 76px; }
    .item-heading { gap: 10px; }
    .item-name { font-size: 18px; }
    .item-price { font-size: 13px; }
    .item-desc { font-size: 14px; line-height: 1.55; }
    .item-tags { margin-top: 8px; gap: 4px 8px; }
    .row-arrow { display: none; }
    .menu-footer { display: block; }
    .footer-brand { display: block; margin-top: 20px; }
    dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
    .detail-image { height: 220px; }
    .detail-info { padding: 24px 20px max(24px, env(safe-area-inset-bottom)); }
    .detail-heading h2 { font-size: 26px; }
    #detail-price { font-size: 16px; }
}
@media (max-width: 360px) {
    .brand { font-size: 18px; }
    .brand-mark { display: none; }
    .category-nav { gap: 18px; }
    .item-heading { flex-wrap: wrap; gap: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Cachupa Rst — identity applied to the cloned menu. */
.cachupa-menu { --blue: #006c9a; --red: #dd1a2a; --yellow: #ffed00; }
.header-inner { min-height: 122px; }
.brand { display: block; flex-shrink: 0; padding-block: 9px; }
.brand-logo { width: 180px; height: auto; object-fit: contain; background: white; }
.language-control select { font-size: 16px; }
.category-nav { gap: 34px; }
.category-button { font-size: 16px; min-height: 50px; border-bottom-width: 3px; }
.category-button[aria-current="true"] { border-color: var(--red); color: var(--blue); font-weight: 700; }
main { scroll-margin-top: 190px; }
.menu-intro { align-items: center; padding-block: 35px 32px; }
.menu-intro h1 { font-size: clamp(43px, 5.4vw, 67px); color: var(--blue); }
.menu-intro p { font-size: 16px; margin-top: 12px; }
.menu-intro .cuisine-note { color: var(--blue); font-size: 13px; margin: 0 0 8px; }
.intro-aside { flex: 0 0 210px; text-align: right; }
.hand-note { display: block; font-family: 'Nothing You Could Do', cursive; color: var(--red); font-size: 27px; line-height: 1.4; }
.intro-note { display: block; margin-top: 12px; max-width: none; }
.category-heading { grid-template-columns: 1fr 33%; min-height: 164px; background: var(--blue); border-radius: 0; }
.category-copy { padding: 22px 30px; }
.category-copy h2 { font-size: 44px; color: white; }
.category-copy p { color: white; }
#category-count { color: var(--yellow); font-size: 13px; }
#category-media img { max-height: 185px; }
.item-row { scroll-margin-block: 185px 24px; grid-template-columns: 100px minmax(0, 1fr) 24px; gap: 24px; padding: 23px 8px; border-radius: 0; }
.item-thumbnail { width: 100px; height: 100px; border-radius: 5px; }
.item-name { font-family: var(--sans); font-weight: 700; font-size: 20px; }
.item-price { font-size: 18px; font-weight: 700; color: var(--blue); }
.item-row:active { background: #e0edf1; }
.row-arrow { color: var(--red); font-size: 25px; }
.menu-footer { align-items: center; font-size: 13px; }
.footer-brand { color: var(--blue); font-size: 25px; font-weight: 700; }
.detail-toolbar { background: var(--blue); color: white; }
.close-button { color: white; background: transparent; border-color: #ffffff80; }
.close-button:hover { background: #ffffff20; }
.close-button:focus-visible { outline-color: var(--yellow); }
.detail-heading h2 { color: var(--blue); font-size: 39px; }
#detail-price { color: var(--red); font-weight: 700; font-size: 20px; }
.back-button { background: var(--red); border-radius: 4px; font-weight: 700; font-size: 15px; }
.back-button:hover { background: #bd1422; }
@media (max-width: 600px) {
 .header-inner { min-height: 116px; gap: 14px; padding-block: 10px; }
 .brand-logo { width: 166px; }
 .language-control select { max-width: 125px; padding-inline: 5px; }
 .category-nav { gap: 12px; }
 .category-button { font-size: 14px; min-height: 46px; }
 .menu-intro { padding-block: 23px; }
 .menu-intro h1 { font-size: 44px; }
 .menu-intro p { font-size: 14px; margin-top: 8px; }
 .menu-intro .cuisine-note { font-size: 12px; margin-bottom: 7px; }
 .intro-aside { display: none; }
 .category-heading { min-height: 119px; grid-template-columns: minmax(0, 1fr) 34%; }
 .category-copy { padding: 17px 20px; }
 .category-copy h2 { font-size: 34px; }
 #category-media img { max-height: 130px; }
 .item-row { grid-template-columns: 68px minmax(0, 1fr); gap: 15px; padding: 21px 0; }
 .item-thumbnail { width: 68px; height: 82px; }
 .item-heading { flex-wrap: wrap; gap: 6px 12px; }
 .item-name { font-size: 16px; }
 .item-price { font-size: 15px; }
 .detail-heading h2 { font-size: 32px; }
 #detail-price { font-size: 18px; }
}
@media (max-width: 360px) {
 .header-inner { gap: 8px; }
 .brand-logo { width: 151px; }
 .language-control select { max-width: 121px; font-size: 14px; }
 .category-nav { gap: 12px; }
 .menu-intro h1 { font-size: 39px; }
 .detail-heading { flex-wrap: wrap; gap: 8px; }
}

/* Integração na pré-visualização do site */
.site-return{color:#006c9a;font-size:13px;font-weight:700;text-underline-offset:4px;margin-left:auto;white-space:nowrap}@media(max-width:420px){.header-inner{gap:10px;flex-wrap:wrap}.site-return{font-size:12px}}
[hidden] { display: none !important; }
