/* The print keeps its paper edge and paving stones as the scene develops inside it. */
.atlas-films {
  position: absolute;
  inset: 9.35% 11.35% 20.35% 11.05%;
  overflow: hidden;
  pointer-events: none;
  clip-path: polygon(.1% .8%, 99.35% 0, 100% 99.15%, 0 100%);
}
.atlas-film { position: absolute; inset: 0; opacity: 0; clip-path: circle(0% at var(--iris-x) var(--iris-y)); transition: clip-path 780ms cubic-bezier(.27,.58,.23,1), opacity 340ms ease; }
.atlas-film[data-paisagem="duplex-ipanema"] { --iris-x: 54%; --iris-y: 74%; }
.atlas-film[data-paisagem="botafogo"] { --iris-x: 62%; --iris-y: 25%; }
.atlas-film[data-paisagem="vista-cristo"] { --iris-x: 43%; --iris-y: 26%; }
.atlas-film.em-cena { z-index: 1; opacity: 1; clip-path: circle(131% at var(--iris-x) var(--iris-y)); }
.atlas-camera .atlas-film > img, .atlas-film > video {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.atlas-film > video { opacity: 0; transition: opacity 260ms ease; }
.atlas-film.tem-filme > video { opacity: 1; }
.atlas-territorio {
  position: absolute; width: 15.5%; height: 23%; transform: translate(-50%, -50%);
  clip-path: ellipse(50% 50% at center); touch-action: manipulation;
}
.atlas-territorio[data-destino="duplex-ipanema"] { width: 23%; height: 22%; }
.atlas-window .atlas-pin { z-index: 3; }
.atlas-window .atlas-pin.is-lit { z-index: 4; }
.atlas-window .pin-label, .atlas-window .pin-stem, .atlas-window .pin-origin { transition: opacity 260ms ease; }
/* Once the sheet is a photograph, park the other labels so they don't identify the wrong landmark. */
:root[data-atmosfera] .atlas-pin:not(.is-lit) .pin-label { opacity: 0; }
:root[data-atmosfera] .atlas-pin:not(.is-lit) .pin-stem { opacity: .18; }
:root[data-atmosfera] .atlas-pin:not(.is-lit) .pin-origin { opacity: .63; }

:root[data-atmosfera="duplex-ipanema"] {
  --ivory: #edf5ee; --ink: #153f40; --deep: #154d50; --tide: #206f71; --rust: #875039; --line: #b5cbc3; --muted: #3a5f5d;
}
:root[data-atmosfera="botafogo"] {
  --ivory: #eaf1f3; --ink: #1b3948; --deep: #203f54; --tide: #2c586d; --rust: #855031; --line: #b9cbd3; --muted: #3e5b65;
}
:root[data-atmosfera="vista-cristo"] {
  --ivory: #f9efdd; --ink: #403c2e; --deep: #484331; --tide: #765233; --rust: #845326; --line: #d1c3a5; --muted: #5d5648;
}
.destinos-home, .destinos-home .portal-header, .atlas-heading h1 em, .atlas-heading .place-line, .destinos-home .portal-footer {
  transition: color 420ms ease, background-color 520ms ease, border-color 420ms ease;
}
.destinos-home .atlas-figure { position: relative; }
.atlas-heading h1 em { vertical-align: baseline; }
.atlas-heading .atlas-intro { min-block-size: 3lh; }
.atlas-directory .directory-entry { transition: color 250ms ease, background-color 250ms ease; }
.atlas-directory .directory-entry.is-lit { background-color: color-mix(in srgb, var(--tide) 8%, transparent); }
.atlas-directory .directory-entry.is-lit .entry-arrow { color: var(--tide); transform: translateX(-.18em); }
.atlas-directory .entry-arrow { transition: transform 280ms ease; }
.atlas-touch-entry[hidden] { display: none; }
.atlas-touch-entry {
  position: absolute; inset: 0 0 auto; z-index: 4; aspect-ratio: 3/2; margin: 0;
  display: grid; justify-items: center; align-items: end; pointer-events: none; padding-bottom: .65rem;
}
.atlas-touch-entry a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .45rem 1.15rem;
  border: 1px solid #f7f2df; background: var(--deep); color: #fff9ea;
  border-radius: 2rem; font: 650 .88rem/1.2 var(--body); text-decoration: none; pointer-events: auto;
}
@media (max-width: 54rem) { .atlas-heading .atlas-intro { min-block-size: 2lh; } }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) :is(.atlas-film, .atlas-film > video, .atlas-heading *, .destinos-home, .atlas-directory *) { transition: none; }
}
:root[data-motion="reduced"] .atlas-film > video { visibility: hidden; }
