
.desktop-only-txt {
    display: inline;
}
.mobile-only-txt {
    display: none;
}

/* ==========================================================================
   BARBEARIA ALCAPONE - LUXURY DARK VINTAGE DESIGN SYSTEM (V2.0 HIGH CRAFT)
   Typography: Cinzel (Display Serif) + Plus Jakarta Sans (Interface)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    /* Palette Base */
    --bg-black: #08090c;
    --bg-surface: #0e1117;
    --bg-card: #141720;
    --bg-card-hover: #1b202c;
    --bg-input: #0b0e14;
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-card: rgba(197, 160, 89, 0.25);
    --border-gold: #c5a059;
    --border-gold-glow: rgba(197, 160, 89, 0.45);
    
    /* Golds & Luxury Metallics */
    --gold-100: #fcf4e2;
    --gold-200: #eddba6;
    --gold-300: #dfba74;
    --gold-primary: #c5a059;
    --gold-deep: #967432;
    --gold-dim: rgba(197, 160, 89, 0.12);
    --gold-glow: rgba(197, 160, 89, 0.25);
    --gradient-gold: linear-gradient(135deg, #f7e0a8 0%, #c5a059 50%, #8c6a28 100%);
    --gradient-gold-btn: linear-gradient(135deg, #dfba74 0%, #c5a059 70%, #9e7832 100%);
    --gradient-card: linear-gradient(180deg, rgba(23, 28, 39, 0.85) 0%, rgba(13, 16, 23, 0.98) 100%);
    
    /* Accents */
    --red-alcapone: #9e2222;
    --red-glow: rgba(158, 34, 34, 0.3);
    --green-emerald: #10b981;
    --green-glow: rgba(16, 185, 129, 0.25);
    --text-white: #ffffff;
    --text-silver: #d1d5db;
    --text-muted: #8e95a5;
    --text-gold: #c5a059;

    /* Fonts */
    --font-brand: 'Cinzel', Georgia, serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 25px rgba(197, 160, 89, 0.22);
    --shadow-floating: 0 12px 40px rgba(0, 0, 0, 0.75), 0 0 20px rgba(197, 160, 89, 0.2);

    /* Contextual Surfaces */
    --bg-header: rgba(10, 13, 18, 0.92);
    --bg-topbar: #090b10;
    --bg-navbar-admin: #0c0f16;
    --bg-dock: rgba(14, 18, 26, 0.95);
    --bg-modal: #11141c;
    --bg-pill: #171b26;
    --bg-pill-hover: #212738;
    --bg-voucher: #0d1017;
    --bg-footer: #07090c;
    --bg-table-th: #0e121a;
}

[data-theme="light"] {
    /* Palette Base - Luz & Sofisticação */
    --bg-black: #f5f6fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-input: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.94);
    --bg-topbar: #e9edf4;
    --bg-navbar-admin: #ffffff;
    --bg-dock: rgba(255, 255, 255, 0.97);
    --bg-modal: #ffffff;
    --bg-pill: #ffffff;
    --bg-pill-hover: #f1f4f9;
    --bg-voucher: #fcfbfa;
    --bg-footer: #eaedf3;
    --bg-table-th: #f1f4f9;
    
    /* Borders */
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-card: rgba(184, 134, 45, 0.28);
    --border-gold: #b3883b;
    --border-gold-glow: rgba(179, 136, 59, 0.35);
    
    /* Golds & Metallics de Alto Contraste */
    --gold-100: #251c0a;
    --gold-200: #423214;
    --gold-300: #7a5c1e;
    --gold-primary: #9e7526;
    --gold-deep: #6e4f12;
    --gold-dim: rgba(158, 117, 38, 0.12);
    --gold-glow: rgba(158, 117, 38, 0.22);
    --gradient-gold: linear-gradient(135deg, #d8b257 0%, #b3883b 50%, #825f1b 100%);
    --gradient-gold-btn: linear-gradient(135deg, #181b24 0%, #0d0f15 100%);
    --gradient-card: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    
    /* Accents & Textos */
    --red-alcapone: #b91c1c;
    --red-glow: rgba(185, 28, 28, 0.2);
    --green-emerald: #059669;
    --green-glow: rgba(5, 150, 105, 0.2);
    --text-white: #0f172a;
    --text-silver: #334155;
    --text-muted: #64748b;
    --text-gold: #8f671c;

    /* Shadows suaves */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 0 20px rgba(158, 117, 38, 0.16);
    --shadow-floating: 0 12px 35px rgba(0, 0, 0, 0.12), 0 0 15px rgba(158, 117, 38, 0.15);
}

/* Specific Light Theme Overrides */
[data-theme="light"] body {
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(184, 134, 45, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(185, 28, 28, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(184, 134, 45, 0.05) 0%, transparent 40%);
}

[data-theme="light"] .brand-crest,
[data-theme="light"] .login-crest,
[data-theme="light"] .client-avatar-crest {
    background: linear-gradient(135deg, #f7f3e8 0%, #eee3c8 100%);
    border-color: var(--border-gold);
    color: var(--gold-deep);
}

[data-theme="light"] .slot-chip.free, [data-theme="light"] .slot-ticket.free {
    background: #ffffff;
    border-color: rgba(184, 134, 45, 0.3);
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .slot-chip.free:hover, [data-theme="light"] .slot-ticket.free:hover {
    border-color: var(--gold-primary);
    background: rgba(184, 134, 45, 0.1);
    color: var(--gold-deep);
}

[data-theme="light"] .slot-chip.free.selected, [data-theme="light"] .slot-ticket.free.selected {
    background: #0f172a !important;
    border-color: var(--border-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .slot-chip.free.selected .slot-time,
[data-theme="light"] .slot-chip.free.selected .slot-period-tag,
[data-theme="light"] .slot-chip.free.selected .slot-status-txt,
[data-theme="light"] .slot-ticket.free.selected .ticket-time {
    color: #ffffff !important;
}

[data-theme="light"] .btn-cta-gold,
[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 4px 14px rgba(13, 15, 21, 0.12) !important;
}

[data-theme="light"] .btn-cta-gold:hover,
[data-theme="light"] .btn-primary:hover {
    background: linear-gradient(135deg, #252b39 0%, #141822 100%) !important;
    color: #f7e0a8 !important;
    border-color: #c5a059 !important;
    box-shadow: 0 6px 20px rgba(13, 15, 21, 0.22) !important;
}

[data-theme="light"] .btn-filter-tag {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .btn-filter-tag:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

[data-theme="light"] .btn-filter-tag.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.16) !important;
}

[data-theme="light"] .slot-chip.busy, [data-theme="light"] .slot-ticket.busy {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    opacity: 0.65;
}

[data-theme="light"] .period-count-badge.has-free {
    background: rgba(184, 134, 45, 0.12);
    border: 1px solid rgba(184, 134, 45, 0.35);
    color: var(--gold-deep);
}

[data-theme="light"] .period-count-badge.empty {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .chip-circle.busy {
    background: #94a3b8;
}

[data-theme="light"] .service-select-card.selected {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.16) 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(158, 117, 38, 0.16);
}

[data-theme="light"] .date-pill-btn {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .date-pill-btn:hover {
    background: #f1f5f9;
}

[data-theme="light"] .btn-action-xs {
    background: #ffffff;
    color: #334155;
    border-color: #cbd5e1;
}

[data-theme="light"] .btn-action-xs:hover {
    background: #f8fafc;
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

[data-theme="light"] table.luxury-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] table.luxury-table tr:hover td {
    background: rgba(184, 134, 45, 0.06);
}

[data-theme="light"] .admin-links a {
    color: #475569;
}

[data-theme="light"] .admin-links a:hover,
[data-theme="light"] .admin-links a.active {
    background: #f1f5f9;
    color: var(--gold-primary);
}

[data-theme="light"] .login-card-luxury,
[data-theme="light"] .client-login-card,
[data-theme="light"] .client-register-card {
    background: #ffffff;
    box-shadow: var(--shadow-md), 0 0 20px rgba(184, 134, 45, 0.12);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #edf0f5;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

[data-theme="light"] .barber-card-premium.active {
    background: linear-gradient(180deg, #fefcf8 0%, #f6eee0 100%);
}

[data-theme="light"] .barber-photo-box {
    background: #ffffff;
    border-color: var(--border-gold);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .barber-card-premium.active .barber-photo-box {
    background: #ffffff;
    border-color: var(--gold-primary);
    box-shadow: 0 0 16px rgba(197, 160, 89, 0.35), 0 4px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea,
[data-theme="light"] input[type="date"],
[data-theme="light"] input[type="tel"],
[data-theme="light"] input[type="text"],
[data-theme="light"] select {
    border-color: #cbd5e1;
    color: var(--text-white);
}

[data-theme="light"] .timeline-slot-row.booked {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.12) 0%, #ffffff 100%);
}

[data-theme="light"] .badge-status {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Light Theme Enhancements for Location & Chips */
[data-theme="light"] .feat-chip {
    background: #f1f5f9;
    border-color: rgba(184, 134, 45, 0.28);
    color: #334155;
}

[data-theme="light"] .location-hours-box {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hours-row.closed {
    color: #d97706;
}

[data-theme="light"] .btn-location-action.waze {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .btn-location-action.whatsapp {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

[data-theme="light"] .meta-pill {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #475569;
}

[data-theme="light"] .barber-card-premium.active .meta-pill.highlight {
    background: rgba(184, 134, 45, 0.15);
    border-color: rgba(184, 134, 45, 0.35);
    color: #8f671c;
}

[data-theme="light"] .calendar-weekdays-row span {
    color: #334155;
    font-weight: 800;
}

[data-theme="light"] .cal-day-cell {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .cal-day-cell .cal-day-num {
    color: #0f172a;
    font-weight: 700;
}

[data-theme="light"] .cal-day-cell:hover:not(.is-past):not(.is-empty) {
    background: rgba(184, 134, 45, 0.08);
    border-color: var(--gold-primary);
}

[data-theme="light"] .cal-day-cell.is-selected {
    background: #0f172a !important;
    border-color: var(--border-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .cal-day-cell.is-selected .cal-day-num {
    color: #ffffff !important;
    font-weight: 800;
}

[data-theme="light"] .cal-day-cell.is-selected .cal-day-tag {
    color: #f7e0a8 !important;
}

[data-theme="light"] .cal-day-cell.is-today:not(.is-selected) {
    border: 2px solid var(--gold-primary);
}

[data-theme="light"] .cal-day-cell.is-past {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    opacity: 1 !important;
}

[data-theme="light"] .cal-day-cell.is-past .cal-day-num {
    color: #1e293b !important;
    font-weight: 700;
}

[data-theme="light"] .cal-day-cell.is-off:not(.is-past) {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #78350f !important;
}

[data-theme="light"] .cal-day-cell.is-off:not(.is-past) .cal-day-num {
    color: #78350f !important;
    font-weight: 800;
}

[data-theme="light"] .cal-day-cell.is-off:not(.is-past) .cal-day-tag.off {
    color: #92400e !important;
    font-weight: 800;
}

[data-theme="light"] .btn-cal-nav {
    background: #ffffff;
    border-color: #cbd5e1;
    color: var(--gold-primary);
}

[data-theme="light"] .btn-cal-nav:hover {
    background: rgba(184, 134, 45, 0.1);
    border-color: var(--gold-primary);
}

[data-theme="light"] .btn-cal-today {
    background: rgba(184, 134, 45, 0.12);
    border-color: rgba(184, 134, 45, 0.35);
    color: var(--gold-primary);
}

/* Light Theme Overrides for Promo Banner, Maps, Modal & Components */
.booking-promo-banner {
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.12) 0%, rgba(18, 22, 32, 0.95) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 44px 24px;
    text-align: center;
    margin: 44px 0 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .booking-promo-banner {
    background: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.14) 0%, #ffffff 100%) !important;
    border-color: rgba(184, 134, 45, 0.35) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .map-hover-hint {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gold-deep);
    border-color: rgba(184, 134, 45, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .pinpoint-tooltip {
    background: #ffffff;
    border-color: var(--border-gold);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .appointment-summary-pill {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.12) 0%, #f8fafc 100%);
    border-color: rgba(184, 134, 45, 0.35);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .pill-col .val {
    color: #0f172a;
}

[data-theme="light"] .skeleton-loading {
    background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%) !important;
    background-size: 200% 100% !important;
}

[data-theme="light"] .barber-avatar-svg > circle:first-child,
[data-theme="light"] .barber-avatar-svg circle[stroke-width="3"] {
    fill: #ffffff !important;
}

[data-theme="light"] .barber-avatar-svg text {
    fill: #8f671c !important;
}

[data-theme="light"] .barber-avatar-svg path[fill] {
    fill: rgba(184, 134, 45, 0.15) !important;
}

[data-theme="light"] .btn-admin-pill {
    background: #ffffff;
    border-color: rgba(184, 134, 45, 0.35);
    color: var(--gold-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .login-crest {
    background: #ffffff;
    border-color: var(--border-gold);
    box-shadow: 0 4px 12px rgba(184, 134, 45, 0.15);
}

[data-theme="light"] .stepper-num {
    background: rgba(0, 0, 0, 0.07);
    color: #64748b;
}

[data-theme="light"] .stepper-arrow {
    color: #94a3b8;
}

[data-theme="light"] .footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .btn-tab-view {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .btn-tab-view:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

[data-theme="light"] .btn-tab-view.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18) !important;
}

[data-theme="light"] .dock-btn-action {
    background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
    box-shadow: 0 4px 14px rgba(13, 15, 21, 0.15) !important;
}

[data-theme="light"] .dock-btn-action:hover {
    background: linear-gradient(135deg, #252b39 0%, #141822 100%) !important;
    color: #f7e0a8 !important;
    border-color: #c5a059 !important;
}

[data-theme="light"] .btn-location-action.google {
    background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.45) !important;
}

[data-theme="light"] .btn-location-action.google:hover {
    background: linear-gradient(135deg, #252b39 0%, #141822 100%) !important;
    color: #f7e0a8 !important;
    border-color: #c5a059 !important;
}

[data-theme="light"] .btn-footer-admin-login:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.header-cta-btn {
    padding: 7px 14px;
    font-weight: 700;
    font-size: 12px;
    color: #0b0d12;
    background: var(--gradient-gold-btn);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.header-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-action-primary {
    background: var(--gradient-gold-btn);
    color: #0b0d12;
    font-weight: 700;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-action-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

[data-theme="light"] .btn-action-primary {
    background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    box-shadow: 0 2px 8px rgba(13, 15, 21, 0.12) !important;
}

[data-theme="light"] .btn-action-primary:hover {
    background: linear-gradient(135deg, #252b39 0%, #141822 100%) !important;
    color: #f7e0a8 !important;
    border-color: #c5a059 !important;
}

[data-theme="light"] .header-cta-btn {
    background: linear-gradient(135deg, #181b24 0%, #0d0f15 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    box-shadow: 0 2px 8px rgba(13, 15, 21, 0.12) !important;
}

[data-theme="light"] .header-cta-btn:hover {
    background: linear-gradient(135deg, #252b39 0%, #141822 100%) !important;
    color: #f7e0a8 !important;
    border-color: #c5a059 !important;
}

[data-theme="light"] .stepper-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .stepper-chip.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
}

[data-theme="light"] .stepper-chip.active strong,
[data-theme="light"] .stepper-chip.active span {
    color: #ffffff !important;
}

[data-theme="light"] .stepper-chip.active .stepper-num {
    background: #c5a059 !important;
    color: #0b0d12 !important;
}

[data-theme="light"] .stepper-chip.completed {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
    color: #8f671c;
}

[data-theme="light"] .stepper-chip.completed .stepper-num {
    background: #c5a059;
    color: #0b0d12;
}

[data-theme="light"] .legend-dot.active {
    background: #0f172a !important;
    border: 1px solid var(--border-gold) !important;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (CLARO / ESCURO)
   ========================================================================== */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    user-select: none;
    line-height: 1;
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

[data-theme="light"] .theme-icon-light {
    display: none;
}
[data-theme="light"] .theme-icon-dark {
    display: inline;
}

:root:not([data-theme="light"]) .theme-icon-light {
    display: inline;
}
:root:not([data-theme="light"]) .theme-icon-dark {
    display: none;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
    max-width: 100vw;
    width: 100%;
}

body {
    overflow-x: clip;
    max-width: 100vw;
    width: 100%;
    position: relative;
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.09) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(158, 34, 34, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(197, 160, 89, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-silver);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 90px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0b0d12;
}
::-webkit-scrollbar-thumb {
    background: #252a36;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-link {
    color: var(--text-silver);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.top-bar-link:hover {
    color: var(--gold-primary);
}

.wpp-contact-link {
    color: #25d366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.wpp-contact-link:hover {
    opacity: 0.85;
}

header.site-header {
    background: var(--bg-header);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-card);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-crest {
    width: 48px;
    height: 48px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.brand-crest img, .brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    transition: transform 0.2s ease;
}

.brand-crest:hover img, .brand:hover .brand-logo-img {
    transform: scale(1.06);
}

[data-theme="light"] .brand-crest img,
[data-theme="light"] .brand-logo-img {
    filter: invert(0.92) brightness(0.18) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
}

.brand-crest::after {
    display: none !important;
}

@keyframes crestShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    20%, 100% { transform: translateX(100%) rotate(45deg); }
}

.brand-title {
    font-family: var(--font-brand);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2.5px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    line-height: 1.1;
}

.brand-sub {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 2px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease;
    padding: 6px 10px;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.btn-admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 50px;
    background: rgba(26, 31, 44, 0.7);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-admin-pill:hover {
    background: var(--gold-primary);
    color: #0b0d12;
    box-shadow: 0 0 16px var(--border-gold-glow);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION & CINEMATIC AMBIENCE
   ========================================================================== */
@keyframes ambientGlowFlow {
    0%, 100% {
        opacity: 0.45;
        transform: scale(1) translate(0, 0);
    }
    50% {
        opacity: 0.75;
        transform: scale(1.08) translate(0, -6px);
    }
}

.hero-section {
    padding: 32px 0 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroEntranceFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(700px, 90vw);
    height: 180px;
    background: radial-gradient(ellipse at center, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.03) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    animation: ambientGlowFlow 7s ease-in-out infinite;
}

@keyframes titleShimmerFlow {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.5vw, 42px);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-title span {
    background: linear-gradient(90deg, #eddba6 0%, #ffffff 25%, #c5a059 50%, #eddba6 75%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShimmerFlow 6s linear infinite;
    display: inline;
}

[data-theme="light"] .hero-title span {
    background: none;
    -webkit-text-fill-color: initial;
    color: #92691e;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 660px;
    margin: 0 auto 18px;
    font-weight: 400;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.hero-simple-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 16px;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
    animation: pulseRadar 2s infinite ease-in-out;
}

.hero-actions-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.hero-simple-tags {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-simple-tags span {
    font-size: 12px;
    color: var(--text-silver);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* TRUST BAR */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 38px;
}

.trust-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.trust-item:hover {
    transform: translateY(-2px);
    border-color: var(--border-card);
}

.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid var(--border-card);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 13px;
    color: var(--text-white);
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ==========================================================================
   PROGRESSIVE STEPPER (ETAPAS DO AGENDAMENTO)
   ========================================================================== */
.stepper-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stepper-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.stepper-chip.active {
    background: var(--gradient-gold-btn);
    border-color: var(--gold-primary);
    color: #0b0d12;
    box-shadow: 0 0 14px var(--gold-glow);
    font-weight: 800;
}

.stepper-chip.completed {
    border-color: var(--border-gold);
    color: var(--gold-primary);
    background: var(--gold-dim);
}

.stepper-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.stepper-chip.active .stepper-num {
    background: #0b0d12;
    color: var(--gold-primary);
    font-weight: 800;
}

.stepper-chip.completed .stepper-num {
    background: var(--gold-primary);
    color: #0b0d12;
    font-weight: 800;
}

.stepper-arrow {
    color: #3a4253;
    font-size: 14px;
}

/* SECTION HEADERS */
.section-headline {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.section-headline h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-headline h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-headline p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ==========================================================================
   ETAPA 1: CARDS DOS BARBEIROS (EDUARDO & JOÃO GUILHERME)
   ========================================================================== */
.barber-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .barber-grid {
        grid-template-columns: 1fr;
    }
}

.barber-card-premium {
    background: var(--gradient-card);
    border: 2px solid var(--border-subtle);
    border-radius: 18px;
    padding: 24px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    overflow: hidden;
    user-select: none;
}

.barber-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.3s ease;
    z-index: 2;
}

/* Efeito de feixe de luz especular deslizando no hover */
.barber-card-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(197, 160, 89, 0.12) 50%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1;
}

.barber-card-premium:hover:not(.barber-off)::after {
    left: 200%;
    transition: left 0.85s ease-in-out;
}

.barber-card-premium:hover:not(.barber-off) {
    border-color: rgba(197, 160, 89, 0.5);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 16px rgba(197, 160, 89, 0.15);
}

@keyframes goldCardBreathing {
    0%, 100% {
        box-shadow: var(--shadow-gold), 0 8px 24px rgba(0, 0, 0, 0.5);
        border-color: var(--border-gold);
    }
    50% {
        box-shadow: 0 0 28px rgba(197, 160, 89, 0.42), 0 12px 32px rgba(0, 0, 0, 0.6);
        border-color: #dfba74;
    }
}

.barber-card-premium.active {
    border-color: var(--border-gold);
    background: linear-gradient(180deg, #1f2638 0%, #121622 100%);
    animation: goldCardBreathing 3.5s ease-in-out infinite;
}

.barber-card-premium.active::before {
    background: var(--gradient-gold);
}

.barber-card-premium.barber-off {
    opacity: 0.55;
    cursor: not-allowed;
    border-color: rgba(239, 68, 68, 0.25);
}

.barber-photo-box {
    width: 86px;
    height: 86px;
    border-radius: 20px;
    background: #ffffff;
    border: 2px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

.barber-avatar-svg {
    width: 76px;
    height: 76px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.barber-card-premium:hover .barber-photo-box {
    border-color: var(--gold-primary);
    box-shadow: 0 0 16px rgba(197, 160, 89, 0.35), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.barber-card-premium:hover .barber-avatar-svg {
    transform: scale(1.08);
}

.barber-card-premium.active .barber-photo-box {
    border-color: var(--gold-primary);
    background: #ffffff;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.45), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.barber-card-premium.active .barber-avatar-svg {
    transform: scale(1.06);
}

.barber-avatar-svg circle[fill="#121620"],
.barber-avatar-svg circle[fill="#121622"] {
    fill: #ffffff !important;
}

.barber-avatar-svg text {
    fill: #8f671c !important;
}

@keyframes ringSpinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.avatar-ring-spin {
    transform-origin: 50px 50px;
    animation: ringSpinSlow 22s linear infinite;
}

.barber-card-premium:hover .avatar-ring-spin {
    animation-duration: 7s;
}

.live-pulse {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: var(--green-emerald);
    border: 3px solid #0c0f16;
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green-emerald);
    z-index: 2;
}

.barber-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.barber-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.barber-name-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.barber-card-premium.active .barber-name-title {
    color: var(--gold-primary);
}

.selection-indicator {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: transparent;
    transition: all 0.2s ease;
}

.barber-card-premium.active .selection-indicator {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0b0d12;
    font-weight: 800;
}

.barber-specialty {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.4;
}

.barber-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    flex-wrap: wrap;
}

.meta-pill {
    padding: 4px 11px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-silver);
    font-weight: 500;
}

.barber-card-premium.active .meta-pill.highlight {
    background: var(--gold-dim);
    border-color: var(--border-card);
    color: var(--gold-primary);
    font-weight: 700;
}

/* ==========================================================================
   ETAPA 2: CATEGORIAS & SELEÇÃO DE PROCEDIMENTOS (11 SERVIÇOS)
   ========================================================================== */
.category-filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.category-filter-bar::-webkit-scrollbar {
    display: none;
}

.btn-filter-tag {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-filter-tag:hover {
    border-color: var(--border-card);
    color: var(--text-white);
}

.btn-filter-tag.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0b0d12;
    box-shadow: 0 2px 10px rgba(197, 160, 89, 0.3);
}

.service-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
    margin-bottom: 40px;
}

.service-select-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.service-select-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(197, 160, 89, 0.12) 50%, transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
}

.service-select-card:hover::after {
    left: 200%;
    transition: left 0.85s ease-in-out;
}

.service-select-card:hover {
    border-color: rgba(197, 160, 89, 0.5);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 14px rgba(197, 160, 89, 0.12);
}

.service-select-card.selected {
    border-color: var(--border-gold);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.14) 0%, rgba(20, 24, 34, 0.96) 100%);
    box-shadow: var(--shadow-gold), 0 6px 20px rgba(0, 0, 0, 0.4);
}

.service-card-info {
    flex: 1;
}

.service-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.service-select-card.selected .service-card-title {
    color: var(--gold-primary);
}

.service-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-card-price-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.service-price-tag {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
}

.service-radio-mark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-select-card.selected .service-radio-mark {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0b0d12;
    font-weight: 800;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    animation: spinCheckIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ==========================================================================
   ETAPA 3: CALENDÁRIO MENSAL INTERATIVO & HORÁRIOS
   ========================================================================== */
.calendar-panel {
    background: var(--gradient-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 16px 14px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    scroll-margin-top: 100px;
}

.calendar-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    gap: 8px;
}

.calendar-month-year {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: var(--gold-primary);
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.calendar-nav-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-cal-nav {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-cal-nav:hover {
    background: var(--gold-dim);
    transform: scale(1.05);
}

.btn-cal-today {
    height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--gold-dim);
    border: 1px solid var(--border-card);
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-cal-today:hover {
    background: var(--gold-primary);
    color: #0b0d12;
}

.calendar-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 4px 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 6px;
}

.calendar-month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-cell {
    min-height: 32px;
    border-radius: 6px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    padding: 2px;
}

.cal-day-cell:hover:not(.is-past):not(.is-empty) {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.cal-day-cell.is-today {
    border-color: var(--gold-primary);
}

.cal-day-cell.is-today::after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-primary);
}

.cal-day-cell.is-selected {
    background: var(--gradient-gold-btn) !important;
    border-color: var(--gold-primary) !important;
    color: #0b0d12 !important;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.4);
    transform: translateY(-2px);
    z-index: 2;
}

.cal-day-cell.is-selected .cal-day-num {
    color: #0b0d12 !important;
    font-weight: 800;
}

.cal-day-cell.is-selected .cal-day-tag {
    color: #3b2c0e !important;
    font-weight: 800;
}

.cal-day-cell.is-selected::after {
    display: none;
}

.cal-day-cell.is-past {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background: transparent;
}

.cal-day-cell.is-empty {
    opacity: 0;
    pointer-events: none;
    border: none;
    background: transparent;
}

.cal-day-cell.is-off {
    opacity: 0.6;
}

.cal-day-num {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.cal-day-tag {
    font-size: 8px;
    font-weight: 800;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cal-day-tag.off {
    color: #f59e0b;
}

.calendar-selected-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-subtle);
}

.selected-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
}

.selected-date-badge .badge-icon {
    font-size: 16px;
}

.calendar-quick-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: var(--text-muted);
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.active {
    background: var(--gold-primary);
}

.legend-dot.today {
    border: 2px solid var(--gold-primary);
}

.legend-dot.off {
    background: #f59e0b;
}

@media (max-width: 600px) {
    .calendar-panel {
        padding: 16px 12px;
    }
    .cal-day-cell {
        min-height: 44px;
        border-radius: 8px;
    }
    .cal-day-num {
        font-size: 13px;
    }
    .cal-day-tag {
        font-size: 8px;
    }
}

.date-pill-btn.active .date-pill-month {
    color: #3d3015;
}

/* SLOTS CONTAINER */
.slots-wrapper {
    background: var(--gradient-card);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-sm);
}

.slots-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.slots-banner-left h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-white);
    margin-bottom: 2px;
}

.slots-banner-left p {
    font-size: 12px;
    color: var(--text-muted);
}

.status-legend-group {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
}

.legend-chip {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chip-circle {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.chip-circle.available {
    background: var(--green-emerald);
    box-shadow: 0 0 8px var(--green-glow);
}

.chip-circle.busy {
    background: #3f4756;
}

.period-block {
    margin-bottom: 14px;
}

.period-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--border-subtle);
}

.period-title-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary);
}

.period-icon-svg {
    stroke: var(--gold-primary);
    flex-shrink: 0;
}

.period-name {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gold-primary);
}

.period-hours {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-left: 4px;
}

.period-count-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.period-count-badge.has-free {
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold-primary);
}

.period-count-badge.empty {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    opacity: 0.7;
}

.slots-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 5px;
}

.slot-chip, .slot-ticket {
    height: 33px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    border: none;
    padding: 0 8px;
}

.slot-chip.free, .slot-ticket.free {
    background: var(--bg-input);
    border: 1px solid var(--border-card);
    color: var(--text-white);
    cursor: pointer;
}

.slot-chip.free:hover, .slot-ticket.free:hover {
    border-color: var(--gold-primary);
    background: var(--gold-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.3);
    color: var(--gold-primary);
}

.slot-chip.free.selected, .slot-ticket.free.selected {
    background: var(--gradient-gold-btn) !important;
    border-color: var(--gold-primary) !important;
    color: #0b0d12 !important;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.45);
    transform: translateY(-2px);
    z-index: 2;
}

.slot-chip.free.selected .chip-check {
    font-size: 12px;
    font-weight: 900;
    margin-left: 2px;
}

.slot-chip.busy, .slot-ticket.busy {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
    font-weight: 500;
}

.chip-time, .ticket-time {
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   BARRA FLUTUANTE DE RESUMO (FLOATING BOOKING DOCK)
   ========================================================================== */
.floating-booking-dock {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 40px);
    max-width: 900px;
    background: var(--bg-dock);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 10px 16px 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-floating);
    z-index: 900;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-booking-dock.active {
    transform: translateX(-50%) translateY(0);
}

.dock-info-pills {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dock-pill-item {
    display: flex;
    flex-direction: column;
}

.dock-pill-item .dock-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.dock-pill-item .dock-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
}

.dock-pill-item .dock-val.price {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 16px;
}

.dock-btn-action {
    background: var(--gradient-gold-btn);
    color: #0b0d12;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dock-btn-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

/* ==========================================================================
   MODAL / SHEET EXPERIÊNCIA VOUCHER
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-sheet {
    background: var(--bg-modal);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-gold), var(--shadow-md);
    position: relative;
    animation: sheetAppear 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetAppear {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-sheet-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title-box h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-primary);
    letter-spacing: 1px;
}

.modal-title-box p {
    font-size: 12px;
    color: var(--text-muted);
}

.modal-close-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    border-color: var(--gold-primary);
    color: var(--text-white);
}

.modal-sheet-body {
    padding: 22px;
}

/* Appointment Info Pill */
.appointment-summary-pill {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(20, 24, 34, 0.9) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pill-col .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold-primary);
    margin-bottom: 2px;
}

.pill-col .val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-silver);
    margin-bottom: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-glow);
}

.btn-cta-gold {
    width: 100%;
    background: var(--gradient-gold-btn);
    color: #0b0d12;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}

.btn-cta-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(197, 160, 89, 0.45);
}

/* VOUCHER DE CONFIRMAÇÃO */
.ticket-confirmation {
    background: var(--bg-voucher);
    border: 2px dashed var(--border-gold);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

.ticket-header {
    text-align: center;
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: 14px;
    margin-bottom: 14px;
}

.ticket-check {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-glow);
    border: 1px solid var(--green-emerald);
    color: var(--green-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 10px;
}

.ticket-header h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.ticket-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 16px;
}

.ticket-detail-item strong {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.ticket-detail-item span {
    color: var(--text-white);
    font-weight: 700;
}

.btn-whatsapp-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
}

.btn-whatsapp-big:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   SEÇÃO DE LOCALIZAÇÃO & MAPA INTERATIVO CLICÁVEL
   ========================================================================== */
.location-section {
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.location-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.location-heading {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text-white);
    margin-bottom: 6px;
}

.location-sub {
    font-size: 14px;
    color: var(--text-muted);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr;
    }
}

.location-info-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.location-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-gold);
}

.location-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.location-icon-bubble {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold);
}

.location-venue-name {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--gold-primary);
    margin-bottom: 2px;
}

.location-address-line {
    font-size: 14px;
    color: var(--text-white);
    font-weight: 600;
}

.location-ref {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.location-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat-chip {
    font-size: 11px;
    font-weight: 700;
    background: rgba(26, 31, 44, 0.85);
    border: 1px solid rgba(197, 160, 89, 0.25);
    color: var(--text-silver);
    padding: 6px 12px;
    border-radius: 50px;
    letter-spacing: 0.3px;
}

.location-hours-box {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-white);
}

.hours-row.closed {
    color: #f59e0b;
}

.location-actions-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

.btn-location-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.btn-location-action.google {
    background: linear-gradient(135deg, #dfba74 0%, #c5a059 100%);
    color: #0b0d12;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-location-action.google:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

.btn-location-action.waze {
    background: rgba(43, 194, 255, 0.12);
    border: 1px solid rgba(43, 194, 255, 0.4);
    color: #55d6ff;
}

.btn-location-action.waze:hover {
    background: rgba(43, 194, 255, 0.2);
    transform: translateY(-2px);
    border-color: #55d6ff;
}

.btn-location-action.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.btn-location-action.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
    border-color: #25d366;
}

/* MAPA CLICÁVEL & DARK STYLING */
.location-map-card {
    border-radius: 18px;
    border: 1px solid var(--border-gold);
    overflow: hidden;
    box-shadow: var(--shadow-gold), var(--shadow-sm);
    position: relative;
    min-height: 380px;
    background: var(--bg-surface);
    transition: all 0.3s ease;
}

.location-map-card:hover {
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.35);
    border-color: #eddba6;
}

.map-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.map-interactive-container {
    width: 100%;
    height: 100%;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

.map-embedded-frame {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: none;
    filter: grayscale(40%) contrast(105%) brightness(90%);
    transition: filter 0.3s ease;
    pointer-events: none;
}

.location-map-card:hover .map-embedded-frame {
    filter: grayscale(10%) contrast(105%) brightness(95%);
}

.map-pinpoint-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.pinpoint-marker {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(197, 160, 89, 0.5);
}

.pinpoint-crest {
    transform: rotate(45deg);
    font-size: 20px;
}

.pinpoint-pulse-ring {
    position: absolute;
    width: 58px;
    height: 58px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    animation: pinPulse 2s infinite ease-out;
}

@keyframes pinPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.pinpoint-tooltip {
    margin-top: 14px;
    background: rgba(14, 18, 26, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pinpoint-tooltip strong {
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.pinpoint-tooltip span {
    color: var(--text-silver);
    font-size: 11px;
}

.status-badge-open {
    color: #10b981 !important;
    font-size: 10px !important;
    font-weight: 700;
}

.map-hover-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 13, 19, 0.92);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: all 0.25s ease;
}

.location-map-card:hover .map-hover-hint {
    background: var(--gold-primary);
    color: #0b0d12;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

/* ==========================================================================
   RODAPÉ EXCLUSIVO & ÁREA DOS BARBEIROS
   ========================================================================== */
footer.site-footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-card);
    padding: 50px 0 24px;
    margin-top: auto;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-brand);
    font-size: 18px;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.footer-crest {
    font-size: 22px;
}

.footer-about-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contacts {
    font-size: 12px;
    color: var(--text-silver);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col-heading {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--text-white);
    letter-spacing: 1px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 6px;
}

.footer-col-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--gold-primary);
    transform: translateX(4px);
}

.footer-info-block {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ÁREA DOS BARBEIROS NO FOOTER */
.barber-admin-col {
    display: flex;
    flex-direction: column;
}

.footer-admin-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.btn-footer-admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    background: rgba(197, 160, 89, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-admin-login:hover {
    background: var(--gold-primary);
    color: #0b0d12;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.4);
}

.footer-system-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--green-emerald);
    margin-top: 12px;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green-emerald);
    box-shadow: 0 0 8px var(--green-emerald);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   ADMIN & CLIENT DASHBOARDS
   ========================================================================== */
.admin-navbar {
    background: var(--bg-navbar-admin);
    border-bottom: 1px solid var(--border-card);
    padding: 16px 0;
}

.admin-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-links a {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.admin-links a:hover,
.admin-links a.active {
    background: var(--bg-card);
    border-color: var(--border-card);
    color: var(--gold-primary);
}

.kpis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.kpi-stat-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.kpi-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kpi-stat-number {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-white);
}

.kpi-stat-number.gold {
    color: var(--gold-primary);
}

.kpi-stat-number.green {
    color: var(--green-emerald);
}

.table-panel {
    background: var(--gradient-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

table.luxury-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

table.luxury-table th {
    background: var(--bg-table-th);
    padding: 15px;
    color: var(--gold-primary);
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-subtle);
}

table.luxury-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-silver);
}

table.luxury-table tr:hover td {
    background: rgba(197, 160, 89, 0.03);
}

.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-status.CONFIRMADO {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.PENDENTE {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-status.CONCLUIDO {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-status.CANCELADO {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-action-xs {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: #181d28;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-action-xs:hover {
    background: #242c3d;
    border-color: var(--gold-primary);
}

.btn-action-xs.success {
    background: #065f46;
    border-color: #059669;
}

.btn-action-xs.danger {
    background: #7f1d1d;
    border-color: #991b1b;
}

.alert-flash {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 14px;
}

.alert-flash.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #34d399;
}

.alert-flash.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #f87171;
}

/* ==========================================================================
   PAINEL DO BARBEIRO OTIMIZADO (COMPACTO, MODERNO E SEM EMOJIS)
   ========================================================================== */
.admin-chair-strip {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.chair-barber-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chair-status-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.chair-status-badge.on {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.chair-status-badge.off {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-toolbar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.date-nav-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 4px;
    border-radius: 10px;
}

.date-nav-btn {
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}

.date-nav-btn:hover, .date-nav-btn.active {
    background: var(--bg-surface);
    color: var(--gold-primary);
}

.date-input-clean {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    outline: none;
    cursor: pointer;
}

.kpis-dense-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .kpis-dense-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.kpi-dense-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-dense-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.kpi-dense-val {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.1;
}

.kpi-dense-val.gold { color: var(--gold-primary); }
.kpi-dense-val.green { color: #10b981; }

@media (max-width: 768px) {
    .main-content {
        padding-top: 10px !important;
    }
    .admin-navbar {
        padding: 8px 0;
    }
    .admin-chair-strip {
        padding: 6px 10px;
        margin-bottom: 8px;
        gap: 6px;
    }
    .admin-toolbar-row {
        gap: 6px;
        margin-bottom: 8px;
    }
    .kpis-dense-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 4px;
        margin-bottom: 8px;
    }
    .kpi-dense-card {
        padding: 5px 6px;
        border-radius: 6px;
    }
    .kpi-dense-label {
        font-size: 8px;
        letter-spacing: 0;
        margin-bottom: 1px;
    }
    .kpi-dense-val {
        font-size: 13px;
    }
    .tab-switcher-nav {
        margin-bottom: 8px !important;
        gap: 4px;
    }
    .btn-tab-view {
        padding: 5px 8px !important;
        font-size: 11px !important;
    }
    .appointment-mobile-card {
        padding: 10px 12px;
        gap: 8px;
    }
    .mob-card-time {
        font-size: 14px;
    }
    .mob-card-client {
        font-size: 14px;
    }
    .mob-card-service {
        font-size: 12px;
    }
    .mob-card-whatsapp-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    .mob-btn-concluir, .mob-btn-cancelar {
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* Responsive Appointments: Table on Desktop, Cards on Mobile */
.desktop-table-container {
    display: block;
}

.mobile-cards-container {
    display: none;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .desktop-table-container {
        display: none;
    }
    .mobile-cards-container {
        display: flex;
    }
}

.appointment-mobile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.appointment-mobile-card.status-concluido {
    border-color: rgba(59, 130, 246, 0.3);
    opacity: 0.85;
}

.appointment-mobile-card.status-cancelado {
    border-color: rgba(239, 68, 68, 0.3);
    opacity: 0.6;
}

.mob-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
}

.mob-card-time {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
}

.mob-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mob-card-client {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.mob-card-service {
    font-size: 13px;
    color: var(--gold-primary);
    font-weight: 600;
}

.mob-card-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25d366;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.mob-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border-subtle);
}

.mob-btn-concluir {
    background: #059669;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.mob-btn-cancelar {
    background: transparent;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   ADVANCED MOTION & MICRO-INTERACTIONS SYSTEM (V2.0 HIGH CRAFT)
   ========================================================================== */

/* 1. Radar Beacon Pulse for Active Barbers */
@keyframes pulseRadar {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.live-pulse {
    animation: pulseRadar 2s infinite ease-in-out !important;
}

/* 2. Gold Shimmer for Key Actions */
@keyframes goldShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.dock-btn-action {
    background: linear-gradient(135deg, #dfba74 0%, #c5a059 40%, #eddba6 70%, #9e7832 100%) !important;
    background-size: 200% auto !important;
    animation: goldShimmer 4s infinite linear !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dock-btn-action:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 24px rgba(197, 160, 89, 0.55) !important;
}

.dock-btn-action:active {
    transform: translateY(0) scale(0.97) !important;
}

/* 3. Slot Pop Interaction */
@keyframes slotPop {
    0% { transform: scale(0.94); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.slot-ticket.free.selected {
    animation: slotPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* 4. Elastic Spring Floating Booking Dock */
.floating-booking-dock {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease !important;
}

/* 5. Stamp Reveal on Confirmation Voucher */
@keyframes stampReveal {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(6deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.ticket-check {
    animation: stampReveal 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
}

/* 6. WhatsApp Button Pulse */
@keyframes pulseWhatsapp {
    0%, 100% {
        box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6), 0 0 14px rgba(37, 211, 102, 0.3);
    }
}

.btn-whatsapp-big {
    animation: pulseWhatsapp 2.5s infinite ease-in-out !important;
}

.btn-whatsapp-big:active {
    transform: scale(0.98) !important;
}

/* 7. Spin Checkmark Pop */
@keyframes spinCheckIn {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.2) rotate(12deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* 8. Hero & Section Entrance Stagger */
@keyframes heroEntranceFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-indicator-wrapper {
    animation: heroEntranceFade 0.75s cubic-bezier(0.16, 1, 0.3, 1) both 0.12s;
}

.barber-grid {
    animation: heroEntranceFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.2s;
}

/* 9. Card Entrance Animation */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service-select-card {
    animation: cardEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 10. Skeleton Loading Shimmer */
@keyframes skeletonWave {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton-loading {
    background: linear-gradient(90deg, #10131b 0%, #1e2433 50%, #10131b 100%) !important;
    background-size: 200% 100% !important;
    animation: skeletonWave 1.4s infinite linear !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    cursor: wait !important;
}

/* 9. Micro-interactions: Active Click Feedback */
button:active:not(:disabled),
.service-select-card:active,
.barber-card-premium:active:not(.barber-off),
.date-pill-btn:active {
    transform: scale(0.98);
}

/* 10. Respect User Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   ADMIN WORKSTATION: TABS, TIMELINE & LIVE ALERTS
   ========================================================================== */
.tab-switcher-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 14px;
}

.btn-tab-view {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-silver);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-tab-view:hover {
    border-color: var(--border-card);
    color: var(--gold-primary);
    background: var(--bg-pill-hover);
}

.btn-tab-view.active {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0b0d12;
    box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

/* Visual Timeline Schedule */
.timeline-schedule-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-slot-row {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.2s ease;
}

.timeline-slot-row:hover {
    border-color: var(--border-card);
    transform: translateX(4px);
}

.timeline-slot-row.booked {
    border-left: 4px solid var(--gold-primary);
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.08) 0%, rgba(20, 25, 36, 0.9) 100%);
}

.timeline-slot-row.blocked {
    border-left: 4px solid #ef4444;
    opacity: 0.65;
}

.timeline-slot-row.free {
    border-left: 4px solid var(--green-emerald);
}

.timeline-slot-time {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-white);
    min-width: 65px;
    flex-shrink: 0;
}

.timeline-slot-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Live Notification Toast */
.live-notify-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: var(--shadow-gold), var(--shadow-md);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: sheetAppear 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Banner de Instalação PWA no Android */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    transform: none;
    width: calc(100% - 48px);
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7), 0 0 15px rgba(197, 160, 89, 0.3);
    z-index: 850;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: sheetAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 769px) {
    .pwa-install-banner {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .pwa-install-banner {
        bottom: 85px;
        left: 16px;
        right: 16px;
        width: auto;
    }
}

/* ==========================================================================
   MELHORIAS COMPLETAS DE RESPONSIVIDADE CELULAR (320px - 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Top bar */
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 4px 0;
    }
    .top-info {
        flex-direction: column;
        gap: 2px;
        font-size: 11px;
    }

    .desktop-only-txt {
        display: none !important;
    }
    .mobile-only-txt {
        display: inline !important;
    }

    /* Header Nav Celular: Barra Ultra Compacta e Moderna */
    header.site-header {
        padding: 8px 0 !important;
        min-height: auto !important;
    }
    .header-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }
    .brand {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        text-decoration: none !important;
    }
    .brand-crest {
        width: 34px !important;
        height: 34px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }
    .brand-title {
        font-size: 15px !important;
        letter-spacing: 0.5px !important;
        line-height: 1.1 !important;
    }
    .brand-sub {
        display: none !important;
    }
    .header-nav .nav-link {
        display: none !important;
    }
    .header-nav {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
    }
    .header-cta-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
    }
    .header-nav .btn-action-xs {
        padding: 5px 8px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .theme-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 14px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    #btn-pwa-install {
        display: none !important;
    }

    /* Stepper no Celular: 100% responsivo sem estourar viewport */
    .stepper-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        gap: 4px;
        margin-bottom: 20px;
    }
    .stepper-chip {
        flex: 1 1 0%;
        min-width: 0;
        padding: 6px 4px;
        font-size: 11px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        box-sizing: border-box;
    }
    .stepper-chip strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .stepper-num {
        width: 18px;
        height: 18px;
        min-width: 18px;
        font-size: 10px;
    }
    .stepper-arrow {
        flex-shrink: 0;
        font-size: 10px;
        margin: 0 1px;
    }
    .brand-sub {
        letter-spacing: 0.5px;
        font-size: 10px;
        word-break: break-word;
    }

    /* Hero */
    .hero-section {
        padding: 24px 0 14px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-subtitle {
        font-size: 13px;
    }

    /* Barbeiros Grid no Celular */
    .barber-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .barber-card-premium {
        padding: 16px;
        gap: 12px;
    }
    .barber-photo-box {
        width: 72px;
        height: 72px;
    }
    .barber-avatar-svg {
        width: 62px;
        height: 62px;
    }
    .barber-name-title {
        font-size: 18px;
    }

    /* Grid de Procedimentos no Celular */
    .service-selection-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }
    .service-select-card {
        padding: 14px 16px;
    }

    /* Fita de Calendário com Scroll Horizontal no Celular */
    .date-scroll-strip {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        scrollbar-width: thin;
    }
    .date-pill-btn {
        min-width: 76px !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        padding: 12px 6px !important;
    }

    /* Grade de Horários no Celular */
    .slots-modern-grid {
        grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)) !important;
        gap: 8px;
    }
    .slot-ticket {
        padding: 10px 4px;
        font-size: 13px;
    }

    /* Floating Booking Dock no Celular */
    .floating-booking-dock {
        max-width: calc(100vw - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        box-sizing: border-box !important;
        bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        border-radius: 16px;
        padding: 10px 14px;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    .dock-info-pills {
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }
    .dock-pill-item .dock-label {
        font-size: 9px;
    }
    .dock-pill-item .dock-val {
        font-size: 12px;
    }
    .dock-pill-item .dock-val.price {
        font-size: 14px;
    }
    .dock-btn-action {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 10px;
    }

    /* Modal em formato Bottom Sheet no Celular */
    .modal-overlay {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .modal-sheet {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        max-height: 88vh !important;
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
    }

    /* Prevenção de auto-zoom no iOS Safari / Android Chrome */
    input[type="text"],
    input[type="tel"],
    input[type="password"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Painel do Barbeiro e Abas no Celular */
    .tab-switcher-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }
    .btn-tab-view {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 12px;
        font-size: 12px;
    }
    .timeline-slot-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }
    .timeline-slot-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .stat-card {
        padding: 14px !important;
    }
    .stat-card-value {
        font-size: 20px !important;
    }
    .luxury-table th, .luxury-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    .table-panel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Localização e Mapa no Celular */
    .location-section {
        padding: 40px 0 20px;
    }
    .location-info-card {
        padding: 20px 16px;
    }
    .location-map-card,
    .map-embedded-frame,
    .map-interactive-container {
        min-height: 280px !important;
    }
    .location-actions-group {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* ==========================================================================
   FLUXO WIZARD ETAPA POR ETAPA (AGENDAR.PHP)
   ========================================================================== */
.wizard-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 16px 40px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .wizard-container {
        padding: 8px 12px 40px;
    }
}

.wizard-step-panel {
    animation: wizardStepEntrance 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes wizardStepEntrance {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card de contexto superior (Barbeiro & Serviço) */
.booking-context-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 8px 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.context-details {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
}

.context-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.context-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    font-weight: 700;
}

.context-val {
    color: var(--gold-primary);
    font-weight: 800;
}

.context-price {
    font-size: 12px;
    color: var(--gold-primary);
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 4px;
}

.context-divider {
    color: var(--border-gold);
    font-weight: 800;
}

.context-actions {
    display: flex;
    gap: 8px;
}

.btn-context-change {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-context-change:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-dim);
}

.btn-context-change.active {
    border-color: var(--border-gold);
    color: var(--gold-primary);
    background: var(--gold-dim);
}

[data-theme="light"] .booking-context-card {
    background: #ffffff;
    border-color: rgba(184, 134, 45, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .context-price {
    color: var(--gold-deep);
    background: rgba(184, 134, 45, 0.12);
    border-color: rgba(184, 134, 45, 0.35);
}

[data-theme="light"] .btn-context-change {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #475569;
}

[data-theme="light"] .btn-context-change:hover {
    background: rgba(184, 134, 45, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-deep);
}

/* Layout Lado a Lado para Etapa 3 (Calendário + Horários) */
.step3-scheduling-grid {
    display: grid;
    grid-template-columns: 390px 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 30px;
}

.step3-scheduling-grid .calendar-panel {
    margin-bottom: 0;
    padding: 20px 18px;
}

.step3-scheduling-grid .slots-wrapper {
    margin-bottom: 0;
    padding: 16px 20px;
    border-radius: 18px;
    max-height: 381px;
    overflow-y: auto;
}

@media (max-width: 980px) {
    .step3-scheduling-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.wizard-step-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    color: var(--gold-primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wizard-back:hover {
    background: var(--gold-dim);
    transform: translateX(-3px);
}

.badge-chosen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--gold-dim);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 13px;
    color: var(--gold-primary);
}

.stepper-chip.clickable {
    cursor: pointer;
}
.stepper-chip.clickable:hover {
    border-color: var(--gold-primary);
    transform: translateY(-1px);
}


/* ==========================================================================
   HOTFIX RESPONSIVIDADE E THEME TOGGLE MOBILE
   ========================================================================== */
.theme-toggle-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 768px) {
    .admin-nav-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        text-align: center !important;
    }
    .admin-nav-inner .brand {
        justify-content: center !important;
    }
    .admin-nav-inner {
        gap: 8px !important;
    }
    .admin-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
        padding-bottom: 4px !important;
    }
    .admin-links::-webkit-scrollbar {
        display: none !important;
    }
    .admin-links a {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    .table-panel {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100% !important;
    }
    .desktop-table-container {
        display: none !important;
    }
    .mobile-cards-container {
        display: flex !important;
    }
    .step3-scheduling-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    .step3-scheduling-grid .slots-wrapper {
        max-height: none !important;
        overflow-y: visible !important;
    }
    .category-filter-bar {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        max-width: 100% !important;
    }
    .category-filter-bar::-webkit-scrollbar {
        display: none !important;
    }
}


@media (max-width: 768px) {
    .tab-switcher-nav {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        max-width: 100% !important;
        white-space: nowrap !important;
        display: flex !important;
        padding-bottom: 4px !important;
    }
    .tab-switcher-nav::-webkit-scrollbar {
        display: none !important;
    }
    .date-nav-group {
        flex-wrap: wrap !important;
        max-width: 100% !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .date-nav-group form, .admin-controls-bar form {
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
    }
    .date-input-clean {
        max-width: 130px !important;
    }
}


/* ==========================================================================
   ADMIN LIGHT & DARK MODE POLISH (HIGH CRAFT)
   ========================================================================== */
[data-theme="light"] .admin-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .admin-chair-strip {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .kpi-dense-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] .date-nav-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

[data-theme="light"] .date-nav-btn:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

[data-theme="light"] .date-nav-btn.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
}

[data-theme="light"] .date-input-clean {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] select {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .table-panel {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

[data-theme="light"] table.luxury-table th {
    background: #f8fafc !important;
    color: #8f671c !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] table.luxury-table td {
    color: #334155 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] table.luxury-table tr:hover td {
    background: rgba(197, 160, 89, 0.05) !important;
}

[data-theme="light"] .modal-content,
[data-theme="light"] .modal-sheet {
    background: #ffffff !important;
    border-color: rgba(184, 134, 45, 0.3) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

[data-theme="light"] .form-field label {
    color: #475569 !important;
}

[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}


/* ==========================================================================
   LUNCH BREAK STYLES
   ========================================================================== */
.slot-chip.slot-lunch {
    background: rgba(197, 160, 89, 0.05) !important;
    border: 1px dashed rgba(197, 160, 89, 0.4) !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
}

[data-theme="light"] .slot-chip.slot-lunch {
    background: rgba(184, 134, 45, 0.08) !important;
    border: 1px dashed rgba(184, 134, 45, 0.45) !important;
}


/* ==========================================================================
   BADGE RECORRÊNCIA E CLIENTES FIXOS
   ========================================================================== */
.badge-recurrence {
    font-size: 10px;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.14);
    border: 1px solid rgba(59, 130, 246, 0.32);
    border-radius: 4px;
    padding: 1px 6px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-transform: capitalize;
}

[data-theme="light"] .badge-recurrence {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    border-color: rgba(37, 99, 235, 0.3);
}


/* CTA Hero Button Pulse Animation */
@keyframes pulseGoldCta {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 18px rgba(197, 160, 89, 0.35);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 8px 32px rgba(197, 160, 89, 0.7), 0 0 16px rgba(197, 160, 89, 0.45);
    }
}

.btn-cta-pulse {
    animation: pulseGoldCta 2s infinite cubic-bezier(0.4, 0, 0.6, 1) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-cta-pulse:hover {
    animation-play-state: paused !important;
    transform: scale(1.06) !important;
}


/* ==========================================================================
   MOBILE MENU DRAWER & HAMBURGER (ACESSO TOTAL AOS BOTÕES)
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold-primary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.mobile-menu-toggle:hover {
    background: rgba(197, 160, 89, 0.15);
}
.mobile-nav-drawer {
    display: none;
    background: var(--bg-card);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
    padding: 12px 14px 16px;
    animation: drawerSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-nav-drawer.open {
    display: block !important;
}
@keyframes drawerSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    min-height: 44px;
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    box-sizing: border-box;
}
.drawer-link:hover {
    border-color: var(--border-gold);
    color: var(--gold-primary);
}
.drawer-link.highlight {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
    color: #0b0c10 !important;
    font-weight: 800;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
    .header-nav .header-cta-btn {
        display: none !important; /* Acesso principal pelo Hero pulsante e pelo menu gaveta */
    }
    .brand-title {
        font-size: 14px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
    }
    .header-nav {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }
}


/* ==========================================================================
   PAINEL ADMIN v3 - edição de agendamento + correções de layout (2026-10)
   ========================================================================== */
:root { color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }

/* Tabela: sem quebras feias em valor, horário, telefone e badges */
table.luxury-table th { white-space: nowrap; }
table.luxury-table td { vertical-align: middle; }
table.luxury-table td:first-child,
table.luxury-table td:nth-last-child(-n+3),
table.luxury-table td a,
table.luxury-table td span { white-space: nowrap; }

.btn-edit-ag { border-color: var(--border-gold) !important; color: var(--gold-primary) !important; }

/* Modal de edição */
.ed-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 6px;
    max-height: 260px;
    overflow-y: auto;
    padding: 2px;
}
.ed-srv {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    background: var(--bg-input);
    cursor: pointer;
    margin: 0 !important;
    transition: border-color .15s ease, background .15s ease;
}
.ed-srv input { grid-row: span 2; width: 18px !important; height: 18px; accent-color: var(--gold-primary); margin: 0; }
.ed-srv-nome { font-size: 13px; font-weight: 700; color: var(--text-white); line-height: 1.25; }
.ed-srv-meta { font-size: 11px; color: var(--text-muted); }
.ed-srv:has(input:checked) { border-color: var(--border-gold); background: var(--gold-dim); }
.ed-resumo {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px dashed var(--border-gold);
    font-size: 13px;
    color: var(--text-silver);
    line-height: 1.5;
}
.ed-resumo strong { color: var(--gold-primary); }
.ed-resumo small { color: var(--text-muted); font-size: 11px; }
.ed-aviso { color: #ef4444; font-weight: 700; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ed-forcar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin: 0 0 14px; cursor: pointer; }
.ed-forcar input { width: 16px; height: 16px; accent-color: var(--gold-primary); }
.form-field select:disabled { opacity: .6; cursor: not-allowed; }

.mob-btn-editar {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ed-srv-meta { white-space: nowrap; }

/* Modal de edição mais largo no desktop, sem scroll interno, botão salvar sempre visível */
#modal-editar-agendamento .modal-sheet { max-width: 680px; }
#modal-editar-agendamento .ed-servicos { max-height: none; overflow: visible; grid-template-columns: repeat(3, 1fr); }
#modal-editar-agendamento .btn-cta-gold { position: sticky; bottom: 12px; z-index: 2; box-shadow: 0 -12px 18px var(--bg-modal); }

/* Tabela desktop: nome e procedimento com espaço, coluna ações encolhe ao conteúdo */
table.luxury-table td:nth-last-child(6), table.luxury-table td:nth-last-child(4) { min-width: 130px; }
.desktop-table-container .table-panel { overflow-x: auto; }
.ed-srv-meta { grid-column: 2; }
table.luxury-table th:last-child, table.luxury-table td:last-child { width: 1%; }

@media (max-width: 768px) {
    /* Navegação principal quebra em linhas (Sair/tema sempre visíveis); abas rolam na horizontal */
    .admin-links {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        justify-content: center !important;
    }
    .tab-switcher-nav { flex-wrap: nowrap !important; overflow-x: auto !important; }
    .tab-switcher-nav > * { flex: none !important; }

    /* KPIs 2x2 legíveis */
    .kpis-dense-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px; }
    .kpi-dense-card { padding: 8px 10px; }
    .kpi-dense-label { font-size: 10px; }
    .kpi-dense-val { font-size: 16px; }

    /* Toolbar ocupa largura total, botões dividem a linha */
    .admin-toolbar-row > form, .admin-toolbar-row > form select, .date-nav-group { width: 100%; }
    .admin-toolbar-row > div { width: 100%; }
    .admin-toolbar-row > div > button { flex: 1; min-height: 38px; letter-spacing: normal; }
    select, input[type="date"], input[type="time"], input[type="text"], input[type="tel"], textarea { font-size: 16px !important; } /* evita zoom no iOS */

    /* Ações do card: Concluir em cima (largura total), Editar | Cancelar embaixo */
    .mob-card-actions { grid-template-columns: 1fr 1fr; }
    .mob-card-actions > form:has(.mob-btn-concluir),
    .mob-card-actions > div { grid-column: 1 / -1; order: -1; }
    .mob-card-actions > form button, .mob-btn-editar { width: 100%; }

    /* Modal: lista de serviços sem scroll aninhado */
    #modal-editar-agendamento .ed-servicos { grid-template-columns: 1fr 1fr; }
    table.luxury-table td { min-width: 0 !important; }
}
@media (max-width: 380px) {
    #modal-editar-agendamento .ed-servicos { grid-template-columns: 1fr; }
}
.desktop-table-container td:last-child > div { display: grid !important; grid-template-columns: repeat(2, auto); gap: 4px !important; }
.desktop-table-container td:last-child > div form, .desktop-table-container td:last-child > div button { width: 100%; margin: 0; }
[data-theme="light"] .ed-resumo strong { color: #8f671c; }
[data-theme="light"] .ed-srv { border-color: #94a3b8; }
#modal-editar-agendamento form { padding-bottom: 12px; }

/* ==========================================================================
   FRONTEND PUBLICO v3 (2026-10): avatares, ícones, fluxo e correções
   ========================================================================== */
.ico { display: inline-block; vertical-align: -0.15em; flex-shrink: 0; }

/* Avatar do barbeiro: foto circular ou monograma em fundo escuro */
.barber-photo-box,
[data-theme="light"] .barber-photo-box,
.barber-card-premium.active .barber-photo-box,
[data-theme="light"] .barber-card-premium.active .barber-photo-box {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #2a2f3d 0%, #12151d 70%);
    border: 2px solid var(--border-gold);
    box-shadow: none;
    overflow: visible;
}
[data-theme="light"] .barber-photo-box,
[data-theme="light"] .barber-card-premium.active .barber-photo-box {
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f1e7d3 80%);
}
.barber-avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.barber-avatar-mono {
    font-family: var(--font-heading);
    font-size: 26px; font-weight: 700; letter-spacing: 1px;
    color: var(--gold-primary);
    line-height: 1; user-select: none;
}
[data-theme="light"] .barber-avatar-mono { color: #8f671c; }
.barber-card-premium:hover .barber-photo-box { box-shadow: 0 0 0 4px var(--gold-dim); }
.live-pulse { width: 14px; height: 14px; bottom: 0; right: 0; border-width: 3px; border-color: var(--bg-card, #0c0f16); box-shadow: none; animation: none; }
@media (max-width: 768px) { .barber-photo-box { width: 64px !important; height: 64px !important; } .barber-avatar-mono { font-size: 22px; } }

/* Card selecionado sem "respirar" infinito */
.barber-card-premium.active { animation: none; box-shadow: 0 0 0 1px var(--border-gold), 0 8px 24px rgba(0,0,0,.35); }
.selection-indicator:empty { display: none; }
.meta-pill { display: inline-flex; align-items: center; gap: 5px; }
.meta-pill.highlight { color: var(--green-emerald, #10b981) !important; }

/* Filtros de categoria: rolagem lateral com dica de continuação */
.category-filter-bar {
    display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
            mask-image: linear-gradient(to right, #000 88%, transparent);
    padding-right: 24px;
}
.category-filter-bar::-webkit-scrollbar { display: none; }
.category-filter-bar > * { flex: none; }

/* Stepper compacto: sem truncar nomes */
.stepper-chip strong { white-space: nowrap; }

/* Serviços: preço nunca quebra, checkbox centralizado */
.service-price-tag, .context-price { white-space: nowrap; }
.service-select-card { align-items: center; }
.service-card-meta { display: flex; align-items: center; gap: 4px; }

/* Barra de resumo da etapa 2 fixa no rodapé no mobile */
#btn-advance-step3:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
@media (max-width: 768px) {
    #step2-selection-bar {
        position: sticky; bottom: 8px; z-index: 20;
        box-shadow: 0 -6px 24px rgba(0,0,0,.45) !important;
        backdrop-filter: blur(6px);
    }
    #step2-selection-bar .btn-cta-gold { width: 100% !important; }
}

/* Horários: almoço discreto, ocupado legível */
.slot-chip.slot-lunch { border-style: dashed !important; opacity: .45; }
.slot-chip.busy .chip-time { opacity: .75; }

/* Botões de rota com mesmo peso visual, sem quebra */
.location-actions a, .map-action-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.map-embedded-frame { pointer-events: none; filter: grayscale(.2) contrast(1.05); }

/* Rodapé no fim da tela */
body { min-height: 100dvh; display: flex; flex-direction: column; }
body > main, body > .main-content, body > .wizard-container { flex: 1 0 auto; }
/* v3.1: refinos pós-revisão */
.selection-indicator { display: none !important; }
.meta-pill.highlight { font-size: 12px; }
[data-theme="light"] .meta-pill.highlight { color: #047857 !important; }
[data-theme="light"] .barber-avatar-mono { color: #6b4e14; }
.slot-chip.busy, .slot-ticket.busy { border-style: solid !important; }
.slot-chip.slot-lunch { border-style: dashed !important; }
.slot-chip.free { border-color: var(--green-emerald, #10b981) !important; }
.theme-toggle-btn .ico { color: var(--gold-primary); }
