.elementor-404 .elementor-element.elementor-element-246bf9e{--display:flex;--padding-top:3%;--padding-bottom:3%;--padding-left:3%;--padding-right:3%;}#elementor-popup-modal-404{background-color:#000000BF;justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-404 .dialog-message{width:720px;height:90vh;align-items:center;}#elementor-popup-modal-404 .dialog-close-button{display:flex;}#elementor-popup-modal-404 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-404 .dialog-close-button i{color:var( --e-global-color-primary );}#elementor-popup-modal-404 .dialog-close-button svg{fill:var( --e-global-color-primary );}@media(max-width:767px){.elementor-404 .elementor-element.elementor-element-246bf9e{--padding-top:10%;--padding-bottom:5%;--padding-left:5%;--padding-right:5%;}}/* Start custom CSS *//* Animação custom: fade + slide up + scale subtil */
.dialog-widget.elementor-popup-modal:has(.mc-popup-agendamento) .dialog-widget-content {
  animation: mcPopupIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes mcPopupIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Backdrop fade-in mais rápido */
.dialog-widget.elementor-popup-modal:has(.mc-popup-agendamento) {
  animation: mcBackdropIn 0.2s ease-out both;
}

@keyframes mcBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Respeitar reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dialog-widget.elementor-popup-modal:has(.mc-popup-agendamento) .dialog-widget-content,
  .dialog-widget.elementor-popup-modal:has(.mc-popup-agendamento) {
    animation: none !important;
  }
}

/* === Scrollbar custom dentro do popup === */

/* Chrome / Safari / Edge */
.dialog-widget:has(.mc-popup-agendamento) ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.dialog-widget:has(.mc-popup-agendamento) ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.dialog-widget:has(.mc-popup-agendamento) ::-webkit-scrollbar-thumb {
  background: #E52528;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2); /* leve "respiração" entre thumb e track */
}

.dialog-widget:has(.mc-popup-agendamento) ::-webkit-scrollbar-thumb:hover {
  background: #C41F22; /* mais escuro no hover */
}

/* Firefox (mais limitado, só thumb + track color) */
.dialog-widget:has(.mc-popup-agendamento) {
  scrollbar-width: thin;
  scrollbar-color: #E52528 rgba(255, 255, 255, 0.04);
}/* End custom CSS */