:root {
  --forest: #0b5d2b;
  --forest-deep: #063b1a;
  --leaf: #97c93c;
  --leaf-soft: #cfe78c;
  --citrus: #d7b83f;
  --clay: #9a6a3d;
  --cream: #fbfbf5;
  --paper: #f5f3ea;
  --paper-2: #ece9dc;
  --ink: #1f2b1f;
  --muted: #61705f;
  --line: rgba(11, 93, 43, 0.14);
  --shadow: 0 20px 48px rgba(6, 59, 26, 0.12);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Nunito Sans", "Segoe UI", sans-serif;
}

body[data-theme="selfservice"] { --accent: #0b5d2b; --accent-soft: #a7d543; }
body[data-theme="executivos"] { --accent: #295f22; --accent-soft: #d7b83f; }
body[data-theme="saladas"] { --accent: #11874a; --accent-soft: #b8df74; }
body[data-theme="bebidas"] { --accent: #36613e; --accent-soft: #9a6a3d; }
body[data-theme="info"] { --accent: #0d4d24; --accent-soft: #d7b83f; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--text);
  background:
    radial-gradient(circle at top, rgba(151, 201, 60, 0.2), transparent 24rem),
    linear-gradient(180deg, #eff6ea 0%, #f9f7f0 100%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

.menu-shell {
  position: relative;
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 18px 34px;
}

.cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100vw;
  min-height: 100svh;
  margin-inline: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background: #004819;
}

.cover::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(151, 201, 60, 0.12), transparent 18rem),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.06), transparent 24rem),
    linear-gradient(180deg, rgba(5, 49, 22, 0.04) 0%, rgba(5, 49, 22, 0.14) 100%);
  content: "";
}

.cover-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}

.cover-hero-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.tab-dock {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  gap: 8px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 10px max(14px, calc((100vw - 980px) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(245, 243, 234, 0.94);
  border-bottom: 1px solid rgba(11, 93, 43, 0.08);
  box-shadow: 0 12px 28px rgba(6, 59, 26, 0.08);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.tab-dock::-webkit-scrollbar,
.subtabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 clamp(146px, 18vw, 176px);
  display: grid;
  min-height: 64px;
  padding: 10px 14px;
  color: rgba(31, 43, 31, 0.74);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 93, 43, 0.1);
  border-radius: 8px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab span,
.section-head span,
.menu-item span,
.info-grid span {
  color: var(--accent-soft);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tab b {
  align-self: end;
  color: var(--forest-deep);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.tab.is-active {
  background: var(--forest);
  border-color: var(--forest);
}

.tab.is-active span,
.tab.is-active b {
  color: #f8fff2;
}

.tab-panels {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  padding-top: 24px;
}

.panel {
  width: min(900px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 243, 234, 0.96)),
    var(--paper);
  border: 1px solid rgba(11, 93, 43, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-margin-top: 94px;
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 740px;
  margin-bottom: 24px;
}

.section-head h2 {
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.18;
  text-transform: uppercase;
}

.section-head p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.subtabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subtab {
  flex: 0 0 auto;
  min-width: clamp(122px, 22vw, 190px);
  padding: 12px 16px;
  color: var(--forest);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(151, 201, 60, 0.08);
  border: 1px solid rgba(11, 93, 43, 0.1);
  border-radius: 8px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.subtab.is-active {
  color: #fbfff7;
  background: var(--accent);
  border-color: var(--accent);
}

.subpanel[hidden] {
  display: none;
}

.menu-list {
  display: grid;
  gap: 14px;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-item h3 {
  margin-top: 6px;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.12;
}

.menu-item p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.58;
}

.menu-item strong {
  align-self: center;
  min-width: 94px;
  padding: 10px 14px;
  color: #f7fff0;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: 999px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-grid article {
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.info-grid p {
  margin-top: 8px;
  color: var(--forest-deep);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.menu-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  padding: 30px 0 4px;
  color: rgba(31, 43, 31, 0.76);
  font-size: 0.86rem;
}

.product-badge {
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.qrstack-lockup {
  position: relative;
  width: 78px;
  padding-top: 11px;
}

.product-copy {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--display);
  font-size: 0.44rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.qrstack-mark {
  width: 78px;
  height: 80px;
  object-fit: contain;
}

.qrstack-wordmark {
  width: 118px;
  height: 28px;
  object-fit: cover;
}

.footer-brand {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: clamp(124px, 16vw, 164px);
}

.footer-brand p {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .menu-shell {
    padding-inline: 12px;
  }

  .cover {
    width: auto;
    margin-inline: -12px;
  }

  .tab-dock {
    width: auto;
    margin-inline: -12px;
    padding-inline: 12px;
    backdrop-filter: none;
  }

  .panel {
    width: calc(100vw - 24px);
    padding: 22px 14px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .menu-footer {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 2;
    justify-self: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .tab {
    flex-basis: 142px;
    min-height: 58px;
  }

  .tab b {
    font-size: 0.76rem;
  }

  .subtab {
    min-width: 136px;
  }

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item strong {
    width: 100%;
    text-align: center;
  }

  .footer-brand {
    gap: 8px;
  }

  .footer-brand img {
    width: 112px;
  }
}
