/* =========================================================
   Base
   ========================================================= */
:root {
  --layout-width: 1024;
  --layout-height: 1536;
  --page-bg: #f3f3f3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--page-bg);
  color: #052f1c;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

/* =========================================================
   Estrutura principal
   ========================================================= */
.site-header,
.page-category,
.site-footer {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.reference-layout {
  position: relative;
  width: min(100vw, 1024px);
  aspect-ratio: 2 / 3;
  background: #ffffff;
}

.layout-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================================================
   Áreas interativas proporcionais à arte de 1024 × 1536
   ========================================================= */
.interactive-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hotspot {
  position: absolute;
  display: block;
  pointer-events: auto;
  background: transparent;
  border-radius: 18px;
  outline: none;
}

.hotspot:focus-visible {
  box-shadow: inset 0 0 0 4px rgba(255, 188, 0, 0.95);
}

.hotspot-whatsapp {
  left: 4.4%;
  top: 76.4%;
  width: 18.1%;
  height: 11.2%;
}

.hotspot-address {
  left: 23.4%;
  top: 76.4%;
  width: 17.7%;
  height: 11.2%;
}

.hotspot-instagram {
  left: 62.0%;
  top: 76.4%;
  width: 17.2%;
  height: 11.2%;
}

.hotspot-facebook {
  left: 79.6%;
  top: 76.4%;
  width: 16.4%;
  height: 11.2%;
}

/* =========================================================
   Acessibilidade
   ========================================================= */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   Responsividade
   Mantém rigorosamente a composição e a proporção originais.
   ========================================================= */
@media (min-width: 1025px) {
  body {
    padding: 0;
  }

  .reference-layout {
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 1024px) {
  .reference-layout {
    width: 100vw;
    min-height: 100svh;
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .reference-layout {
    width: 1024px;
    box-shadow: none;
  }
}
