:root {
  --ink: #000000;
  --ink-soft: #17171a;
  --text: #111114;
  --muted: #55565c;
  --bg: #f4f4f1;
  --card: #ffffff;
  --border: #dcdcd8;
  --accent: #f5d505;
  --accent-strong: #ffe53d;
  --on-accent: #000000;
  --on-ink: #fafafa;
  --on-ink-muted: #b9b9be;
  --star: #b45309;

  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1120px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--card); color: var(--text); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--accent); }
.hero .eyebrow, .section--dark .eyebrow { color: var(--accent); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .6s ease; }
.btn--primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: var(--on-ink); }
.btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--small {
  min-height: 44px; padding: 0 16px; font-size: .92rem;
  border-color: var(--border); color: var(--text); background: var(--card);
}
.btn--small:hover { border-color: var(--ink); background: var(--ink); color: var(--on-ink); }
.btn--pending { cursor: default; opacity: .75; }
.btn--pending:hover { transform: none; }
.btn--primary.btn--pending:hover { background: var(--accent); }
.btn--small.btn--pending:hover { border-color: var(--border); background: var(--card); color: var(--text); }
.btn small { font-family: var(--font-body); font-weight: 400; font-size: .8em; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-ink);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.brand-link { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand-logo { height: 38px; width: auto; }
.brand-text {
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem;
  letter-spacing: .06em; text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; color: inherit;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; border-radius: 2px; }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; gap: 4px; padding: 12px 20px 20px;
  background: var(--ink); border-top: 1px solid var(--ink-soft);
}
.site-nav.is-open { display: flex; }
.site-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 600;
}
.site-nav a:not(.btn):hover { color: var(--accent); }
.nav-cta { margin-top: 8px; }

/* Hero */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--on-ink); padding: 48px 0 72px; overflow: hidden; }
.hero__grid { display: grid; gap: 44px; }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 700; margin-top: 14px; letter-spacing: -.02em; }
.hero__subtitle { margin-top: 18px; max-width: 34em; font-size: 1.1rem; color: var(--on-ink-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hl { position: relative; color: var(--accent); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .09em; border-radius: 99px;
  background: var(--accent); box-shadow: 0 0 18px var(--accent);
  transform-origin: left; animation: hl-draw .8s .7s cubic-bezier(.2, .7, .2, 1) both;
}

.hero__fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__fx::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(245, 213, 5, .2), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(90% 80% at 70% 40%, #000 30%, transparent 100%);
}
.hero__beam {
  position: absolute; left: -25%; top: 46%; width: 150%; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, transparent 5%, var(--accent) 35%, #fff6b0 50%, var(--accent) 65%, transparent 95%);
  box-shadow: 0 0 22px 2px rgba(245, 213, 5, .55);
  opacity: .5; animation: beam-pulse 5s ease-in-out infinite alternate;
}
.hero__beam--a { transform: rotate(-21deg); }
.hero__beam--b { transform: rotate(21deg); animation-delay: -2.5s; }

.hero__copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(2) { animation-delay: .1s; }
.hero__copy > :nth-child(3) { animation-delay: .22s; }
.hero__copy > :nth-child(4) { animation-delay: .34s; }

.hero__media { position: relative; max-width: 460px; margin: 0 auto; width: 100%; animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; border: 2px solid var(--accent); border-radius: var(--radius);
  transform: translate(12px, 12px); box-shadow: 0 0 30px rgba(245, 213, 5, .35);
}
.hero__img { position: relative; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chip {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.2; text-decoration: none;
  background: var(--card); color: var(--text); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
  animation: float 5s ease-in-out infinite alternate;
}
.chip strong { font-family: var(--font-head); font-size: 1.15rem; }
.chip__star { color: var(--star); }
.chip__sub { flex-basis: 100%; color: var(--muted); font-size: .8rem; }
.chip--rating { left: 10px; bottom: 18px; }
.chip--hours { right: 10px; top: 14px; background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 600; animation-delay: -2.5s; }

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hl-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes beam-pulse { from { opacity: .25; } to { opacity: .8; } }
@keyframes float { from { translate: 0 -5px; } to { translate: 0 5px; } }
@keyframes ticker { to { transform: translateX(-50%); } }

.ticker { background: var(--accent); color: var(--on-accent); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker ul { display: flex; }
.ticker li {
  display: flex; align-items: center; gap: 22px; padding: 13px 0 13px 22px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.ticker li::after { content: "✕"; font-weight: 500; }

.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.hero__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__tile {
  aspect-ratio: 1; display: grid; place-items: center;
  background: var(--ink-soft); border-radius: var(--radius); color: var(--on-ink);
}
.hero__tile:nth-child(2), .hero__tile:nth-child(6) { background: var(--accent); color: var(--on-accent); }
.hero__tile:nth-child(4) { background: var(--on-ink); color: var(--ink); }
.hero__tile .icon { width: 42%; height: 42%; }

/* Seções */
.section { padding: 64px 0; }
.section--dark { background: var(--ink); color: var(--on-ink); }
.section__head { margin-bottom: 32px; }
.section__head h2 { font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 700; margin-top: 10px; }

/* Categorias */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, translate .2s ease, box-shadow .2s ease;
}
.cat-card:hover { border-color: var(--ink); translate: 0 -4px; box-shadow: 0 14px 30px -18px rgba(11, 18, 32, .45); }
.cat-card__media {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  background: var(--bg); color: var(--ink);
}
.cat-card__media { overflow: hidden; }
.cat-card__media img { transition: scale .5s ease; }
.cat-card:hover .cat-card__media img { scale: 1.07; }
.cat-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card__media .icon { width: 38%; height: 38%; }
.cat-card__num {
  position: absolute; left: 12px; top: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.cat-card__media img + .cat-card__num { display: none; }
.cat-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.cat-card__body h3 { font-size: 1.1rem; font-weight: 600; }
.cat-card__body p { color: var(--muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.cat-card__body .btn { margin-top: 8px; width: 100%; text-align: center; line-height: 1.15; padding: 6px 10px; }

/* Vitrine */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery .shot { border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.shot { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; overflow: hidden; border-radius: 12px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s ease, opacity .3s ease; }
.shot:hover img { scale: 1.06; opacity: .9; }

.lightbox { padding: 0; border: 0; background: none; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .88); }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.lightbox__bar button {
  min-width: 48px; min-height: 48px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-weight: 600; font-size: 1rem;
}

/* Avaliações */
.section--tight { padding-top: 0; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.rating {
  display: inline-flex; align-items: center; gap: 14px; min-height: 44px;
  padding: 12px 18px; text-decoration: none;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s ease;
}
.rating:hover { border-color: var(--ink); }
.rating__score { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rating__count { display: block; color: var(--muted); font-size: .9rem; }
.stars { color: var(--star); letter-spacing: .12em; font-size: 1rem; line-height: 1; }
.stars--partial {
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--star) var(--fill), var(--border) var(--fill));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.review-grid { display: grid; gap: 12px; }
.review {
  display: flex; flex-direction: column; gap: 12px; padding: 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.review blockquote { margin: 0; flex: 1; font-size: 1.02rem; line-height: 1.5; }
.review__author { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--muted); }
.reviews__more { margin-top: 20px; }
.reviews__more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; }

/* Como comprar */
.buy { display: grid; gap: 16px; }
.buy__panel { display: flex; flex-direction: column; gap: 22px; padding: 24px; background: var(--ink-soft); border: 1px solid #2a2a2f; border-radius: var(--radius); }
.buy__head { display: flex; align-items: center; gap: 14px; }
.buy__head h3 { font-size: 1.5rem; font-weight: 700; }
.buy__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--on-accent); }
.buy__icon .icon { width: 26px; height: 26px; }
.buy__steps { counter-reset: step; display: grid; gap: 18px; }
.buy__steps li { counter-increment: step; position: relative; padding-left: 52px; }
.buy__steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent); font-family: var(--font-head); font-weight: 700;
}
.buy__steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: -14px; width: 2px; background: #34343a; }
.buy__steps h4 { margin: 0; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; line-height: 1.3; }
.buy__steps p { margin-top: 2px; color: var(--on-ink-muted); }
.buy__quick { display: grid; gap: 10px; }
.buy__quick p { color: var(--on-ink-muted); font-size: .92rem; }
.buy__quick ul { display: flex; flex-wrap: wrap; gap: 8px; }
.buy__quick a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid #3a3a41; color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .92rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.buy__quick a:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.buy__map { width: 100%; height: 240px; border: 0; border-radius: 14px; background: #2a2a2f; }
.buy__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; }
.buy__hours { color: var(--on-ink-muted); font-size: .92rem; }

/* Lojas */
.stores { display: grid; gap: 20px; }
.store {
  display: grid; gap: 24px; padding: 22px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
}
.store h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 700; margin-top: 10px; }
.store__facts { margin: 20px 0 0; display: grid; gap: 4px; }
.store__facts dt { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.store__facts dd { margin: 0 0 12px; }
.store__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.store > * { min-width: 0; }
.store__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.store__gallery li { aspect-ratio: 1; min-width: 0; overflow: hidden; border-radius: 12px; }
.store__gallery li:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }

/* Rodapé */
.site-footer {
  background: var(--ink); color: var(--on-ink);
  border-top: 1px solid var(--ink-soft);
  padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
}
.site-footer__grid { display: grid; gap: 28px; }
.footer-logo { width: 220px; max-width: 70%; height: auto; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer__tagline { color: var(--on-ink-muted); margin-top: 4px; }
.footer-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-address { margin-top: 18px; font-style: normal; color: var(--on-ink-muted); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ink-soft);
  color: var(--on-ink-muted); font-size: .9rem;
}
.credit a { color: var(--accent); font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* Barra fixa de pedido (celular) */
.mobile-order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--card); border-top: 1px solid var(--border);
}
.mobile-order-btn { width: 100%; }

@media (min-width: 640px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; border: 0; background: none;
  }
  .nav-cta { margin-top: 0; }
  .hero { padding: 88px 0 104px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 64px; }
  .section { padding: 96px 0; }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .store { padding: 36px; gap: 28px; }
  .store__info { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: end; }
  .store__info > .eyebrow, .store__info > h2, .store__info > .store__facts { grid-column: 1; }
  .store__actions { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .buy { grid-template-columns: 1fr 1fr; gap: 20px; }
  .buy__panel { padding: 32px; }
  .hero__media { margin: 0 12px 0 auto; }
  .chip--rating { left: -28px; bottom: 40px; }
  .chip--hours { right: -14px; top: 28px; }
  .store__gallery { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(2, 200px); gap: 14px; }
  .store__gallery li { aspect-ratio: auto; }
  .store__gallery li:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .store__gallery li:last-child:nth-child(4) { grid-column: 2 / span 2; }
  .mobile-order-bar { display: none; }
  .site-footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
