:root {
  --bg: #FBF8F4;
  --surface: #FFFFFF;
  --ink: #0A2247;
  --muted: #4B5A78;
  --line: #E6DED3;
  --hero: #0F3B75;
  --hero-ink: #FFFFFF;
  --hero-muted: #CFDCF2;
  --accent: #FF8000;
  --on-accent: #0A2247;
  --open: #12805C;
  --closed: #B3261E;
  --display: "Bricolage Grotesque", "Arial Black", Impact, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #081833; --surface: #0F2447; --ink: #F1F5FF; --muted: #A9B8D6; --line: #223862;
    --hero: #0B2B57; --open: #46D19F; --closed: #FF8A80;
  }
}
:root[data-theme="dark"] {
  --bg: #081833; --surface: #0F2447; --ink: #F1F5FF; --muted: #A9B8D6; --line: #223862;
  --hero: #0B2B57; --open: #46D19F; --closed: #FF8A80;
}
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.55;
  padding-bottom: 5.5rem;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(72rem, 100% - 2.5rem); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent;
}
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--hero-muted); color: var(--hero-ink); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-blue { background: var(--hero); color: var(--hero-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--line); }
.btn-outline-dark { border-color: #0A2247; color: #0A2247; }
.btn-outline-dark:hover { background: rgba(10,34,71,.12); }

/* Header + menu */
.site-head { background: var(--hero); color: var(--hero-ink); padding: 1.25rem 0 0; }
.head-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; text-decoration: none; }
.brand span { background: var(--accent); color: var(--on-accent); padding: .1rem .5rem; border-radius: .35rem; margin-right: .35rem; }
.menu { display: flex; gap: .25rem; width: 100%; }
.menu a { padding: .6rem .85rem; text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.menu a:hover { border-bottom-color: var(--hero-muted); }
.menu a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Hero (home) and page heads (inner pages) */
.hero, .page-head { background: var(--hero); color: var(--hero-ink); }
.hero { padding: 2.5rem 0 4rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 9vw, 5.5rem); text-wrap: balance; }
.lead { margin-top: 1.25rem; font-size: 1.25rem; color: var(--hero-muted); max-width: 32rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-head { padding: 2.5rem 0 3.5rem; }
.page-head h1 { font-size: clamp(2.25rem, 7vw, 4rem); text-wrap: balance; max-width: 20ch; }

/* Door sign: live open/closed status */
.sign-wrap { display: flex; justify-content: center; }
.sign {
  position: relative; width: min(20rem, 100%); background: var(--surface); color: var(--ink);
  border-radius: 1.25rem; padding: 2.25rem 1.5rem 1.5rem; text-align: center;
  transform: rotate(2.5deg); transform-origin: 50% 0;
  box-shadow: 0 1.25rem 2rem -1rem rgba(0,0,0,.45);
}
.sign::before, .sign::after { content: ""; position: absolute; top: -2.25rem; width: 2px; height: 2.6rem; background: var(--hero-muted); }
.sign::before { left: 32%; transform: rotate(-16deg); transform-origin: bottom; }
.sign::after { right: 32%; transform: rotate(16deg); transform-origin: bottom; }
.sign .hole { position: absolute; top: .7rem; left: 50%; width: .9rem; height: .9rem; margin-left: -.45rem; border-radius: 50%; background: var(--hero); }
.sign .state { font-family: var(--display); font-weight: 800; font-size: 3.25rem; line-height: 1; letter-spacing: -0.02em; }
.sign .state.open { color: var(--open); }
.sign .state.closed { color: var(--closed); }
.sign .detail { margin-top: .6rem; color: var(--muted); font-weight: 500; }
.sign .slogan { margin-top: 1.1rem; padding-top: 1rem; border-top: 2px dashed var(--line); font-weight: 600; }

/* Sections */
section { padding: 4.5rem 0; }
.hero, .page-head { padding-bottom: 4rem; }
h2 { font-size: clamp(2rem, 6vw, 3.25rem); text-wrap: balance; max-width: 22ch; }
.section-intro { margin-top: 1rem; color: var(--muted); max-width: 34rem; }

/* Image grid */
.grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.page-head + section .grid { margin-top: 0; }
.grid figure { margin: 0; }
.grid img { display: block; width: 100%; height: auto; aspect-ratio: 287 / 510; object-fit: cover; border-radius: 1rem; background: var(--line); }
.more { margin-top: 2rem; }

/* Reviews */
.reviews { background: var(--surface); }
.rating { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin-top: 1.5rem; }
.rating .big { font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 1; }
.rating .stars { color: var(--accent); font-size: 1.6rem; letter-spacing: .1em; }
.rating .count { color: var(--muted); font-weight: 500; }
.quotes { margin-top: 2rem; display: grid; }
.quotes blockquote { margin: 0; padding: 1.5rem 0; border-top: 1px solid var(--line); font-size: 1.25rem; line-height: 1.45; max-width: 44rem; }
.quotes blockquote:last-child { border-bottom: 1px solid var(--line); }
.quotes cite { display: block; margin-top: .5rem; font-style: normal; font-size: .95rem; color: var(--muted); }

/* CTA band */
.cta { background: var(--accent); color: #0A2247; padding: 3.5rem 0; }
.cta-in { display: grid; gap: 1.75rem; align-items: center; }
.cta h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
.cta p { margin-top: .75rem; font-weight: 500; max-width: 34rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn-blue { background: #0A2247; color: #FFFFFF; }

/* Two-column pages (Sobre, Contato) */
.two { display: grid; gap: 3rem; align-items: start; }
.storefront { display: block; width: 100%; height: auto; border-radius: 1.25rem; margin-bottom: 1.75rem; }
.two > div:last-child .storefront { margin-bottom: 0; }
.big-p { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.25; letter-spacing: -0.01em; max-width: 30rem; }
.facts { margin: 2rem 0 0; border-top: 2px solid var(--ink); }
.facts > div { display: grid; gap: .15rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.facts dd { margin: 0; color: var(--muted); }
.facts dd a { color: var(--ink); font-weight: 600; }
.address { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.01em; }
.address-sub { color: var(--muted); margin-top: .5rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.hours tr.today th::after { content: "hoje"; margin-left: .6rem; background: var(--accent); color: var(--on-accent); font-size: .8rem; padding: .1rem .55rem; border-radius: 999px; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2.5rem 0; color: var(--muted); font-size: .95rem; }
footer .wrap { display: grid; gap: .4rem; }
footer a { font-weight: 600; color: var(--ink); }

/* Mobile quick bar */
.quick {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line);
}
.quick a { min-height: 3rem; display: flex; align-items: center; justify-content: center; border-radius: .75rem; text-decoration: none; font-weight: 600; font-size: .98rem; background: var(--bg); }
.quick a.main { background: var(--accent); color: var(--on-accent); }

@media (min-width: 52rem) {
  body { padding-bottom: 0; }
  .quick { display: none; }
  .menu { width: auto; gap: .5rem; }
  .hero { padding: 3rem 0 6rem; }
  .page-head { padding: 3rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .two { grid-template-columns: 1.1fr 1fr; gap: 5rem; }
  .cta-in { grid-template-columns: 1.3fr 1fr; gap: 3rem; }
  .cta-actions { justify-content: flex-end; }
  footer .wrap { grid-template-columns: 1fr auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
