/* Brazil Mart — identidade: papel creme, vermelho-pimenta, lousa de balcão (as plaquinhas das fotos) e pano xadrez vermelho e branco.
   Fontes: Bricolage Grotesque (títulos, gorda e simpática) + DM Sans (texto). */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 500 800; font-display: swap; src: url('fonts/bricolage-500-800.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/dmsans-400-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
:root {
  --bg: #fff6e0; --bg2: #f6e8c8; --ink: #1f2420; --muted: #55503f; --line: #dcc9a0;
  --accent: #c8281a; --accent-hover: #a81f13; --accent-ink: #ffffff; --accent2: #0f6b3a;
  --link: #a81f13; --focus: #0f6b3a; --star: #d8830a; --card-bg: #fffaf0;
  --header-bg: #c8281a; --header-ink: #fff6e0; --header-h: 64px;
  --lang-line: rgba(255,246,224,.5); --lang-on-bg: #fff6e0; --lang-on-ink: #7d1409;
  --open: #17692a; --closed: #a12f17; --note-bg: #1f2420; --note-ink: #fff6e0;
  --pop-bg: #fffaf0; --pop-ink: #1f2420; --pop-hover: #f6e8c8; --today-bg: rgba(200,40,26,.1);
  --footer-bg: #1f2420; --footer-ink: #fff6e0; --bar-bg: rgba(255,246,224,.98); --ghost-line: #1f2420;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif; --h2-weight: 800; --radius: 14px; --btn-radius: 12px;
}
h2 { letter-spacing: -0.01em; }
.bm-word { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: .12em; line-height: 1; }
.bm-mart { background: #fff6e0; color: #c8281a; padding: 0 .22em; border-radius: .18em; transform: rotate(-2deg); display: inline-block; }
.wordmark { text-decoration: none; color: inherit; font-size: 1.5rem; }
.bm-big { font-size: clamp(3.6rem, 19vw, 7.5rem); flex-wrap: wrap; color: var(--ink); }
.bm-big .bm-mart { background: var(--accent); color: #fff; }
.hero { padding: 26px 0 60px; background: var(--bg); position: relative; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background:
  repeating-linear-gradient(90deg, #c8281a 0 22px, #fff6e0 22px 44px); opacity: .95; -webkit-mask: repeating-linear-gradient(0deg, #000 0 11px, rgba(0,0,0,.55) 11px 22px); mask: repeating-linear-gradient(0deg, #000 0 11px, rgba(0,0,0,.55) 11px 22px); }
.hero-inner { display: grid; gap: 30px; }
.hero-kicker { font-weight: 700; color: var(--accent2); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; margin-bottom: 10px; }
.hero-lead { margin: 18px 0 14px; font-size: 1.22rem; max-width: 34ch; }
.hero-actions { display: grid; gap: 12px; margin-top: 18px; }
.hero-where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 18px; color: var(--muted); }
.hero-where a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.hero-rating { display: inline-flex; align-items: center; gap: 6px; color: #8a4f00; font-weight: 700; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--ink); }
.tag { position: absolute; left: 14px; bottom: -14px; background: #1f2420; color: #fff6e0; padding: 8px 16px; border-radius: 6px; font-family: var(--font-display); font-weight: 700; transform: rotate(-2deg); border: 2px solid #fff6e0; }
.ask { background: #1f2420; color: #fff6e0; --muted: #d8cfb6; --ink: #fff6e0; --line: #4a4f48; --ghost-line: #fff6e0; --link: #ffd9a0; --focus: #ffd34d; }
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat { display: grid; gap: 2px; align-content: start; text-align: left; min-height: 84px; padding: 14px 14px 12px; background: #fff6e0; color: #1f2420; border: 2px solid #fff6e0; border-radius: 10px; font: inherit; cursor: pointer; transition: transform .12s ease; }
.cat-name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.cat-sub { font-size: .88rem; color: #55503f; line-height: 1.25; }
.cat:hover { transform: translateY(-2px); }
.cat[aria-pressed="true"] { background: #ffd34d; border-color: #ffd34d; }
.cats-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }
html:not(.js) .cats, html:not(.js) .cats-note { display: none; }
.ask-box-wrap { margin-top: 26px; }
.ask-box { padding: 22px 18px; border: 2px dashed #fff6e0; border-radius: 14px; }
.ask-label { display: block; font-weight: 700; margin-bottom: 8px; }
.ask-box input { width: 100%; min-height: 52px; padding: 0 14px; font: inherit; font-size: 1.05rem; border: 2px solid #fff6e0; border-radius: 10px; background: #fff6e0; color: #1f2420; }
.ask-box input::placeholder { color: #6b6650; }
.bubble { display: none; margin-top: 16px; padding: 16px 18px; background: #dcf8c6; color: #0b2318; border-radius: 18px 18px 4px 18px; max-width: 520px; }
.ask.is-live .bubble { display: block; }
.bubble-label { font-size: .85rem; font-weight: 700; color: #3a5a3f; margin-bottom: 4px; }
.ask-box .btn { margin-top: 18px; width: 100%; }
.ask .btn-primary { background: #ffd34d; color: #1f2420; } .ask .btn-primary:hover { background: #ffe07d; }
.ask-or { margin-top: 14px; color: var(--muted); }
.ask-or a { font-weight: 700; color: #ffd34d; }
.counter-inner { display: grid; gap: 28px; align-items: center; }
.counter-photo { margin: 0; }
.counter-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); border: 3px solid var(--ink); transform: rotate(-1.5deg); }
.counter-list { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.counter-list li { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; padding: 4px 16px; background: #1f2420; color: #fff6e0; border-radius: 8px; }
.counter .btn { margin-top: 14px; }
.shelves { background: var(--bg2); }
.shelf-grid { display: grid; gap: 12px; }
.shelf-grid figure { margin: 0; }
.shelf-grid img { width: 100%; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); }
.sh-a img { aspect-ratio: 16 / 9; } .sh-b img { aspect-ratio: 4 / 3; } .sh-c img { aspect-ratio: 16 / 9; }
.house-text { margin-top: 14px; font-size: 1.15rem; max-width: 52ch; color: var(--muted); }
.store { margin: 20px 0 0; }
.store img { width: 100%; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hours-sec { background: var(--bg2); }
.contact-actions { display: grid; gap: 12px; margin-top: 22px; }
.footer-brand { font-size: 1.6rem; margin-bottom: 6px; }
.footer-brand .bm-mart { background: #c8281a; color: #fff6e0; }
@media (min-width: 600px) { .ask-box .btn { width: auto; } .contact-actions { display: flex; flex-wrap: wrap; } .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .counter-inner { grid-template-columns: .85fr 1fr; gap: 64px; }
  .shelf-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .sh-a { grid-row: span 2; } .sh-a img { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .sh-b img, .sh-c img { aspect-ratio: 16 / 10; }
}

/* ===== Base compartilhada (estrutura). As cores/fontes vêm das variáveis do tema, no começo do arquivo. ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-family: var(--font-display); }
h2 { font-size: clamp(2rem, 7vw, 3.1rem); font-weight: var(--h2-weight, 700); text-wrap: balance; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }
.narrow > * { max-width: 760px; }
.section { padding: 72px 0; }
.section-head { margin-bottom: 30px; max-width: 720px; }
.section-intro { color: var(--muted); margin-top: 14px; font-size: 1.1rem; max-width: 62ch; }

/* Idioma: o CSS mostra só uma das três versões */
html:not([lang^="pt"]) .pt { display: none !important; }
html[lang^="pt"] .en { display: none !important; }
html:not([lang^="es"]) .es { display: none !important; }
html[lang^="es"] .en { display: none !important; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.3em; border-radius: var(--btn-radius, 999px); border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: pointer; text-align: center; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn svg { flex: none; }
.btn-lg { min-height: 56px; font-size: 1.1rem; padding-inline: 1.5em; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost, .btn-outline { background: transparent; color: var(--ghost-ink, var(--ink)); border-color: var(--ghost-line, var(--line)); }
.btn-ghost:hover, .btn-outline:hover { background: var(--ghost-hover, rgba(127,127,127,.14)); }
.btn-wa { background: #25d366; color: #06361a; }
.btn-wa:hover { background: #20bd5b; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); color: var(--header-ink); border-bottom: var(--header-border, 0); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav { display: none; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--lang-line); border-radius: 999px; }
.lang-btn { min-width: 44px; min-height: 40px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: var(--lang-on-bg); color: var(--lang-on-ink); }

/* Status aberto/fechado */
.status { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; }
.status::before { content: ''; width: .7em; height: .7em; border-radius: 50%; background: currentColor; flex: none; }
.status.is-open { color: var(--open); }
.status.is-closed { color: var(--closed); }
.status > span { min-width: 0; }
.status-extra { font-weight: 500; opacity: .9; }

/* Aviso de feriado */
.holiday-note { background: var(--note-bg); color: var(--note-ink); }
.holiday-note .container { display: flex; align-items: center; gap: 10px; min-height: 48px; padding-top: 4px; padding-bottom: 4px; }
.holiday-note svg { flex: none; }
.holiday-text { flex: 1; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.holiday-close { flex: none; width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }

/* Menu "Como chegar" */
.dir { position: relative; display: inline-flex; }
.dir > .btn { width: 100%; }
.dir-pop { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; min-width: 230px; display: grid; gap: 2px; padding: 6px; background: var(--pop-bg); color: var(--pop-ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.dir-pop a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; color: inherit; text-decoration: none; font-weight: 600; border-radius: 8px; }
.dir-pop a:hover, .dir-pop a:focus-visible { background: var(--pop-hover); }
.mobile-bar .dir { display: flex; }
.mobile-bar .dir-pop { top: auto; bottom: calc(100% + 12px); left: auto; right: 0; }

/* Local */
.find { display: grid; gap: 22px; }
.address-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 20px; background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius); }
.address-card svg { color: var(--accent2, var(--accent)); margin-top: 3px; }
.address-card address { font-style: normal; line-height: 1.5; }
.address-card .copy-btn { grid-column: 1 / -1; justify-self: start; }
.copy-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .45em 1.1em; font: inherit; font-weight: 600; font-size: .95rem; background: transparent; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.copy-btn .i-check, .copy-btn .copy-done { display: none; }
.copy-btn.copied .i-check, .copy-btn.copied .copy-done { display: inline; }
.copy-btn.copied .i-copy, .copy-btn.copied .copy-label { display: none; }
.map-apps-label { margin: 18px 0 0; font-weight: 600; }
.map-apps { display: grid; gap: 12px; margin-top: 12px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 300px; background: var(--bg2); }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Horário */
.hours { list-style: none; margin: 18px 0 0; padding: 0; max-width: 460px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hours li.today { background: var(--today-bg); font-weight: 700; border-radius: 8px; }
.note { margin-top: 16px; color: var(--muted); font-size: .95rem; }
.ph { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #ffe066; color: #3a2c00; font-weight: 800; font-size: .72rem; letter-spacing: .05em; vertical-align: middle; }
.ph-text { color: var(--muted); }
.confirm { font-size: .8rem; font-weight: 600; opacity: .8; }

/* Nota do Google */
.rating { margin-top: 22px; display: grid; gap: 12px; justify-items: start; }
.rating-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1.1rem; }
.rating-score { font-size: 2rem; font-weight: 800; font-family: var(--font-display); }
.rating-stars { color: var(--star); letter-spacing: 2px; }

/* Contato / rodapé */
.contact-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; max-width: 460px; }
.contact-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cl-label { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.share-btn[hidden] { display: none; }
.share-btn .share-done { display: none; }
.share-btn.copied .share-done { display: inline; }
.share-btn.copied .share-label { display: none; }
.share-row { margin-top: 26px; }
.footer-share { margin: 14px 0 6px; }
.footer-share .share-btn { min-height: 44px; font-size: .92rem; }
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 44px 0 110px; }
.footer-inner { display: grid; gap: 6px; }
.site-footer a { color: inherit; }
.site-footer .copy { margin-top: 10px; opacity: .8; font-size: .92rem; }
.site-footer .credit { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(127,127,127,.35); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.site-footer .credit a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }

/* Barra fixa (celular) */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--bar-bg); border-top: 1px solid var(--line); }
.mobile-bar .btn { min-height: 50px; padding-inline: .6em; white-space: nowrap; gap: .45em; }
.bar-auto .mobile-bar { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.bar-auto .mobile-bar.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
@media (prefers-reduced-motion: reduce) { .bar-auto .mobile-bar { transition: none; } }
.to-top { position: fixed; right: 14px; bottom: 86px; z-index: 34; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); opacity: 0; visibility: hidden; transform: translateY(8px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }

/* FAQ escondido (para quando o dono aprovar) */
.faq-list { display: grid; gap: 8px; margin-top: 20px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; }
.faq-item summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
.faq-item p { padding: 0 0 14px; color: var(--muted); }

@media (min-width: 600px) {
  .map-apps { display: flex; flex-wrap: wrap; }
  .hero-actions { display: flex; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .section { padding: 104px 0; }
  .mobile-bar, .to-top { display: none; }
  .site-footer { padding-bottom: 48px; }
  .nav { display: flex; gap: 4px; margin-left: auto; margin-right: 14px; }
  .nav a { color: inherit; text-decoration: none; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
  .nav a:hover { background: rgba(127,127,127,.18); }
  .find { grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: start; }
}
