@font-face {
    font-family: "Barlow Condensed";
    src: url("barlow-condensed.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}
@font-face {
    font-family: "DM Sans";
    src: url("dm-sans.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
}
:root {
    color-scheme: light;
    --paper: #fffaf3;
    --white: #fffdf9;
    --ink: #321b15;
    --muted: #70574d;
    --line: #ebdacb;
    --red: #9c2919;
    --red-deep: #641e16;
    --red-hover: #7d2014;
    --peach: #fff0df;
    --gold: #ffb54a;
    --green: #176641;
    --head: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
    --radius: 21px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .67; cursor: wait; }
svg { flex: none; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font: 800 3.35rem/.98 var(--head); }
h3 { font-weight: 800; line-height: 1.25; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 108px; }
:focus-visible { outline: 3px solid #b85b21; outline-offset: 4px; }
.shell { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); background: var(--white); border-radius: 10px; padding: 10px 15px; }
.skip-link:focus { transform: none; }
.button {
    display: inline-flex; justify-content: center; align-items: center; gap: 9px;
    min-height: 46px; padding: 10px 17px; border: 1px solid transparent;
    border-radius: 11px; font-weight: 800; font-size: .89rem; text-align: center; line-height: 1.2;
    transition: background-color .16s, color .16s, border-color .16s;
}
.primary { background: var(--red); color: #fff; }
.primary:hover { background: var(--red-hover); }
.gold { background: var(--gold); color: #3e210c; }
.gold:hover { background: #ffc46e; }
.outline { color: var(--red-deep); border-color: var(--line); background: var(--white); }
.outline:hover { background: var(--peach); border-color: #d8ac92; }
.full { width: 100%; }
.text-link { color: var(--red); display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 800; }
.text-link:hover, .map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tile-icon { color: var(--red); background: var(--peach); border-radius: 13px; width: 45px; height: 45px; display: inline-grid; place-items: center; flex: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }
.header-inner { min-height: 77px; display: flex; gap: 24px; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; gap: 10px; align-items: center; line-height: 1; flex: none; }
.brand img { width: 67px; height: auto; }
.brand strong { display: block; font: 800 1.85rem/.9 var(--head); text-transform: uppercase; letter-spacing: .015em; color: var(--red-deep); }
.brand small { display: block; margin-top: 5px; font-weight: 800; font-size: .58rem; letter-spacing: .15em; color: var(--muted); }
.desktop-nav { display: flex; gap: clamp(18px, 3.5vw, 39px); align-items: center; font-size: .93rem; font-weight: 700; }
.desktop-nav a:hover { color: var(--red); }
.bottom-nav { display: none; }

.main-content { padding-block: 27px 59px; }
.hero {
    display: grid; grid-template-columns: 1.02fr 1fr; position: relative; isolation: isolate;
    min-height: 450px; overflow: hidden; border-radius: 27px;
    background: linear-gradient(130deg, #5c1812, #791f16 68%, #471210); color: #fff8ed;
}
.hero-copy { padding: clamp(35px, 5vw, 64px); padding-right: 0; position: relative; z-index: 1; align-self: center; }
.hero-region {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid #ffffff40;
    color: #ffdfae; background: #ffffff0d; padding: 6px 11px;
    border-radius: 999px; font-weight: 700; font-size: .77rem; line-height: 1.2;
}
.hero h1 { display: grid; gap: .07em; font-size: clamp(5rem, 8.3vw, 8rem); text-transform: uppercase; line-height: .86; letter-spacing: -.015em; margin: 18px 0 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-copy p { color: #fae9d8; font-size: clamp(.93rem, 1.4vw, 1.12rem); margin-bottom: 24px; max-width: 32ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.hero-actions .button { min-height: 50px; }
.hero-link { color: #fff8ed; }
.hero-link:hover { background: #ffffff15; }
.hero :focus-visible { outline-color: #ffce89; }
.hero-photo { position: relative; align-self: stretch; min-width: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; position: absolute; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #721e15 0, #721e1540 13%, transparent 29%); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 13px; right: 17px; border-radius: 999px; background: #321511dc; color: #fff4e8; padding: 4px 10px; font-size: .68rem; }

.location-bar {
    margin-top: 17px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: 15px; padding: 17px 19px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 4px 18px #39170e06;
}
.location-bar .tile-icon { width: 51px; height: 51px; }
.location-bar h2 { font: 800 1.12rem/1.3 var(--body); margin-bottom: 3px; }
.location-bar p { color: var(--muted); font-size: .87rem; }
.location-actions { display: flex; gap: 8px; }
.geo-feedback { padding: 8px 11px; margin-block: 7px; background: var(--peach); border-radius: 9px; color: var(--red-deep); font-size: .87rem; }
.location-bar .geo-feedback { grid-column: 2 / -1; margin: 0; }

.content-section { margin-top: 46px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 17px; }
.eyebrow {
    color: var(--red); display: flex; align-items: center; gap: 6px;
    text-transform: uppercase; font-size: .73rem; letter-spacing: .13em; line-height: 1.2; font-weight: 800; margin-bottom: 7px;
}
.menu-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; }
.menu-panel, .order-panel, .store-card, .service-card, .form-card, .submission-card {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.menu-empty { min-height: 100%; display: flex; align-items: flex-start; gap: 15px; padding: 24px; }
.menu-empty .tile-icon { width: 48px; height: 48px; }
.menu-empty h3, .order-panel h3 { font-size: 1.22rem; }
.menu-empty p, .order-panel p { font-size: .92rem; color: var(--muted); margin-top: 5px; max-width: 49ch; }
.order-panel .eyebrow { font-size: .71rem; color: var(--red); margin-top: 0; }
.menu-empty .text-link, .order-panel .text-link, .order-panel > .button { margin-top: 13px; }
.order-panel { padding: 23px; background: #fff1e3; border-color: #efd8c2; align-self: start; }
.order-panel p.small { margin-top: 12px; font-size: .81rem; }
.menu-group { padding: 18px 23px 5px; }
.menu-group + .menu-group { border-top: 1px solid var(--line); }
.menu-group h3 { color: var(--red-deep); }
.menu-group ul, .channel-list, .dialog-list { list-style: none; padding: 0; margin: 0; }
.menu-group li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; overflow-wrap: anywhere; }
.menu-group li + li { border-top: 1px solid #f2e8dc; }
.menu-group li p { color: var(--muted); font-size: .87rem; }
.price { font-weight: 800; color: var(--red); white-space: nowrap; }
.channel-list { display: grid; gap: 7px; margin-top: 13px; }
.channel-link { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 7px 11px; font-weight: 800; }
.channel-link:hover { border-color: #cd997e; }
.channel-link > svg { margin-left: auto; color: var(--red); }
.channel-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; font-size: .79rem; }
.channel-icon.ifood { background: #ffe7e8; color: #ac1427; }
.channel-icon.food99 { background: #ffe584; color: #382400; }
.channel-icon.whatsapp { background: #dff4e7; color: var(--green); }

.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.store-card { padding: 17px; display: flex; flex-direction: column; gap: 8px; min-height: 202px; }
.store-card.selected { border-color: #c77d61; }
.store-top { display: flex; align-items: center; gap: 5px; justify-content: space-between; }
.delivery-tag { border-radius: 999px; background: #ffebce; color: #713713; font-size: .68rem; font-weight: 800; padding: 4px 8px; white-space: nowrap; }
.store-card h3 { font-size: 1.13rem; }
.store-card p, .service-card p { font-size: .86rem; color: var(--muted); }
.store-links { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: auto; flex-wrap: wrap; padding-top: 5px; }
.store-links .text-link, .map-link { font-size: .82rem; }
.map-link { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 700; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.service-card { display: flex; align-items: center; gap: 11px; padding: 14px; transition: border-color .16s, background-color .16s; }
.service-card h3 { font-size: .98rem; margin-bottom: 4px; }
.service-card > svg { margin-left: auto; color: var(--red); }
.service-card:hover { border-color: #c77d61; background: #fff8ee; }

.site-footer { background: #faeddf; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; min-height: 93px; color: var(--muted); font-size: .85rem; }
.footer-links { display: flex; align-items: center; gap: 18px; font-weight: 700; }
.footer-links a:hover { color: var(--red); }

.store-dialog {
    width: min(490px, calc(100vw - 26px)); max-height: calc(100dvh - 40px);
    border: 1px solid var(--line); border-radius: 23px; padding: 21px;
    background: var(--paper); color: var(--ink); box-shadow: 0 22px 76px #200e0b55;
}
.store-dialog::backdrop { background: #230f0cd0; }
body:has(.store-dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.dialog-head h2 { font-size: 2.65rem; }
.icon-button { min-height: 40px; min-width: 40px; padding: 5px; background: var(--white); color: var(--red-deep); border: 1px solid var(--line); border-radius: 10px; }
.icon-button:hover { background: var(--peach); }
.dialog-list { display: grid; gap: 7px; margin-top: 13px; }
.dialog-list a { display: flex; align-items: center; gap: 11px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.dialog-list a:hover { border-color: #c77d61; }
.dialog-list a > svg { margin-left: auto; color: var(--red); }
.dialog-list small { display: block; color: var(--muted); font-size: .79rem; line-height: 1.3; margin-top: 2px; }

.inner-page { padding-block: 28px 62px; min-height: calc(100vh - 170px); }
.back-link { margin-bottom: 24px; }
.form-layout { display: grid; grid-template-columns: 1fr 1.75fr; gap: clamp(20px, 5vw, 65px); align-items: start; }
.form-intro { padding-top: 18px; }
.form-intro .tile-icon { width: 55px; height: 55px; margin-bottom: 15px; }
.form-intro h1 { font-size: clamp(3.25rem, 5.8vw, 5.8rem); }
.form-intro > p:last-child { color: var(--muted); max-width: 34ch; margin-top: 13px; }
.form-card { padding: clamp(17px, 3vw, 30px); min-width: 0; }
.form-card h2 { font-size: 2.22rem; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 13px; }
.form-grid .span-full { grid-column: 1 / -1; }
label { display: block; font-size: .87rem; font-weight: 800; }
input:not([type=checkbox]), select, textarea {
    display: block; width: 100%; border: 1px solid #decbbd; border-radius: 9px; color: var(--ink);
    background: #fffcf7; padding: 8px 10px; margin-top: 4px; font-size: 1rem; font-weight: 400;
    min-height: 44px;
}
input::placeholder { color: #7d655b; }
textarea { resize: vertical; }
.optional { color: var(--muted); font-weight: 400; }
.check-field { display: flex; align-items: flex-start; gap: 7px; margin-block: 15px; font-weight: 500; }
.check-field input { accent-color: var(--red); width: 16px; height: 16px; margin: 2px 0 0; flex: none; }
.check-field a { text-decoration: underline; text-underline-offset: 3px; color: var(--red); }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert, .success-note { margin-block: 0 15px; padding: 11px 14px; border-radius: 9px; font-size: .9rem; }
.alert { background: #fbe8e2; color: #831f13; }
.alert ul { margin: 0; padding-left: 18px; }
.success-note { color: #176641; background: #e6f4eb; }
.success-card .tile-icon { color: var(--green); background: #e6f4eb; margin-bottom: 13px; }
.success-card p, .privacy-card p { color: var(--muted); }
.success-card .button { margin-top: 17px; }
.privacy-card { max-width: 780px; }
.privacy-card h2 { margin: 22px 0 5px; }

.admin-main { padding-block: 25px 55px; }
.admin-header-links { display: flex; gap: 14px; align-items: center; }
.login-card { margin: 17px auto; max-width: 460px; }
.login-card h1 { margin-bottom: 16px; }
.login-card label { margin-bottom: 12px; }
.admin-nav, .status-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 21px; }
.admin-nav a, .status-nav a {
    border: 1px solid var(--line); background: var(--white); border-radius: 9px;
    padding: 7px 11px; font-size: .85rem; font-weight: 800; color: var(--red-deep);
}
.admin-nav a:hover, .status-nav a:hover { background: var(--peach); }
.admin-nav a[aria-current], .status-nav a[aria-current] { background: var(--red); border-color: var(--red); color: white; }
.admin-heading { margin-bottom: 15px; }
.admin-help { color: var(--muted); margin-bottom: 15px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 16px; }
.stats-grid > div { padding: 11px; background: #f6ede5; border: 1px solid var(--line); border-radius: 13px; display: grid; text-align: center; }
.stats-grid > div:nth-child(2) { background: #fff1d9; color: #794113; border-color: #efddb6; }
.stats-grid > div:nth-child(3) { background: #e7f4ed; color: var(--green); border-color: #cfe7d8; }
.stats-grid strong { font: 800 2.6rem/1 var(--head); }
.stats-grid span { font-size: .85rem; font-weight: 700; margin-top: 5px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: end; margin-bottom: 15px; }
.filters .status-nav { margin-bottom: 0; }
.filter-form { display: flex; align-items: end; gap: 6px; }
.filter-form select { min-width: 170px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: start; }
.settings-card { display: grid; gap: 10px; }
.settings-card h2 { margin-bottom: 0; }
.settings-card p { color: var(--muted); font-size: .86rem; }
.settings-card .button { justify-self: start; margin-top: 4px; }
.settings-card .check-field { margin-block: 4px; }
.admin-empty { color: var(--muted); }
.submission-list { display: grid; gap: 10px; }
.submission-card { padding: 15px 17px; overflow-wrap: anywhere; }
.submission-card header { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.submission-card h2 { font-size: 1.95rem; }
.submission-card header p { color: var(--muted); font-size: .85rem; margin-top: 5px; }
.status-pill { font-weight: 800; font-size: .73rem; border-radius: 999px; padding: 4px 8px; }
.status-pill.pendente { background: #fff1d9; color: #794113; }
.status-pill.contatado { background: #e7f4ed; color: var(--green); }
.submission-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.whatsapp { color: var(--green); border-color: #cde8d7; background: #e7f4ed; }
.whatsapp:hover { background: #d2eedf; }
.submission-card details { margin-top: 10px; }
.submission-card summary { color: var(--red-deep); font-weight: 800; font-size: .9rem; cursor: pointer; }
.submission-card dl { display: grid; grid-template-columns: minmax(95px, 120px) 1fr; gap: 4px 10px; font-size: .9rem; }
.submission-card dt { font-weight: 800; }
.submission-card dd { margin: 0; }
.delete-form { border-top: 1px solid var(--line); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 15px; font-size: .88rem; }
.pagination a { color: var(--red); font-weight: 800; text-decoration: underline; }

@media (max-width: 970px) {
    .shell { width: min(1140px, calc(100% - 40px)); }
    .hero { min-height: 407px; }
    .hero-copy { padding-left: 32px; }
    .hero h1 { font-size: clamp(4.7rem, 10vw, 6.3rem); }
    .location-bar { grid-template-columns: auto minmax(0, 1fr); }
    .location-actions, .location-bar .geo-feedback { grid-column: 2; }
    .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .store-card { min-height: 168px; }
    .service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
    .shell { width: calc(100% - 28px); }
    [id] { scroll-margin-top: 82px; }
    body:not(.admin-body) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
    .header-inner { min-height: 64px; gap: 9px; }
    .brand { gap: 6px; }
    .brand img { width: 52px; }
    .brand strong { font-size: 1.43rem; }
    .brand small { font-size: .46rem; }
    .desktop-nav { display: none; }
    .header-order { min-height: 40px; font-size: .78rem; padding-inline: 10px; }
    .main-content { padding-block: 12px 37px; }
    .hero { grid-template-columns: 1fr; border-radius: 20px; }
    .hero-copy { padding: 24px 18px 3px; }
    .hero h1 { font-size: clamp(4.55rem, 16vw, 6.65rem); margin: 16px 0 12px; }
    .hero-copy p { margin-bottom: 14px; }
    .hero-actions { gap: 3px; }
    .hero-actions .button { min-height: 43px; font-size: .82rem; padding-inline: 10px; }
    .hero-photo { min-height: clamp(158px, 42vw, 260px); }
    .hero-photo img { object-position: 52% 56%; }
    .hero-photo::after { background: linear-gradient(180deg, #711d15, #711d1520 25%, transparent 43%); }
    .hero-photo figcaption { bottom: 9px; right: 10px; }
    .location-bar { margin-top: 11px; padding: 13px; gap: 9px; border-radius: 16px; }
    .location-bar .tile-icon { width: 39px; height: 39px; }
    .location-bar h2 { font-size: .97rem; }
    .location-bar p { font-size: .79rem; }
    .location-actions, .location-bar .geo-feedback { grid-column: 1 / -1; }
    .location-actions { flex-wrap: wrap; }
    .location-actions .button { flex: 1 1 auto; font-size: .77rem; min-height: 42px; padding-inline: 7px; gap: 5px; }
    .content-section { margin-top: 30px; }
    h1, h2 { font-size: 2.68rem; }
    .section-heading { gap: 8px; margin-bottom: 11px; }
    .unit-tag { font-size: .75rem; min-height: 37px; padding: 6px 8px; }
    .menu-layout { grid-template-columns: 1fr; gap: 8px; }
    .menu-panel, .order-panel, .store-card, .service-card, .form-card, .submission-card { border-radius: 15px; }
    .menu-empty, .order-panel { padding: 14px; }
    .menu-empty { gap: 9px; }
    .menu-empty .tile-icon { width: 38px; height: 38px; }
    .store-grid { gap: 8px; }
    .store-card { padding: 10px; min-height: 155px; }
    .store-card h3 { font-size: .97rem; }
    .store-card p, .service-card p { font-size: .79rem; }
    .store-top .tile-icon { width: 36px; height: 36px; }
    .store-links { gap: 6px; }
    .store-links .text-link, .map-link { font-size: .75rem; }
    .service-grid { gap: 8px; }
    .footer-inner { flex-wrap: wrap; padding-block: 12px; font-size: .78rem; }
    .footer-inner > p { order: 3; flex-basis: 100%; }
    .bottom-nav {
        display: grid; grid-template-columns: repeat(4, 1fr); position: fixed;
        z-index: 2; bottom: 0; inset-inline: 0; border-top: 1px solid var(--line); background: var(--white);
        padding: 5px 5px calc(5px + env(safe-area-inset-bottom));
    }
    .bottom-nav a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 50px; color: var(--muted); font-size: .7rem; font-weight: 700; }
    .bottom-nav a[aria-current], .bottom-nav a:hover { color: var(--red); }
    .bottom-nav a[aria-current] svg { background: var(--peach); border-radius: 9px; width: 37px; height: 25px; padding: 3px; }
    .inner-page { padding-block: 14px 35px; }
    .back-link { margin-bottom: 13px; }
    .form-layout { grid-template-columns: 1fr; gap: 16px; }
    .form-intro { padding-top: 0; }
    .form-intro .tile-icon { width: 43px; height: 43px; margin-bottom: 8px; }
    .form-intro > p:last-child { margin-top: 7px; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-heading .button { min-height: 40px; padding-inline: 8px; font-size: .74rem; }
    .admin-header-links { gap: 7px; }
    .admin-header-links .text-link { font-size: .79rem; }
    .admin-header-links .button { min-height: 38px; padding-inline: 8px; font-size: .78rem; }
}
@media (max-width: 375px) {
    .form-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-inline: 13px; }
    .hero-actions .button { font-size: .76rem; padding-inline: 7px; }
    .location-actions .button { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
