/* ================================================================
   ATRIO CHECK-IN — TOTEM LIGHT THEME
   Scoped to :is(body.totem, body.cliente) — zero impact on /recepcionista
   Poppins · #FFFFFF base · #E53E3E accent
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── TOKENS ────────────────────────────────────────────────────── */
:is(body.totem, body.cliente) {
  --bg:      #F4F4F5;
  --surface: #FFFFFF;
  --border:  #E4E4E7;
  --text:    #111111;
  --muted:   #71717A;
  --blue:    #E53E3E;
  --green:   #16a34a;
  --red:     #E53E3E;
  --amber:   #D97706;
  --r:       12px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── TOPBAR ────────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .topbar { background: #FFFFFF; border-bottom: 1px solid var(--border); }
:is(body.totem, body.cliente) .topbar .brand { color: var(--text); font-family: 'Poppins', sans-serif; }
:is(body.totem, body.cliente) .brand-logo    { mix-blend-mode: normal; filter: none; }

/* ── LOGIN ─────────────────────────────────────────────────────── */
.login-screen  { background: var(--bg); }
.login-card {
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}
.login-logo  { mix-blend-mode: normal; filter: none; }
.login-brand { color: var(--text); font-family: 'Poppins', sans-serif; font-weight: 700; }
.login-sub   { color: var(--muted); }
.login-err   { color: #b91c1c; }
.login-card .fg label { color: var(--muted); font-family: 'Poppins', sans-serif; }
.login-card .fg input {
  background: var(--bg); border-color: var(--border); color: var(--text);
  font-family: 'Poppins', sans-serif; padding: 12px 14px; font-size: 15px;
}
.login-card .fg input:focus {
  border-color: #E53E3E; box-shadow: 0 0 0 3px rgba(229,62,62,.12);
}
.login-card .btn-primary {
  background: #E53E3E; border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 15px; padding: 13px; border-radius: 12px; color: #fff;
}
.login-card .btn-primary:hover {
  background: #d03535; box-shadow: 0 6px 16px rgba(0,0,0,.16); transform: translateY(-1px);
}

/* ── STEP COUNTER ──────────────────────────────────────────────── */
:is(body.totem, body.cliente) .step-counter {
  background: var(--red); border-radius: 999px; padding: 7px 18px;
  font-family: 'Poppins', sans-serif; font-weight: 700; color: #fff;
}

/* ── STEPPER ───────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .step .dot { background: var(--border); color: #aaa; font-family: 'Poppins', sans-serif; }
:is(body.totem, body.cliente) .step .lbl { color: var(--muted); font-family: 'Poppins', sans-serif; }
:is(body.totem, body.cliente) .step::before { background: var(--border); }
:is(body.totem, body.cliente) .step.done::before,
:is(body.totem, body.cliente) .step.active::before { background: var(--green); }
:is(body.totem, body.cliente) .step.done .dot { background: var(--green); color: #fff; }
:is(body.totem, body.cliente) .step.done .lbl { color: var(--green); }
:is(body.totem, body.cliente) .step.active .dot {
  background: var(--red); color: #fff;
  animation: stepTotem 1.8s ease-in-out infinite;
}
:is(body.totem, body.cliente) .step.active .lbl { color: var(--red); font-weight: 700; }
@keyframes stepTotem {
  0%,100% { box-shadow: 0 0 0 5px rgba(229,62,62,.14); }
  50%     { box-shadow: 0 0 0 10px rgba(229,62,62,.04); }
}

/* ── WIZARD PANEL ──────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-panel { background: var(--surface); border-color: var(--border); box-shadow: 0 4px 24px rgba(0,0,0,.06); }
:is(body.totem, body.cliente) .cl-panel h2,
:is(body.totem, body.cliente) .cap-head h2 { color: var(--text); font-family: 'Poppins', sans-serif; font-weight: 700; }
:is(body.totem, body.cliente) .cl-panel p,
:is(body.totem, body.cliente) .cap-head p  { color: var(--muted); font-family: 'Poppins', sans-serif; }

/* ── INPUTS (wizard) ───────────────────────────────────────────── */
:is(body.totem, body.cliente) #page-cliente .fg label {
  color: var(--muted); font-family: 'Poppins', sans-serif; font-size: 13px;
}
:is(body.totem, body.cliente) #page-cliente .fg input,
:is(body.totem, body.cliente) #page-cliente .fg select {
  background: var(--bg); border-color: var(--border); color: var(--text);
  font-family: 'Poppins', sans-serif; font-size: 16px; padding: 14px 16px; border-radius: 12px;
}
:is(body.totem, body.cliente) #page-cliente .fg input::placeholder { color: #C4C4C7; }
:is(body.totem, body.cliente) #page-cliente .fg input:focus,
:is(body.totem, body.cliente) #page-cliente .fg select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,62,62,.12);
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
:is(body.totem, body.cliente) #page-cliente .btn-primary {
  background: var(--red); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: .3px;
}
:is(body.totem, body.cliente) #page-cliente .btn-primary:hover {
  background: #d03535; box-shadow: 0 6px 18px rgba(0,0,0,.16); transform: translateY(-1px);
}
:is(body.totem, body.cliente) #page-cliente .btn-primary:active { transform: scale(.98); box-shadow: none; }
:is(body.totem, body.cliente) #page-cliente .btn-ghost {
  background: transparent; border-color: var(--border);
  color: var(--muted); font-family: 'Poppins', sans-serif;
}
:is(body.totem, body.cliente) #page-cliente .btn-ghost:hover { background: var(--bg); color: var(--text); }

/* ── WELCOME SCREEN ────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-welcome { min-height: calc(100dvh - 64px); background: var(--bg); }
:is(body.totem, body.cliente) .welcome-logo {
  mix-blend-mode: normal; filter: none; opacity: 1; width: 150px;
}
:is(body.totem, body.cliente) .welcome-card h1 {
  color: var(--text); font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -1px;
}
:is(body.totem, body.cliente) .welcome-card .ws { color: var(--muted); font-family: 'Poppins', sans-serif; font-size: 17px; }
:is(body.totem, body.cliente) .welcome-btn {
  background: var(--red); border-radius: 24px; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 800;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  animation: welcomeTotem 2.4s ease-in-out infinite;
}
@keyframes welcomeTotem {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.02); }
}
:is(body.totem, body.cliente) .welcome-btn:hover { background: #d03535; }
:is(body.totem, body.cliente) .welcome-hint { color: var(--muted); font-family: 'Poppins', sans-serif; }

/* KIOSK (totem): sem a barra superior "Atrio Check-In" — a recepção mantém a barra
   (tem o seletor de modo e o menu). Com a barra fora, a tela inicial usa a altura toda. */
body.totem .topbar { display: none; }
body.totem .cl-welcome { min-height: 100dvh; }

/* ── STEP ICON ─────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cap-ico {
  background: rgba(229,62,62,.08); color: var(--red);
  border-radius: 20px; width: 64px; height: 64px; margin-bottom: 16px;
}
:is(body.totem, body.cliente) .cap-seg i    { background: var(--border); }
:is(body.totem, body.cliente) .cap-seg i.on { background: var(--red); }

/* ── CAMERA VIEW ───────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cap-view { background: #111; border-radius: 20px; }
:is(body.totem, body.cliente) .cap-view.round { border-radius: 50%; }
/* frame da câmera do DOCUMENTO (USAR ESTE DISPOSITIVO) ~10% menor e centralizado —
   enquadramento mais equilibrado sem ficar pequeno demais. (não afeta a selfie .round) */
:is(body.totem, body.cliente) .cap-view:not(.round) { max-width: 90%; margin-left: auto; margin-right: auto; }

:is(body.totem, body.cliente) .cap-frame::before, :is(body.totem, body.cliente) .cap-frame::after,
:is(body.totem, body.cliente) .cap-frame i::before, :is(body.totem, body.cliente) .cap-frame i::after {
  border-color: var(--red); animation: scanBlink 2s ease-in-out infinite;
}
@keyframes scanBlink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

:is(body.totem, body.cliente) .cap-ring {
  box-shadow: inset 0 0 0 3px rgba(229,62,62,.7);
  animation: ringPulse 2.2s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { box-shadow: inset 0 0 0 3px rgba(229,62,62,.7); }
  50%     { box-shadow: inset 0 0 0 3px rgba(229,62,62,.2); }
}

:is(body.totem, body.cliente) .shutter {
  background: var(--red); box-shadow: 0 4px 14px rgba(0,0,0,.15);
  width: 72px; height: 72px;
}
:is(body.totem, body.cliente) .shutter:hover { background: #d03535; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
:is(body.totem, body.cliente) .shutter::after { width: 60px; height: 60px; }

:is(body.totem, body.cliente) .cap-opt { background: var(--surface); border-color: var(--border); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
:is(body.totem, body.cliente) .cap-opt:hover { border-color: var(--red); background: #fff8f8; transform: translateY(-2px); }
:is(body.totem, body.cliente) .cap-opt .ic    { background: rgba(229,62,62,.08); color: var(--red); }
:is(body.totem, body.cliente) .cap-opt b      { color: var(--text); font-family: 'Poppins', sans-serif; }
:is(body.totem, body.cliente) .cap-opt small,
:is(body.totem, body.cliente) .cap-link       { color: var(--muted); font-family: 'Poppins', sans-serif; }
:is(body.totem, body.cliente) .cap-link:hover { color: var(--text); }

/* ── FLOOR GRID ────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .floor-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
:is(body.totem, body.cliente) .floor-opt {
  background: var(--surface); border-color: var(--border); color: var(--text);
  font-family: 'Poppins', sans-serif; min-height: 110px; padding: 20px 12px;
  border-radius: 20px; flex-direction: column; justify-content: center; gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
:is(body.totem, body.cliente) .floor-opt .floor-num {
  font-size: 2.4rem; font-weight: 800; line-height: 1;
  font-family: 'Poppins', sans-serif; color: var(--text); display: block;
}
:is(body.totem, body.cliente) .floor-opt small { font-size: 12px; color: var(--muted); }
:is(body.totem, body.cliente) .floor-opt:hover {
  border-color: var(--red); background: #fff8f8;
  transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
:is(body.totem, body.cliente) .floor-opt.sel {
  border-color: var(--red); background: rgba(229,62,62,.05);
  box-shadow: 0 0 0 1px var(--red) inset, 0 4px 16px rgba(0,0,0,.08);
}
:is(body.totem, body.cliente) .floor-opt.sel .floor-num { color: var(--red); }

/* ── SIGN PAD — canvas sempre branco ──────────────────────────── */
:is(body.totem, body.cliente) .sign-wrap canvas {
  background: #ffffff !important;
  border: 2px dashed var(--border); border-radius: 16px;
}
:is(body.totem, body.cliente) .sign-base  { border-bottom-color: var(--border); }
:is(body.totem, body.cliente) .sign-hint  { color: var(--muted); }
:is(body.totem, body.cliente) .sign-clear { color: var(--muted); }
:is(body.totem, body.cliente) .sign-clear:hover { color: var(--text); }

/* ── VERIFY CARD ───────────────────────────────────────────────── */
:is(body.totem, body.cliente) .verify-card.ok  { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
:is(body.totem, body.cliente) .verify-card.ok  .vi { background: #dcfce7; }
:is(body.totem, body.cliente) .verify-card.err { background: #fffbeb; border-color: #fde68a; color: #b45309; }
:is(body.totem, body.cliente) .verify-card.err .vi { background: #fef9c3; }
:is(body.totem, body.cliente) .verify-card b   { font-family: 'Poppins', sans-serif; }

/* ── SUMMARY CHIPS ─────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-chip { background: var(--surface); border-color: var(--border); box-shadow: 0 1px 4px rgba(0,0,0,.04); }
:is(body.totem, body.cliente) .cl-chip span { color: var(--muted); }
:is(body.totem, body.cliente) .cl-chip b    { color: var(--text); }

/* ── RESERVATION CARDS ─────────────────────────────────────────── */
:is(body.totem, body.cliente) .resv-card { background: var(--surface); border-color: var(--border); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
:is(body.totem, body.cliente) .resv-card:hover { border-color: var(--red); background: #fff8f8; }
:is(body.totem, body.cliente) .resv-name { color: var(--text); }
:is(body.totem, body.cliente) .resv-meta { color: var(--muted); }

/* ── BADGES ────────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .b-reserved  { background: #eff6ff; color: #1d4ed8; }
:is(body.totem, body.cliente) .b-duein     { background: #f0fdf4; color: #15803d; }
:is(body.totem, body.cliente) .b-inhouse   { background: #fffbeb; color: #b45309; }
:is(body.totem, body.cliente) .b-cancelled { background: #fef2f2; color: #b91c1c; }
:is(body.totem, body.cliente) .b-out       { background: #f4f4f5; color: #71717a; }
:is(body.totem, body.cliente) .cad-badge.ok   { background: #f0fdf4; color: #15803d; }
:is(body.totem, body.cliente) .cad-badge.warn { background: #fffbeb; color: #b45309; }

/* ── WARNINGS ──────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cad-warn-box,
:is(body.totem, body.cliente) .ge-missing-banner {
  background: #fffbeb; border-color: #fde68a; color: #b45309;
}
:is(body.totem, body.cliente) .fg input.field-missing,
:is(body.totem, body.cliente) .fg select.field-missing { border-color: #D97706; background: #fffbeb; }

/* ── ADD BUTTON ────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .add-btn { border-color: var(--border); background: var(--surface); color: var(--muted); }
:is(body.totem, body.cliente) .add-btn:hover { border-color: var(--red); color: var(--red); background: #fff8f8; }

/* ── MINI LIST ─────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .mini-row  { border-color: var(--border); }
:is(body.totem, body.cliente) .mini-name { color: var(--text); }
:is(body.totem, body.cliente) .mini-idx, :is(body.totem, body.cliente) .mini-meta, :is(body.totem, body.cliente) .mini-empty { color: var(--muted); }
:is(body.totem, body.cliente) .mini-x       { color: var(--muted); }
:is(body.totem, body.cliente) .mini-x:hover { background: #fef2f2; color: var(--red); }

/* ── FIELD DISPLAY ─────────────────────────────────────────────── */
:is(body.totem, body.cliente) .fld .fld-k       { color: var(--muted); }
:is(body.totem, body.cliente) .fld .fld-v       { color: var(--text); }
:is(body.totem, body.cliente) .fld .fld-v.empty { color: #C4C4C7; }

/* ── CHECK-IN CONFIRM ──────────────────────────────────────────── */
:is(body.totem, body.cliente) .cci-section                  { color: var(--text); }
:is(body.totem, body.cliente) .cci-row                      { border-color: var(--border); }
:is(body.totem, body.cliente) .cci-row input[type=checkbox] { accent-color: var(--red); }

/* ── RESULT BOX ────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .result-box.ok  { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
:is(body.totem, body.cliente) .result-box.inf { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
:is(body.totem, body.cliente) .result-box .ri     { background: rgba(0,0,0,.03); }
:is(body.totem, body.cliente) .result-box .ri .lbl { color: var(--muted); }
:is(body.totem, body.cliente) .result-box .ri .val { color: var(--text); }

/* ── SESSION TIMER ─────────────────────────────────────────────── */
:is(body.totem, body.cliente) #cl-session-timer {
  background: var(--surface); border-color: var(--border); color: var(--text);
  font-family: 'Poppins', sans-serif; box-shadow: 0 2px 10px rgba(0,0,0,.07);
}
:is(body.totem, body.cliente) #cl-session-timer b { color: var(--text); }
:is(body.totem, body.cliente) #cl-session-timer.low {
  background: #fef2f2; border-color: #fca5a5; color: #b91c1c;
}
:is(body.totem, body.cliente) #cl-session-timer.low b { color: #b91c1c; }

/* ── MODALS ────────────────────────────────────────────────────── */
:is(body.totem, body.cliente) #cl-add-modal .modal,
:is(body.totem, body.cliente) #cl-share-modal .modal,
:is(body.totem, body.cliente) #cl-session-warn .modal { background: var(--surface); color: var(--text); }
:is(body.totem, body.cliente) #cl-add-modal .modal-head,
:is(body.totem, body.cliente) #cl-share-modal .modal-head,
:is(body.totem, body.cliente) #cl-session-warn .modal-head { border-color: var(--border); background: var(--surface); }
:is(body.totem, body.cliente) #cl-add-modal .modal-head h3,
:is(body.totem, body.cliente) #cl-share-modal .modal-head h3,
:is(body.totem, body.cliente) #cl-session-warn .modal-head h3 { color: var(--text); }
:is(body.totem, body.cliente) #cl-add-modal .modal-close,
:is(body.totem, body.cliente) #cl-share-modal .modal-close,
:is(body.totem, body.cliente) #cl-session-warn .modal-close { background: var(--bg); color: var(--muted); }
:is(body.totem, body.cliente) #cl-add-modal .modal-close:hover,
:is(body.totem, body.cliente) #cl-share-modal .modal-close:hover,
:is(body.totem, body.cliente) #cl-session-warn .modal-close:hover { background: var(--border); color: var(--text); }
:is(body.totem, body.cliente) #cl-add-modal .modal-body,
:is(body.totem, body.cliente) #cl-share-modal .modal-body,
:is(body.totem, body.cliente) #cl-session-warn .modal-body { color: var(--muted); }
:is(body.totem, body.cliente) #cl-add-modal .fg label,
:is(body.totem, body.cliente) #cl-share-modal .fg label { color: var(--muted); }
:is(body.totem, body.cliente) #cl-add-modal .fg input,
:is(body.totem, body.cliente) #cl-share-modal .fg input { background: var(--bg); border-color: var(--border); color: var(--text); }
:is(body.totem, body.cliente) #cl-add-modal .fg input:focus,
:is(body.totem, body.cliente) #cl-share-modal .fg input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,62,62,.12); }
:is(body.totem, body.cliente) #cl-add-modal .resv-card,
:is(body.totem, body.cliente) #cl-share-modal .resv-card { background: var(--bg); border-color: var(--border); }

/* ── TOAST ─────────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .toast { font-family: 'Poppins', sans-serif; font-weight: 600; border-radius: 14px; }
:is(body.totem, body.cliente) .toast.inf { background: #fff; border: 1px solid var(--border); color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,.10); }

/* ── INSECURE BAR ──────────────────────────────────────────────── */
:is(body.totem, body.cliente) #insecure-bar { background: var(--red) !important; }

/* ── GUEST PERSON CARDS ────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-person-card {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 20px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
:is(body.totem, body.cliente) .cl-person-card:has(.cad-warn-box) { border-color: #fde68a; }
:is(body.totem, body.cliente) .cl-person-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 20px; font-weight: 800; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  font-family: 'Poppins', sans-serif; user-select: none;
}
:is(body.totem, body.cliente) .cl-edit-btn {
  width: 100%; display: block; padding: 13px 16px; border-radius: 12px;
  background: transparent; border: 1.5px solid var(--border); color: var(--muted);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; text-align: center; margin-top: 12px;
  transition: background .15s, border-color .15s, color .15s;
}
:is(body.totem, body.cliente) .cl-edit-btn:hover { background: #fff8f8; border-color: var(--red); color: var(--red); }
:is(body.totem, body.cliente) .cl-person-card:has(.cad-warn-box) .cl-edit-btn {
  background: var(--red); border-color: transparent; color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* ── PASSO 2 "Sua reserva": compacto (cabe sem scroll) + fontes padrão ── */
:is(body.totem, body.cliente) .cl-review { padding: 16px 20px; }
:is(body.totem, body.cliente) .cl-review .cap-head { margin-bottom: 10px; }
:is(body.totem, body.cliente) .cl-review .cap-head p { font-size: 12.5px; }
:is(body.totem, body.cliente) .cap-ico.cap-ico-round { border-radius: 50%; width: 44px; height: 44px; margin-bottom: 8px; }
:is(body.totem, body.cliente) .cap-ico.cap-ico-round svg { width: 21px; height: 21px; }

:is(body.totem, body.cliente) .cl-resno {
  display: flex; align-items: center; gap: 7px; width: fit-content; margin: 0 auto 12px;
  padding: 6px 13px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--surface);
}
:is(body.totem, body.cliente) .cl-resno-ic { display: inline-flex; color: var(--muted); }
:is(body.totem, body.cliente) .cl-resno-ic svg { width: 15px; height: 15px; }
:is(body.totem, body.cliente) .cl-resno-lbl { color: var(--muted); font-size: 12.5px; }
:is(body.totem, body.cliente) .cl-resno-num { color: var(--red); font-weight: 700; font-size: 13px; }

:is(body.totem, body.cliente) .cl-staycard {
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 14px;
  padding: 13px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
:is(body.totem, body.cliente) .cl-stay-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { :is(body.totem, body.cliente) .cl-stay-cols { grid-template-columns: 1fr 1fr; } }
:is(body.totem, body.cliente) .cl-stay-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(229,62,62,.08); color: var(--red); margin-bottom: 5px;
}
:is(body.totem, body.cliente) .cl-stay-ic svg { width: 16px; height: 16px; }
:is(body.totem, body.cliente) .cl-stay-lbl,
:is(body.totem, body.cliente) .cl-money-lbl {
  font-size: 10px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
:is(body.totem, body.cliente) .cl-stay-val { font-size: 14px; font-weight: 700; color: var(--text); margin-top: 2px; }
:is(body.totem, body.cliente) .cl-stay-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
/* descrição do tipo de quarto: discreta, cinza claro (a sigla acima fica escura) */
:is(body.totem, body.cliente) .cl-roomtype-desc { color: #A1A1AA; font-weight: 500; line-height: 1.25; }
:is(body.totem, body.cliente) .cl-stay-sep { border-top: 1.5px dashed var(--border); margin: 11px 0; }

:is(body.totem, body.cliente) .cl-money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
:is(body.totem, body.cliente) .cl-money-val { display: block; font-size: 17px; font-weight: 800; color: var(--text); margin-top: 2px; }
:is(body.totem, body.cliente) a.cl-money-total { color: var(--red); cursor: pointer; text-decoration: none; }
:is(body.totem, body.cliente) a.cl-money-total:hover { text-decoration: underline; }
:is(body.totem, body.cliente) .cl-status-row { text-align: center; }
:is(body.totem, body.cliente) .cl-status-row span { margin-top: 10px; }

:is(body.totem, body.cliente) .cl-guests-head {
  display: flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: .4px;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
:is(body.totem, body.cliente) .cl-guests-head .cl-gh-ic { display: inline-flex; color: var(--muted); }
:is(body.totem, body.cliente) .cl-guests-head .cl-gh-ic svg { width: 16px; height: 16px; }

/* passo 2 compacto: card do hóspede, botões e navegação mais enxutos p/ caber */
:is(body.totem, body.cliente) .cl-review #cl-step2-paid:empty { display: none; }
:is(body.totem, body.cliente) .cl-review .cl-person-card { padding: 14px 16px; border-radius: 16px; margin-bottom: 10px; }
:is(body.totem, body.cliente) .cl-review .cl-person-card > div:first-child { margin-bottom: 8px !important; }
:is(body.totem, body.cliente) .cl-review .cl-person-avatar { width: 44px; height: 44px; font-size: 17px; }
:is(body.totem, body.cliente) .cl-review .cl-person-card .cl-edit-btn { padding: 10px 16px; margin-top: 8px; font-size: 13px; }
:is(body.totem, body.cliente) .cl-review .add-btn { padding: 9px 18px; font-size: 13px; }
:is(body.totem, body.cliente) .cl-review .cap-nav { margin-top: 14px; }

/* recupera espaço vertical (topbar/stepper/padding mais enxutos no totem). A lista de
   hóspedes fica em FLUXO NORMAL, SEM scroll interno — a página inteira rola se precisar. */
:is(body.totem, body.cliente) main { padding: 14px 20px; }
:is(body.totem, body.cliente) #page-cliente .step-counter { margin-bottom: 8px; }
:is(body.totem, body.cliente) #page-cliente .stepper { margin-bottom: 14px; }

/* ── PASSO 7 "Está tudo certo!" (GCO / pagamento já efetuado) ── */
:is(body.totem, body.cliente) .cl-payok .cap-head h2 { color: #166534; }
:is(body.totem, body.cliente) .cap-ico.cl-payok-check { background: #dcfce7; color: #16a34a; }
:is(body.totem, body.cliente) .cl-payok-card {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 14px; padding: 14px 16px; margin-top: 6px;
}
:is(body.totem, body.cliente) .cl-payok-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 11px; background: #dcfce7; color: #16a34a; flex-shrink: 0;
}
:is(body.totem, body.cliente) .cl-payok-ic svg { width: 22px; height: 22px; }
:is(body.totem, body.cliente) .cl-payok-title { font-weight: 700; font-size: 15px; color: #166534; }
:is(body.totem, body.cliente) .cl-payok-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
:is(body.totem, body.cliente) .cl-payok-note {
  display: flex; align-items: center; gap: 8px; justify-content: center; text-align: left;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px;
  padding: 11px 14px; margin-top: 16px; font-size: 12.5px; color: #1e40af; line-height: 1.4;
}
:is(body.totem, body.cliente) .cl-payok-note-ic { display: inline-flex; color: #3b82f6; flex-shrink: 0; }

/* ── PASSO 8 "Check-in concluído!" (gerar chave do quarto) ── */
:is(body.totem, body.cliente) .cl-keydone { text-align: center; }
:is(body.totem, body.cliente) .cl-keydone .cap-head h2 { color: #166534; }
:is(body.totem, body.cliente) .cl-key-sep { height: 1px; background: var(--border); margin: 18px 0 16px; }
:is(body.totem, body.cliente) .cl-key-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left;
}
:is(body.totem, body.cliente) .cl-key-col {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px;
}
:is(body.totem, body.cliente) .cl-key-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
:is(body.totem, body.cliente) .cl-key-row { display: flex; align-items: center; gap: 10px; }
:is(body.totem, body.cliente) .cl-key-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: #fee2e2; color: var(--red); flex-shrink: 0;
}
:is(body.totem, body.cliente) .cl-key-ic svg { width: 20px; height: 20px; }
:is(body.totem, body.cliente) .cl-key-val { font-weight: 700; font-size: 17px; color: var(--text); }
:is(body.totem, body.cliente) .cl-key-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

:is(body.totem, body.cliente) .cl-key-checked { margin-top: 16px; }
:is(body.totem, body.cliente) .cl-key-checked-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
:is(body.totem, body.cliente) .cl-key-names {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
:is(body.totem, body.cliente) .cl-key-name {
  display: inline-flex; align-items: center; gap: 7px;
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 999px;
  padding: 7px 14px 7px 11px; font-size: 13.5px; font-weight: 600; color: #166534;
}
:is(body.totem, body.cliente) .cl-key-name-ic { display: inline-flex; }
:is(body.totem, body.cliente) .cl-key-name-ic svg { width: 16px; height: 16px; }

:is(body.totem, body.cliente) .cl-key-card {
  margin-top: 18px; text-align: center;
  background: #f5f3ff; border: 1.5px solid #ddd6fe; border-radius: 16px; padding: 20px 16px;
}
:is(body.totem, body.cliente) .cl-key-card-emoji { font-size: 40px; line-height: 1; }
:is(body.totem, body.cliente) .cl-key-card-title { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--text); }
:is(body.totem, body.cliente) .cl-key-card-sub { margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ── SEARCH MODE TOGGLE ────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-search-toggle {
  display: flex; gap: 6px; margin-bottom: 22px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 5px;
}
:is(body.totem, body.cliente) .cl-stog {
  flex: 1; padding: 14px 10px; border: none; border-radius: 12px;
  background: transparent; color: var(--muted);
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .18s, color .18s;
}
:is(body.totem, body.cliente) .cl-stog.active { background: var(--red); color: #fff; }

/* ── STEP ENTRY ANIMATION ──────────────────────────────────────── */
:is(body.totem, body.cliente) #cl-step { animation: totemStepIn .28s ease-out; }
@keyframes totemStepIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── GE-SECTION ────────────────────────────────────────────────── */
:is(body.totem, body.cliente) .ge-section {
  font-size: 11px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--muted); font-family: 'Poppins', sans-serif;
}

/* ── FINISH SCREEN ─────────────────────────────────────────────── */
:is(body.totem, body.cliente) .cl-finish-wrap { text-align: center; max-width: 440px; margin: 0 auto; }
:is(body.totem, body.cliente) .cl-finish-cam {
  font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1; margin-bottom: 14px; display: block;
  animation: camShake 2.8s ease-in-out infinite;
}
@keyframes camShake {
  0%,100%   { transform: rotate(0deg)   scale(1);    }
  15%       { transform: rotate(-10deg) scale(1.12); }
  30%       { transform: rotate(8deg)   scale(1.08); }
  45%       { transform: rotate(-5deg)  scale(1.05); }
  60%       { transform: rotate(3deg)   scale(1.02); }
  75%       { transform: rotate(0deg)   scale(1);    }
}
:is(body.totem, body.cliente) .cl-finish-tag {
  display: inline-block; background: #fef9c3; color: #854d0e;
  border: 1.5px solid #fde047; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 14px; margin-bottom: 12px;
}
:is(body.totem, body.cliente) .cl-finish-title {
  font-size: clamp(1.35rem, 6vw, 1.9rem); font-weight: 800; color: var(--text);
  font-family: 'Poppins', sans-serif; margin-bottom: 6px; letter-spacing: -.5px;
}
:is(body.totem, body.cliente) .cl-finish-sub {
  color: var(--muted); font-family: 'Poppins', sans-serif;
  font-size: 15px; margin-bottom: 22px; line-height: 1.5;
}
:is(body.totem, body.cliente) .cl-finish-photo {
  font-size: clamp(1.1rem, 4.5vw, 1.45rem); font-weight: 800; color: var(--text);
  font-family: 'Poppins', sans-serif; letter-spacing: -.3px; margin-bottom: 20px;
}
:is(body.totem, body.cliente) .cl-room-hero {
  background: var(--red); border-radius: 28px; padding: 32px 24px 26px;
  color: #fff; box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
:is(body.totem, body.cliente) .cl-room-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; opacity: .7; font-family: 'Poppins', sans-serif;
}
:is(body.totem, body.cliente) .cl-room-number {
  font-size: clamp(3.2rem, 16vw, 7rem); font-weight: 800; line-height: 1.05;
  font-family: 'Poppins', sans-serif; letter-spacing: -2px;
}
:is(body.totem, body.cliente) .cl-room-floor {
  font-size: 15px; opacity: .75; font-family: 'Poppins', sans-serif; margin-top: 2px;
}

/* ── SCROLLBAR ─────────────────────────────────────────────────── */
:is(body.totem, body.cliente) ::-webkit-scrollbar       { width: 5px; }
:is(body.totem, body.cliente) ::-webkit-scrollbar-track { background: transparent; }
:is(body.totem, body.cliente) ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── RESPONSIVO — ajusta em QUALQUER tela (tablet/celular) sem vazar nada ──
   Rede de segurança + padding fluido do container + tipos que escalam.       */
:is(body.totem, body.cliente) { overflow-x: hidden; }              /* nunca rola na horizontal */
:is(body.totem, body.cliente) img,
:is(body.totem, body.cliente) video,
:is(body.totem, body.cliente) canvas,
:is(body.totem, body.cliente) .cl-panel,
:is(body.totem, body.cliente) .cap-wrap { max-width: 100%; }       /* nada ultrapassa a largura */
:is(body.totem, body.cliente) main { padding: clamp(14px, 3vw, 28px) clamp(12px, 3vw, 32px); }
:is(body.totem, body.cliente) .welcome-card h1 { font-size: clamp(1.6rem, 7vw, 34px); }

/* tablet / telas médias em pé */
@media (max-width: 860px) {
  :is(body.totem, body.cliente) #page-cliente .stepper,
  :is(body.totem, body.cliente) .stepper   { max-width: 100%; margin-bottom: 18px; }
  :is(body.totem, body.cliente) .cl-panel  { padding: 18px 16px; }
  :is(body.totem, body.cliente) .cl-room-hero { padding: 24px 16px 20px; border-radius: 22px; }
  :is(body.totem, body.cliente) .welcome-logo { width: 150px; }
}

/* celular / tablet estreito */
@media (max-width: 520px) {
  :is(body.totem, body.cliente) #page-cliente .step .lbl { display: none; }   /* só as bolinhas dos passos */
  :is(body.totem, body.cliente) #page-cliente .step .dot { width: 30px; height: 30px; font-size: 12px; }
  :is(body.totem, body.cliente) #page-cliente .btn-lg { padding: 14px 20px; font-size: 15px; }
  :is(body.totem, body.cliente) .cap-opts { grid-template-columns: 1fr; }
  :is(body.totem, body.cliente) .cl-summary { gap: 6px; }
}

/* ── iPad Pro 11" em PAISAGEM (landscape) — tela inicial maior e mais atrativa ──
   Ref.: ~1194×834 pt (2360×1640 px @2x). Escopo só no KIOSK (body.totem); vem no FIM
   do arquivo p/ prevalecer sobre o clamp responsivo do h1. */
@media (orientation: landscape) and (min-width: 1000px) {
  body.totem .cl-welcome { min-height: 100dvh; }
  body.totem .welcome-card { max-width: 640px; }
  body.totem .welcome-logo { width: 200px; margin-bottom: 22px; }
  body.totem .welcome-card h1 { font-size: 48px; }
  body.totem .welcome-btn { font-size: 22px; padding: 20px 50px; border-radius: 28px; }
  body.totem .welcome-btn .ar { font-size: 30px; }
  body.totem .kr-welcome-link { margin-top: 30px; }   /* mantém a fonte pequena */
}

/* ════ TELA INICIAL v2 (igual ao mock): logo topo-esq, bandeiras topo-dir, título
   grande à esquerda, botão vermelho com seta e botão contornado embaixo ════ */
:is(body.totem, body.cliente) .cl-welcome-v2 {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  min-height: 100dvh; width: 100%; text-align: left; background: #FAF9F5;
  padding: clamp(24px, 5vw, 60px);
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-logo {
  width: clamp(80px, 12vw, 116px); height: clamp(80px, 12vw, 116px); border-radius: 22px;
  background: #EFEDE6; display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-logo img { width: 72%; height: 72%; object-fit: contain; }
/* bandeiras SEM fundo cinza (sobrescreve o posicionamento absoluto do .lang-switch) */
:is(body.totem, body.cliente) .cl-welcome-v2 .lang-switch {
  position: static; top: auto; right: auto; gap: 10px; align-items: center;
  background: transparent; border-radius: 0; padding: 0;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .lang-switch-btn.on {
  border-color: var(--text); background: none;
}
/* ícones de idioma ~10% maiores no totem */
:is(body.totem, body.cliente) .cl-welcome-v2 .lang-switch-btn svg.flag { width: 31px; height: 21px; }
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-title {
  font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--text);
  font-size: clamp(53px, 13.2vw, 115px); line-height: 1.02; letter-spacing: -1.5px;
  margin: clamp(36px, 7vh, 96px) 0 0;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-actions {
  margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 32px;
  margin-bottom: clamp(20px, 5vh, 70px);   /* sobe os botões um pouco (afasta do rodapé) */
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-start {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  background: var(--red); color: #141414; border: none; border-radius: 999px;
  padding: clamp(18px, 2.4vh, 26px) clamp(24px, 3vw, 38px); font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-start:active { transform: scale(.99); }
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-ar { font-size: 1.3em; line-height: 1; }
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-key {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: #fff; color: var(--text); border: 1.5px solid var(--border); border-radius: 999px;
  padding: clamp(14px, 1.8vh, 20px) 24px; font-family: 'Poppins', sans-serif;
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 600; cursor: pointer;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-key svg { width: 20px; height: 20px; }
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-spacer { flex: 0 0 auto; width: 1px; height: 1px; }
/* espaço maior entre "Bem-vindo!" e a ação */
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-actions { padding-top: clamp(40px, 8vh, 80px); }
/* orientação do celular acima do botão (texto preto, "celular" em negrito via <b>) */
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-phone-need {
  color: #141414; font-family: 'Poppins', sans-serif; font-size: clamp(15px, 2vw, 19px);
  line-height: 1.4; margin-bottom: 14px;
}
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-phone-need b { font-weight: 800; }
/* "sem celular?" abaixo do botão, em cinza claro */
:is(body.totem, body.cliente) .cl-welcome-v2 .wv-no-phone {
  color: #9ca3af; font-family: 'Poppins', sans-serif; font-size: clamp(13px, 1.6vw, 15px);
  line-height: 1.4; margin: -2px 0 8px;
}

/* ──── POPUP "está com o celular?" ao iniciar o check-in ──── */
:is(body.totem, body.cliente) #cl-phone-modal .modal.cl-phone-card,
:is(body.totem, body.cliente) #cl-docprep-modal .modal.cl-phone-card,
#cl-phone-modal .modal.cl-phone-card,
#cl-docprep-modal .modal.cl-phone-card {
  max-width: 460px; width: 100%; padding: clamp(26px, 4vw, 40px) clamp(22px, 3.5vw, 34px);
  text-align: center; border-radius: 20px;
}
#cl-phone-modal .cl-phone-ico { font-size: clamp(44px, 9vw, 64px); line-height: 1; margin-bottom: 12px; }
#cl-phone-modal .cl-phone-q,
#cl-docprep-modal .cl-phone-q {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.3; letter-spacing: -.3px; margin: 0 auto 22px; max-width: 24ch; color: var(--text);
}
#cl-phone-modal .cl-phone-actions,
#cl-docprep-modal .cl-phone-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#cl-phone-modal .cl-phone-actions .btn,
#cl-docprep-modal .cl-phone-actions .btn { min-width: 130px; flex: 1 1 auto; }
/* pop-up do documento (totem): ícone redondo + corpo discreto; título com menos espaço */
#cl-docprep-modal .cl-phone-q { margin-bottom: 12px; max-width: 26ch; }
#cl-docprep-modal .cl-docprep-ic {
  width: clamp(54px, 10vw, 68px); height: clamp(54px, 10vw, 68px); margin: 0 auto 14px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: rgba(229,62,62,.08); color: var(--red, #e53e3e);
}
#cl-docprep-modal .cl-docprep-ic svg { width: 30px; height: 30px; }
#cl-docprep-modal .cl-docprep-body {
  font-family: 'Poppins', sans-serif; font-size: clamp(14px, 1.8vw, 16px); line-height: 1.5;
  color: var(--muted); margin: 0 auto 24px; max-width: 36ch;
}

/* popup rápido de "Chave gerada!" */
#cl-key-ok-modal .modal.cl-keyok-card {
  max-width: 380px; width: 100%; padding: clamp(28px, 4vw, 40px); text-align: center; border-radius: 20px;
}
#cl-key-ok-modal .cl-keyok-title {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(20px, 2.6vw, 26px);
  color: var(--text); margin: 0;
}

/* botão "Buscar" já usado (cinza/desabilitado) — evita busca duplicada */
:is(body.totem, body.cliente) .btn.btn-searched {
  background: #e5e7eb !important; color: #9ca3af !important; border-color: #e5e7eb !important;
  box-shadow: none !important; cursor: default !important;
}

/* cabeçalho "Reservas de <nome>" na busca por CPF (SERPRO) */
:is(body.totem, body.cliente) .cl-found-for {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
  border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-weight: 700; text-align: center;
}

/* ── TOTEM: CENTRALIZA E AMPLIA na tela (tablets grandes, ex.: Galaxy Tab 14,6") ──
   Antes o conteúdo do cliente ficava no TOPO (empurrado pra cima) e pequeno numa
   tela grande. Aqui: o main deixa de limitar largura/altura, e a página do cliente
   ocupa a tela TODA, centralizada no vertical E horizontal; painéis, tipografia e
   controles CRESCEM conforme a tela (clamp/vmin) — no celular (QR) fica no tamanho
   atual, no tablet fica grande. Só no totem físico (body.totem). */
body.totem main {
  max-width: none; padding: 0;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;        /* fallback */
  justify-content: safe center;   /* centraliza no vertical sem cortar conteúdo alto */
}
body.totem #page-cliente.active { width: 100%; }

/* painéis mais largos (vencem o max-width inline do JS) + progresso proporcional */
body.totem #cl-step .cl-panel,
body.totem #cl-step .cap-wrap {
  max-width: clamp(440px, 80vw, 900px) !important;
  width: 100%;
}
body.totem #page-cliente .cl-progress {
  max-width: clamp(440px, 80vw, 900px); height: clamp(7px, 1vmin, 12px);
}

/* tipografia e controles maiores conforme a tela cresce */
body.totem #page-cliente .cl-panel { padding: clamp(24px, 3.4vmin, 52px); }
body.totem #page-cliente .cap-head h2,
body.totem #page-cliente .cl-panel h2 { font-size: clamp(20px, 3.6vmin, 36px); line-height: 1.15; }
body.totem #page-cliente .cap-head p,
body.totem #page-cliente .cl-panel p  { font-size: clamp(13px, 2.3vmin, 23px); }
body.totem #page-cliente .btn,
body.totem #page-cliente .add-btn     { font-size: clamp(14px, 2.3vmin, 23px); padding: clamp(13px,1.9vmin,21px) clamp(26px,3.2vmin,46px); }
body.totem #page-cliente .btn-lg      { font-size: clamp(15px, 2.6vmin, 26px); padding: clamp(15px,2.1vmin,24px) clamp(30px,3.6vmin,52px); }
body.totem #page-cliente .fg input,
body.totem #page-cliente .fg select   { font-size: clamp(15px, 2.3vmin, 24px); }
