/* Reserve the current async RD layout only until its form is mounted. */
body.page-id-2454 #contato { min-height: 447px; }
@media (min-width: 1025px) and (max-width: 1179px) {
    body.page-id-2454 #contato { min-height: 494px; }
}
@media (min-width: 1180px) and (max-width: 1389px) {
    body.page-id-2454 #contato { min-height: 474px; }
}
@media (max-width: 767px) {
    body.page-id-2454 #contato { min-height: 395px; }
}
@media (max-width: 659px) {
    body.page-id-2454 #contato { min-height: 422px; }
}
@media (max-width: 600px) {
    body.page-id-2454 #contato { min-height: 612px; }
}
@media (max-width: 439px) {
    body.page-id-2454 #contato { min-height: 651px; }
}
@media (max-width: 399px) {
    body.page-id-2454 #contato { min-height: 679px; }
}
@media (max-width: 379px) {
    body.page-id-2454 #contato { min-height: 696px; }
}
@media (max-width: 349px) {
    body.page-id-2454 #contato { min-height: 723px; }
}
/* Follow RD's actual content height after load, including future form edits. */
body.page-id-2454 #contato:has(.hubway-plan-form form) { min-height: 0; }

/* Exact PSD camera geometry is supplied by the owning preview module. */
.hubway-plan-demo .hubway-plan-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1325 / 1318;
    isolation: isolate;
    padding: 0;
    gap: 0;
}
.hubway-plan-demo .hubway-plan-poster,
.hubway-plan-demo .hubway-plan-frame,
.hubway-plan-demo .hubway-plan-light {
    width: 100%;
    margin: 0;
}
.hubway-plan-demo .hubway-plan-poster img,
.hubway-plan-demo .hubway-plan-frame img,
.hubway-plan-demo .hubway-plan-light img {
    display: block;
    width: 100%;
    height: auto;
}
.hubway-plan-demo .hubway-plan-frame,
.hubway-plan-demo .hubway-plan-light,
.hubway-plan-demo .hubway-plan-plane {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    pointer-events: none;
}
.hubway-plan-demo .hubway-plan-plane {
    transform-origin: 0 0;
    transition: none;
    overflow: hidden;
    width: 1600px;
    height: 1000px;
    background: #fff;
    z-index: 1;
    padding: 0;
}
.hubway-plan-demo .hubway-plan-sheet,
.hubway-plan-demo .hubway-plan-sheet > .elementor-widget-container {
    width: 1600px;
    margin: 0;
    padding: 0;
}
.hubway-plan-demo .hubway-plan-sheet img {
    width: 1600px;
    max-width: none;
    height: auto;
    display: block;
}
.hubway-plan-demo .hubway-plan-frame { z-index: 2; }
.hubway-plan-demo .hubway-plan-light { z-index: 3; mix-blend-mode: screen; opacity: .12; }
.hubway-plan-demo.is-ready .hubway-plan-poster { visibility: hidden; }
.hubway-plan-demo.is-ready .hubway-plan-frame,
.hubway-plan-demo.is-ready .hubway-plan-light,
.hubway-plan-demo.is-ready .hubway-plan-plane { display: block; }
.hubway-plan-demo.has-motion .hubway-plan-stage { cursor: pointer; }
.hubway-plan-demo .hubway-plan-stage:focus-visible { outline: 3px solid var(--e-global-color-text, #000); outline-offset: 4px; }
/* Override the inherited embed's important colors without changing RD's form. */
body.page-id-2454 #contato .hubway-plan-form .rd-button {
    color: var(--e-global-color-accent, #fff) !important;
    background-color: color-mix(in srgb, var(--e-global-color-primary, #fc2f52) 78%, #000) !important;
}
body.page-id-2454 #contato .hubway-plan-form .rd-button:is(:hover, :focus) {
    background-color: color-mix(in srgb, var(--e-global-color-primary, #fc2f52) 68%, #000) !important;
}
@media (prefers-reduced-motion: reduce) {
    .hubway-plan-demo.is-ready .hubway-plan-poster { visibility: visible; }
    .hubway-plan-demo.is-ready .hubway-plan-frame,
    .hubway-plan-demo.is-ready .hubway-plan-light,
    .hubway-plan-demo.is-ready .hubway-plan-plane { display: none; }
}
