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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.section {
  position: relative;
  aspect-ratio: 1440 / var(--h);
  overflow: hidden;
}

.section img {
  display: block;
  width: 100%;
  height: auto;
  /* Margin percentages resolve against the section width, so -y/1440 crops y source pixels. */
  margin-top: calc(var(--crop-top, 0) / -1440 * 100%);
}

.section--header  { --h: 129; background: #ffffff; }
.section--hero    { --h: 743; background: #b19aca; }
.section--servicos { --h: 799; --crop-top: 106; background: #d5e6a4; }
.section--loja    { --h: 1217; background: #ffdaa2; }
.section--zenclub { --h: 950; --crop-top: 30; background: #f7a01e; }
.section--contato { --h: 544; background: #f9c1cd; }

.hotspot {
  position: absolute;
  left: calc(var(--x) / 1440 * 100%);
  top: calc(var(--y) / var(--h) * 100%);
  width: calc(var(--w) / 1440 * 100%);
  height: calc(var(--hh) / var(--h) * 100%);
  border-radius: 8px;
  cursor: pointer;
}

.hotspot--round {
  border-radius: 50%;
}

.hotspot:focus-visible {
  outline: 3px solid #7ed321;
  outline-offset: 2px;
}

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

/* Rodapé Institucional (Site-nao-responsivo) */
.site-footer {
  width: 100%;
  background: #f39db1;
  border-top: 1px solid rgba(191, 62, 93, 0.16);
  color: #9e314c;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  padding: 20px 24px 22px;
  -webkit-font-smoothing: antialiased;
}

.site-footer__inner {
  max-width: 1168px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.site-footer__copy {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #9e314c;
}

.site-footer__sep {
  margin: 0 12px;
  color: rgba(158, 49, 76, 0.45);
  user-select: none;
}

.site-footer a {
  color: #88233c;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: #5e1427;
  border-bottom-color: rgba(94, 20, 39, 0.45);
}

.site-footer__admin {
  margin: 0;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: rgba(158, 49, 76, 0.78);
}

.site-footer__admin a {
  font-weight: 600;
  color: #88233c;
}

.site-footer__admin a:hover {
  color: #5e1427;
  border-bottom-color: rgba(94, 20, 39, 0.45);
}

/* Banner de Cookies */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 900px;
  background: #1f2937;
  color: #f9fafb;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #d1d5db;
}

.cookie-banner__link {
  color: #d4c2e8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: #e8dcf5;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: #8d71ab;
  color: #ffffff;
}

.cookie-btn--primary:hover {
  background: #7b5f99;
}

.cookie-btn--secondary {
  background: transparent;
  color: #d1d5db;
  border: 1px solid #4b5563;
}

.cookie-btn--secondary:hover {
  background: #374151;
  color: #ffffff;
}

/* Modal de Privacidade */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-dialog {
  background: #ffffff;
  color: #374151;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #9ca3af;
  cursor: pointer;
}

.modal-close:hover {
  color: #111827;
}

.modal-title {
  margin: 0 0 16px 0;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.modal-body {
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 8px;
}

.modal-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 6px 0;
  color: #1f2937;
}

.modal-body p {
  margin: 0 0 10px 0;
  color: #4b5563;
}

.modal-body ul {
  margin: 0 0 12px 0;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 6px;
  color: #4b5563;
}

.modal-footer {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
