.booking-mode-card,
        .guest-identity-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 215, 0, 0.05));
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            padding: 1.5rem;
        }

        .booking-kicker {
            display: inline-block;
            font-size: 0.72rem;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--cor-primaria);
            margin-bottom: 0.75rem;
        }

        .mode-toggle-btn,
        .mode-link-btn {
            min-height: 54px;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.03);
            color: #fff;
            font-weight: 600;
        }

        .mode-link-btn.alt {
            background: rgba(255, 215, 0, 0.08);
        }

        .mode-toggle-btn:hover,
        .mode-link-btn:hover,
        .mode-toggle-btn.active {
            background: var(--cor-primaria);
            color: #000;
            border-color: transparent;
        }

        .mode-badge {
            width: 46px;
            height: 46px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: rgba(255, 215, 0, 0.14);
            color: var(--cor-primaria);
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        /* Garantir que nada seja cortado no mobile */
        @media (max-width: 768px) {
            body, html {
                overflow-x: visible !important;
            }
            
            .container-fluid {
                overflow-x: visible !important;
                padding-left: 15px;
                padding-right: 15px;
            }
        }

        /* Indicador de Progresso Moderno e Responsivo */
        .steps-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            position: relative;
            padding: 0 20px;
            overflow-x: auto;
            overflow-y: visible;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .steps-container::-webkit-scrollbar {
            display: none;
        }

        .step-indicator {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 0 0 auto;
            position: relative;
            min-width: 70px;
            z-index: 1;
        }

        .step-circle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--bs-gray-700);
            color: var(--bs-gray-500);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
            border: 2px solid var(--bs-gray-700);
            position: relative;
            z-index: 2;
        }

        .step-indicator.active .step-circle {
            background: var(--cor-primaria);
            color: #000;
            border-color: var(--cor-primaria);
            box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.15);
            transform: scale(1.1);
        }

        .step-indicator.completed .step-circle {
            background: var(--bs-success);
            color: #fff;
            border-color: var(--bs-success);
        }

        .step-label {
            font-size: 0.75rem;
            color: var(--bs-gray-500);
            text-align: center;
            transition: all 0.3s ease;
            white-space: nowrap;
            font-weight: 500;
        }

        .step-indicator.active .step-label {
            color: var(--bs-white);
            font-weight: 600;
        }

        .step-connector {
            flex: 1;
            height: 2px;
            background: var(--bs-gray-700);
            margin: 0 8px;
            margin-top: -22px;
            z-index: 0;
            min-width: 20px;
            max-width: 100px;
        }

        .step-indicator.completed + .step-connector {
            background: var(--bs-success);
        }

        /* Botões Modernos com Glassmorphism */
        .btn-modern {
            background: rgba(33, 37, 41, 0.6);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--bs-white);
            border-radius: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: left;
            min-height: 100px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            position: relative;
            overflow: hidden;
        }

        .btn-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
            z-index: 1;
        }

        .btn-modern > * {
            position: relative;
            z-index: 2;
        }

        .btn-modern:hover {
            border-color: var(--cor-primaria);
            background: rgba(33, 37, 41, 0.8);
            transform: translateY(-4px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(255, 215, 0, 0.1);
        }

        .btn-modern.selected,
        .franquia-btn.selected,
        .barbeiro-btn.selected,
        .servico-btn.selected {
            background: linear-gradient(135deg, var(--cor-primaria) 0%, #e6c200 100%) !important;
            border-color: transparent !important;
            color: #000 !important;
            font-weight: 600;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
            transform: translateY(-2px);
        }

        .btn-modern.selected::before {
            display: none;
        }

        /* Estilo específico para cards de barbeiro */
        .barbeiro-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem !important;
            height: 100%;
        }

        .barbeiro-btn img, 
        .barbeiro-btn .avatar-title {
            width: 80px !important;
            height: 80px !important;
            margin-bottom: 1rem !important;
            border: 3px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
            object-fit: cover;
        }

        .barbeiro-btn .avatar-title {
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 600;
        }

        .barbeiro-btn:hover img,
        .barbeiro-btn:hover .avatar-title {
            border-color: var(--cor-primaria);
            transform: scale(1.05);
        }

        .barbeiro-btn.selected img,
        .barbeiro-btn.selected .avatar-title {
            border-color: #000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .barbeiro-btn strong {
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .btn-modern .text-secondary {
            color: rgba(255, 255, 255, 0.6) !important;
        }

        .btn-modern:hover .text-secondary {
            color: rgba(255, 255, 255, 0.8) !important;
        }

        .btn-modern.selected .text-secondary {
            color: rgba(0, 0, 0, 0.7) !important;
        }

        /* Responsividade Mobile */
        @media (max-width: 768px) {
            .card-body {
                overflow-x: visible !important;
                padding: 1.5rem !important;
            }

            .steps-container {
                padding: 20px 15px;
                justify-content: flex-start;
                overflow-x: auto;
                overflow-y: visible;
                -webkit-overflow-scrolling: touch;
            }

            .step-indicator {
                min-width: 60px;
                flex-shrink: 0;
            }

            .step-circle {
                width: 40px;
                height: 40px;
                font-size: 0.9rem;
            }

            .step-label {
                font-size: 0.7rem;
            }

            .step-connector {
                min-width: 15px;
                max-width: 30px;
                margin: 0 4px;
                margin-top: -20px;
                flex-shrink: 0;
            }

            .btn-modern {
                min-height: 80px;
                padding: 1rem !important;
            }

            .step-content {
                min-height: 300px;
                padding: 1.5rem 0;
            }
        }

        @media (max-width: 576px) {
            .card-body {
                padding: 1rem !important;
            }

            .steps-container {
                padding: 20px 10px;
            }

            .step-indicator {
                min-width: 50px;
            }

            .step-circle {
                width: 36px;
                height: 36px;
                font-size: 0.85rem;
            }

            .step-label {
                font-size: 0.65rem;
            }

            .step-connector {
                min-width: 10px;
                max-width: 20px;
                margin: 0 2px;
                margin-top: -18px;
            }
        }

        .step-content {
            min-height: 400px;
            padding: 2rem 0;
        }


        .time-slot {
            transition: all 0.2s;
            min-width: 100px;
        }

        .time-slot:hover:not(:disabled) {
            transform: translateY(-2px);
            border-color: var(--cor-primaria) !important;
        }

        .time-slot.selected {
            background-color: var(--cor-primaria) !important;
            border-color: var(--cor-primaria) !important;
            color: #000 !important;
            font-weight: bold;
        }

        .time-slot:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background-color: #2c2c2c !important;
        }

        input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1);
            cursor: pointer;
        }

        /* Estilos do Calendário Cliente */
        .calendario-cliente {
            background: var(--bs-gray-900);
            border: 1px solid var(--bs-gray-700);
            border-radius: 12px;
            padding: 1.5rem;
            width: 100%;
            overflow-x: visible !important;
            overflow-y: visible !important;
            max-width: 100%;
            box-sizing: border-box;
        }
        
        /* Responsividade para mobile */
        @media (max-width: 768px) {
            .calendario-cliente {
                padding: 1rem;
                overflow-x: visible !important;
                overflow-y: visible !important;
            }
            
            .calendario-mes-cliente {
                gap: 4px;
                min-width: 100%;
                width: 100%;
                overflow-x: visible !important;
            }
            
            .calendario-dia-nome-cliente {
                padding: 8px 2px;
                font-size: 0.7rem;
                min-width: 0;
                flex: 1 1 0;
            }
            
            .calendario-dia-cliente {
                min-height: 45px;
                padding: 4px;
                aspect-ratio: 1 / 1;
                min-width: 0;
                flex: 1 1 0;
            }
            
            .calendario-dia-numero-cliente {
                font-size: 0.85rem;
            }
            
            /* Garantir que o container não corte */
            #step4 .row,
            #step4 .col-12,
            #step4 .col-md-8 {
                overflow-x: visible !important;
                max-width: 100% !important;
            }
            
            /* Garantir que o card não corte */
            .card,
            .card-body {
                overflow-x: visible !important;
            }
        }
        
        /* Garantir que todos os containers permitam overflow */
        .step-content {
            overflow-x: visible !important;
        }

        .calendario-header-cliente {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .calendario-nav-btn-cliente {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .calendario-nav-btn-cliente:hover {
            background: var(--cor-primaria);
            border-color: var(--cor-primaria);
            color: #000;
        }

        .calendario-mes-cliente {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 8px;
            width: 100%;
            min-width: 100%;
            overflow-x: visible !important;
            box-sizing: border-box;
        }

        .calendario-dia-nome-cliente {
            text-align: center;
            padding: 10px;
            font-weight: 600;
            color: var(--bs-gray-500);
            font-size: 0.85rem;
            text-transform: uppercase;
            min-width: 0;
            width: 100%;
        }

        .calendario-dia-cliente {
            min-height: 60px;
            aspect-ratio: 1 / 1;
            background: var(--bs-gray-800);
            border: 2px solid var(--bs-gray-700);
            border-radius: 8px;
            padding: 6px;
            position: relative;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-width: 0;
            width: 100%;
            box-sizing: border-box;
        }

        .calendario-dia-cliente:hover:not(.outro-mes):not(.disabled) {
            border-color: var(--cor-primaria);
            background: var(--bs-gray-700);
            transform: translateY(-2px);
        }

        .calendario-dia-cliente.outro-mes {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .calendario-dia-cliente.disabled {
            opacity: 0.4;
            cursor: not-allowed;
            background: var(--bs-gray-900);
        }

        .calendario-dia-cliente.hoje {
            border-color: var(--cor-primaria);
            background: rgba(255, 215, 0, 0.1);
        }

        .calendario-dia-cliente.selected {
            background: var(--cor-primaria) !important;
            border-color: var(--cor-primaria) !important;
            color: #000 !important;
            font-weight: bold;
        }

        .calendario-dia-numero-cliente {
            font-weight: 600;
            color: var(--bs-white);
            font-size: 1rem;
            line-height: 1;
        }

        .calendario-dia-cliente.selected .calendario-dia-numero-cliente {
            color: #000;
        }

        .calendario-dia-cliente.nao-atende {
            background: rgba(220, 53, 69, 0.15);
            border-color: rgba(220, 53, 69, 0.5);
            cursor: not-allowed;
        }

        .calendario-dia-cliente.nao-atende .calendario-dia-numero-cliente {
            color: #dc3545;
        }

        .booking-page-shell {
            max-width: 100%;
            margin: 0 auto;
        }

        .booking-page-shell .card {
            border-radius: 22px;
            overflow: hidden;
        }

        .wizard-actions {
            gap: 12px;
            flex-wrap: wrap;
        }

        .wizard-actions .btn {
            min-height: 48px;
            border-radius: 12px;
            margin: 0 !important;
            padding: 0.75rem 1rem;
            font-weight: 600;
        }

        .wizard-actions #btnVoltar {
            margin-right: auto !important;
        }

        .wizard-actions #btnProximo,
        .wizard-actions #btnSalvar {
            margin-left: auto !important;
        }

        .booking-page-shell .form-control::placeholder,
        .booking-page-shell textarea::placeholder {
            color: rgba(245, 241, 232, 0.45) !important;
            opacity: 1;
        }

        @media (max-width: 991.98px) {
            .booking-page-shell {
                padding: 0.5rem !important;
            }

            .booking-page-shell .card-body {
                padding: 0.85rem !important;
            }

            .booking-mode-card,
            .guest-identity-card {
                border-radius: 14px;
                padding: 0.8rem;
            }

            .booking-mode-card .row {
                --bs-gutter-x: 0.7rem;
                --bs-gutter-y: 0.65rem;
            }

            .booking-mode-card h2 {
                font-size: clamp(1rem, 4.3vw, 1.3rem);
                margin-bottom: 0.25rem !important;
            }

            .booking-mode-card p {
                font-size: 0.84rem;
                line-height: 1.3;
            }

            .guest-identity-card h5,
            #authBookingNotice h5 {
                font-size: 0.98rem;
            }

            .guest-identity-card p,
            #authBookingNotice p {
                font-size: 0.78rem !important;
            }

            .mode-toggle-btn,
            .mode-link-btn {
                min-height: 40px;
                font-size: 0.84rem;
                border-radius: 10px;
                padding: 0.5rem 0.7rem;
            }

            .step-content {
                min-height: 0;
                padding: 0.65rem 0 0.45rem;
            }

            .step-content h4 {
                font-size: 1.05rem;
                margin-bottom: 0.8rem !important;
            }

            .btn-modern {
                min-height: 62px;
                border-radius: 12px;
                padding: 0.7rem !important;
            }

            .btn-modern strong {
                font-size: 0.94rem !important;
            }

            .btn-modern small {
                font-size: 0.73rem;
            }

            .form-control.form-control-lg {
                min-height: 40px;
                font-size: 0.9rem;
                padding: 0.45rem 0.7rem;
            }
        }

        @media (max-width: 767.98px) {
            html,
            body {
                overflow-x: hidden !important;
            }

            .booking-page-shell {
                padding: 0.35rem !important;
            }

            .booking-page-shell .card {
                border-radius: 14px;
            }

            .booking-page-shell .card-body {
                padding: 0.72rem !important;
            }

            .booking-kicker {
                font-size: 0.52rem;
                letter-spacing: 0.08em;
                margin-bottom: 0.32rem;
            }

            .mode-badge {
                width: 32px;
                height: 32px;
                border-radius: 9px;
                font-size: 0.78rem;
            }

            .steps-container {
                justify-content: center;
                gap: 6px;
                padding: 0 0 4px;
                margin: 0 -2px;
            }

            .step-connector {
                display: none;
            }

            .step-indicator {
                min-width: 56px;
            }

            .step-circle {
                width: 40px;
                height: 40px;
                margin-bottom: 0.1rem;
                font-size: 0.95rem;
            }

            .step-indicator.active .step-circle {
                transform: none;
                box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.18);
            }

            .step-label {
                font-size: 0.53rem;
                line-height: 1.1;
            }

            .step-content h4 {
                font-size: 0.98rem;
                margin-bottom: 0.65rem !important;
            }

            .calendario-cliente {
                padding: 0.6rem;
            }

            .calendario-header-cliente {
                margin-bottom: 0.75rem;
            }

            .calendario-header-cliente h5 {
                font-size: 0.86rem;
            }

            .calendario-nav-btn-cliente {
                width: 30px;
                height: 30px;
            }

            .calendario-mes-cliente {
                gap: 3px;
            }

            .calendario-dia-nome-cliente {
                font-size: 0.64rem;
                padding: 5px 1px;
            }

            .calendario-dia-cliente {
                min-height: 35px;
                padding: 2px;
                border-width: 1px;
            }

            .calendario-dia-numero-cliente {
                font-size: 0.72rem;
            }

            .barbeiro-btn {
                padding: 0.6rem !important;
            }

            .barbeiro-btn img,
            .barbeiro-btn .avatar-title {
                width: 46px !important;
                height: 46px !important;
                margin-bottom: 0.25rem !important;
            }

            .barbeiro-btn strong {
                font-size: 0.78rem;
                letter-spacing: 0.02em;
            }

            .time-slot {
                min-width: 68px;
                font-size: 0.76rem;
            }

            .wizard-actions {
                position: sticky;
                bottom: 0;
                z-index: 15;
                background: linear-gradient(180deg, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, 0.94) 28%);
                padding-top: 8px;
                margin-top: 10px !important;
            }

            .wizard-actions .btn {
                flex: 1 1 calc(50% - 6px);
                min-height: 38px;
                font-size: 0.82rem;
                padding: 0.46rem 0.62rem;
            }

            .wizard-actions #btnSalvar {
                flex-basis: 100%;
            }
        }

        @media (max-width: 420px) {
            .steps-container {
                justify-content: center;
            }

            .booking-page-shell {
                padding: 0.25rem !important;
            }

            .booking-mode-card,
            .guest-identity-card {
                padding: 0.65rem;
                border-radius: 12px;
            }

            .booking-kicker {
                letter-spacing: 0.06em;
                font-size: 0.48rem;
            }

            .mode-toggle-btn,
            .mode-link-btn {
                font-size: 0.76rem;
                min-height: 34px;
            }

            .btn-modern {
                min-height: 52px;
                padding: 0.5rem !important;
            }

            .time-slot {
                min-width: 62px;
                font-size: 0.72rem;
                padding-left: 0.52rem !important;
                padding-right: 0.52rem !important;
            }

            .step-label {
                display: none;
            }

            .step-indicator {
                min-width: 44px;
            }

            .step-circle {
                width: 40px;
                height: 40px;
                margin-bottom: 0;
                font-size: 0.9rem;
            }

            .step-indicator.active .step-circle {
                box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.14);
            }

            .booking-mode-card h2 {
                font-size: 0.95rem;
            }

            .booking-mode-card p {
                font-size: 0.74rem;
            }
        }

        /* Cards de serviço compactos (lista dinâmica do catálogo) */
        .servico-btn-compact {
            min-height: 0;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: .25rem;
            padding: .85rem .6rem;
        }
        .servico-btn-compact .servico-nome {
            font-weight: 700;
            font-size: .92rem;
            line-height: 1.15;
        }
        .servico-btn-compact .servico-tempo {
            font-size: .74rem;
            color: var(--primary-gold, #D4AF37);
            font-weight: 600;
            position: relative;
            z-index: 1;
        }
        .servico-btn-compact.selected .servico-tempo {
            color: inherit;
            opacity: .9;
        }

        /* Cabeçalho de categoria do catálogo de serviços */
        .servico-cat-head {
            display: flex;
            align-items: center;
            gap: .7rem;
            margin: 1.1rem 0 .15rem;
        }
        .servico-cat-head:first-child { margin-top: .1rem; }
        .servico-cat-nome {
            font-size: .72rem;
            font-weight: 800;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--bkg-gold, #D4AF37);
            white-space: nowrap;
        }
        .servico-cat-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 1.4rem;
            height: 1.4rem;
            padding: 0 .4rem;
            border-radius: 999px;
            background: var(--bkg-gold-soft, rgba(212, 175, 55, .14));
            border: 1px solid rgba(212, 175, 55, .35);
            color: var(--bkg-gold, #D4AF37);
            font-size: .68rem;
            font-weight: 800;
        }
        .servico-cat-head::after {
            content: '';
            flex: 1;
            height: 1px;
            background: linear-gradient(90deg, rgba(212, 175, 55, .35), transparent);
        }

        /* =====================================================================
           REMODEL /agendar — shell fluido, clean, ouro + charcoal
           ===================================================================== */
        :root {
            --bkg-gold: #D4AF37;
            --bkg-gold-soft: rgba(212, 175, 55, .14);
            --bkg-ink: #f3f5ff;
            --bkg-muted: #97a4c6;
            --bkg-surface: #15151c;
            --bkg-surface-2: #10131c;
            --bkg-border: rgba(255, 255, 255, .09);
        }

        .public-booking-page { background: #0a0a0d; }

        .public-booking-page,
        .public-booking-page body { overflow-x: hidden; }
        .bkg-shell {
            position: relative;
            width: 100%;
            max-width: 1180px;
            margin: 0 auto;
            padding: clamp(1.1rem, 3vw, 2.4rem) clamp(1rem, 3vw, 2rem) 3rem;
            box-sizing: border-box;
            overflow-x: hidden;
        }
        .bkg-shell *, .bkg-shell *::before, .bkg-shell *::after { box-sizing: border-box; }
        .bkg-grid, .bkg-main, .bkg-aside, .bkg-resumo, .bkg-mode { min-width: 0; max-width: 100%; }
        .bkg-main .row { margin-left: 0; margin-right: 0; }
        .bkg-bg {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background:
                radial-gradient(60% 50% at 80% -5%, rgba(212, 175, 55, .14), transparent 60%),
                radial-gradient(50% 40% at -5% 10%, rgba(212, 175, 55, .08), transparent 60%),
                #0a0a0d;
        }
        .bkg-shell > * { position: relative; z-index: 1; }

        /* Header */
        .bkg-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1.6rem;
        }
        .bkg-kicker {
            display: inline-flex;
            align-items: center;
            font-size: .72rem;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: var(--bkg-gold);
        }
        .bkg-title {
            font-family: 'Playfair Display', serif;
            font-weight: 800;
            font-size: clamp(1.8rem, 4vw, 2.8rem);
            color: #fff;
            margin: .35rem 0 .2rem;
            letter-spacing: -.02em;
        }
        .bkg-sub { color: var(--bkg-muted); margin: 0; }
        .bkg-back {
            display: inline-flex;
            align-items: center;
            gap: .5rem;
            white-space: nowrap;
            padding: .55rem .95rem;
            border-radius: 12px;
            border: 1px solid var(--bkg-border);
            background: rgba(255, 255, 255, .03);
            color: #dbe3f7;
            text-decoration: none;
            font-weight: 600;
            font-size: .85rem;
            transition: all .2s ease;
        }
        .bkg-back:hover { border-color: rgba(212, 175, 55, .5); color: #fff; background: var(--bkg-gold-soft); }
        @media (max-width: 575px) { .bkg-back span { display: none; } }

        /* Mode card */
        .bkg-mode {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            flex-wrap: wrap;
            background: linear-gradient(135deg, rgba(212, 175, 55, .08), transparent), var(--bkg-surface);
            border: 1px solid var(--bkg-border);
            border-radius: 20px;
            padding: 1.25rem 1.5rem;
            margin-bottom: 1.5rem;
        }
        .bkg-mode-text h2 { color: #fff; font-weight: 800; font-size: 1.2rem; margin: .3rem 0 .25rem; }
        .bkg-mode-text p { color: var(--bkg-muted); margin: 0; font-size: .88rem; max-width: 46ch; }
        .bkg-mode-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
        .mode-toggle-btn, .mode-link-btn {
            border-radius: 12px;
            padding: .6rem 1.1rem;
            font-weight: 700;
            font-size: .88rem;
            border: 1px solid var(--bkg-border);
            background: rgba(255, 255, 255, .03);
            color: #dbe3f7;
            transition: all .2s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }
        .mode-toggle-btn:hover, .mode-link-btn:hover { border-color: rgba(212, 175, 55, .5); color: #fff; }
        .mode-toggle-btn.active {
            background: var(--bkg-gold);
            border-color: var(--bkg-gold);
            color: #1a1306;
        }

        /* Stepper */
        .bkg-progress { margin-bottom: 1.8rem; }
        .steps-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: .25rem;
            max-width: 720px;
            margin: 0 auto;
        }
        .step-indicator { display: flex; flex-direction: column; align-items: center; gap: .5rem; flex: 0 0 auto; }
        .step-circle {
            width: 46px; height: 46px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            background: var(--bkg-surface);
            border: 1px solid var(--bkg-border);
            color: var(--bkg-muted);
            font-size: 1.05rem;
            transition: all .35s cubic-bezier(.16, 1, .3, 1);
        }
        .step-label { font-size: .74rem; font-weight: 600; color: var(--bkg-muted); transition: color .3s ease; }
        .step-connector {
            flex: 1 1 auto;
            height: 2px;
            border-radius: 2px;
            background: var(--bkg-border);
            position: relative;
            overflow: hidden;
            min-width: 12px;
        }
        .step-connector::after {
            content: ''; position: absolute; inset: 0; width: 0;
            background: linear-gradient(90deg, var(--bkg-gold), #f7d978);
            transition: width .45s ease;
        }
        .step-indicator.active .step-circle {
            background: var(--bkg-gold);
            border-color: var(--bkg-gold);
            color: #1a1306;
            box-shadow: 0 0 0 6px rgba(212, 175, 55, .12);
            transform: scale(1.06);
        }
        .step-indicator.active .step-label { color: #fff; }
        .step-indicator.completed .step-circle {
            background: rgba(212, 175, 55, .18);
            border-color: rgba(212, 175, 55, .55);
            color: var(--bkg-gold);
        }
        .step-indicator.completed + .step-connector::after { width: 100%; }
        @media (max-width: 575px) { .step-label { display: none; } .step-circle { width: 40px; height: 40px; } }

        /* Grid: main + aside */
        .bkg-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 1.4rem;
            align-items: start;
        }
        @media (max-width: 991px) { .bkg-grid { grid-template-columns: 1fr; } }

        .bkg-main {
            background: var(--bkg-surface);
            border: 1px solid var(--bkg-border);
            border-radius: 22px;
            padding: clamp(1.2rem, 3vw, 2rem);
            box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
        }

        .bkg-step-title {
            font-family: 'Playfair Display', serif;
            color: #fff;
            font-weight: 700;
            font-size: 1.4rem;
            margin: 0 0 1.3rem;
        }

        /* Transição de passo */
        .step-content:not(.d-none) { animation: bkgStepIn .42s cubic-bezier(.16, 1, .3, 1) both; }
        @keyframes bkgStepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

        /* Inputs */
        .bkg-label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bkg-muted); margin-bottom: .45rem; }
        .bkg-input {
            width: 100%;
            background: var(--bkg-surface-2);
            border: 1px solid var(--bkg-border);
            color: var(--bkg-ink);
            border-radius: 12px;
            padding: .8rem 1rem;
            min-height: 50px;
            transition: border-color .18s ease, box-shadow .18s ease;
        }
        .bkg-input::placeholder { color: #6f7b9c; }
        .bkg-input:focus { outline: none; border-color: rgba(212, 175, 55, .55); box-shadow: 0 0 0 3px rgba(212, 175, 55, .14); }

        .guest-identity-card {
            background: var(--bkg-surface-2);
            border: 1px solid var(--bkg-border);
            border-radius: 16px;
            padding: 1.2rem 1.3rem;
        }
        .mode-badge {
            width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
            display: flex; align-items: center; justify-content: center;
            background: var(--bkg-gold-soft); color: var(--bkg-gold); font-size: 1.2rem;
        }

        /* Opções (btn-modern override para o remodel) */
        .btn-modern {
            background: var(--bkg-surface-2) !important;
            border: 1px solid var(--bkg-border) !important;
            color: var(--bkg-ink) !important;
            border-radius: 16px;
            min-height: 0;
            width: 100%;
            transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
        }
        .btn-modern:hover { transform: translateY(-2px); border-color: rgba(212, 175, 55, .5) !important; box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
        .btn-modern.selected {
            border-color: var(--bkg-gold) !important;
            background: var(--bkg-gold-soft) !important;
            box-shadow: 0 0 0 1px var(--bkg-gold), 0 12px 24px rgba(0, 0, 0, .3);
        }

        .franquia-btn {
            display: flex !important;
            align-items: center;
            gap: .9rem;
            text-align: left;
            padding: 1rem 1.1rem;
        }
        .bkg-opt-ic {
            width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px;
            display: flex; align-items: center; justify-content: center;
            background: var(--bkg-gold-soft); color: var(--bkg-gold); font-size: 1.2rem;
        }
        .bkg-opt-body { display: flex; flex-direction: column; min-width: 0; }
        .bkg-opt-body strong { color: #fff; font-size: 1rem; line-height: 1.2; }
        .bkg-opt-body strong { overflow-wrap: anywhere; }
        .bkg-opt-body small {
            color: var(--bkg-muted); font-size: .8rem;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden; overflow-wrap: anywhere;
        }
        .franquia-btn.selected .bkg-opt-ic { background: var(--bkg-gold); color: #1a1306; }

        .barbeiro-btn { padding: 1.1rem .8rem; }
        .barbeiro-btn strong { color: #fff; margin-top: .4rem; font-size: .92rem; }

        /* Calendário */
        .bkg-cal-wrap { max-width: 460px; margin: 0 auto; }
        .calendario-nav-btn-cliente {
            width: 38px; height: 38px; border-radius: 10px;
            border: 1px solid var(--bkg-border);
            background: rgba(255, 255, 255, .03);
            color: #dbe3f7;
            display: inline-flex; align-items: center; justify-content: center;
            transition: all .18s ease;
        }
        .calendario-nav-btn-cliente:hover { border-color: rgba(212, 175, 55, .5); color: #fff; background: var(--bkg-gold-soft); }
        .calendario-header-cliente { display: flex; align-items: center; justify-content: space-between; }

        /* Horários */
        .bkg-horarios {
            background: var(--bkg-surface-2);
            border: 1px solid var(--bkg-border);
            border-radius: 16px;
            padding: 1.1rem;
        }
        .time-slot { transition: all .15s ease; }
        .time-slot.selected, .time-slot.active {
            background: var(--bkg-gold) !important;
            border-color: var(--bkg-gold) !important;
            color: #1a1306 !important;
            font-weight: 700;
        }

        /* Botões wizard */
        .wizard-actions { display: flex; align-items: center; gap: .8rem; margin-top: 1.8rem; }
        .bkg-btn {
            display: inline-flex; align-items: center; justify-content: center;
            border-radius: 12px; padding: .72rem 1.4rem; font-weight: 700; font-size: .92rem;
            border: 1px solid transparent; cursor: pointer; min-height: 48px;
            transition: all .2s ease;
        }
        .bkg-btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--bkg-border); color: #dbe3f7; }
        .bkg-btn-ghost:hover { border-color: rgba(212, 175, 55, .5); color: #fff; }
        .bkg-btn-primary { background: var(--bkg-gold); color: #1a1306; }
        .bkg-btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }

        /* Aside resumo */
        .bkg-aside { position: sticky; top: 1.2rem; }
        @media (max-width: 991px) { .bkg-aside { position: static; } }
        .bkg-resumo {
            background: var(--bkg-surface);
            border: 1px solid var(--bkg-border);
            border-radius: 22px;
            padding: 1.4rem;
            box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
        }
        .bkg-resumo-head {
            display: flex; align-items: center; gap: .55rem;
            font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: #fff;
            padding-bottom: 1rem; margin-bottom: .6rem;
            border-bottom: 1px solid var(--bkg-border);
        }
        .bkg-resumo-head i { color: var(--bkg-gold); }
        .bkg-resumo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
        .bkg-resumo-list li { display: flex; align-items: center; gap: .8rem; padding: .6rem .2rem; border-radius: 10px; transition: background .2s ease; }
        .bkg-resumo-list li.filled { background: rgba(212, 175, 55, .06); }
        .r-ic {
            width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px;
            display: flex; align-items: center; justify-content: center;
            background: rgba(255, 255, 255, .04); color: var(--bkg-muted); font-size: 1rem;
            transition: all .2s ease;
        }
        .bkg-resumo-list li.filled .r-ic { background: var(--bkg-gold-soft); color: var(--bkg-gold); }
        .r-txt { display: flex; flex-direction: column; min-width: 0; }
        .r-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bkg-muted); font-weight: 700; }
        .r-val { color: #f3f5ff; font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        .bkg-resumo-list li:not(.filled) .r-val { color: #57617e; }
        .bkg-resumo-foot { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--bkg-border); color: var(--bkg-muted); font-size: .78rem; display: flex; align-items: center; }
        .bkg-resumo-foot i { color: #22c55e; }
        .bkg-resumo-list li { overflow: hidden; }

        /* Mobile */
        @media (max-width: 575px) {
            .bkg-shell { padding: 1rem .9rem 2.4rem; }
            .bkg-head { flex-direction: column; align-items: flex-start; gap: .6rem; }
            .bkg-back { align-self: flex-start; }
            .bkg-main, .bkg-resumo { padding: 1.1rem; border-radius: 16px; }
            .bkg-mode { padding: 1rem 1.1rem; flex-direction: column; align-items: stretch; }
            .bkg-mode-actions { width: 100%; }
            .bkg-mode-actions .mode-toggle-btn,
            .bkg-mode-actions .mode-link-btn { flex: 1 1 auto; justify-content: center; }
            .steps-container { gap: 0; }
            .step-circle { width: 36px; height: 36px; font-size: .9rem; }
            .step-connector { min-width: 6px; }
            .bkg-step-title { font-size: 1.2rem; margin-bottom: 1rem; }
            .franquia-btn, .btn-modern { padding: .85rem .9rem; }
            .wizard-actions { flex-wrap: wrap; gap: .6rem; }
            .wizard-actions .bkg-btn { flex: 1 1 130px; }
        }

        @media (prefers-reduced-motion: reduce) {
            .step-content:not(.d-none) { animation: none; }
            .btn-modern:hover, .bkg-btn-primary:hover { transform: none; }
        }
