/* ==========================================================
   Empório Pomare — landing page
   Tokens
   ========================================================== */
:root {
  --cream: #F7F2EA;
  --paper: #FFFDF8;
  --sand: #EDE5D7;
  --ink: #413A38;          /* marrom-café da marca */
  --ink-deep: #2C2624;
  --ink-soft: #6E6460;
  --sage: #D3DEAF;         /* verde-sálvia dos ícones */
  --sage-soft: #E6EDD2;
  --sage-deep: #56683D;
  --honey: #D7A85E;
  --wa: #128C4B;
  --wa-hover: #0E7840;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgb(44 38 36 / .06), 0 8px 24px -8px rgb(44 38 36 / .18);
  --shadow-lg: 0 2px 4px rgb(44 38 36 / .06), 0 24px 48px -16px rgb(44 38 36 / .28);

  --gutter: 20px;
  --maxw: 1180px;
  --bar-h: 76px;
}

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
/* iOS ignora overflow-x no body; clip corta sem quebrar o header sticky */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--ink-deep); }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Logo: PNG branco usado como máscara, para colorir via CSS */
.logo {
  display: block;
  width: 104px; aspect-ratio: 252 / 169;
  background: var(--ink);
  -webkit-mask: url("img/logo.png") center / contain no-repeat;
          mask: url("img/logo.png") center / contain no-repeat;
}
.logo--light { background: var(--paper); width: 132px; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: .9375rem; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 6px 16px -6px rgb(18 140 75 / .55); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--ink-deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgb(65 58 56 / .28); }
.btn--ghost:hover { background: rgb(65 58 56 / .06); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ==========================================================
   Header
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgb(247 242 234 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
          backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topbar.is-scrolled { border-bottom-color: rgb(65 58 56 / .1); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav, .topbar__cta { display: none; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .9688rem; color: var(--ink-soft);
  padding: 8px 2px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--sage-deep); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:hover { color: var(--ink-deep); }
.nav a:hover::after { transform: scaleX(1); }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; padding: 28px 0 56px; overflow: hidden; }
.hero::before { /* luz suave atrás da arte */
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: 60px;
  background: radial-gradient(closest-side, var(--sage-soft), transparent);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 40px; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--paper); box-shadow: var(--shadow);
  font-size: .875rem; font-weight: 500; color: var(--ink-soft);
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft); opacity: .45; }
.status.is-open .status__dot { background: #2DA160; opacity: 1; box-shadow: 0 0 0 0 rgb(45 161 96 / .5); animation: pulse 2.4s infinite; }
.status.is-open { color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgb(45 161 96 / 0); } 100% { box-shadow: 0 0 0 0 rgb(45 161 96 / 0); } }

.hero__title {
  margin-top: 20px;
  font: 500 clamp(2.6rem, 9.5vw, 4.9rem)/1.02 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title em, .section__title em {
  font-style: italic; font-weight: 400; color: var(--sage-deep);
}
.hero__lead { margin-top: 20px; max-width: 34ch; font-size: 1.1875rem; color: var(--ink-soft); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__addr {
  display: flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: .9375rem; color: var(--ink-soft);
}
.hero__addr svg { width: 18px; height: 18px; flex: none; color: var(--sage-deep); }

/* Arte do hero: arco + discos + selo + recortes */
.hero__art { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.08; margin-inline: auto; }
.arch {
  position: absolute; left: 18%; top: 4%; width: 58%; height: 88%;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--sand);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.disc {
  position: absolute; border-radius: 50%; overflow: hidden;
  border: 6px solid var(--paper); box-shadow: var(--shadow-lg); background: var(--sand);
}
.disc img { width: 100%; height: 100%; object-fit: cover; }
.disc--a { width: 40%; aspect-ratio: 1; right: 0; bottom: 6%; }
.disc--b { width: 28%; aspect-ratio: 1; left: 0; top: 38%; }
.seal {
  position: absolute; right: 4%; top: 2%; width: 27%; aspect-ratio: 1;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 50%;
  box-shadow: var(--shadow);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.seal text { fill: var(--sage); font: 600 10.5px var(--font-body); letter-spacing: 2.6px; text-transform: uppercase; }
.seal__year { display: grid; text-align: center; font: 600 1.3rem/1 var(--font-display); }
.seal__year small { font: 500 .625rem/1.4 var(--font-body); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
@keyframes spin { to { transform: rotate(360deg); } }

.cut { position: absolute; pointer-events: none; filter: drop-shadow(0 14px 14px rgb(44 38 36 / .18)); }
.cut--tomates { width: 44%; left: -6%; bottom: -2%; z-index: 2; }
.cut--salsinha { width: 26%; left: 6%; top: -2%; transform: rotate(-18deg); z-index: 0; opacity: .95; }

/* ==========================================================
   Ticker
   ========================================================== */
.ticker {
  overflow: hidden; background: var(--ink); color: var(--sage);
  padding: 16px 0; transform: rotate(-1.2deg); margin: 0 -40px;
}
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font: 500 1.375rem/1 var(--font-display); font-style: italic; white-space: nowrap;
}
.ticker li::after { content: "✦"; font-style: normal; font-size: .9rem; color: var(--honey); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   Sections
   ========================================================== */
.section { position: relative; padding: 80px 0; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head--split { max-width: none; display: grid; gap: 16px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sage); }
.section__title {
  margin-top: 14px;
  font: 500 clamp(2rem, 6.4vw, 3.25rem)/1.08 var(--font-display);
  font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -.02em; text-wrap: balance;
}
.section__lead { margin-top: 16px; font-size: 1.125rem; color: var(--ink-soft); max-width: 58ch; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat {
  background: var(--paper); border-radius: var(--radius); padding: 20px 16px 22px;
  box-shadow: 0 1px 0 rgb(65 58 56 / .06);
  transition: transform .25s, box-shadow .25s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat img { width: 56px; height: 56px; }
.cat h3 { margin-top: 14px; font: 600 1rem/1.25 var(--font-body); }
.cat p { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--ink-soft); }

/* Faixa de fotos */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 12px; margin: 40px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip__item {
  position: relative; scroll-snap-align: start;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand);
}
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.strip__item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--paper); color: var(--ink); padding: 6px 12px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600;
}

/* ==========================================================
   Café (seção escura)
   ========================================================== */
.section--dark { background: var(--ink); color: var(--sand); overflow: hidden; }
.section--dark .section__title { color: var(--paper); }
.section--dark .section__title em { color: var(--sage); }
.section--dark .section__lead { color: rgb(237 229 215 / .78); }
.section--dark > .wrap { position: relative; z-index: 1; }
.cut--alcachofras { width: 200px; right: -80px; top: -10px; opacity: .85; transform: rotate(14deg); z-index: 0; }

.dishes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 16px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.dishes::-webkit-scrollbar { display: none; }
.dish { scroll-snap-align: start; }
.dish figure {
  aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; background: #574e4b;
}
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dish:hover img { transform: scale(1.04); }
.dish h3 { margin-top: 14px; color: var(--paper); font: 500 1.375rem/1.2 var(--font-display); }
.dish p { margin-top: 4px; font-size: .9375rem; color: rgb(237 229 215 / .7); }

.cafe__note {
  display: flex; align-items: center; gap: 16px; margin-top: 40px;
  padding: 16px 20px; border-radius: var(--radius);
  background: rgb(255 253 248 / .06); border: 1px solid rgb(255 253 248 / .1);
  font-size: 1rem;
}
.cafe__note img { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); flex: none; }

/* ==========================================================
   Cestas & eventos
   ========================================================== */
.offers { display: grid; gap: 20px; }
.offer {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
}
.offer__media { position: relative; aspect-ratio: 16 / 11; background: var(--sand); }
.offer__media > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.offer__float {
  position: absolute; right: 16px; bottom: -36px; width: 112px;
  filter: drop-shadow(0 12px 16px rgb(44 38 36 / .25));
}
.offer__float--round {
  width: 104px; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 5px solid var(--paper); filter: none; box-shadow: var(--shadow-lg);
}
.offer__body { padding: 28px 22px 26px; display: grid; gap: 14px; align-content: start; }
.offer h3 { font: 500 1.75rem/1.15 var(--font-display); letter-spacing: -.01em; padding-right: 96px; }
.offer p { color: var(--ink-soft); }
.offer strong { color: var(--ink); }
.offer .btn { justify-self: start; margin-top: 6px; }

.menu { margin: 4px 0 0; display: grid; gap: 10px; }
.menu > div {
  display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--cream);
}
.menu dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.menu dd { margin: 0; font-size: .9375rem; }

/* ==========================================================
   Como chegar
   ========================================================== */
.section--sage { background: var(--sage-soft); }
.visit { display: grid; gap: 36px; }

.map {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--sand);
}
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -88%);
  display: grid; justify-items: center; color: var(--ink);
}
.map__pin svg { width: 48px; height: 48px; filter: drop-shadow(0 6px 6px rgb(44 38 36 / .3)); }
.map__pin span {
  margin-top: 4px; background: var(--ink); color: var(--paper);
  padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600;
}
.map__load {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
  font: 600 .9375rem var(--font-body); cursor: pointer;
}
.map__load:hover { background: #fff; }
.map.is-live .map__art, .map.is-live .map__pin, .map.is-live .map__load { display: none; }
.map__hint { margin-top: 10px; font-size: .8125rem; color: var(--ink-soft); }

.visit__addr {
  margin-top: 20px; font: 500 1.375rem/1.4 var(--font-display); color: var(--ink-deep);
}
.visit__addr span { font: 400 1rem var(--font-body); color: var(--ink-soft); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.visit__ctas .btn { --h: 48px; padding: 0 18px; }

.hours {
  margin-top: 28px; padding: 20px; border-radius: var(--radius);
  background: var(--paper);
}
.hours h3 { font: 600 .8125rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sage-deep); }
.hours ul { margin-top: 10px; }
.hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 12px; border-radius: 10px; font-variant-numeric: tabular-nums;
}
.hours li span:last-child { white-space: nowrap; }
.hours li + li { border-top: 1px dashed rgb(65 58 56 / .14); }
.hours li.is-today { background: var(--sage-soft); border-top-color: transparent; font-weight: 600; }
.hours li.is-today + li { border-top-color: transparent; }
.hours li.is-today span:first-child::after {
  content: "hoje"; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px;
}

.contacts { display: grid; gap: 14px; margin-top: 24px; }
.contacts li { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; color: var(--ink-soft); }
.contacts svg {
  width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 50%;
  background: var(--paper); color: var(--sage-deep);
}
.contacts a { font-weight: 600; font-size: 1.0625rem; color: var(--ink-deep); text-decoration: none; }
.contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   Footer
   ========================================================== */
.footer { background: var(--ink-deep); color: rgb(237 229 215 / .78); padding: 64px 0 28px; }
.footer__grid { display: grid; gap: 36px; }
.footer__brand p { margin-top: 18px; max-width: 38ch; font-size: .9375rem; }
.footer h3 { font: 600 .8125rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sage); }
.footer__links { margin-top: 14px; display: grid; gap: 10px; }
.footer__links a { text-decoration: none; color: var(--paper); }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 253 248 / .1);
  font-size: .8125rem; color: rgb(237 229 215 / .55);
}

/* ==========================================================
   Barra de ações (mobile)
   ========================================================== */
.actionbar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgb(247 242 234 / .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgb(65 58 56 / .1);
}
.actionbar .btn { padding: 0 12px; }

/* ==========================================================
   Reveal on scroll
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .seal svg, .ticker__track, .status.is-open .status__dot { animation: none; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
}

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .strip { grid-auto-columns: 38%; }
  .dishes { grid-auto-columns: 42%; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  :root { --bar-h: 0px; }
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav { display: flex; gap: 28px; }
  .topbar__cta { display: inline-flex; }
  .topbar__inner { height: 80px; }
  .logo { width: 116px; }

  .hero { padding: 56px 0 96px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; }
  .hero__art { width: 100%; max-width: 470px; }

  .section { padding: 120px 0; }
  .section__head { margin-bottom: 56px; }
  .section__head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }

  .cat { padding: 26px 22px 28px; }
  .cat img { width: 64px; height: 64px; }

  .strip {
    grid-auto-flow: row; grid-template-columns: 1fr 1.25fr 1fr 1.25fr;
    margin-inline: 0; padding: 0; overflow: visible; margin-top: 56px;
  }
  .strip__item { aspect-ratio: auto; height: 300px; }
  .strip__item:nth-child(even) { margin-top: 36px; }

  .dishes {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px; margin-inline: 0; padding: 0; overflow: visible;
  }
  .dish figure { max-height: 260px; }
  .cut--alcachofras { width: 300px; right: -110px; top: -40px; }

  .offers { grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
  .offer { grid-template-rows: auto 1fr; }
  .offer__body { padding: 36px 32px 34px; }

  .visit { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
  .map { aspect-ratio: 1 / 1.02; }
}
