/* ===========================================================
   Flow Uberlândia — design tokens & base
   Palette sampled from real brand material (promo ribbon,
   storefront signage): olive-lime green, warm ink, warm paper.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --green: #5C8A1E;
  --green-deep: #34500F;
  --green-tint: #EEF3E2;
  --ink: #16160F;
  --paper: #FBF9F3;
  --paper-dim: #F1EDE1;
  --line: #E3DECC;
  --muted: #6E6C5C;
  --white: #FFFFFF;

  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --measure: 68ch;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 6px rgba(22,22,15,.06), 0 1px 2px rgba(22,22,15,.08);
  --shadow-md: 0 10px 30px rgba(22,22,15,.12), 0 2px 8px rgba(22,22,15,.08);

  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; }

::selection{
  background: var(--green);
  color: var(--white);
}

/* Custom scrollbar (webkit) */
::-webkit-scrollbar{ width: 12px; height: 12px; }
::-webkit-scrollbar-track{ background: var(--paper-dim); }
::-webkit-scrollbar-thumb{
  background: var(--green);
  border-radius: 10px;
  border: 3px solid var(--paper-dim);
}
::-webkit-scrollbar-thumb:hover{ background: var(--green-deep); }
* { scrollbar-color: var(--green) var(--paper-dim); scrollbar-width: thin; }

:focus-visible{
  outline: 2.5px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,h2,h3,h4{
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1{ font-size: clamp(2.4rem, 3vw + 1.6rem, 4.4rem); }
h2{ font-size: clamp(1.9rem, 2vw + 1.3rem, 3rem); }
h3{ font-size: clamp(1.25rem, .6vw + 1.05rem, 1.6rem); }

.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;
}

p{ margin: 0; color: var(--ink); }
.lede{ font-size: 1.15rem; color: var(--muted); max-width: var(--measure); }

.container{
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 56px);
}

.tabular{ font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -0.01em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .18s var(--ease-out);
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--green-deep); box-shadow: var(--shadow-md); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--green); color: var(--green-deep); }

.btn-invert{
  background: var(--white);
  color: var(--green-deep);
}
.btn-invert:hover{ background: var(--green-tint); }

.btn-sm{ padding: .6em 1.15em; font-size: .85rem; }

/* ---------- top bar ---------- */

.topbar{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251,249,243,.97);
  border-bottom: 1px solid var(--line);
}
.topbar-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.brand{ display: flex; align-items: center; gap: .6em; }
.brand img{ height: 26px; width: auto; }
.brand-tag{
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: .7em;
  border-left: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a{
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a[aria-current="page"]{ color: var(--green-deep); }
.nav-links a::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--green);
  transition: right .25s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ right: 0; }

.nav-toggle{
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg{ width: 20px; height: 20px; }

.nav-cta-mobile-group{ display: none; }
.nav-cta-group{ display: flex; align-items: center; gap: 8px; }

@media (max-width: 780px){
  .nav-links{
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(20px,4vw,56px) 22px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s var(--ease-out), opacity .22s var(--ease-out);
  }
  .nav-links.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a{
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after{ display: none; }
  .nav-cta-group{ display: none; }
  .nav-links .nav-cta-mobile-group{ display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
  .nav-links .nav-cta-mobile-group .btn{ width: 100%; justify-content: center; }
  .nav-toggle{ display: inline-flex; }
}

/* ---------- hero mosaic ---------- */

.mosaic-section{ padding-top: 6px; }

.mosaic{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: min(78vh, 760px);
  min-height: 460px;
}
.mosaic-tile{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  isolation: isolate;
}
.mosaic-tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .6s var(--ease-out);
}
.mosaic-tile:hover img{ transform: scale(1.08); }
.mosaic-tile::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,10,.62) 0%, rgba(15,15,10,.12) 42%, transparent 62%);
}
.mosaic-tile-label{
  position: absolute; left: 22px; bottom: 20px; z-index: 2;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.4vw + .6rem, 1.7rem);
  letter-spacing: -.01em;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.mosaic-tile-sub{
  position: absolute; right: 20px; top: 18px; z-index: 2;
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(20,20,14,.35);
  padding: .35em .8em;
  border-radius: 999px;
}
.mosaic-tile a.mosaic-link{
  position: absolute; inset: 0; z-index: 3;
}

@media (max-width: 720px){
  .mosaic{ grid-template-columns: 1fr; grid-template-rows: repeat(4, minmax(180px,1fr)); height: auto; }
}

/* ---------- proof strip ---------- */

.proof-strip{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.proof-loc{ display: flex; align-items: center; gap: .55em; font-weight: 700; }
.proof-loc svg{ width: 16px; height: 16px; flex-shrink: 0; color: var(--green-deep); }
.proof-rating{ display: flex; align-items: center; gap: 12px; }
.stars{ display: inline-flex; gap: 2px; color: var(--green); }
.stars svg{ width: 15px; height: 15px; }
.proof-tag{
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.proof-tag .dot{ margin-inline: .5em; opacity: .5; }

/* ---------- generic sections ---------- */

section{ padding-block: clamp(52px, 8vw, 108px); }
.section-head{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}

.section-alt{ background: var(--paper-dim); }
.section-deep{ background: var(--green-deep); color: var(--white); }
.section-deep .lede{ color: rgba(255,255,255,.78); }
.section-deep h2{ color: var(--white); }

/* ---------- Monte seu Prato ---------- */

.plate-builder{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.plate-steps{ list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plate-steps li{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.plate-steps b{ color: var(--green-deep); }
.step-num{
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem;
}
.plate-visual{
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.plate-visual-price{ font-size: clamp(2.4rem, 3vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.plate-visual-from{ font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; opacity: .85; margin-bottom: .4em; }
.plate-visual ul{ list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.plate-visual ul li::before{ content: "→  "; opacity: .7; }

@media (max-width: 860px){ .plate-builder{ grid-template-columns: 1fr; } }

/* ---------- location teaser ---------- */

.loc-teaser{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.loc-photo{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.loc-photo.is-storefront{ aspect-ratio: 4/5; }
.loc-photo.is-compact{ max-width: 360px; margin-inline: auto; }

@media (max-width: 860px){
  .loc-photo.is-compact{ max-width: none; margin-inline: 0; }
}
.loc-photo img,
.loc-photo video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-facts{ display: grid; gap: 18px; margin: 26px 0 30px; }
.loc-fact{ display: flex; gap: 12px; align-items: flex-start; }
.loc-fact svg{ width: 20px; height: 20px; flex-shrink: 0; color: var(--green-deep); margin-top: 2px; }
.loc-fact b{ display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 2px; }
.cta-row{ display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px){ .loc-teaser{ grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

footer{
  background: var(--ink);
  color: rgba(255,255,255,.82);
  padding-block: 48px 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer-grid h4{ color: var(--white); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
.footer-grid a{ text-decoration: none; color: rgba(255,255,255,.72); }
.footer-grid a:hover{ color: var(--white); }
.footer-links{ list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .92rem; }
.footer-logo img{ height: 22px; filter: invert(1) brightness(2); margin-bottom: 12px; }
.footer-note{ font-size: .85rem; color: rgba(255,255,255,.55); max-width: 40ch; }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-top: 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
}

@media (max-width: 720px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- reveal-on-scroll (one authored motion) ---------- */

.reveal{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference){
  .reveal{
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }
  .reveal.is-visible{ opacity: 1; transform: translateY(0); }
}

/* ---------- misc page bits shared by cardapio/localizacao ---------- */

.page-hero{
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 40px);
}
.page-hero .lede{ margin-top: 14px; }

.menu-nav{
  position: sticky;
  top: 63px;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar{ display: none; }
.menu-nav-inner{
  display: flex;
  gap: 6px;
  padding-block: 12px;
  width: max-content;
}
.menu-nav a{
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
  color: var(--muted);
  padding: .55em 1.05em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .18s, color .18s;
}
.menu-nav a:hover{ background: var(--green-tint); color: var(--green-deep); }

.menu-category{ scroll-margin-top: 128px; }
.menu-category-head{
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.menu-category-photo{
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.menu-category-photo img{ width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 680px){
  .menu-category-head{ grid-template-columns: 1fr; }
  .menu-category-photo{ aspect-ratio: 16/9; }
}

.menu-grid{ display: grid; gap: 10px; }
.menu-item{
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child{ border-bottom: none; }
.menu-item-name{ font-weight: 700; }
.menu-item-desc{ color: var(--muted); font-size: .88rem; margin-top: 3px; max-width: 52ch; }
.menu-item-price{
  font-weight: 800;
  color: var(--green-deep);
  white-space: nowrap;
  padding-top: 1px;
}
.menu-subgroup + .menu-subgroup{ margin-top: 30px; }
.menu-subgroup h4{ margin-bottom: 4px; }

.menu-item--photo{ align-items: center; }
.menu-item-photo{
  width: 58px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--paper-dim);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-item-photo picture{ display: block; width: 100%; height: 100%; }
.menu-item-photo img{ width: 100%; height: 100%; object-fit: contain; }
.menu-item-info{ flex: 1; }
.menu-grid--photo .menu-item-name{ font-size: 1.05rem; }
.menu-grid--photo .menu-item-desc{ font-size: .95rem; }

.menu-subgroup-head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.menu-subgroup-photo{
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.menu-subgroup-photo img{ width: 100%; height: 100%; object-fit: cover; }
.menu-subgroup-head h4{ margin-bottom: 0; }

/* Dish banner — full-width photo with the name set large over it, same
   grammar as the home mosaic tiles. Used for Lanches: one big banner for
   the category, one shorter banner per subseção. Photo + name, nothing
   competing with it. */
.dish-banner{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  isolation: isolate;
  margin-bottom: 22px;
}
.dish-banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dish-banner::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,6,.8) 0%, rgba(10,10,6,.32) 45%, rgba(10,10,6,.02) 72%);
}
.dish-banner-text{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 30px;
}
.dish-banner-text h2,
.dish-banner-text h4{
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  margin: 0;
}
.dish-banner-text p{
  color: rgba(255,255,255,.88);
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  margin-top: 8px;
  max-width: 56ch;
}

.dish-banner--category{ height: 360px; }
.dish-banner--category .dish-banner-text h2{
  font-size: clamp(2.1rem, 2.4vw + 1.4rem, 3.2rem);
}

.dish-banner--sub{ height: 320px; }
.dish-banner--sub .dish-banner-text{ padding: 20px 24px; }
.dish-banner--sub .dish-banner-text h4{
  font-size: clamp(1.4rem, 1.2vw + 1rem, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

@media (max-width: 680px){
  .dish-banner--category{ height: 260px; }
  .dish-banner--sub{ height: 220px; }
}
.menu-note{
  font-size: .85rem;
  color: var(--muted);
  background: var(--green-tint);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 10px;
}

.addons{ font-size: .86rem; color: var(--muted); margin-top: 14px; line-height: 1.7; }
.addons b{ color: var(--ink); }

hr.rule{ border: none; border-top: 1px solid var(--line); margin-block: 32px; }

.map-embed{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
}
.map-embed iframe{ width: 100%; height: 100%; border: 0; }

.hours-table{ display: grid; gap: 6px; font-size: .95rem; }
.hours-table .row{ display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours-table .row:last-child{ border-bottom: none; }
.hours-table .today{ color: var(--green-deep); font-weight: 800; }

.pill-list{ display: flex; flex-wrap: wrap; gap: 8px; }
.pill{
  font-size: .82rem;
  font-weight: 700;
  padding: .5em 1em;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
}
