/* =========================================================
   1. CONFIGURAÇÕES GERAIS
   ========================================================= */
:root {
  --artwork-width: 1024;
  --artwork-height: 1536;
  --focus-color: #064d2c;
}

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

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

body {
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

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

/* =========================================================
   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;
}

/* =========================================================
   3. ESTRUTURA DA PÁGINA
   A arte aprovada possui proporção nativa de 1024 × 1536 px.
   ========================================================= */
.site-header,
.site-footer {
  height: 0;
  overflow: hidden;
}

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

.layout-canvas {
  position: relative;
  width: min(100vw, 1024px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.09);
}

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

/* =========================================================
   4. MAPA DE INTERAÇÕES
   Áreas transparentes mantêm o visual aprovado intacto.
   As coordenadas são proporcionais à arte de 1024 × 1536 px.
   ========================================================= */
.interaction-map {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

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

.hotspot:hover {
  background: rgba(255, 255, 255, 0.035);
}

.hotspot:focus-visible {
  outline: 3px solid var(--focus-color);
  background: rgba(255, 255, 255, 0.16);
}

.hotspot-whatsapp {
  left: 4.3%;
  top: 73.9%;
  width: 17.8%;
  height: 13.5%;
}

.hotspot-address-alambari {
  left: 23.0%;
  top: 74.0%;
  width: 17.4%;
  height: 6.4%;
}

.hotspot-address-sarapui {
  left: 23.0%;
  top: 80.4%;
  width: 17.4%;
  height: 6.8%;
}

.hotspot-instagram-alambari {
  left: 62.0%;
  top: 76%;
  width: 14.8%;
  height: 6.8%;
}

.hotspot-instagram-sarapui {
  left: 62.0%;
  top: 82.7%;
  width: 14.8%;
  height: 4.4%;
}

.hotspot-facebook {
  left: 78.7%;
  top: 74.0%;
  width: 16.8%;
  height: 13.4%;
}

/* =========================================================
   5. RESPONSIVIDADE
   A composição completa é reduzida proporcionalmente sem redesenho.
   ========================================================= */
@media (max-width: 1024px) {
  html,
  body {
    background: #ffffff;
  }

  .layout-canvas {
    box-shadow: none;
  }
}

/* =========================================================
   6. IMPRESSÃO
   ========================================================= */
@media print {
  @page {
    size: 1024px 1536px;
    margin: 0;
  }

  html,
  body,
  .page-shell,
  .layout-canvas {
    width: 1024px;
    height: 1536px;
    min-height: 0;
    background: #ffffff;
    box-shadow: none;
  }
}
