/* A quiet typographic handoff, using the approved Food palette. */
html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome {
  background: #fff!important;
  background-image: radial-gradient(ellipse at 50% 48%,rgba(120,110,100,.025),transparent 62%)!important;
  padding: max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  box-sizing: border-box;
  color: #392d32;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  touch-action: none;
  transition: opacity 360ms ease,visibility 360ms!important;
}
.fluxo-welcome__content {
  width: 100%; max-width: 640px; text-align: center;
  transform: translateY(-2vh);
  font-family: -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  pointer-events: none;
}
.fluxo-welcome__title {
  margin: 0; padding: 0; font-size: clamp(42px,12vw,76px); line-height: 1.12;
  font-weight: 600; letter-spacing: -.055em; color: var(--welcome-shade);
  background: linear-gradient(110deg,var(--welcome-shade) 12%,var(--welcome-color) 60%,var(--welcome-shade));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.fluxo-welcome__caption {
  margin: 20px 0 0; padding: 0; color: #392d32;
  font-size: clamp(16px,4.7vw,23px); font-weight: 400;
  letter-spacing: -.025em; line-height: 1.4;
}
.fluxo-welcome__title:has(.fluxo-welcome__writing) {
  background: none; -webkit-text-fill-color: initial; line-height: 0;
}
.fluxo-welcome__writing {display: block;width: 100%;max-width: 560px;height: auto;margin: 0 auto;overflow: visible}
.fluxo-welcome__title:has(.fluxo-welcome__writing) + .fluxo-welcome__caption {margin-top: 24px;font-size: clamp(16px,4.5vw,21px)}
@media (max-height: 430px) {
  .fluxo-welcome__title {font-size: 44px}
  .fluxo-welcome__caption {margin-top: 12px;font-size: 18px}
}
@media (prefers-reduced-motion: reduce) {
  html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome {transition: opacity 120ms ease,visibility 120ms!important}
}

/* Scoped overlay only; never style the app or the login form. */
html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome.is-on {position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;overflow:hidden!important}
html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome .fluxo-welcome__content {display:block!important;opacity:1!important;visibility:visible!important;max-width:640px!important;animation:none!important}
html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome::before,html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome::after {display:none!important}
#fluxo-welcome-standalone {position:fixed;inset:0;z-index:100005;opacity:0;visibility:hidden;pointer-events:none}
html body :is(#food-flat-sync,#barber-flat-sync,#clinicas-flat-sync,#garage-flat-sync,#escola-flat-sync,#eventos-flat-sync,#app-loader,#fluxo-welcome-standalone).fluxo-welcome .fluxo-welcome__writing {max-width:560px!important;filter:none!important;opacity:1!important}

/* Native early overlays may carry inline display:flex. A finished welcome must not cover the app. */
html body .fluxo-welcome:not(.is-on) {opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Eight small predecoded strips; clipped locally, compositor-owned movement. */
.fluxo-welcome__ink-stage {display:block;position:relative;width:100%;max-width:560px;margin:0 auto;line-height:0}
.fluxo-welcome__ink-frames {position:absolute;inset:0;pointer-events:none}
.fluxo-welcome__ink-clip {position:absolute;overflow:hidden;contain:layout paint;pointer-events:none}
.fluxo-welcome__ink-clip img {display:block;max-width:none!important;max-height:none!important;position:absolute;left:0;top:0;will-change:transform;transform:translateZ(0);pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
