:root{color-scheme:light;font:16px/1.5 "Segoe UI",Arial,sans-serif;color:#233c33;background:#f8f7f1}*{box-sizing:border-box}body{margin:0}header,footer,.heading,.bar,.modes,nav,.zoom{display:flex;align-items:center;gap:1.1rem}header,footer{padding:1.2rem max(4vw,calc((100vw - 1360px)/2));justify-content:space-between;border-bottom:1px solid #cbd0c3}header{background:#fffef9}a,button,select{font:inherit;color:inherit}a{text-underline-offset:.27em}nav a,nav button,.brand{text-decoration:none}nav button{background:none;border:0;cursor:pointer}button,select{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #bd7439;outline-offset:3px}.brand{font-weight:650}main{max-width:1480px;margin:auto;padding:1.1rem 4vw 3rem}.intro{height:clamp(290px,39vw,510px);border-radius:8px;position:relative;overflow:hidden;background:#293b33}.intro img{width:100%;height:100%;object-fit:cover;object-position:50% 49%}.lead{position:absolute;inset:0;background:linear-gradient(0deg,#13231ee0,transparent 90%);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:clamp(22px,5vw,70px);color:white}.lead p,small,label,.legend{font-size:.88rem;letter-spacing:.025em}h1,h2{font:normal clamp(2.2rem,5vw,4.5rem)/1.03 Georgia,serif;margin:.15em 0 .48em;text-wrap:balance}.primary{display:inline-flex;gap:1.5rem;background:#f7f8ed;color:#273a30;padding:.6rem 1.05rem;border-radius:3px;text-decoration:none}#plantas{margin:2.8rem 0 0;scroll-margin:1.3rem}.heading,.bar{justify-content:space-between}.heading label{display:block;color:#566a5b}.heading select{font:normal clamp(1.25rem,2.5vw,2rem) Georgia,serif;background:transparent;border:0;border-bottom:1px solid #afb8a9;padding:.35rem .15rem;max-width:100%}.zoom{gap:.2rem}.zoom button,.modes button,.close{background:#fffcf5;border:1px solid #c3cbbc;padding:.48rem .80rem;border-radius:4px;min-height:42px}.modes button[aria-pressed=true]{color:white;background:#294a3d}.viewport{background:white;overflow:auto;border:1px solid #cbd0c3;border-radius:7px;max-height:80vh}.board{position:relative;width:100%;margin:auto}.board img{display:block;width:100%;height:auto}.board svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.region{pointer-events:visiblePainted;cursor:pointer;fill:#749971;fill-opacity:.16;stroke:#315847;stroke-width:1;vector-effect:non-scaling-stroke}.region.unit{stroke-dasharray:5 3}.region:hover,.region:focus-visible{fill-opacity:.55;stroke:#9c5421;stroke-width:3;outline:none}.legend{min-height:1.35rem;color:#4d6252}footer{border-top:1px solid #cbd0c3;flex-wrap:wrap;font-size:.9rem}footer span{margin-right:auto}dialog{width:min(1180px,95vw);max-height:95dvh;overflow:auto;padding:1.4rem;border:0;border-radius:9px;color:#243c32;background:#fbfaf6}dialog::backdrop{background:#10201aca}.bar h2{font-size:clamp(1.5rem,3vw,2.5rem);margin:.2em 0}.modes{gap:.5rem;flex-wrap:wrap;margin:.65rem 0}.modes:empty{display:none}#stage{background:#e7e6de;border-radius:5px;overflow:hidden;height:min(62dvh,700px);margin-top:.7rem}#stage>img,#stage>model-viewer,#stage>.sphere,#cinema video{display:block;width:100%;height:100%;object-fit:contain}#cinema video{max-height:70vh}#caption{margin:.7rem 0 0}body:has(dialog[open]){overflow:hidden}@media(max-width:650px){header,footer{gap:.65rem;padding:.85rem 4vw}nav{gap:.55rem}header{font-size:.86rem}.heading{align-items:end;gap:.35rem}.heading>div:first-child{min-width:0}.heading select{width:100%}.zoom button{padding:.25rem .5rem}.intro{height:260px}#plantas{margin-top:1.65rem}dialog{padding:.83rem;width:98vw}.modes{gap:.25rem}.modes button,.close{font-size:.85rem;padding:.35rem .5rem}#stage{height:46dvh}.bar small{font-size:.76rem}}
#brand:has(img) { display:inline-flex; align-items:center; gap:.65rem; }
#brand img { display:block; max-width:96px; max-height:34px; object-fit:contain; }
header { border-bottom-color:var(--brand-accent,#cbd0c3); }
.marca-contemporanea #brand, .marca-contemporanea h1, .marca-contemporanea h2 {
  font-family:"Segoe UI", Arial, sans-serif;
}
/* O menu de contexto do panorama deve exibir somente a interface do projeto. */
.pnlm-container .pnlm-about-msg { display: none !important; }

@font-face{font-family:Inter;src:url('ap-Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
    :root{font-family:Inter,Arial,sans-serif;color:#131313;background:white}
    header,dialog{background:white;color:#131313}.marca-contemporanea #brand,.marca-contemporanea h1,.marca-contemporanea h2{font-family:Inter,Arial,sans-serif}
    .region{pointer-events:fill;fill:#a68d40;stroke:#836e30}.region:hover,.region:focus-visible{fill:#a68d40;stroke:#131313}
    .escolha-local{padding:1.4rem;max-width:42rem}.escolha-local input{display:block;margin-top:1rem;max-width:100%}
    .primary{background:white;color:#131313}.legend{color:#534b34}footer a{color:#131313}.modes button[aria-pressed=true]{background:#131313;color:white}
    
#humanizadas, #localizacao {
  margin-top: 2.8rem;
  scroll-margin-top: 1.3rem;
}
#humanizadas h2, #localizacao h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
#humanizadas .galeria { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
#humanizadas .galeria-botao { border-radius: 0; background: #f7f6f1; }
#humanizadas img { aspect-ratio: 1 / 1; }
#humanizadas small { display: block; }
#plantas h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
#plantas .heading { flex-wrap: wrap; gap: .65rem; }
#regions .region { fill: #647a56; fill-opacity: .23; stroke: #40593c; stroke-width: 1.5; }
#regions .region:is(:hover,:focus-visible) { fill-opacity: .53; stroke-width: 3; }
@media (max-width: 650px) {
  nav { flex-wrap: wrap; }
  #humanizadas .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.mapa-localizacao {
  display: grid;
  gap: .55rem;
  width: min(100%, 960px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.mapa-localizacao img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.mapa-localizacao span { text-decoration: underline; text-underline-offset: .25em; }
#conteudo-pavimento h3 {
  margin: 1.5rem 0 .75rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.lista-finais, .opcoes-ficha {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.ficha-botao, .opcoes-ficha button {
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid #aeb7aa;
  border-radius: 4px;
  background: white;
  color: #20281f;
}
.ficha-botao:hover, .opcoes-ficha button:hover { border-color: #3d4b3b; }
.opcoes-ficha button[aria-pressed="true"] { background: #303d2d; color: white; border-color: #303d2d; }
#ficha { margin-block: .8rem; }
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 280px));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galeria-botao {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 1px solid #d5d8cf;
  border-radius: 5px;
  background: #f4f4ef;
  overflow: hidden;
}
.galeria-botao img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.galeria-botao span {
  display: grid;
  place-content: center;
  min-height: 44px;
  padding: .45rem .6rem;
  background: #263328;
  color: #fff;
  line-height: 1.3;
}
#detail .bar { align-items: flex-start; }
#detail .close { flex-shrink: 0; }
#imagem-acoes { margin-top: .75rem; }
#imagem-acoes :disabled { opacity: .47; cursor: default; }
#stage { height: min(61dvh, 700px); border-radius: 0; }
#stage.mapa-unidade, #stage.mapa-unidade img { border-radius: 0; background: white; }
#stage.ampliado { overflow: auto; }
#stage.ampliado img { height: auto; max-width: none; margin: 0 auto; }
#stage:focus-visible { outline: 3px solid #bd7439; outline-offset: 3px; }
#caption { color: #222923; }
#zoom-planta[hidden], #scroll[hidden], #hint:empty, #status:empty { display: none; }
@media (max-width: 650px) {
  header { flex-wrap: wrap; }
  #brand img { max-height: 25px; }
  nav { gap: .75rem; }
  #localizacao { margin-top: 1.65rem; }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #stage { height: min(54dvh, 430px); }
}

/* Paleta e tipografia da página institucional da Souen Nahas. */
:root {
  --sn-preto: #131313;
  --sn-dourado: #a68d40;
  --sn-linha: linear-gradient(90deg, #8c6f23, #ebdc7f);
  font-family: Inter, Arial, sans-serif;
  color: var(--sn-preto);
}
header {
  position: relative;
  background: var(--sn-preto);
  color: #fff;
  padding-block: 1.5rem;
  border: 0;
}
header::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--sn-linha);
}
#brand img { width: clamp(145px, 17vw, 230px); max-width: 100%; max-height: none; }
nav { column-gap: clamp(.85rem, 2.4vw, 2.6rem); }
nav a { color: white; font-weight: 600; padding-block: .45rem; }
nav a:hover, footer a:hover { text-decoration: underline; text-decoration-color: #ebdc7f; }
.intro { border-radius: 0; }
.lead {
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background: linear-gradient(0deg, #111e 0%, #111a 32%, #1111 85%);
}
.lead h1 { font-weight: 700; letter-spacing: -.035em; }
.lead #rev { color: #f0dd88; font-weight: 600; }
.lead .primary {
  color: #131313;
  background: #ebdc7f;
  border: 1px solid #ebdc7f;
  font-weight: 600;
  border-radius: 3px;
}
.lead .primary:hover { background: #f7eaa5; }
#humanizadas h2, #localizacao h2, #plantas h2 { font-weight: 600; letter-spacing: -.035em; }
.galeria-botao { border-color: #d9d6c9; border-radius: 0; }
.galeria-botao span { background: var(--sn-preto); color: white; border-top: 2px solid var(--sn-dourado); }
.galeria-botao:hover, .ficha-botao:hover { border-color: #8c6f23; }
.ficha-botao, .opcoes-ficha button, .imersao-modos button { border-color: #bcb7a8; color: #252525; border-radius: 2px; }
.opcoes-ficha button[aria-pressed="true"],
#modos-imersao .imersao-modos button[aria-pressed="true"] { background: var(--sn-preto); color: #fff; border-color: var(--sn-dourado); }
footer { color: #fff; background: var(--sn-preto); border-top: 3px solid var(--sn-dourado); }
footer a { color: white; }
@media (max-width: 650px) {
  header { padding-block: 1rem; row-gap: .5rem; }
  header nav { width: 100%; gap: .25rem 1rem; }
  #brand img { width: 155px; }
}
