/* Caraguá Food Park — CSS direto, sem dependências externas ou compilação. */
:root {
  --green: #164d36;
  --green-deep: #103d2b;
  --lime: #d4e681;
  --yellow: #f4c543;
  --orange: #e88c3a;
  --cream: #faf7ef;
  --ink: #22382d;
  --muted: #727c70;
  --line: #e1e5d8;
  --white: #fff;
  --danger: #a62f2e;
  --radius: 20px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font:
    16px/1.6 Arial,
    Helvetica,
    sans-serif;
  color: var(--ink);
  background: var(--cream);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.05em;
  line-height: 1.05;
  font-weight: 500;
}
h1 em,
h2 em {
  font-weight: 500;
  color: var(--green);
}
h1 {
  font-size: clamp(42px, 5vw, 74px);
}
h2 {
  font-size: clamp(34px, 4vw, 54px);
}
h3 {
  line-height: 1.25;
  font-size: 22px;
  letter-spacing: -0.025em;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #c57917;
  outline-offset: 4px;
}
a:hover {
  color: #aa5d1c;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 44px;
  padding-right: 44px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 99;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.brand > span {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.brand small {
  display: block;
  font:
    11px/1.6 Arial,
    sans-serif;
  letter-spacing: 5px;
  margin-top: 5px;
  text-align: center;
  font-weight: bolder;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  border-radius: 50px;
  padding: 16px 25px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 50px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: var(--green-deep);
  color: white;
  transform: translateY(-1px);
}
.button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.button-small {
  padding: 12px 21px;
  min-height: 44px;
}
.button-secondary {
  color: var(--green);
  background: transparent;
  border-color: var(--line);
}
.button-secondary:hover {
  background: #e5eadc;
  color: var(--green);
}
.button-danger {
  background: #fff1ef;
  border-color: #e8bfba;
  color: var(--danger);
}
.button-danger:hover {
  background: #fce0dc;
  color: var(--danger);
}
.full {
  width: 100%;
  justify-content: space-between;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green);
  line-height: 1.6;
  margin-bottom: 20px;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 50px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(45px, 5.5vw, 78px);
  line-height: 1.01;
  margin: 21px 0 25px;
}
.hero h1 em {
  color: var(--green);
}
.hero-copy > p {
  max-width: 370px;
  font-size: 15px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 31px;
}
.hero-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 54px;
  font-size: 8px;
  letter-spacing: 1.25px;
  color: var(--muted);
}
.hero-bottom b {
  font-size: 14px;
  color: #c47e32;
}
.hero-art {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 530px;
}
.hero-art > img {
  width: 112%;
  max-width: none;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 16px 18px #60301018);
}
.sun-circle {
  position: absolute;
  width: 93%;
  aspect-ratio: 1;
  background: #f5d76f;
  border-radius: 50%;
  z-index: -2;
  top: 6%;
  left: 10%;
}
.orbit {
  position: absolute;
  width: 105%;
  height: 75%;
  border: 1px solid #d3a34066;
  border-radius: 50%;
  transform: rotate(-28deg);
  z-index: -1;
}
.orbit-two {
  transform: rotate(30deg);
  height: 100%;
  width: 80%;
}
.art-label {
  position: absolute;
  bottom: -12px;
  left: 17%;
  z-index: 2;
  background: var(--green);
  border-radius: 8px;
  transform: rotate(-6deg);
  color: #fff;
  padding: 14px 70px 16px 22px;
  box-shadow: 0 10px 20px #1d3f251c;
}
.art-label > span:first-child {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--lime);
}
.art-label strong {
  font:
    italic 27px Georgia,
    serif;
}
.art-star {
  position: absolute;
  right: 15px;
  top: 7px;
  color: var(--yellow);
  font-size: 40px;
}
.ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  background: var(--yellow);
  padding: 18px 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  overflow: hidden;
  white-space: nowrap;
}
.ribbon b {
  font-size: 20px;
}
.section {
  padding-top: 86px;
  padding-bottom: 90px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 40px;
}
.section-heading p {
  font-size: 14px;
  line-height: 1.8;
}
.search-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.search-row label {
  font-size: 13px;
}
.search-row input {
  width: 270px;
}
.search-row > span {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}
.store-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px #164d3610;
  color: var(--ink);
}
.store-card > .store-logo {
  width: 100%;
  height: 210px;
  border-radius: 0;
  padding: 25px;
  background: #f0f1e4;
}
.store-logo {
  background: #edf0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.store-logo > span {
  font:
    italic 58px Georgia,
    serif;
  color: var(--green);
}
.store-logo.large {
  width: 140px;
  height: 140px;
  border-radius: 25px;
}
.store-logo.small {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}
.store-logo.small > span {
  font-size: 28px;
}
.store-card > .store-logo img {
  width: 160px;
  height: 160px;
}
.store-copy {
  padding: 26px;
}
.store-copy .eyebrow {
  margin-bottom: 9px;
  font-size: 9px;
}
.store-copy p {
  font-size: 13px;
  min-height: 45px;
  margin-top: 10px;
}
.store-link {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: bold;
}
.empty-state {
  padding: 50px 28px;
  text-align: center;
  background: #f0f1e7;
  border: 1px dashed #cfd6c2;
  border-radius: var(--radius);
}
.empty-state h3 {
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
}
.empty-state .button {
  margin-top: 24px;
}
.empty-icon {
  display: block;
  font-size: 36px;
  color: var(--green);
  margin-bottom: 14px;
}
.public-empty {
  padding: 54px 20px;
}
.park-section {
  background: var(--green);
  color: var(--cream);
  padding: 80px 0;
}
.park-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.park-grid h2 em {
  color: var(--lime);
}
.eyebrow.light {
  color: var(--lime);
}
.park-grid p {
  color: #d7dfd5;
  line-height: 1.9;
  font-size: 15px;
}
.park-details {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.park-details span {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--lime);
}
.park-details p {
  font-size: 13px;
}
.park-map {
  position: relative;
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(212, 230, 129, 0.25);
  background: var(--green-deep);
}
.park-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.park-map-link {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 12px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(16, 61, 43, 0.35);
}
.park-map-link:hover {
  background: var(--lime);
}
.light-link {
  display: inline-block;
  border-bottom: 1px solid #7b9a77;
  margin-top: 25px;
  padding-bottom: 8px;
  font-size: 13px;
  color: #fff;
}
.light-link:hover {
  color: var(--lime);
}
.site-footer {
  background: #efefe3;
  border-top: 1px solid #e6e8db;
}
.footer-inner {
  padding-top: 35px;
  padding-bottom: 30px;
  display: flex;
  gap: 35px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-inner strong {
  font:
    22px Georgia,
    serif;
}
.footer-inner p {
  font-size: 11px;
  margin-top: 8px;
}
.footer-inner nav {
  margin-left: auto;
  display: flex;
  gap: 25px;
  font-size: 12px;
}
.footer-social {
  display: grid;
  gap: 8px;
}
.footer-social > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.footer-social nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 10px;
  border-radius: 50%;
  color: var(--green);
  transition: color 160ms ease;
}
.footer-social-link svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #aa5d1c;
}
.footer-social-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.footer-navigation {
  white-space: nowrap;
}
.footer-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.footer-channel-field {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbf7;
}
.footer-channel-field .check-label {
  margin-top: 10px;
}
.copyright {
  flex-basis: 100%;
  border-top: 1px solid #d8ddce;
  padding-top: 20px;
  font-size: 10px;
  color: var(--muted);
}
.back-link {
  font-size: 13px;
  display: inline-block;
  margin-bottom: 30px;
}
.store-heading {
  display: flex;
  align-items: center;
  gap: 35px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}
.store-heading h1 {
  font-size: 54px;
  margin-bottom: 15px;
}
.store-heading p {
  max-width: 670px;
}
.store-heading .eyebrow {
  margin-bottom: 10px;
}
.menu-heading {
  margin-top: 50px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.menu-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
}
.menu-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.menu-card > div {
  padding: 24px;
}
.menu-card p {
  font-size: 13px;
  margin: 12px 0 25px;
  white-space: pre-line;
}
.price {
  display: block;
  font-size: 20px;
  color: var(--green);
  letter-spacing: -0.5px;
}
.compact-body {
  background:
    radial-gradient(ellipse at 10% 0%, #f5dc8b55, transparent 45%),
    radial-gradient(ellipse at 95% 90%, #cfdfaf55, transparent 50%),
    var(--cream);
  min-height: 100vh;
}
.compact-back {
  display: block;
  max-width: 500px;
  margin: 25px auto 15px;
  padding: 0 20px;
  font-size: 12px;
  color: var(--green);
}
.compact-content {
  max-width: 500px;
  padding: 0 20px;
  margin: 0 auto;
}
.auth-card {
  background: white;
  border: 1px solid #e4e6d8;
  border-radius: 26px;
  padding: 35px 38px;
  box-shadow: 0 18px 60px #23432808;
}
.auth-logo {
  width: 115px;
  margin: 0 auto 24px;
}
.auth-card > .eyebrow {
  text-align: center;
  font-size: 9px;
  margin-bottom: 12px;
}
.auth-card h1 {
  text-align: center;
  font-size: 40px;
}
.auth-card > p {
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  margin: 18px 0 25px;
}
.auth-card .form-hint {
  font-size: 11px;
  margin: 16px 0 0;
}
.auth-card > .text-button {
  margin-top: 20px;
}
.auth-card > form > .text-button {
  margin-top: 18px;
}
.compact-footer {
  text-align: center;
  font-size: 10px;
  margin: 22px 0 32px;
}
.compact-footer a {
  text-decoration: underline;
}
.form-stack {
  display: grid;
  gap: 20px;
}
.form-stack > .button {
  justify-self: start;
}
.form-stack > .button.full {
  justify-self: stretch;
}
.form-stack label,
.upload-layout label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}
.form-stack input:not([type="checkbox"]),
.form-stack textarea,
.upload-layout input {
  margin-top: 7px;
}
.form-stack small,
.upload-layout small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 6px;
}
input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
  width: 100%;
  border: 1px solid #dce2d5;
  background: #fbfcf8;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  min-height: 46px;
  font-size: 15px;
}
input:focus,
textarea:focus {
  border-color: #719671;
}
input::placeholder,
textarea::placeholder {
  color: #959e90;
  font-weight: 400;
}
textarea {
  resize: vertical;
}
.check-label {
  display: flex !important;
  align-items: start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: 11px !important;
  line-height: 1.65 !important;
}
.check-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 2px 0 0;
}
.check-label a {
  text-decoration: underline;
  color: var(--green);
}
.marketing {
  background: #f4f6ed;
  border-radius: 10px;
  padding: 13px;
}
.optional {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
}
.notice {
  max-width: 100%;
  padding: 16px 20px;
  background: #f3f1dd;
  border: 1px solid #e4dfbc;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 22px;
  color: #615b38;
}
.notice.success {
  color: var(--green);
  background: #e7f1e6;
  border-color: #c2dabd;
}
.notice.error {
  background: #fff1ed;
  border-color: #e6c2b9;
  color: #99392c;
}
.notice.demo {
  font-size: 12px;
  background: #fff9e7;
  border-color: #e9d795;
  color: #796027;
}
.wifi-benefit {
  margin: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #edf3df;
  padding: 14px;
  border-radius: 13px;
  font-size: 12px;
  color: var(--green);
}
.wifi-benefit strong {
  font-size: 15px;
}
.wifi-symbol {
  font-size: 20px;
}
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.status-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 25px;
  background: #e2efc9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--green);
}
.legal {
  max-width: 850px;
}
.legal h1 {
  margin-bottom: 35px;
  font-size: clamp(36px, 5vw, 62px);
}
.legal h2 {
  font-size: 28px;
  margin: 35px 0 15px;
}
.legal p {
  margin-bottom: 18px;
  line-height: 1.9;
}
.legal a:not(.button) {
  text-decoration: underline;
}
.legal > .button {
  margin-top: 25px;
}
.admin-body {
  background: #f5f6f0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 245px;
  background: var(--green-deep);
  color: #e4ebdf;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.admin-brand img {
  width: 60px;
  height: 60px;
}
.admin-brand > span {
  font-size: 24px;
  color: white;
}
.sidebar-label {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #9fb399;
  margin: 22px 10px 18px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px;
  border-radius: 9px;
  font-size: 12px;
  color: #bfcfba;
}
.sidebar nav a span {
  font-size: 20px;
  min-width: 20px;
}
.sidebar nav a:hover,
.sidebar nav a.selected {
  background: #315e43;
  color: #f6f7e9;
}
.sidebar nav a.selected {
  border-left: 2px solid var(--yellow);
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 15px;
  padding: 20px 12px 0;
  font-size: 12px;
  border-top: 1px solid #35553e;
}
.sidebar-bottom .text-button {
  color: #c9d6c4;
}
.admin-main {
  margin-left: 245px;
}
.admin-top {
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 20px;
  background: #fbfcf8;
}
.user-label {
  font-weight: 600;
}
.admin-content {
  max-width: 1250px;
  padding: 45px 40px 80px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.page-heading h1,
.voucher-panel > h2 {
  font-size: 46px;
  line-height: 1.08;
}
.page-heading .eyebrow {
  font-size: 9px;
  margin-bottom: 12px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 14px;
}
.page-heading .button {
  white-space: nowrap;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font:
    43px Georgia,
    serif;
  margin-top: 16px;
}
.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 20px;
}
.dashboard-heading .eyebrow {
  margin-bottom: 8px;
}
.dashboard-heading h2 {
  font-size: 34px;
}
.dashboard-heading > p {
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.dashboard-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.dashboard-card:hover {
  border-color: #adc1a5;
  color: var(--ink);
  box-shadow: 0 12px 35px #143f2e12;
  transform: translateY(-2px);
}
.dashboard-card > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dashboard-card > strong {
  margin: 9px 0 5px;
  color: var(--green-deep);
  font:
    700 42px/1 Georgia,
    serif;
}
.dashboard-card h3 {
  font-size: 17px;
}
.dashboard-card small {
  margin-top: auto;
  padding-top: 15px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.dashboard-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}
.dashboard-lower-grid h2 {
  font-size: 31px;
}
.operations-panel dl {
  margin: 20px 0 14px;
}
.operations-panel dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.operations-panel dt {
  color: var(--muted);
  font-size: 12px;
}
.operations-panel dd {
  margin: 0;
  color: var(--green-deep);
  font:
    700 22px/1 Georgia,
    serif;
}
.operations-panel > p,
.dashboard-callout > p {
  margin-top: 17px;
  font-size: 12px;
}
.dashboard-callout {
  background: #eaf0db;
}
.dashboard-callout .row-actions {
  margin-top: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.welcome-panel {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  background: #eaf0db;
  margin-bottom: 28px;
  overflow: hidden;
  padding: 40px;
}
.welcome-panel h2 {
  font-size: 40px;
}
.welcome-panel p {
  font-size: 13px;
  margin: 20px 0;
  max-width: 370px;
}
.welcome-panel img {
  width: 230px;
  object-fit: contain;
}
.text-link {
  font-size: 12px;
  font-weight: bold;
  color: var(--green);
}
.muted {
  color: var(--muted);
}
.admin-stores {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}
.merchant-line {
  display: flex;
  align-items: center;
  gap: 15px;
}
.merchant-line .muted {
  font-size: 11px;
}
.merchant-line h3 {
  font-size: 20px;
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #eaf3df;
  border-radius: 50px;
  font-size: 10px;
  line-height: 1.6;
  font-weight: 600;
  color: #3b652c;
}
.badge.inactive {
  background: #f2efdf;
  color: #7c7346;
}
.merchant-line > .badge {
  margin-left: auto;
}
.row-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.row-actions a {
  color: var(--green);
  font-weight: 600;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  font-weight: 600;
  font-size: 12px;
  min-height: 30px;
}
.text-button:hover {
  text-decoration: underline;
}
.text-button.danger {
  color: var(--danger);
}
details {
  margin-top: 15px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
summary {
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
  min-height: 30px;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 15px;
}
.danger-area {
  padding-left: 25px;
  border-left: 1px solid var(--line);
}
.form-panel {
  max-width: 850px;
}
.park-settings { gap: 12px; }
.park-settings .settings-section { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; min-width: 0; }
.settings-section > summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; list-style: none; color: var(--green); }
.settings-section > summary::-webkit-details-marker { display: none; }
.settings-section > summary strong { font-size: 16px; line-height: 1.4; }
.settings-section > summary small { font-size: 12px; margin-top: 4px; line-height: 1.6; }
.settings-section > summary::after { content: ''; display: block; flex: 0 0 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor); background-size: 10px 2px, 2px 10px; background-position: center; background-repeat: no-repeat; }
.settings-section[open] > summary::after { background-size: 10px 2px, 0 0; }
.settings-section > summary:hover, .settings-section[open] > summary { background: var(--cream); border-radius: 14px; }
.settings-section > summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.settings-section-body { padding: 20px; border-top: 1px solid var(--line); }
.settings-save { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 6px 24px #103d2b12; }
.settings-save > span { font-size: 12px; color: var(--muted); max-width: 230px; }
.settings-save .button { flex-shrink: 0; }
@media(max-width: 600px) {
  .settings-section > summary, .settings-section-body { padding: 16px; }
  .settings-save { flex-direction: column; align-items: stretch; gap: 10px; bottom: 8px; }
  .settings-save > span { max-width: none; text-align: center; }
  .settings-save .button { justify-content: center; }
}
.form-panel > h2 {
  font-size: 34px;
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-stack hr {
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  margin: 15px 0;
}
.form-stack h2 {
  font-size: 29px;
}
.form-stack > .muted {
  font-size: 13px;
}
.upload-layout {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px;
}
input[type="file"] {
  font-size: 12px !important;
  padding: 9px !important;
}
input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 5px;
  background: #e7eddd;
  padding: 8px 10px;
  margin-right: 10px;
  color: var(--green);
  cursor: pointer;
}
.file-feedback {
  font-size: 11px;
  font-weight: 400;
  color: var(--danger);
  display: block;
  margin-top: 6px;
}
.admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.admin-menu-card {
  padding: 0;
  overflow: hidden;
}
.admin-menu-card > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.admin-menu-copy {
  padding: 25px;
}
.admin-menu-copy h3 {
  margin: 13px 0 10px;
}
.admin-menu-copy p {
  font-size: 12px;
  margin-bottom: 18px;
}
.admin-menu-copy .row-actions {
  gap: 18px;
}
.photo-preview {
  max-width: 360px;
  aspect-ratio: 4/3;
  background: #f0f3e8;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  overflow: hidden;
  border: 1px dashed #cbd7bd;
}
.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-preview > span {
  font-size: 12px;
  color: var(--muted);
}
.table-scroll {
  padding: 0;
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 12px;
}
th,
td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--muted);
  background: #f9faf5;
}
tr:last-child td {
  border: 0;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 680px;
  }
  .hero-art > img {
    width: 110%;
  }
}
@media (max-width: 1100px) {
  .wrap {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .hero {
    min-height: 570px;
  }
  .hero-art {
    min-height: 460px;
  }
  .hero-art > img {
    width: 108%;
  }
  .sidebar {
    width: 210px;
    padding: 22px 14px;
  }
  .admin-main {
    margin-left: 210px;
  }
  .admin-content {
    padding: 35px 25px;
  }
  .admin-top {
    padding: 20px 25px;
  }
  .welcome-panel img {
    width: 180px;
  }
  .welcome-panel {
    padding: 28px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat {
    padding: 20px;
  }
  .page-heading h1,
  .voucher-panel > h2 {
    font-size: 40px;
  }
  .stores-grid {
    gap: 17px;
  }
  .store-copy {
    padding: 20px;
  }
  .park-grid {
    gap: 50px;
  }
}
@media (max-width: 800px) {
  .hero h1 {
    font-size: 49px;
  }
  .hero {
    min-height: 500px;
    padding-top: 20px;
  }
  .hero-art {
    min-height: 350px;
  }
  .hero-copy > p {
    font-size: 13px;
    max-width: 300px;
  }
  .hero-bottom {
    font-size: 7px;
    gap: 8px;
    margin-top: 35px;
  }
  .hero-note {
    display: none;
  }
  .art-label {
    padding: 10px 50px 10px 15px;
  }
  .art-label strong {
    font-size: 22px;
  }
  .art-star {
    font-size: 30px;
    right: 10px;
  }
  .site-header {
    height: 95px;
  }
  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand > span {
    font-size: 22px;
  }
  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .park-grid {
    gap: 35px;
  }
  .park-section {
    padding: 60px 0;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px 20px;
    display: block;
  }
  .admin-brand {
    display: none;
  }
  .sidebar-label {
    margin: 0 0 10px;
    font-size: 8px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .sidebar nav a {
    white-space: nowrap;
    font-size: 11px;
    padding: 8px 11px;
    flex-shrink: 0;
  }
  .sidebar nav a span {
    font-size: 17px;
  }
  .sidebar-bottom {
    margin-top: 13px;
    padding: 10px 5px 0;
    display: flex;
    gap: 22px;
    font-size: 10px;
  }
  .sidebar-bottom .text-button {
    font-size: 10px;
    min-height: 16px;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-top {
    padding: 14px 24px;
    font-size: 11px;
  }
  .admin-content {
    padding: 30px 24px 60px;
  }
  .welcome-panel img {
    width: 210px;
  }
  .page-heading {
    gap: 20px;
  }
  .page-heading > .button {
    font-size: 12px;
    padding: 13px 18px;
  }
  .details-grid {
    gap: 20px;
  }
  .stat strong {
    font-size: 34px;
  }
  .admin-menu-grid {
    gap: 18px;
  }
  .store-heading h1 {
    font-size: 43px;
  }
  .store-heading {
    gap: 25px;
  }
  .store-logo.large {
    width: 110px;
    height: 110px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }
  .site-header {
    height: 87px;
    gap: 10px;
  }
  .site-header nav {
    gap: 12px;
  }
  .site-header nav > a:not(.button) {
    display: none;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand > span {
    font-size: 23px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 2.8px;
  }
  .button-small {
    padding: 11px 14px;
    font-size: 11px;
    min-height: 42px;
    gap: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 23px;
    padding-bottom: 38px;
    min-height: 0;
    overflow: hidden;
  }
  .hero h1 {
    font-size: 55px;
    letter-spacing: -2.8px;
    margin: 17px 0 20px;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 340px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .hero-actions .button {
    padding: 15px 23px;
    font-size: 13px;
    gap: 30px;
  }
  .hero-bottom {
    display: none;
  }
  .hero-art {
    min-height: 360px;
    max-width: 380px;
    width: 100%;
    margin: 18px auto 0;
  }
  .hero-art > img {
    width: 102%;
  }
  .sun-circle {
    width: 86%;
    left: 7%;
    top: 9%;
  }
  .orbit {
    width: 96%;
  }
  .art-label {
    bottom: -4px;
    left: 22%;
    padding: 9px 60px 12px 16px;
  }
  .art-label strong {
    font-size: 25px;
  }
  .art-star {
    right: 12px;
    top: 7px;
    font-size: 35px;
  }
  .ribbon {
    gap: 25px;
    font-size: 8px;
    padding: 13px;
    justify-content: flex-start;
    letter-spacing: 1.4px;
  }
  .ribbon b {
    font-size: 15px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading p {
    margin-top: 20px;
    font-size: 13px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 14px;
  }
  .search-row {
    display: block;
  }
  .search-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
  }
  .search-row input {
    width: 100%;
  }
  .search-row > span {
    display: block;
    margin-top: 10px;
    font-size: 11px;
  }
  .stores-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .store-card {
    display: flex;
    align-items: stretch;
    border-radius: 15px;
  }
  .store-card > .store-logo {
    width: 115px;
    height: auto;
    padding: 15px;
    flex-shrink: 0;
  }
  .store-card > .store-logo img {
    width: 85px;
    height: 85px;
  }
  .store-copy {
    padding: 20px 16px;
    flex: 1;
  }
  .store-copy h3 {
    font-size: 20px;
  }
  .store-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .store-copy p {
    font-size: 11px;
    min-height: 0;
    margin-top: 8px;
  }
  .store-link {
    margin-top: 16px;
    padding-top: 10px;
    font-size: 11px;
  }
  .empty-state {
    padding: 35px 20px;
  }
  .empty-state h3 {
    font-size: 20px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .park-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .park-grid h2 {
    font-size: 42px;
  }
  .park-grid p {
    font-size: 14px;
  }
  .footer-inner {
    gap: 25px;
  }
  .footer-inner nav {
    margin-left: 0;
    width: 100%;
    font-size: 11px;
  }
  .copyright {
    font-size: 9px;
  }
  .compact-back {
    margin-top: 17px;
    padding: 0 20px;
    font-size: 11px;
  }
  .compact-content {
    padding: 0 14px;
  }
  .auth-card {
    padding: 25px 23px;
    border-radius: 22px;
  }
  .auth-logo {
    width: 98px;
    margin-bottom: 18px;
  }
  .auth-card h1 {
    font-size: 35px;
  }
  .auth-card > .eyebrow {
    font-size: 8px;
  }
  .auth-card > p {
    font-size: 12px;
    margin: 16px 0 22px;
  }
  .wifi-card .auth-logo {
    width: 100px;
  }
  .wifi-card h1 {
    font-size: 34px;
  }
  .wifi-benefit {
    margin: 20px 0;
  }
  .form-stack {
    gap: 18px;
  }
  input:not([type="checkbox"]):not([type="hidden"]),
  textarea {
    font-size: 16px;
  }
  .form-stack label {
    font-size: 12px;
  }
  .notice {
    padding: 13px 15px;
    font-size: 12px;
  }
  .notice.demo {
    font-size: 11px;
  }
  .store-heading {
    display: block;
    padding-bottom: 30px;
  }
  .store-heading .store-logo {
    margin-bottom: 20px;
  }
  .store-heading h1 {
    font-size: 40px;
  }
  .store-heading p {
    font-size: 13px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-card > div {
    padding: 22px;
  }
  .menu-card h3 {
    font-size: 23px;
  }
  .menu-card p {
    font-size: 13px;
  }
  .menu-heading {
    margin-top: 30px;
  }
  .legal h1 {
    font-size: 37px;
  }
  .legal h2 {
    font-size: 26px;
  }
  .legal p {
    font-size: 14px;
  }
  .admin-content {
    padding: 25px 16px 50px;
  }
  .admin-top {
    padding: 13px 16px;
    font-size: 10px;
  }
  .sidebar {
    padding: 13px 12px;
  }
  .sidebar nav a {
    padding: 9px;
    font-size: 10px;
    gap: 7px;
  }
  .sidebar nav a span {
    min-width: 17px;
  }
  .page-heading {
    display: block;
    margin-bottom: 25px;
  }
  .page-heading h1,
  .voucher-panel > h2 {
    font-size: 38px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading > .button,
  .page-heading > .text-link {
    margin-top: 20px;
    display: inline-flex;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-radius: 13px;
  }
  .stat strong {
    margin: 0;
    font-size: 28px;
  }
  .welcome-panel {
    display: block;
    padding: 25px;
  }
  .welcome-panel h2 {
    font-size: 34px;
  }
  .welcome-panel img {
    width: 170px;
    margin: 25px auto 0;
  }
  .welcome-panel .eyebrow {
    font-size: 8px;
  }
  .panel {
    padding: 22px;
    border-radius: 15px;
  }
  .form-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }
  .danger-area {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .merchant-line {
    gap: 10px;
    flex-wrap: wrap;
  }
  .merchant-line h3 {
    font-size: 18px;
  }
  .merchant-line .muted {
    font-size: 10px;
  }
  .merchant-line .badge {
    margin-left: 0;
  }
  .merchant-line .store-logo {
    width: 45px;
    height: 45px;
  }
  .merchant-line > div:nth-child(2) {
    flex: 1;
  }
  .row-actions {
    gap: 15px;
    font-size: 11px;
  }
  .text-button {
    font-size: 11px;
  }
  .upload-layout {
    display: block;
  }
  .upload-layout > .store-logo {
    margin-bottom: 20px;
  }
  .admin-menu-grid {
    grid-template-columns: 1fr;
  }
  .admin-menu-card {
    padding: 0;
  }
  .table-scroll {
    padding: 0;
  }
  .photo-preview {
    width: 100%;
  }
  .form-panel > h2 {
    font-size: 30px;
  }
}
/* Navegação pública com Eventos e Galeria, inclusive em telas pequenas. */
.site-header nav { gap: 24px; }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; }
@media (max-width: 800px) {
  .site-header { height: auto; min-height: 114px; flex-wrap: wrap; gap: 16px; padding-top: 20px; padding-bottom: 16px; }
  .site-header nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .site-header nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Produto 1.1.0: catálogo compacto e identidade uniforme. */
.store-logo {
  background: #fff;
  border: 1px solid var(--line);
}
.store-logo img {
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1;
}
.store-card > .store-logo {
  background: #f7f8f2;
}
.store-card > .store-logo img {
  object-fit: contain;
}
.master-create {
  margin-top: 28px;
}
.master-create > p {
  font-size: 13px;
  margin-bottom: 24px;
}
.menu-page-heading h1 {
  font-size: 38px;
}
.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}
.view-switch {
  display: flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  gap: 3px;
}
.view-switch a {
  padding: 8px 17px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}
.view-switch a[aria-current="true"] {
  background: var(--green);
  color: #fff;
}
.menu-manager[data-view="cards"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 14px;
}
.menu-entry {
  display: grid;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  min-width: 0;
}
.menu-manager[data-view="cards"] .menu-entry {
  grid-template-columns: 1fr auto;
  align-content: start;
  grid-template-rows: auto 1fr auto auto;
}
.menu-item-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  grid-column: 1/-1;
}
.menu-entry-text {
  min-width: 0;
  padding: 12px 13px 8px;
  grid-column: 1/-1;
}
.menu-entry-text h3 {
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.menu-entry-text p {
  font-size: 11px;
  line-height: 1.5;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.menu-entry-price {
  font-size: 15px;
  color: var(--green);
  padding: 5px 0 12px 13px;
  white-space: nowrap;
}
.menu-entry-status {
  align-self: center;
  justify-self: end;
  margin: 0 12px 8px 4px;
  font-size: 9px;
}
.menu-entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  grid-column: 1/-1;
  padding: 7px 12px;
  border-top: 1px solid var(--line);
}
.menu-entry-actions a,
.menu-entry-actions button {
  font-size: 11px;
  font-weight: 600;
}
.menu-manager[data-view="list"] {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.menu-manager[data-view="list"] .menu-entry {
  grid-template-columns: minmax(150px, 1fr) 95px 70px auto;
  align-items: center;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  column-gap: 14px;
  padding: 12px 16px;
}
.menu-manager[data-view="list"] .menu-entry:last-child {
  border-bottom: 0;
}
.menu-manager[data-view="list"] .menu-item-image {
  display: none;
}
.menu-manager[data-view="list"] .menu-entry-text {
  grid-column: auto;
  padding: 0;
}
.menu-manager[data-view="list"] .menu-entry-text h3 {
  font-size: 14px;
}
.menu-manager[data-view="list"] .menu-entry-text p {
  -webkit-line-clamp: 1;
}
.menu-manager[data-view="list"] .menu-entry-price {
  padding: 0;
  font-size: 14px;
}
.menu-manager[data-view="list"] .menu-entry-status {
  margin: 0;
  justify-self: start;
}
.menu-manager[data-view="list"] .menu-entry-actions {
  grid-column: auto;
  border: 0;
  padding: 0;
  gap: 14px;
}
.store-logo[data-preview-container] {
  background: #f4f5ed;
}
.image-preview-logo {
  object-fit: contain !important;
}
@media (min-width: 1400px) {
  .menu-manager[data-view="cards"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .menu-manager[data-view="list"] .menu-entry {
    grid-template-columns: minmax(140px, 1fr) 90px 60px;
  }
  .menu-manager[data-view="list"] .menu-entry-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
    padding-top: 8px;
  }
}
@media (max-width: 560px) {
  .menu-manager[data-view="cards"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .menu-entry-text {
    padding: 10px 9px 6px;
  }
  .menu-entry-text h3 {
    font-size: 14px;
  }
  .menu-entry-price {
    font-size: 13px;
    padding-left: 9px;
  }
  .menu-entry-status {
    font-size: 8px;
    margin-right: 8px;
  }
  .menu-entry-actions {
    padding: 5px 8px;
    gap: 6px;
  }
  .menu-entry-actions a,
  .menu-entry-actions button {
    font-size: 10px;
  }
  .menu-toolbar {
    align-items: flex-start;
  }
  .menu-toolbar > span {
    max-width: 50%;
    padding-top: 10px;
  }
  .view-switch a {
    padding: 8px 12px;
  }
  .menu-manager[data-view="list"] .menu-entry {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 13px;
  }
  .menu-manager[data-view="list"] .menu-entry-status {
    grid-column: 1;
  }
  .menu-manager[data-view="list"] .menu-entry-actions {
    grid-column: 1/-1;
  }
  .menu-page-heading h1 {
    font-size: 32px;
  }
}
@media (max-width: 360px) {
  .menu-manager[data-view="cards"] {
    grid-template-columns: 1fr;
  }
}
/* Vitrine institucional: marca em destaque e conteúdo sem áreas vazias. */
.stores-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 26px;
  align-items: stretch;
}
.store-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 28px #164d3608;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
  max-width: 580px;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px #164d3615;
}
.store-card > .store-logo {
  height: 280px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: radial-gradient(ellipse at center, #fff 40%, #f1f4e9);
  padding: 12px;
}
.store-card > .store-logo img {
  width: 256px;
  height: 256px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.store-card:hover > .store-logo img {
  transform: scale(1.025);
}
.store-card .store-copy {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-card .store-copy .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}
.store-card .store-copy h3 {
  font-size: 26px;
}
.store-card .store-copy p {
  min-height: 0;
  margin: 12px 0 0;
}
.store-card .store-link {
  margin-top: 22px;
  padding-top: 16px;
  font-size: 14px;
}
.last-login {
  font-size: 12px;
  margin: 16px 0 4px;
}
.last-login strong {
  font-weight: 500;
  color: var(--ink);
}
.audit-filter {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
}
.audit-filter label {
  flex: 1;
  max-width: 420px;
}
.audit-filter select {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.confirm-dialog {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  max-width: 500px;
  width: calc(100% - 32px);
  color: var(--ink);
  box-shadow: 0 24px 90px #0003;
}
.confirm-dialog::backdrop {
  background: #102f25a6;
}
.confirm-dialog h2 {
  font-size: 32px;
}
.confirm-dialog p {
  margin: 20px 0 28px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
#wifi-delete-dialog label {
  display: block;
}
#wifi-delete-dialog .password-field {
  display: block;
  margin-top: 8px;
}
#wifi-delete-dialog .dialog-actions {
  margin-top: 24px;
}
@media (max-width: 600px) {
  .store-card > .store-logo {
    height: 250px;
  }
  .store-card > .store-logo img {
    width: 226px;
    height: 226px;
  }
  .store-card .store-copy {
    padding: 20px 24px;
  }
  .stores-grid {
    gap: 20px;
  }
  .audit-filter {
    align-items: stretch;
    flex-direction: column;
  }
  .confirm-dialog {
    padding: 24px;
  }
}
.order-form {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.order-form label {
  font-size: 12px;
  max-width: 160px;
}
.order-form input {
  margin-top: 5px;
}
.order-form .button {
  white-space: nowrap;
}
.order-hint {
  font-size: 11px;
  margin: 7px 0 12px;
}
.table-scroll td {
  vertical-align: top;
}
.table-scroll td:last-child {
  white-space: normal;
  min-width: 220px;
  max-width: 440px;
  overflow-wrap: anywhere;
}

/* Gestão de lojas: até três cards, sem comprimir formulários de acesso. */
.admin-stores {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.admin-stores .merchant-panel {
  padding: 20px;
  min-width: 0;
}
.admin-stores .merchant-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.admin-stores .merchant-line > .badge {
  grid-column: 2;
  justify-self: start;
  margin: 0;
}
.admin-stores .merchant-line .store-logo {
  width: 54px;
  height: 54px;
  margin: 0;
}
.admin-stores .merchant-line h3 {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.admin-stores .merchant-line .muted {
  overflow-wrap: anywhere;
}
.admin-stores .last-login {
  font-size: 11px;
}
.admin-stores .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-stores .details-grid {
  grid-template-columns: 1fr;
  gap: 20px;
}
.admin-stores .details-grid input {
  min-width: 0;
  width: 100%;
}
.admin-stores .details-grid .button {
  width: 100%;
  padding: 12px;
  font-size: 12px;
}
.merchant-sorter {
  margin-bottom: 24px;
  padding: 22px;
}
.merchant-sorter > summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: var(--green);
}
.merchant-sorter > p {
  font-size: 13px;
  margin: 15px 0;
}
.sort-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 850px;
  margin: 20px 0;
}
.sort-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  min-width: 0;
}
.sort-list .is-dragging {
  opacity: 0.45;
  border-style: dashed;
}
.drag-handle {
  cursor: grab;
  font-size: 24px;
  color: var(--muted);
}
.sort-position {
  font-size: 12px;
  color: var(--muted);
  min-width: 20px;
}
.sort-list img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.sort-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: bold;
  font-size: 14px;
}
.sort-name small {
  display: block;
  font-size: 11px;
  font-weight: normal;
  color: var(--muted);
}
.sort-buttons {
  display: flex;
  gap: 6px;
}
.sort-buttons button {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  min-height: 44px;
  color: var(--green);
}
.sort-buttons button[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.sort-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sort-status {
  font-size: 12px;
  margin: 15px 0;
}
@media (max-width: 1199px) {
  .admin-stores {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .admin-stores {
    grid-template-columns: 1fr;
  }
  .merchant-sorter {
    padding: 16px;
  }
  .sort-list li {
    gap: 8px;
    flex-wrap: wrap;
  }
  .sort-buttons {
    margin-left: auto;
  }
  .sort-list img {
    width: 32px;
    height: 32px;
  }
  .sort-name {
    flex-basis: 45%;
  }
  .drag-handle {
    display: none;
  }
  .sort-buttons button {
    padding: 8px;
  }
  .sort-actions .button {
    width: 100%;
  }
}

/* Navegação completa em telas pequenas, sem menus horizontais escondidos. */
.sidebar {
  overflow-y: auto;
}
.sidebar-heading {
  flex-shrink: 0;
}
.admin-navigation {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.sidebar-bottom {
  margin-top: auto;
}
.admin-menu-toggle {
  display: none;
}
.admin-top > span,
.user-label {
  min-width: 0;
  overflow-wrap: anywhere;
}
.user-label {
  text-align: right;
}
.admin-main,
.admin-content {
  min-width: 0;
}
@media (max-width: 800px) {
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    padding: 12px 16px;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .sidebar-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .sidebar .admin-brand {
    display: flex;
    min-width: 0;
    gap: 8px;
    margin: 0;
  }
  .sidebar .admin-brand img {
    width: 42px;
    height: 42px;
  }
  .sidebar .admin-brand > span {
    font-size: 21px;
  }
  .sidebar .admin-brand small {
    font-size: 8px;
  }
  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #72927b;
    border-radius: 9px;
    background: #234f39;
    color: #fff;
    font-size: 14px;
    flex-shrink: 0;
  }
  .sidebar .admin-navigation {
    display: block;
    padding-top: 12px;
  }
  .sidebar-label {
    margin: 8px 12px 10px;
  }
  .sidebar nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
    gap: 4px;
  }
  .sidebar nav a {
    white-space: normal;
    overflow-wrap: anywhere;
    min-height: 46px;
    /* padding: 11px 12px; */
    font-size: 14px;
    gap: 12px;
  }
  .sidebar nav a span {
    font-size: 19px;
    min-width: 22px;
  }
  .sidebar-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    margin: 12px 0 0;
    padding: 12px 0 0;
    font-size: 14px;
  }
  .sidebar-bottom a,
  .sidebar-bottom .text-button {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    white-space: normal;
    text-align: left;
  }
  .sidebar-bottom form {
    margin: 0;
  }
  .sidebar-bottom .text-button {
    width: 100%;
  }
  .site-header {
    height: auto;
    min-height: 95px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    flex-basis: 100%;
  }
  .site-header nav > a:not(.button) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 13px;
  }
  .site-footer nav {
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .footer-social,
  .footer-navigation {
    width: 100%;
  }
  .footer-navigation {
    margin-left: 0 !important;
  }
  .site-footer nav a,
  .compact-back,
  .compact-footer a,
  .back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .compact-back {
    display: flex;
  }
  .store-heading h1,
  .store-heading p {
    overflow-wrap: anywhere;
  }
  .admin-top {
    gap: 12px;
  }
  .admin-top > span {
    flex: 1;
  }
  .admin-top .user-label {
    max-width: 48%;
  }
  .table-scroll {
    max-width: 100%;
    overscroll-behavior-x: contain;
  }
}
@media (max-width: 360px) {
  .sidebar {
    padding: 10px 12px;
  }
  .sidebar .admin-brand > span {
    font-size: 18px;
  }
  .sidebar .admin-brand img {
    width: 34px;
    height: 34px;
  }
  .admin-menu-toggle {
    font-size: 13px;
    padding: 9px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .site-header nav {
    gap: 4px 8px;
  }
}
.mobile-table-hint {
  display: none;
}
@media (max-width: 800px) {
  .mobile-table-hint {
    display: block;
    font-size: 12px;
    margin: 0 0 10px;
  }
  .menu-entry-actions {
    flex-wrap: wrap;
  }
  .menu-entry-actions a,
  .menu-entry-actions button,
  .row-actions a,
  .row-actions button,
  .view-switch a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .menu-entry-actions a,
  .menu-entry-actions button {
    padding: 8px 3px;
  }
  .menu-card h3,
  .store-copy h3,
  .store-copy p {
    overflow-wrap: anywhere;
  }
  .admin-navigation:focus-within {
    scroll-margin-top: 10px;
  }
}

.master-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.master-card {
  min-width: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.master-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.master-card-heading > div {
  min-width: 0;
}
.master-card-heading h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.master-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 14px;
  background: #e8efd9;
  color: var(--green);
  font-size: 22px;
  font-weight: bold;
}
.master-username {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
.master-username strong {
  font-weight: 500;
}
.master-card > .badge {
  align-self: flex-start;
  white-space: normal;
}
.master-dates {
  margin: 0;
  display: grid;
  gap: 14px;
}
.master-dates dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 3px;
}
.master-dates dd {
  font-size: 13px;
  margin: 0;
  overflow-wrap: anywhere;
}
.master-card-actions {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: auto;
}
.master-card-actions .button {
  width: 100%;
  gap: 8px;
  font-size: 12px;
  white-space: normal;
}
@media (max-width: 1199px) {
  .master-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .footer-channel-grid {
    grid-template-columns: 1fr;
  }
  .master-grid {
    grid-template-columns: 1fr;
  }
  .master-card {
    padding: 20px;
  }
  .master-card-heading h2 {
    font-size: 20px;
  }
}

@font-face {
  font-family: BeachBar;
  src: url("fonts/BeachBarScript-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
.brand .brand-caragua {
  font-family: BeachBar, cursive;
  font-size: 1.65em;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0;
}
.brand .brand-foodpark {
  display: block;
}
.master-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hours-fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.hours-fieldset > legend {
  font-size: 24px;
  font-weight: bold;
}
.hours-day {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  min-width: 0;
}
.hours-day > legend {
  font-weight: bold;
  padding: 0 6px;
}
.hours-closed {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.hours-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hours-slot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 0;
}
.hours-slot > span {
  grid-column: 1/-1;
  font-size: 12px;
  color: var(--muted);
}
.hours-slot input {
  width: 100%;
  min-width: 0;
}
.hours-slot label {
  min-width: 0;
}
.public-hours {
  white-space: pre-line;
}
.crm-search {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-bottom: 16px;
}
.crm-search > label {
  flex: 1;
  min-width: 0;
}
.crm-search input {
  width: 100%;
}
.crm-export {
  margin-bottom: 22px;
}
.crm-export p {
  font-size: 13px;
  max-width: 700px;
  margin-top: 8px;
}
.crm-table {
  margin: 14px 0;
}
.crm-table table {
  min-width: 780px;
  width: 100%;
}
.crm-table td {
  vertical-align: top;
  white-space: normal;
}
.crm-table td:first-child {
  min-width: 180px;
}
.table-secondary {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.visit-pill {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: white;
  font-weight: bold;
}
.metric-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #cfdbca;
  border-radius: 12px;
  background: #f6f9f1;
  color: var(--green-deep);
  cursor: help;
  font:
    700 18px Georgia,
    serif;
}
.metric-form {
  display: inline-block;
  margin: 0;
}
.metric-pill.is-action {
  appearance: none;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.metric-pill.is-action:hover,
.metric-pill.is-action:focus-visible {
  border-color: #9eb596;
  background: #eaf2e3;
  transform: translateY(-1px);
}
.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;
}
.metric-pill::after {
  position: absolute;
  z-index: 20;
  bottom: calc(100% + 9px);
  left: 0;
  width: 245px;
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--green-deep);
  color: white;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
  box-shadow: 0 8px 30px #102f2533;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.metric-pill:hover::after,
.metric-pill:focus::after {
  opacity: 1;
  transform: translateY(0);
}
.date-detail {
  display: inline-block;
  min-width: 130px;
  line-height: 1.45;
}
.inline-form {
  margin: 0;
}
.reward-option {
  min-width: 200px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.reward-option small,
.reward-option strong {
  display: block;
}
.reward-option form {
  margin-top: 8px;
}
.coupon-code {
  display: block;
  max-width: 270px;
  overflow-wrap: anywhere;
  user-select: all;
}
.coupon-search .button {
  align-self: end;
}
.coupon-validation {
  max-width: 760px;
  margin-top: 22px;
  border-left: 5px solid var(--green);
}
.coupon-validation.is-unavailable {
  border-left-color: #a46049;
}
.coupon-validation-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0 22px;
}
.coupon-validation-heading h2 {
  font-size: 28px;
}
.coupon-validation-heading p {
  margin-top: 5px;
  color: var(--muted);
}
.coupon-discount {
  color: var(--green);
  font:
    700 36px Georgia,
    serif;
}
.coupon-validation dl {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.coupon-validation dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.coupon-validation dd {
  margin: 0;
}
.coupon-redeem-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.coupon-redeem-form label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 460px;
  font-size: 13px;
}
.coupon-not-found {
  margin-top: 22px;
}
.audit-filter {
  flex-wrap: wrap;
}
.audit-search-field {
  flex: 1 1 330px;
}
.audit-search-field input {
  display: block;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.audit-pagination {
  align-items: center;
}
.audit-pagination > span {
  padding: 10px 4px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 650px) {
  .coupon-validation dl {
    grid-template-columns: 1fr;
  }
  .coupon-redeem-form {
    align-items: stretch;
    flex-direction: column;
  }
  .coupon-redeem-form .button {
    width: 100%;
  }
}
.crm-pagination {
  margin: 12px 0;
}
.crm-table td .button {
  min-height: 44px;
}
@media (max-width: 640px) {
  .hours-slots {
    grid-template-columns: 1fr;
  }
  .crm-search {
    flex-wrap: wrap;
  }
  .crm-search > label {
    flex-basis: 100%;
  }
  .crm-search > .button,
  .crm-export > .button {
    width: 100%;
  }
  .crm-table {
    border-radius: 12px;
  }
  .crm-pagination {
    justify-content: space-between;
  }
  .hours-day {
    padding: 12px;
  }
  .crm-export p {
    font-size: 12px;
  }
}
.loyalty-card h2 {
  font-size: 28px;
  overflow-wrap: anywhere;
  margin-bottom: 12px;
}
.loyalty-card p {
  font-size: 14px;
}
.loyalty-card .row-actions {
  flex-wrap: wrap;
}
.loyalty-delete {
  color: #a32d26;
}
.loyalty-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Portal cativo: pensado para a janela compacta aberta automaticamente pelo celular. */
.compact-body:has(.wifi-portal) {
  background: linear-gradient(145deg, #f9f5e9 0%, #fffaf0 50%, #f1f4e8 100%);
}
.compact-body:has(.wifi-portal) .compact-back {
  display: none;
}
.wifi-portal {
  width: min(100%, 470px);
  margin: 22px auto 12px;
  padding: 0 14px;
}
.wifi-intro {
  text-align: center;
}
.wifi-logo {
  width: 136px;
  height: 136px;
  object-fit: contain;
  margin: 0 auto 6px;
}
.wifi-intro .eyebrow {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 3px;
}
.wifi-intro h1 {
  font-size: clamp(39px, 12vw, 54px);
  margin: 10px 0 14px;
}
.wifi-intro > p {
  font-size: 15px;
  max-width: 390px;
  margin: auto;
}
.wifi-intro > p strong {
  color: var(--green);
}
.wifi-duration {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 22px;
  padding: 11px 17px;
  border-radius: 14px;
  background: #174d36;
  color: white;
  box-shadow: 0 10px 25px #174d3620;
}
.wifi-duration > span {
  font-size: 26px;
  color: var(--yellow);
}
.wifi-duration strong,
.wifi-duration small {
  display: block;
}
.wifi-duration small {
  font-size: 10px;
  color: #e6efe8;
}
.wifi-form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 25px 24px;
  box-shadow: 0 18px 55px #294b3620;
}
.wifi-form-card h2 {
  font-family: Georgia, serif;
  font-size: 29px;
  margin: 20px 0 6px;
}
.wifi-form-card > form ~ form {
  margin-block-start: 16px;
}
.wifi-form-card > p {
  font-size: 13px;
}
.wifi-steps {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  align-items: center;
  text-align: center;
  width: 185px;
  margin: auto;
}
.wifi-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #bdc8ba;
  color: var(--muted);
  font-size: 12px;
  font-weight: bold;
}
.wifi-steps span.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.wifi-steps i {
  height: 1px;
  background: #bdc8ba;
}
.wifi-steps small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.wifi-steps small:first-of-type {
  grid-column: 1;
}
.wifi-steps small:last-of-type {
  grid-column: 3;
}
.wifi-form {
  margin-top: 20px;
}
.wifi-form input:not([type="checkbox"]) {
  background: #fbfcf8;
}
.wifi-form .choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: normal;
}
.wifi-form .choice input {
  flex: 0 0 auto;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.wifi-form .choice a {
  text-decoration: underline;
  color: var(--green);
  font-weight: bold;
}
.wifi-form .marketing-choice {
  padding: 14px;
  border: 1px solid #dfe6d7;
  border-radius: 12px;
  background: #f7f9f2;
}
.wifi-form .marketing-choice small {
  display: block;
  margin-top: 4px;
}
.wifi-form .button {
  min-height: 55px;
  font-size: 14px;
}
.wifi-help {
  display: block;
  text-align: center;
  color: var(--muted);
  line-height: 1.4;
}
.wifi-security {
  font-size: 10px !important;
  text-align: center;
  margin-top: 18px;
}
.wifi-security span {
  color: var(--green);
  font-size: 15px;
}
.wifi-form-card .notice {
  font-size: 12px;
  margin-top: 16px;
}
@media (max-width: 360px) {
  .wifi-portal {
    margin-top: 12px;
    padding: 0 9px;
  }
  .wifi-logo {
    width: 112px;
    height: 112px;
  }
  .wifi-form-card {
    padding: 21px 18px;
    border-radius: 20px;
  }
  .wifi-form-card h2 {
    font-size: 26px;
  }
  .wifi-duration {
    padding: 10px 13px;
  }
  .wifi-intro > p {
    font-size: 13px;
  }
}
.wifi-form .marketing-choice {
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.wifi-form .marketing-choice.is-invited {
  border-color: #d5a51d;
  background: #fff9df;
  box-shadow: 0 0 0 3px #f3cd4930;
}
.marketing-invite {
  margin-bottom: -12px;
  padding-left: 3px;
  color: #76580b;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.wifi-complete {
  padding-top: 25px;
}
.wifi-success-card {
  text-align: center;
}
.wifi-success-card h1 {
  font-size: 42px;
  margin: 15px 0;
}
.wifi-success-card h1 em {
  color: var(--green);
}
.wifi-success-card > p {
  font-size: 14px;
  line-height: 1.7;
}
.wifi-success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: -5px auto 10px;
  border-radius: 50%;
  background: #e6f2d5;
  color: var(--green);
  font-size: 38px;
  font-weight: 700;
}
.wifi-success-card .wifi-duration {
  margin: 22px auto;
}
.wifi-success-card .notice {
  text-align: left;
}
.wifi-success-card .button {
  text-align: left;
}
.wifi-visit-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  margin: 22px 0;
  padding: 17px;
  border: 1px solid #dce4d5;
  border-radius: 14px;
  background: #f8faf4;
}
.wifi-visit-count {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0 0 1px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-deep);
  font:
    700 30px/1 Arial,
    Helvetica,
    sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.wifi-visit-summary h2,
.wifi-recent h2 {
  font:
    700 18px Georgia,
    serif;
}
.wifi-visit-summary p {
  font-size: 11px;
  margin-top: 4px;
}
.wifi-recent {
  text-align: left;
  margin: 0 0 22px;
}
.wifi-recent ol {
  list-style: none;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.wifi-recent li {
  display: flex;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.wifi-recent strong {
  color: var(--green);
}
.wifi-name-update {
  text-align: left;
  margin-top: 17px;
}
.wifi-name-update summary {
  text-align: center;
  color: var(--green);
  text-decoration: underline;
}
.wifi-name-update form {
  margin-top: 14px;
}
.wifi-name-update .button {
  justify-content: space-between;
}
.feedback-dialog {
  position: relative;
  overflow: hidden;
  width: min(390px, calc(100% - 32px));
  border: 1px solid #d7e2ce;
  border-radius: 24px;
  padding: 30px 26px 24px;
  background: #fffdf7;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 90px #102f2540;
  cursor: pointer;
}
.feedback-dialog::backdrop {
  background: #102f25a6;
}
.feedback-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e6f2d5;
  color: var(--green);
  font-size: 32px;
  font-weight: 700;
}
.feedback-dialog h2 {
  margin: 0;
  font:
    700 28px Georgia,
    serif;
  color: var(--green-deep);
}
.feedback-dialog p {
  margin: 12px 0 18px;
  line-height: 1.55;
}
.feedback-dialog small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.feedback-timer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--yellow);
  transform-origin: left;
  animation: feedback-countdown var(--feedback-duration, 4s) linear forwards;
}
.voucher-action-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  cursor: default;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.voucher-action-dialog .dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.voucher-action-dialog .form-stack { text-align: left; }
.voucher-action-dialog h2 { overflow-wrap: anywhere; }
.feedback-dialog.is-error {
  border-color: #e8c2b5;
}
.feedback-dialog.is-error .feedback-icon {
  background: #f9e4dc;
  color: #9b3d20;
}
.feedback-dialog.is-error .feedback-timer {
  background: #c65a36;
}
.password-field {
  position: relative;
  display: block;
  margin-top: 7px;
}
.form-stack .password-field input {
  margin-top: 0;
  padding-right: 50px;
}
.password-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--green);
  background: transparent;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  background: #edf3e8;
  outline: 2px solid #719671;
  outline-offset: -2px;
}
.password-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.password-match-feedback.is-valid {
  color: var(--green);
}
.password-match-feedback.is-invalid {
  color: #9b3d20;
}
.customer-history-dialog {
  width: min(980px, calc(100% - 32px));
  max-height: min(88vh, 850px);
  margin: auto;
  overflow: auto;
  border: 1px solid #d7e2ce;
  border-radius: 24px;
  padding: 28px;
  background: #fffdf7;
  color: var(--ink);
  box-shadow: 0 24px 90px #102f2540;
}
.customer-history-dialog::backdrop {
  background: #102f25a6;
}
.customer-history-header,
.history-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.customer-history-header .eyebrow,
.history-section-title .eyebrow {
  margin-bottom: 7px;
}
.customer-history-header h2 {
  font-size: clamp(30px, 4vw, 44px);
}
.history-close {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--green-deep);
  font-size: 30px;
  line-height: 1;
}
.customer-history-summary {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.6fr;
  gap: 10px;
  margin: 24px 0;
}
.customer-history-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #f6f9f1;
}
.customer-history-summary strong {
  color: var(--green-deep);
  font:
    700 24px/1.25 Georgia,
    serif;
}
.customer-history-summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.customer-history-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.history-section {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.history-section.is-focused {
  border-color: #d1ad36;
  box-shadow: 0 0 0 3px #f4c54324;
}
.history-section-title h3 {
  font-family: Georgia, serif;
}
.history-total {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-deep);
  font-weight: 700;
}
.history-explanation {
  min-height: 45px;
  margin: 11px 0 13px;
  font-size: 12px;
  line-height: 1.5;
}
.history-technical-note {
  margin: -4px 0 13px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #fff7d8;
  color: #705914;
  font-size: 11px;
  line-height: 1.45;
}
.history-list {
  max-height: 330px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  border-top: 1px solid var(--line);
}
.history-list li {
  display: grid;
  gap: 5px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.history-list li div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.history-list li span,
.history-list li small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.history-empty {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.customer-history-dialog > .dialog-actions {
  justify-content: flex-end;
  margin-top: 20px;
}
@media (max-width: 700px) {
  .customer-history-dialog {
    width: calc(100% - 20px);
    max-height: 92vh;
    padding: 20px 16px;
    border-radius: 20px;
  }
  .customer-history-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .customer-history-summary > div:last-child {
    grid-column: 1 / -1;
  }
  .customer-history-columns {
    grid-template-columns: 1fr;
  }
  .history-explanation {
    min-height: 0;
  }
  .history-list {
    max-height: 280px;
  }
  .history-list li div {
    display: grid;
    gap: 2px;
  }
  .customer-history-dialog > .dialog-actions .button {
    width: 100%;
  }
}
@media (max-width: 1000px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .dashboard-heading {
    display: block;
  }
  .dashboard-heading > p {
    margin-top: 8px;
  }
  .dashboard-grid,
  .dashboard-lower-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-card {
    min-height: 150px;
  }
}
@keyframes feedback-countdown {
  to {
    transform: scaleX(0);
  }
}
/* Página inicial: fachada imersiva aprovada, sempre alinhada pelo topo. */
.hero.immersive-hero {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 645px;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(44px, calc((100% - 1240px) / 2 + 44px));
  padding-right: max(44px, calc((100% - 1240px) / 2 + 44px));
  border-radius: 0;
}
.hero.immersive-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #103d2bf5 0%, #103d2be8 31%, #103d2b94 53%, #103d2b10 78%);
}
.immersive-hero .hero-art {
  position: absolute;
  inset: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  z-index: -2;
  display: block;
}
.immersive-hero .hero-art > img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.88) contrast(1.04);
}
.immersive-hero .hero-copy { max-width: 650px; padding: 64px 0; }
.immersive-hero h1, .immersive-hero h1 em {
  color: var(--cream);
  text-shadow: 0 2px 24px #103d2b70;
}
.immersive-hero h1 em { color: var(--yellow); }
.immersive-hero .hero-copy > .eyebrow { color: var(--lime); }
.immersive-hero .hero-copy > .eyebrow i { background: var(--lime); }
.immersive-hero .hero-copy > p,
.immersive-hero .hero-note,
.immersive-hero .hero-bottom { color: #f7f2e7; }
.immersive-hero .button {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--green-deep);
}
.immersive-hero .button:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green-deep);
}
@media (max-width: 1100px) {
  .immersive-hero .hero-copy { padding: 54px 0; max-width: 590px; }
}
@media (max-width: 560px) {
  .hero.immersive-hero { min-height: 610px; padding-left: 22px; padding-right: 22px; }
  .hero.immersive-hero::before {
    background: linear-gradient(90deg, #103d2bf5 0%, #103d2bdc 65%, #103d2b60 100%);
  }
  .immersive-hero .hero-copy { padding: 44px 0; max-width: 100%; }
  .immersive-hero h1 { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-timer {
    animation: none;
  }
}
/* Voucher delivery is separate from network authorization. */
.wifi-form-card input.wifi-voucher-code { width: 100%; text-align: center; font-size: 2rem; font-weight: 700; letter-spacing: .15em; margin: 12px 0; }
.wifi-form-card [data-copy-voucher] { justify-content: center; }
.voucher-panel { margin-top: 22px; }
.voucher-panel > p { margin: 12px 0 20px; }
.voucher-panel .table-wrap { overflow-x: auto; }
.wifi-code-label { display: block; }
.wifi-code-instructions { text-align: left; padding-left: 1.4rem; }
.wifi-code-instructions li { margin-bottom: 12px; }
.wifi-copy-status { min-height: 1.5em; }
.wifi-success-card .wifi-return-button {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--green-deep);
  min-height: 58px;
  font-size: 16px;
  justify-content: center;
  gap: 12px;
  text-align: center;
}
.wifi-success-card .wifi-return-button:hover {
  background: #eab832;
  border-color: #eab832;
  color: var(--green-deep);
}

/* Navegação pública em uma linha, inclusive em telas estreitas. */
@media (max-width: 800px) {
  .site-header nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
  }
  .site-header nav > a:not(.button) {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 0;
    font-size: 12px;
    min-height: 44px;
  }
}
.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(250, 247, 239, .94);
  color: var(--green);
  box-shadow: 0 2px 10px #103d2b18;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: var(--green); color: white; }
.back-to-top:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* Aviso central de manutenção no cabeçalho administrativo. */
.admin-top.has-maintenance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}
.admin-maintenance-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 2px solid #c62828;
  border-radius: 12px;
  background: rgba(198, 40, 40, .10);
  color: #a51d1d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
}
.admin-maintenance-alert:hover { background: rgba(198, 40, 40, .18); border-color: #a51d1d; }
.admin-maintenance-alert:focus-visible { outline: 3px solid #c62828; outline-offset: 4px; }
#manutencao { scroll-margin-top: 24px; }
.admin-top.has-maintenance .user-label { justify-self: end; max-width: 100%; }
@media (max-width: 1100px) {
  .admin-top.has-maintenance { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .admin-top.has-maintenance .user-label { grid-column: 2; grid-row: 1; }
  .admin-maintenance-alert { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 100%; }
}
@media (max-width: 480px) {
  .admin-maintenance-alert { width: 100%; padding: 10px 12px; gap: 9px; }
  .admin-maintenance-alert { font-size: 12px; }
}
