/* ===== Design System ===== */
:root {
    --gold: #f5b942;
    --gold-light: #fef9ec;
    --gold-dark: #c8941a;
    --gold-gradient: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
    --green: #10b981;
    --green-dark: #059669;
    --green-gradient: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --red: #ef4444;
    --blue: #3b82f6;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --gray-50: var(--slate-50);
    --gray-100: var(--slate-100);
    --gray-200: var(--slate-200);
    --gray-300: var(--slate-300);
    --gray-500: var(--slate-500);
    --gray-700: var(--slate-600);
    --gray-900: var(--slate-900);
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.15);
    --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* Visibilidade por dispositivo (CSS detecta tamanho da tela) */
.mobile-only { display: block; }
.desktop-only { display: none !important; }

html {
    background: var(--slate-100);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* ===== Shell mobile (cliente / login) ===== */
.mobile-app {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #fff;
    position: relative;
}

.booking-body.mobile-app,
.login-body.mobile-app {
    margin: 0 auto;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding-top: env(safe-area-inset-top, 0);
}

.app-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    min-height: 52px;
}

.app-header-brand {
    font-size: 1.1rem;
}

.app-header h1 {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-header-logout {
    font-size: 0.75rem;
    color: var(--gray-700);
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    white-space: nowrap;
}

.app-main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
}

.app-content {
    padding: 16px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 100;
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.06);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 4px 12px;
    text-decoration: none;
    color: var(--slate-400);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-height: 58px;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--transition);
    position: relative;
}

.bottom-nav-item .nav-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--transition);
}

.bottom-nav-item.active {
    color: var(--gold-dark);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 0 0 4px 4px;
}

.bottom-nav-item.active .nav-icon {
    transform: scale(1.1);
}

/* ===== Admin ===== */
.admin-app {
    background: var(--gray-50);
    min-height: 100vh;
    min-height: 100dvh;
}

.admin-shell {
    min-height: 100vh;
    min-height: 100dvh;
}

.desktop-sidebar {
    display: none;
}

.desktop-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.desktop-header h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

.desktop-header-user {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.sidebar-brand {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-icon { font-size: 1.5rem; }
.brand-text { font-weight: 700; font-size: 0.95rem; }

.sidebar-nav {
    flex: 1;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-nav a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border-left: 3px solid var(--gold);
}

.sidebar-icon { font-size: 1.1rem; }

.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255,255,255,0.8);
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
}

.admin-app .app-content {
    padding: 12px 16px 16px;
}

.admin-app .card {
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-list-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px;
}

.admin-list-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.admin-list-card-top strong {
    font-size: 0.95rem;
}

.admin-list-meta {
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 2px;
}

.admin-list-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 6px 0;
}

.admin-status-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
}

.admin-status-form label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.select-full {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    min-height: 48px;
}

.admin-edit-card {
    background: #fff;
}

.form-stack .form-group:last-of-type {
    margin-bottom: 8px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card-actions {
    margin-top: 12px;
}

.delete-inline {
    margin-top: -4px;
    margin-bottom: 12px;
}

.link-card .btn {
    margin-top: 8px;
}

.link-card .btn-outline {
    margin-top: 8px;
}

.link-result {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.link-success-msg {
    font-size: 0.9rem;
    color: var(--green-dark);
    font-weight: 600;
    margin-bottom: 12px;
}

#btnGerarLink {
    margin-top: 4px;
}

/* ===== Cards & Forms ===== */
.card {
    background: #fff;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.card h2 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.page-back {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    margin-bottom: 4px;
}

.page-back:hover {
    text-decoration: underline;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    border: 1px solid var(--slate-200);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.stat-card:nth-child(2)::before { background: var(--green-gradient); }
.stat-card:nth-child(3)::before { background: linear-gradient(135deg, #60a5fa, #3b82f6); }

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--slate-500);
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group small {
    display: block;
    margin-top: 4px;
    color: var(--gray-500);
    font-size: 0.8rem;
}

.input-uppercase {
    text-transform: uppercase;
}

.input-uppercase::placeholder {
    text-transform: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.form-grid .full-width { grid-column: 1 / -1; }
.form-actions { margin-top: 8px; }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.form-inline input {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.9rem;
}

.link-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.link-box input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 0.8rem;
    background: var(--gray-50);
    word-break: break-all;
}

.preview-img {
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    margin-top: 8px;
    object-fit: cover;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-xs);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--slate-900);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary { background: var(--slate-100); color: var(--slate-700); border: 1px solid var(--slate-200); }
.btn-secondary:hover { background: var(--slate-200); }

.btn-success {
    background: var(--green-gradient);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-success:hover { filter: brightness(1.05); transform: translateY(-1px); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { opacity: 0.9; }

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.btn-ghost:hover {
    background: var(--slate-100);
    border-color: var(--slate-300);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover { background: var(--gray-100); }

.btn-back { background: var(--gray-200); color: var(--gray-900); }
.btn-back:hover { background: var(--gray-300); }

.btn-reservar {
    background: var(--gold-light);
    color: var(--gray-900);
    border: 1px solid var(--gold);
}

.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

.input-sm {
    padding: 6px 8px !important;
    font-size: 0.85rem !important;
    width: auto;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
}

.input-lg {
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    width: 100%;
}

/* ===== Table ===== */
.table-responsive { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.actions-cell { white-space: nowrap; }

.filter-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.filter-bar .btn {
    flex-shrink: 0;
    min-height: 40px;
    padding: 8px 14px;
}

/* ===== Alerts ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.alert-success { background: #e8f5e9; color: #2e7d32; }
.alert-error { background: #ffebee; color: #c62828; }

.text-muted { color: var(--gray-500); font-size: 0.9rem; }

/* ===== Status badges ===== */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.status-badge.status-agendado { background: #e3f2fd; color: #1565c0; }
.status-badge.status-finalizado { background: var(--gray-700); color: #fff; }
.status-badge.status-cancelado { background: var(--red); color: #fff; }

/* Legado: mantém compatibilidade fora de .status-badge */
.status-agendado:not(.agendamento-card) { background: #e3f2fd; color: #1565c0; }
.status-finalizado:not(.agendamento-card) { background: var(--gray-700); color: #fff; }
.status-cancelado:not(.agendamento-card) { background: var(--red); color: #fff; }

/* ===== Profissionais admin ===== */
.prof-card {
    padding: 16px 0;
}

.prof-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.prof-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.prof-avatar.placeholder {
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.prof-fields { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.prof-actions { margin-top: 12px; }
.delete-form { margin-bottom: 16px; }

/* ===== Login ===== */
.login-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-900);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 16px;
    padding-top: calc(16px + env(safe-area-inset-top, 0));
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.login-brand .brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gold-gradient);
    border-radius: 18px;
    font-size: 1.75rem;
    margin-bottom: 4px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand h1 {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-top: 12px;
}

.login-brand p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.login-form .form-group { margin-bottom: 20px; }

/* ===== BOOKING (Cliente) ===== */
.booking-body {
    background: #fff;
    min-height: 100vh;
    min-height: 100dvh;
}

.booking-body.mobile-app {
    box-shadow: none;
}

.booking-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 50;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: env(safe-area-inset-top, 0);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.platform-logo {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-header {
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 36px;
    color: var(--slate-700);
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition);
}

.btn-header:hover {
    background: var(--gold-light);
    border-color: var(--gold);
    color: var(--slate-900);
}

.business-welcome {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold-light) 0%, #fff 100%);
    margin: 0;
    border-bottom: 1px solid var(--slate-200);
}

.business-welcome-text {
    flex: 1;
    min-width: 0;
}

.business-welcome-text p {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--slate-600);
    margin: 0;
}

.business-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.business-info-item {
    font-size: 0.78rem;
    color: var(--slate-600);
    text-decoration: none;
    line-height: 1.35;
}

a.business-info-item:hover {
    color: var(--gold-dark);
}

.business-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: var(--shadow);
}

.business-logo.placeholder {
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.business-welcome p {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--slate-600);
}

.business-welcome strong {
    color: var(--slate-900);
    font-weight: 700;
}

.booking-main {
    padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0));
}

body.has-sticky-bar .booking-main {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0));
}

.btn-step-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 16px 0 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--slate-500);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-step-back:hover {
    color: var(--slate-900);
}

.section-lead {
    margin: -4px 0 4px;
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.45;
}

.booking-step {
    display: none;
    padding: 0 16px;
    animation: fadeInStep 0.35s ease;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-step.active {
    display: block;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    padding: 20px 0 12px;
    color: var(--slate-900);
    letter-spacing: -0.02em;
}

.subsection-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 20px 0 12px;
}

.hint-text {
    color: var(--gray-500);
    font-size: 0.85rem;
    text-align: center;
    padding: 16px 0;
}

/* Serviços — cards modernos */
.servicos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 8px;
}

.servico-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.servico-card:active {
    transform: scale(0.98);
}

.servico-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.servico-info { flex: 1; min-width: 0; }

.servico-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.servico-desc {
    font-size: 0.8rem;
    color: var(--slate-500);
    line-height: 1.35;
    margin: 0 0 8px;
}

.servico-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.servico-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--slate-500);
    font-weight: 500;
}

.servico-tag svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

.servico-tag.price {
    color: var(--gold-dark);
    font-weight: 700;
}

.btn-reservar-sm {
    background: var(--gold-light);
    border: none;
    color: var(--slate-900);
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    flex-shrink: 0;
    min-height: 44px;
    box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.3);
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-reservar-sm svg {
    width: 14px;
    height: 14px;
}

.btn-reservar-sm:hover {
    background: var(--gold-gradient);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Profissionais */
.profissionais-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 0 12px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.prof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
    min-width: 80px;
    scroll-snap-align: start;
}

.prof-item .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    transition: border-color 0.2s;
}

.prof-item .avatar.placeholder {
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-700);
}

.prof-item.selected .avatar {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

.prof-item span {
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.selected-service-bar {
    background: var(--gold-light);
    padding: 14px 16px;
    margin: 12px -16px 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    border-top: 1px solid rgba(245, 158, 11, 0.15);
}

.selected-service-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.selected-service-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-500);
    margin-bottom: 2px;
}

.selected-service-meta {
    display: block;
    font-size: 0.78rem;
    color: var(--slate-600);
    margin-top: 2px;
}

.btn-link-change {
    border: none;
    background: #fff;
    color: var(--slate-700);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: inset 0 0 0 1px var(--slate-200);
    flex-shrink: 0;
}

.btn-link-change:hover {
    background: var(--slate-100);
}

/* Calendar strip */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cal-nav {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 12px;
    color: var(--gray-700);
}

#monthLabel {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: capitalize;
}

.dates-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    min-width: 56px;
    border: 2px solid transparent;
    transition: all 0.2s;
    scroll-snap-align: start;
}

.date-item:hover { background: var(--gray-100); }

.date-item.selected {
    background: var(--gold);
    border-color: var(--gold-dark);
}

.date-item.is-today:not(.selected) {
    border-color: var(--gold);
    background: #fffbeb;
}

.date-item.is-today .day-name {
    color: var(--gold-dark);
}

.date-item.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.date-item .day-name {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gray-500);
}

.date-item.selected .day-name { color: var(--gray-900); }

.date-item .day-num {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Horários */
.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.horario-btn {
    padding: 14px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 24px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

.horario-btn:hover { border-color: var(--gold); background: var(--gold-light); }

.horario-btn.selected {
    background: var(--gold);
    border-color: var(--gold-dark);
    font-weight: 700;
}

.horario-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Summary card */
.summary-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
    margin: 12px 0 20px;
    position: relative;
}

.summary-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.summary-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid var(--slate-100);
}

.summary-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.summary-block strong {
    font-size: 0.95rem;
    color: var(--slate-900);
}

.summary-price {
    color: var(--gold-dark) !important;
    font-size: 1.05rem !important;
}

.summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.summary-prof { font-size: 0.85rem; margin-top: 8px; }

.btn-remove {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ffcdd2;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
}

.confirm-form { margin-top: 8px; }
.confirm-form .form-group { margin-bottom: 16px; }
.confirm-form label { font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.confirm-form .field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--slate-500);
}
.confirm-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    min-height: 48px;
}

.confirm-form .btn { margin-top: 8px; }

/* Meus agendamentos */
.meus-list { margin-top: 16px; }

.meus-card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.meus-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.meus-card .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.meus-card .avatar.placeholder {
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.meus-card h4 { font-size: 0.95rem; font-weight: 700; }
.meus-card .servico-nome { font-size: 0.85rem; color: var(--gray-700); }
.meus-card .data-hora { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }
.meus-card .preco { font-size: 0.85rem; margin-top: 4px; }

.meus-card .status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

/* Success */
.success-card {
    text-align: center;
    padding: 40px 16px;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 200;
    padding: 0;
}

.modal-card {
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0));
    width: 100%;
    max-width: 430px;
    text-align: center;
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: var(--shadow-lg);
}

.modal-icon {
    width: 72px;
    height: 72px;
    background: var(--green-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin: 8px auto 16px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.modal-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--slate-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--slate-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.modal-close:hover { background: var(--slate-200); }

.login-body.mobile-app {
    width: 100%;
    box-shadow: none;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0.8; }
    to { transform: translateY(0); opacity: 1; }
}

.success-card h2 { margin-bottom: 8px; font-weight: 800; letter-spacing: -0.02em; }
.success-card p { color: var(--slate-600); margin-bottom: 24px; }

.modal-card p { font-size: 0.9rem; color: var(--slate-600); margin-bottom: 16px; line-height: 1.5; }
.modal-card .btn { margin-bottom: 8px; }

.loading {
    text-align: center;
    padding: 32px;
    color: var(--slate-400);
}

.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
}

.skeleton-card {
    height: 88px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.skeleton-horarios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.skeleton-horarios span {
    display: block;
    height: 48px;
    border-radius: 24px;
    background: linear-gradient(90deg, var(--slate-100) 25%, var(--slate-200) 50%, var(--slate-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s infinite;
}

.booking-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.booking-sticky-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.booking-sticky-info strong {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-sticky-info span {
    font-size: 0.78rem;
    color: var(--slate-500);
}

.booking-sticky-bar .btn {
    flex-shrink: 0;
    min-width: 120px;
    min-height: 48px;
    padding: 12px 18px;
}

.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0));
    z-index: 55;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transition: transform var(--transition), box-shadow var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
}

.whatsapp-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab:active {
    transform: scale(0.96);
}

body.has-sticky-bar .whatsapp-fab {
    bottom: calc(88px + env(safe-area-inset-bottom, 0));
}

.empty-state-page {
    text-align: center;
    padding: 48px 16px;
}

.empty-state-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.empty-state-page h1 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.empty-state-page p {
    color: var(--slate-500);
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Progresso do agendamento */
.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 16px 4px;
    background: #fff;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--slate-300);
    transition: all var(--transition);
}

.progress-step.active { color: var(--slate-900); }
.progress-step.active .progress-dot {
    background: var(--gold-gradient);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    width: 10px;
    height: 10px;
}

.progress-step.done { color: var(--green-dark); }
.progress-step.done .progress-dot { background: var(--green); }

.progress-line {
    width: 24px;
    height: 2px;
    background: var(--slate-200);
    margin: 0 4px;
}

.progress-line.done { background: var(--green); }

/* Toast notifications */
.toast-container {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0));
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 32px);
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: var(--slate-900);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--radius-xs);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-12px);
    transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success { background: var(--green-dark); }
.toast-error { background: var(--red); }

/* Admin cards refinados */
.admin-list-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.admin-list-card:hover {
    box-shadow: var(--shadow);
}

.admin-app .app-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(16px);
}

.link-card {
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.date-item.selected {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--slate-900);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.horario-btn.selected {
    background: var(--gold-gradient);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.prof-item.selected .avatar {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
}

.summary-card {
    background: linear-gradient(135deg, var(--slate-50) 0%, #fff 100%);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin: 16px 0;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.busca-telefone-form {
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.busca-telefone-form .form-group {
    margin-bottom: 12px;
}

.busca-telefone-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--slate-700);
}

.busca-telefone-form input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-xs);
    font-size: 16px;
    font-family: inherit;
    min-height: 48px;
}

#btnNovoAgendamento {
    margin-bottom: 16px;
}

.btn-cancelar-agendamento {
    margin-top: 14px;
    background: #fff;
    color: var(--red);
    border: 1px solid #fecaca;
    min-height: 44px;
    font-size: 0.875rem;
    box-shadow: none;
}

.btn-cancelar-agendamento:hover {
    background: #fef2f2;
    transform: none;
}

.alert {
    border-radius: var(--radius-xs);
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.empty-msg {
    text-align: center;
    padding: 32px 16px;
    color: var(--slate-400);
    font-size: 0.9rem;
}

/* ===== Responsivo: tablet e PC (768px+) ===== */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: flex !important; }

    /* Admin desktop */
    .admin-app {
        display: flex;
        background: var(--gray-100);
    }

    .desktop-sidebar {
        display: flex;
        flex-direction: column;
        width: 260px;
        background: linear-gradient(180deg, var(--slate-900) 0%, #1a2332 100%);
        color: #fff;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 100;
        box-shadow: 4px 0 24px rgba(15, 23, 42, 0.08);
    }

    .admin-shell {
        flex: 1;
        margin-left: 260px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .admin-app .app-main {
        padding-bottom: 0;
        flex: 1;
    }

    .admin-app .app-content {
        padding: 24px 32px;
        max-width: 1200px;
    }

    .admin-app .card {
        box-shadow: var(--shadow);
        border: none;
        padding: 24px;
        margin-bottom: 20px;
    }

    .admin-app .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        max-width: 720px;
    }

    .admin-app .stats-grid-4 {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }

    .admin-app .stat-card {
        padding: 24px;
    }

    .admin-app .stat-value { font-size: 2rem; }
    .admin-app .stat-label { font-size: 0.85rem; }

    .admin-app .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .admin-app .admin-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 16px;
    }

    .admin-app .link-box {
        flex-direction: row;
        align-items: center;
    }

    .admin-app .link-box input { flex: 1; }

    .admin-app .link-card .btn,
    .admin-app .link-card .btn-outline {
        display: inline-flex;
        width: auto;
        margin-top: 12px;
        margin-right: 8px;
    }

    .admin-app .form-group input,
    .admin-app .form-group select {
        font-size: 0.95rem;
        min-height: 42px;
        padding: 10px 14px;
    }

    .admin-app .btn {
        min-height: 42px;
        padding: 10px 20px;
    }

    .admin-app .btn-block {
        width: auto;
    }

    .admin-app .form-stack .btn-block {
        width: auto;
    }

    /* Cliente / login no PC: painel centralizado */
    .booking-body.mobile-app {
        max-width: 480px;
        margin: 24px auto;
        min-height: calc(100vh - 48px);
        min-height: calc(100dvh - 48px);
        border-radius: 16px;
        box-shadow: 0 8px 40px rgba(0,0,0,0.12);
        overflow: hidden;
    }

    .booking-sticky-bar {
        left: 50%;
        transform: translateX(-50%);
        max-width: 480px;
        border-radius: 0 0 16px 16px;
    }

    .whatsapp-fab {
        right: max(16px, calc(50% - 224px));
    }

    body.has-sticky-bar .whatsapp-fab {
        bottom: calc(88px + env(safe-area-inset-bottom, 0));
    }

    .login-body.mobile-app {
        max-width: 420px;
        margin: 0 auto;
        box-shadow: none;
        background: transparent;
    }

    .login-card {
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }

    /* Modal centralizado no PC */
    .modal-overlay {
        align-items: center;
        padding: 16px;
    }

    .modal-card {
        border-radius: 16px;
        padding: 24px;
        animation: fadeIn 0.2s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
    }

    .servico-meta {
        flex-direction: row;
        gap: 16px;
    }

    .horarios-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 400px;
    }
}

/* PC grande */
@media (min-width: 1200px) {
    .admin-app .app-content {
        padding: 32px 48px;
    }

    .admin-app .admin-list {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

/* WhatsApp */
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-family: inherit;
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.subsection-inline {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.whatsapp-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
    border: 1px solid #a7f3d0 !important;
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #1ebe57;
    filter: none;
    transform: translateY(-1px);
}

.agenda-detalhes {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
    padding: 12px 14px;
}

.agenda-detalhes summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-700);
}

.agenda-horarios input {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.whatsapp-status {
    font-size: 0.9rem;
    color: var(--green-dark);
    font-weight: 600;
    margin-bottom: 12px;
    padding: 12px;
    background: #ecfdf5;
    border-radius: var(--radius-xs);
}

/* ===== Layout organizado ===== */
.page-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-intro {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin-bottom: 4px;
}

.card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.card-head.compact {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
}

.card-head.compact h2 {
    margin: 0;
    font-size: 1.05rem;
}

.card-head h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.card-head p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.4;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: var(--slate-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.card-accent {
    border-left: 4px solid var(--gold) !important;
}

.card-accent .card-icon {
    background: var(--gold-light);
}

.card-footer-actions {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-200);
}

.field-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: var(--slate-500);
    line-height: 1.45;
}

.label-block {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--slate-700);
}

/* Dias da semana — pills */
.days-pill-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.day-pill {
    cursor: pointer;
}

.day-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.day-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    transition: all var(--transition);
    min-height: 40px;
}

.day-pill input:checked + span {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--slate-900);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.input-highlight {
    font-size: 1rem !important;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.horarios-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.horario-chip {
    background: var(--gold-light);
    color: var(--slate-800);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.logo-upload-row .logo-upload-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.preview-img-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--slate-200);
    flex-shrink: 0;
}

.preview-img-lg.placeholder {
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.inner-fields {
    margin-top: 12px;
}

/* Toggle cards */
.toggle-row {
    margin-bottom: 0;
}

.toggle-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
    cursor: pointer;
    width: 100%;
}

.toggle-card input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--gold-dark);
    flex-shrink: 0;
}

.toggle-card strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toggle-card small {
    font-size: 0.78rem;
    color: var(--slate-500);
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    color: var(--slate-400);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

/* Dashboard */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
    text-decoration: none;
    color: var(--slate-700);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition);
    min-height: 52px;
}

.quick-action-btn:hover {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--slate-900);
}

.link-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
    white-space: nowrap;
}

.btn-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.empty-state {
    text-align: center;
    padding: 24px 16px;
    color: var(--slate-400);
    font-size: 0.9rem;
}

.flat-list {
    gap: 0 !important;
}

.flat-list .admin-list-card {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: none;
    background: transparent;
    padding: 14px 0;
}

.flat-list .admin-list-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.flat-list .admin-list-card:first-child {
    padding-top: 0;
}

.flat-list .delete-inline {
    margin-top: 8px;
    margin-bottom: 0;
}

.flat-list .prof-card {
    padding: 0;
}

.flat-list .admin-edit-card {
    margin-bottom: 0;
}

.card .filter-bar {
    margin-top: -4px;
}

.prof-fields .toggle-card {
    margin-top: 8px;
}

.card-head.compact .text-muted {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Catálogo — serviços e equipe */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.catalog-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-item {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.catalog-form {
    padding: 16px;
}

.catalog-item-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--slate-200);
}

.catalog-item-icon {
    width: 44px;
    height: 44px;
    background: var(--gold-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.catalog-item-main {
    flex: 1;
    min-width: 0;
}

.catalog-title-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--slate-900);
    padding: 0;
    margin-bottom: 8px;
    font-family: inherit;
}

.catalog-title-input:focus {
    outline: none;
    box-shadow: 0 2px 0 var(--gold);
}

.catalog-meta,
.catalog-prof-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.meta-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-600);
    background: #fff;
    border: 1px solid var(--slate-200);
    padding: 4px 10px;
    border-radius: 20px;
}

.meta-chip.meta-price {
    color: var(--gold-dark);
    background: var(--gold-light);
    border-color: rgba(245, 158, 11, 0.25);
}

.meta-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 6px;
}

.meta-badge-active {
    background: #ecfdf5;
    color: #047857;
}

.meta-badge-inactive {
    background: var(--slate-200);
    color: var(--slate-500);
}

.catalog-item-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-item-body .form-group {
    margin-bottom: 0;
}

.catalog-item-section {
    margin-top: 4px;
}

.catalog-item-actions {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--slate-200);
}

.catalog-delete {
    padding: 0 16px 16px;
    margin-top: -4px;
}

.toggle-card.compact {
    padding: 10px 12px;
}

/* Profissional no catálogo */
.catalog-prof-top {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--slate-200);
}

.catalog-prof-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--slate-200);
}

.catalog-prof-avatar.placeholder {
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.catalog-prof-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-file-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-dark);
    cursor: pointer;
}

.catalog-file-label input[type="file"] {
    font-size: 0.75rem;
    max-width: 100%;
}

/* Serviços como chips selecionáveis */
.service-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-chip {
    cursor: pointer;
}

.service-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-chip span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--slate-200);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-600);
    transition: all var(--transition);
}

.service-chip input:checked + span {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--slate-900);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.service-chip span small {
    display: block;
    margin-top: 2px;
    font-size: 0.68rem;
    font-weight: 500;
    opacity: 0.85;
}

@media (min-width: 768px) {
    .catalog-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .catalog-item-prof {
        grid-column: 1 / -1;
    }
}

/* Tabela de serviços — colunas na mesma linha */
.sr-only-fields {
    display: none;
}

.service-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.service-table {
    min-width: 520px;
}

.service-table-head,
.service-table-row {
    display: grid;
    grid-template-columns: minmax(100px, 2fr) 88px 96px 52px 108px;
    gap: 8px;
    align-items: center;
}

.service-table-head {
    padding: 0 8px 10px;
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 6px;
}

.service-table-head span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.service-table-row {
    padding: 6px 8px;
    border-radius: 8px;
}

.service-table-row:nth-child(even) {
    background: var(--slate-50);
}

.service-table-row:hover {
    background: #fffbeb;
}

.service-col input[type="text"],
.service-col input[type="number"] {
    width: 100%;
    padding: 8px 8px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    min-height: 38px;
}

.service-col input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.service-col-duracao,
.service-col-preco {
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-col-duracao input,
.service-col-preco input {
    flex: 1;
    min-width: 0;
}

.col-suffix,
.col-prefix {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--slate-500);
    flex-shrink: 0;
}

.service-col-ativo {
    display: flex;
    justify-content: center;
}

.service-col-acoes {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}

.service-col-acoes .btn-sm {
    min-height: 38px;
    padding: 6px 10px;
}

.switch-ativo {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.switch-ativo input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-ativo-ui {
    width: 42px;
    height: 24px;
    background: var(--slate-300);
    border-radius: 20px;
    position: relative;
    transition: background var(--transition);
}

.switch-ativo-ui::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.switch-ativo input:checked + .switch-ativo-ui {
    background: var(--gold);
}

.switch-ativo input:checked + .switch-ativo-ui::after {
    transform: translateX(18px);
}

@media (min-width: 768px) {
    .service-table-head,
    .service-table-row {
        grid-template-columns: minmax(140px, 2.5fr) 100px 110px 56px 120px;
        gap: 12px;
    }
}

/* Lista de equipe — cards */
.team-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.team-card {
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.team-card-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 16px 16px;
    border-bottom: 1px solid var(--slate-200);
}

.team-card-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-photo-caption {
    margin-top: 0;
    text-align: center;
}

.team-card-main.form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
}

.team-card .form-group {
    margin-bottom: 0;
}

.team-card .form-group label:not(.switch-ativo) {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.team-card .form-group label.switch-ativo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
}

.switch-ativo-wrap {
    display: flex;
    align-items: center;
    min-height: 48px;
}

.team-card-meta {
    display: grid;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
    background: var(--slate-50);
}

.team-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    background: #fff;
    min-height: 48px;
}

.team-status-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
}

.team-services-block {
    margin-bottom: 0;
}

.team-services-block > label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.team-card-section.form-group {
    margin-bottom: 0;
    padding: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.team-card .form-group input[type="text"],
.team-card .form-group input[type="email"],
.team-card .form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    min-height: 48px;
    background: #fff;
    transition: border-color 0.2s;
}

.team-card .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.12);
}

.team-card-pass .team-pass-row input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    min-height: 48px;
    background: #fff;
}

.team-card-pass .team-pass-row input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.12);
}

.team-photo-upload {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.team-photo-upload:hover .team-photo-overlay,
.team-photo-upload:focus-within .team-photo-overlay {
    opacity: 1;
}

.team-card-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-card-fields-row {
    display: grid;
    gap: 12px;
}

.team-card-ativo-inline {
    align-self: flex-start;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    min-height: 48px;
}

.team-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

.team-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.team-card-name-wrap {
    flex: 1;
    min-width: 0;
}

.team-card-ativo {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.team-card-body {
    display: grid;
    gap: 14px;
    padding: 14px 16px;
}

.team-card-field {
    min-width: 0;
}

.team-field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.team-field-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    min-height: 42px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.team-field-input-sm {
    min-height: 38px;
    font-size: 0.8125rem;
}

.team-field-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.team-card-foot {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--slate-200);
    background: var(--slate-50);
}

.team-pass-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    flex-wrap: wrap;
}

.team-pass-row .btn {
    min-height: 48px;
    align-self: stretch;
    display: inline-flex;
    align-items: center;
}

.team-pass-row input {
    flex: 1;
    min-width: 160px;
}

.team-avatar-lg {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
}

.team-avatar-xl {
    width: 88px;
    height: 88px;
    font-size: 1.75rem;
}

.team-service-chips-wrap {
    flex-wrap: wrap;
    overflow-x: visible;
}

/* Tabela de equipe legada */
.team-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.team-table {
    min-width: 640px;
}

.team-table-pro {
    min-width: 860px;
}

.team-table-pro.team-table {
    min-width: 860px;
}

.prof-login-box ul {
    margin: 10px 0 0;
    padding-left: 0;
    list-style: none;
}

.prof-login-details li {
    margin-bottom: 6px;
}

.prof-login-details span {
    display: inline-block;
    min-width: 4.5rem;
    font-weight: 600;
}

.prof-login-details code {
    background: rgba(0, 0, 0, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.team-col-email input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    min-height: 38px;
}

.team-col-email input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.reset-pass-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--slate-700);
    white-space: nowrap;
    cursor: pointer;
    padding: 8px 10px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    background: #fff;
}

.team-table-pro .team-table-head,
.team-table-pro .team-table-row {
    grid-template-columns: 72px minmax(90px, 1fr) minmax(130px, 1.2fr) minmax(140px, 1.8fr) 52px minmax(130px, 1.1fr);
}

.team-table-pro .team-col-acoes {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.auth-layout-compact .auth-form-wrap-full {
    max-width: 440px;
    margin: 0 auto;
}

.team-table-head,
.team-table-row {
    display: grid;
    grid-template-columns: 72px minmax(100px, 1.2fr) minmax(160px, 2fr) 52px 108px;
    gap: 8px;
    align-items: center;
}

.team-table-head {
    padding: 0 8px 10px;
    border-bottom: 1px solid var(--slate-200);
    margin-bottom: 6px;
}

.team-table-head span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.team-table-row {
    padding: 8px;
    border-radius: 8px;
}

.team-table-row:nth-child(even) {
    background: var(--slate-50);
}

.team-table-row:hover {
    background: #fffbeb;
}

.team-col-foto {
    display: flex;
    align-items: center;
    gap: 4px;
}

.team-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--slate-200);
}

.team-avatar.placeholder {
    background: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.team-foto-btn {
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity var(--transition);
    flex-shrink: 0;
}

.team-foto-btn:hover {
    opacity: 1;
}

.team-foto-input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.team-col-nome input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    min-height: 38px;
}

.team-col-nome input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.team-col-servicos {
    min-width: 0;
}

.team-service-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
}

.service-chip-mini span {
    padding: 5px 8px;
    font-size: 0.68rem;
    white-space: nowrap;
}

.team-col-ativo {
    display: flex;
    justify-content: center;
}

.team-col-acoes {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}

.team-col-acoes .btn-sm {
    min-height: 38px;
    padding: 6px 10px;
}

.team-senha-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: inherit;
    min-height: 34px;
}

.prof-perfil-foto {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.prof-perfil-foto .team-avatar,
.prof-perfil-foto .preview-img-lg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.team-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 0;
}

.team-card-actions .btn-block {
    flex: 1;
    min-width: 160px;
}

@media (min-width: 768px) {
    .admin-app .team-card .form-group input[type="text"],
    .admin-app .team-card .form-group input[type="email"],
    .admin-app .team-card-pass .team-pass-row input {
        font-size: 0.95rem;
        min-height: 42px;
        padding: 10px 14px;
    }

    .team-card-pass .team-pass-row .btn {
        min-height: 42px;
    }

    .team-card-top {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .team-card-photo {
        flex-shrink: 0;
    }

    .team-card-main.form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .team-card-meta {
        grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
        align-items: start;
        padding: 20px;
        gap: 20px;
    }

    .team-card-body {
        grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
        align-items: start;
    }

    .team-card-foot {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
    }

    .team-card-pass {
        flex: 1;
        min-width: 0;
        max-width: 520px;
        margin-bottom: 0;
    }

    .team-card-actions {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .team-card-actions .btn-block {
        flex: 0 0 auto;
        width: auto;
    }

    .team-table {
        min-width: 720px;
    }

    .team-table-pro.team-table {
        min-width: 980px;
    }

    .team-table-pro .team-table-head,
    .team-table-pro .team-table-row {
        grid-template-columns: 80px minmax(100px, 1fr) minmax(150px, 1.2fr) minmax(180px, 2fr) 56px minmax(150px, 1fr);
        gap: 12px;
    }

    .team-table-head,
    .team-table-row {
        grid-template-columns: 80px minmax(120px, 1.2fr) minmax(200px, 2.5fr) 56px 120px;
        gap: 12px;
    }

    .team-service-chips {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* Horários por profissional */
.agenda-prof-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}

.agenda-prof-card {
    padding: 16px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
}

.agenda-prof-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--slate-200);
    flex-wrap: wrap;
}

.agenda-prof-title {
    flex: 1;
    min-width: 120px;
}

.agenda-prof-meta {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--slate-500);
}

.agenda-copy-prof {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}

.agenda-copy-prof select {
    flex: 1;
    min-width: 0;
}

.agenda-defaults {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
}

.agenda-defaults .inner-fields {
    margin-top: 8px;
}

.agenda-prof-head strong {
    font-size: 1rem;
}

.agenda-prof-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Abas de dia (selecionar dia para editar) */
.days-tab-grid {
    gap: 6px;
}

.day-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 4px;
    border-radius: 10px;
    border: 1px solid var(--slate-200);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    cursor: pointer;
    min-height: 44px;
    transition: all var(--transition);
    font-family: inherit;
}

.day-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1;
}

.day-tab.active .day-tab-count {
    background: rgba(15, 23, 42, 0.12);
}

.day-tab.has-hours:not(.active) .day-tab-count {
    background: rgba(245, 158, 11, 0.25);
}

.agenda-dia-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.agenda-day-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.agenda-day-actions .btn {
    flex: 0 1 auto;
}

.agenda-empty-day {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border: 1px dashed var(--slate-300);
    border-radius: var(--radius-xs);
    background: #fff;
    margin-bottom: 10px;
}

.agenda-empty-day p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--slate-500);
}

.agenda-prof-horarios.is-hidden {
    display: none;
}

.day-tab:hover {
    border-color: var(--gold);
}

.day-tab.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--slate-900);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.day-tab.has-hours:not(.active) {
    border-color: var(--gold-dark);
    color: var(--slate-800);
    background: #fffbeb;
}

.agenda-dia-panels {
    margin-top: 4px;
}

.agenda-dia-panel {
    display: none;
    padding-top: 4px;
}

.agenda-dia-panel.active {
    display: block;
}

.agenda-copy-box {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--slate-200);
}

.copy-target-grid {
    margin: 10px 0;
}

.agenda-copy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agenda-copy-actions .btn {
    flex: 1;
    min-width: 140px;
}

.agenda-preview-item span {
    display: block;
    margin-top: 2px;
}

.agenda-prof-horarios {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.agenda-hora-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.agenda-hora-row input[type="time"] {
    flex: 1;
}

.agenda-preview {
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.agenda-preview-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: var(--gold-light);
    border-radius: var(--radius-xs);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.85rem;
}

.agenda-preview-item strong {
    color: var(--slate-800);
}

.agenda-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.agenda-preview-chip {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 0.75rem;
    color: var(--slate-700);
    line-height: 1.3;
}

.agenda-preview-chip em {
    font-style: normal;
    font-weight: 800;
    color: var(--gold-dark);
}

.agenda-preview-item span {
    color: var(--slate-600);
}

.agenda-slots {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.agenda-slot-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xs);
}

.agenda-slot-row .form-group {
    margin-bottom: 0;
}

.btn-remove-slot {
    width: 40px;
    height: 40px;
    border: 1px solid var(--slate-200);
    background: #fff;
    border-radius: 10px;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--slate-500);
    cursor: pointer;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.btn-remove-slot:hover {
    border-color: var(--red);
    color: var(--red);
    background: #fff5f5;
}

#btnAddAgendaSlot {
    margin-top: 10px;
}

@media (max-width: 520px) {
    .agenda-slot-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .agenda-slot-row .form-group:first-child {
        grid-column: 1 / -1;
    }

    .btn-remove-slot {
        grid-row: 2;
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .days-pill-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .page-stack {
        gap: 20px;
        max-width: 720px;
    }

    .admin-app .app-content .page-stack {
        max-width: none;
    }

    .days-pill-grid {
        max-width: 480px;
    }

    .agenda-copy-prof {
        width: auto;
        margin-top: 0;
        margin-left: auto;
        max-width: 280px;
    }

    .card-head h2 {
        font-size: 1.15rem;
    }
}

/* ===== Landing / SaaS ===== */
.landing-page {
    min-height: 100vh;
    background: var(--slate-50);
    color: var(--slate-900);
    position: relative;
    overflow-x: hidden;
}

/* --- Landing v2 (moderna) --- */
.landing-v2 {
    background: #0a0a0f;
    color: #f8fafc;
}

.landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.landing-orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    top: -120px;
    right: -80px;
    animation: landing-float 12s ease-in-out infinite;
}

.landing-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    animation: landing-float 14s ease-in-out infinite reverse;
}

.landing-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

@keyframes landing-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.landing-v2 .landing-header,
.landing-v2 main,
.landing-v2 .landing-footer {
    position: relative;
    z-index: 1;
}

.landing-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.landing-nav-link {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color var(--transition);
}

.landing-nav-link:hover {
    color: #fff;
}

.landing-btn-glow {
    box-shadow: 0 0 32px rgba(245, 158, 11, 0.45), 0 4px 14px rgba(0, 0, 0, 0.3);
}

.landing-btn-glow:hover {
    box-shadow: 0 0 48px rgba(245, 158, 11, 0.55), 0 6px 20px rgba(0, 0, 0, 0.35);
}

.landing-v2 .landing-hero {
    padding: 56px 0 40px;
    background: transparent;
}

.landing-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.landing-badge-pulse {
    animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.landing-badge-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--slate-300);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.landing-v2 .landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 20px;
}

.landing-gradient-text {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.landing-v2 .landing-lead {
    color: var(--slate-400);
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 520px;
}

.landing-v2 .landing-lead strong {
    color: var(--gold);
    font-weight: 600;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.landing-v2 .landing-hero-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.landing-trust-item strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.landing-trust-item span {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* Phone mockup */
.landing-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.landing-phone {
    width: 280px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border-radius: 36px;
    padding: 12px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
    animation: phone-tilt 6s ease-in-out infinite;
}

@keyframes phone-tilt {
    0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(4deg); }
    50% { transform: perspective(800px) rotateY(-4deg) rotateX(2deg); }
}

.landing-phone-notch {
    width: 80px;
    height: 22px;
    background: #0a0a0f;
    border-radius: 0 0 14px 14px;
    margin: 0 auto 8px;
}

.landing-phone-screen {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    color: var(--slate-900);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 0.9rem;
}

.phone-header img {
    border-radius: 8px;
}

.phone-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
}

.phone-card-highlight {
    background: var(--gold-light);
    border-color: var(--gold);
}

.phone-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.phone-card strong {
    display: block;
    font-size: 0.9rem;
    margin: 4px 0 2px;
}

.phone-card p {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin: 0;
}

.phone-cta {
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 10px;
    background: var(--slate-900);
    color: var(--gold);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    color: var(--slate-900);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: float-card 5s ease-in-out infinite;
}

.landing-float-card-1 {
    top: 8%;
    right: 0;
    animation-delay: 0s;
}

.landing-float-card-2 {
    bottom: 18%;
    left: 0;
    animation-delay: 1.5s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Logos cadastradas */
.landing-brands {
    padding: 32px 0 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.landing-brands-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-500);
    margin-bottom: 20px;
}

.landing-brands-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.landing-brands-scroll {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: brands-scroll 35s linear infinite;
}

.landing-brands-scroll:hover {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.landing-brand-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 8px 16px 8px 8px;
    flex-shrink: 0;
    transition: background var(--transition), border-color var(--transition);
}

.landing-brand-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 158, 11, 0.35);
}

.landing-brand-chip img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(245, 158, 11, 0.4);
}

.landing-brand-initial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--slate-900);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.landing-brand-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.landing-brands-empty {
    text-align: center;
    padding: 24px;
}

.landing-brands-empty img {
    border-radius: 14px;
    margin: 0 auto 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.landing-brands-empty p {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 16px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

/* Section heads */
.landing-v2 .landing-section {
    background: transparent;
}

.landing-section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}

.landing-section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 10px;
}

.landing-v2 .landing-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 10px;
}

.landing-section-head p {
    color: var(--slate-500);
    font-size: 1rem;
}

/* Recursos v2 */
.landing-section-head-wide {
    max-width: 640px;
}

.landing-features {
    padding: 72px 0;
}

.features-spotlight {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-spotlight {
    display: grid;
    gap: 24px;
    align-items: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    overflow: hidden;
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-spotlight-agenda::before {
    background: var(--gold-gradient);
}

.feature-spotlight-link::before {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.feature-spotlight:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.feature-spotlight:hover::before {
    opacity: 1;
}

.feature-spotlight-copy {
    position: relative;
    z-index: 1;
}

.feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.feature-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.feature-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-icon-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.feature-icon-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-icon-rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.feature-icon-slate {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.feature-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.feature-tag-blue {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.feature-spotlight h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.feature-spotlight-copy > p {
    color: var(--slate-400);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-bullets li {
    font-size: 0.85rem;
    color: var(--slate-300);
    padding-left: 22px;
    position: relative;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.feature-spotlight-link .feature-bullets li::before {
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.feature-spotlight-ui {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mini calendário */
.feature-calendar {
    width: 100%;
    max-width: 280px;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    color: var(--slate-900);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.feature-cal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.feature-cal-live {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--green-dark);
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.feature-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.7rem;
    margin-bottom: 12px;
}

.feature-cal-grid .cal-dim {
    color: var(--slate-400);
    font-weight: 600;
}

.feature-cal-grid .cal-day {
    padding: 4px;
    border-radius: 6px;
    color: var(--slate-600);
}

.feature-cal-grid .cal-active {
    background: var(--gold-gradient);
    color: var(--slate-900);
    font-weight: 800;
}

.feature-cal-slot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    background: var(--gold-light);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
}

.slot-time {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.slot-info {
    flex: 1;
    font-size: 0.75rem;
    color: var(--slate-600);
    min-width: 100px;
}

.slot-badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--green-dark);
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
}

/* Mini link box */
.feature-link-box {
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 18px;
    color: var(--slate-900);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.link-box-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-500);
    display: block;
    margin-bottom: 6px;
}

.link-box-url {
    display: block;
    font-size: 0.75rem;
    background: var(--slate-100);
    border: 1px dashed var(--slate-300);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--slate-700);
    margin-bottom: 12px;
    word-break: break-all;
}

.link-box-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.link-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.link-pill-copy {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Grid de recursos */
.features-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .feature-icon-wrap {
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--slate-500);
    line-height: 1.55;
    margin: 0;
}

.features-cta-bar {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 18px;
}

.features-cta-bar p {
    color: var(--slate-300);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

/* Signup flow */
.landing-signup-flow {
    background: rgba(255, 255, 255, 0.02);
}

.landing-flow-cards {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.landing-flow-card {
    background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    position: relative;
}

.flow-num {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--slate-900);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-logo {
    border-radius: 14px;
    margin: 0 auto 16px;
    display: block;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.flow-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.landing-flow-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.landing-flow-card p {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.flow-link {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.flow-link:hover {
    text-decoration: underline;
}

/* CTA box */
.landing-v2 .landing-cta {
    padding: 80px 0;
    background: transparent;
}

.landing-cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 28px;
    padding: 48px 32px;
}

.landing-cta-logo {
    border-radius: 16px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.35);
}

.landing-cta-box h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #fff;
    margin-bottom: 10px;
}

.landing-cta-box p {
    color: var(--slate-400);
    margin-bottom: 28px;
}

.landing-v2 .landing-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top-color: rgba(255, 255, 255, 0.06);
    color: var(--slate-500);
}

.landing-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.landing-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
}

.landing-footer-brand img {
    border-radius: 8px;
}

.landing-footer-links {
    display: flex;
    gap: 16px;
}

.landing-footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.landing-footer-links a:hover {
    color: var(--gold);
}

@media (min-width: 768px) {
    .landing-nav-link {
        display: inline-block;
    }

    .feature-spotlight {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .landing-flow-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .landing-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
    }

    .features-spotlight {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .landing-nav-link {
        display: none;
    }

    .landing-float-card {
        display: none;
    }

    .landing-phone {
        transform: none;
        animation: none;
        width: 260px;
    }

    .landing-trust {
        gap: 16px;
    }
}

.landing-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
}

.landing-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.landing-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--slate-900);
    text-decoration: none;
    font-size: 1rem;
}

.landing-logo-icon {
    font-size: 1.5rem;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-hero {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
}

.landing-hero-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.landing-badge {
    display: inline-block;
    background: var(--gold-light);
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.landing-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.landing-lead {
    font-size: 1.05rem;
    color: var(--slate-600);
    max-width: 540px;
    margin-bottom: 24px;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.landing-note {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.landing-mockup {
    background: var(--slate-900);
    border-radius: 20px;
    padding: 20px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.landing-mockup-bar {
    height: 8px;
    width: 40%;
    background: var(--gold);
    border-radius: 4px;
    margin-bottom: 16px;
}

.landing-mockup-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
}

.landing-mockup-card.muted {
    opacity: 0.65;
}

.landing-mockup-card .mockup-tag {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 700;
}

.landing-mockup-card strong {
    display: block;
    margin: 4px 0;
}

.landing-mockup-card p {
    font-size: 0.85rem;
    color: var(--slate-300);
}

.landing-section {
    padding: 56px 0;
}

.landing-section h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 32px;
}

.landing-feature-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.landing-feature-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.landing-feature-card .feature-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 12px;
}

.landing-feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.landing-feature-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

.landing-steps {
    list-style: none;
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
    counter-reset: step;
}

.landing-steps li {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 18px 18px 18px 52px;
    position: relative;
    counter-increment: step;
}

.landing-steps li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--slate-900);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-cta {
    padding: 56px 0 72px;
    background: var(--slate-900);
    color: #fff;
}

.landing-cta-inner {
    text-align: center;
}

.landing-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.landing-cta p {
    color: var(--slate-300);
    margin-bottom: 24px;
}

.landing-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.landing-cta .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.landing-footer {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--slate-500);
    border-top: 1px solid var(--slate-200);
    background: #fff;
}

.btn-lg {
    padding: 14px 22px;
    font-size: 1rem;
}

.cadastro-page .cadastro-main {
    padding: 32px 0 56px;
}

.cadastro-wrap {
    display: grid;
    gap: 32px;
    align-items: start;
}

.cadastro-intro h1 {
    font-size: 1.75rem;
    margin: 12px 0;
}

.cadastro-benefits {
    margin-top: 20px;
    padding-left: 20px;
    color: var(--slate-600);
}

.cadastro-benefits li {
    margin-bottom: 8px;
}

.cadastro-form-card h2 {
    font-size: 0.95rem;
    margin: 20px 0 12px;
    color: var(--slate-700);
}

.cadastro-form-card h2:first-of-type {
    margin-top: 0;
}

.login-footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
}

.login-footer-links a {
    color: var(--slate-600);
}

.trial-banner {
    margin: 0 12px 12px;
    padding: 10px 12px;
    background: var(--gold-light);
    border: 1px solid var(--gold);
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.45;
}

.payment-banner-info {
    background: #e3f2fd;
    border-color: #64b5f6;
    color: #1565c0;
}

.payment-banner-warning {
    background: #fff3e0;
    border-color: #ffb74d;
    color: #e65100;
}

.payment-banner-danger {
    background: #ffebee;
    border-color: #ef5350;
    color: #b71c1c;
}

.payment-banner-mobile {
    display: block;
    margin: 0 0 14px;
}

@media (min-width: 1024px) {
    .payment-banner-mobile {
        display: none;
    }
}

@media (min-width: 768px) {
    .landing-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .landing-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cadastro-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .landing-feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== Auth (login / cadastro) v2 ===== */
.auth-page {
    min-height: 100vh;
    background: #0a0a0f;
    color: #f8fafc;
    position: relative;
    overflow-x: hidden;
}

html:has(.auth-page),
html:has(.landing-v2) {
    background: #0a0a0f;
}

.auth-page .landing-header,
.auth-page .auth-main {
    position: relative;
    z-index: 1;
}

/* Header e navegação legíveis no tema escuro */
.landing-v2 .landing-header,
.auth-page .landing-header {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-v2 .landing-logo,
.auth-page .landing-logo {
    color: #ffffff;
}

.landing-v2 .landing-logo span,
.auth-page .landing-logo span {
    color: #ffffff;
}

.landing-v2 .landing-nav .btn-ghost,
.auth-page .landing-nav .btn-ghost {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.landing-v2 .landing-nav .btn-ghost:hover,
.auth-page .landing-nav .btn-ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.landing-v2 .landing-nav-link,
.auth-page .landing-nav-link {
    color: #cbd5e1;
}

.landing-v2 .landing-nav-link:hover,
.auth-page .landing-nav-link:hover {
    color: #ffffff;
}

.auth-header {
    background: rgba(10, 10, 15, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-main {
    padding: 24px 0 56px;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
}

.auth-layout {
    display: grid;
    gap: 32px;
    align-items: start;
    width: 100%;
}

.auth-layout-narrow {
    max-width: 480px;
    margin: 0 auto;
}

.auth-form-wrap-center {
    width: 100%;
}

.auth-side-title {
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 16px 0;
    color: #fff;
}

.auth-side-lead {
    color: var(--slate-400);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 420px;
}

.auth-side-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.auth-side-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--slate-300);
    font-weight: 500;
}

.auth-side-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-side-icon svg {
    width: 18px;
    height: 18px;
}

.auth-side-foot {
    font-size: 0.9rem;
    color: var(--slate-500);
}

.auth-side-foot a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.auth-side-foot a:hover {
    text-decoration: underline;
}

.auth-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--slate-500);
    font-weight: 600;
}

.auth-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

.auth-step.is-active {
    color: #fff;
}

.auth-step.is-active .auth-step-num {
    background: var(--gold-gradient);
    color: var(--slate-900);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.auth-form-wrap {
    width: 100%;
}

.auth-form-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.auth-form-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-form-logo {
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
    flex-shrink: 0;
}

.auth-form-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.auth-form-head p {
    font-size: 0.85rem;
    color: var(--slate-500);
    margin: 0;
}

.auth-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.auth-alert svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert ul {
    margin: 0;
    padding-left: 16px;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #a7f3d0;
}

.auth-alert-success p {
    margin: 0 0 4px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-login-hint {
    margin: 8px 0 0;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--slate-400);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-login-hint-super {
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.1);
}

.auth-login-hint-empresa {
    color: #86efac;
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
}

.auth-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-300);
    margin-bottom: 8px;
}

.auth-optional {
    font-weight: 500;
    color: var(--slate-500);
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-500);
    pointer-events: none;
    display: flex;
}

.auth-input-icon svg {
    width: 18px;
    height: 18px;
}

.auth-input-wrap input {
    width: 100%;
    padding: 14px 44px 14px 44px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.auth-input-wrap input::placeholder {
    color: var(--slate-500);
}

.auth-input-wrap input:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.auth-toggle-pass {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--slate-500);
    display: flex;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.auth-toggle-pass:hover {
    color: var(--slate-300);
    background: rgba(255, 255, 255, 0.06);
}

.auth-toggle-pass svg {
    width: 18px;
    height: 18px;
}

.auth-toggle-pass .icon-hide {
    display: none;
}

.auth-toggle-pass.is-visible .icon-show {
    display: none;
}

.auth-toggle-pass.is-visible .icon-hide {
    display: block;
}

.auth-field-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.auth-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 8px;
}

.auth-fieldset legend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    margin-bottom: 16px;
    padding: 0;
}

.auth-legend-icon {
    font-size: 1rem;
    line-height: 1;
}

.auth-terms {
    font-size: 0.82rem;
    color: var(--slate-500);
    margin: 8px 0 20px;
    text-align: center;
}

.auth-terms strong {
    color: var(--gold);
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--slate-600);
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-form-divider::before,
.auth-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-switch {
    text-align: center;
    font-size: 0.9rem;
    color: var(--slate-500);
    margin: 0;
}

.auth-switch a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--slate-500);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition);
}

.auth-back-link:hover {
    color: var(--gold);
}

@media (min-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
    }

    .auth-form-card-wide {
        padding: 32px 28px;
    }

    .auth-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 899px) {
    .auth-side {
        text-align: center;
    }

    .auth-side-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-side-list {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .auth-steps {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== Landing v3 — refinamentos modernos ===== */
.landing-orb-3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, #10b981 0%, transparent 70%);
    top: 45%;
    right: 15%;
    opacity: 0.35;
    animation: landing-float 18s ease-in-out infinite;
}

.landing-noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.landing-v3 .landing-header.is-scrolled {
    background: rgba(10, 10, 15, 0.97);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.landing-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
}

.landing-menu-btn span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.landing-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.landing-mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 15, 0.98);
}

.landing-mobile-nav.is-open {
    display: flex;
}

.landing-mobile-nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 14px;
    border-radius: 10px;
}

.landing-mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.landing-mobile-nav .btn {
    margin-top: 8px;
    text-align: center;
}

body.landing-menu-open {
    overflow: hidden;
}

.landing-gradient-shine {
    background-size: 200% auto;
    animation: gradient-shine 4s linear infinite;
}

@keyframes gradient-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.landing-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.landing-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--slate-300);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 999px;
}

.landing-trust-glass {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    border-top: none;
    padding-top: 0;
    margin-top: 32px;
}

.landing-trust-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(8px);
    transition: border-color 0.25s, transform 0.25s;
}

.landing-trust-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
}

.landing-trust-icon {
    font-size: 1.25rem;
    display: block;
    margin-bottom: 8px;
}

.landing-trust-card strong {
    font-size: 1.35rem;
}

.landing-ticker {
    overflow: hidden;
    padding: 14px 0;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 8px;
}

.landing-ticker-track {
    display: flex;
    gap: 32px;
    width: max-content;
    animation: ticker-scroll 28s linear infinite;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate-500);
}

.landing-ticker-track span:nth-child(odd) {
    color: var(--slate-400);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .feature-card.reveal:nth-child(2) { transition-delay: 0.06s; }
.features-grid .feature-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.features-grid .feature-card.reveal:nth-child(4) { transition-delay: 0.18s; }
.features-grid .feature-card.reveal:nth-child(5) { transition-delay: 0.24s; }
.features-grid .feature-card.reveal:nth-child(6) { transition-delay: 0.3s; }

.landing-v3 .landing-phone {
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.landing-v3 .feature-card {
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-v3 .feature-card:hover {
    transform: translateY(-4px);
}

.landing-faq {
    padding: 72px 0;
}

.landing-faq-inner {
    max-width: 720px;
}

.landing-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s;
}

.landing-faq-item.is-open {
    border-color: rgba(245, 158, 11, 0.35);
}

.landing-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.landing-faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
}

.landing-faq-icon::before,
.landing-faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.25s;
}

.landing-faq-icon::before {
    width: 12px;
    height: 2px;
    top: 9px;
    left: 4px;
}

.landing-faq-icon::after {
    width: 2px;
    height: 12px;
    top: 4px;
    left: 9px;
}

.landing-faq-item.is-open .landing-faq-icon::after {
    transform: scaleY(0);
}

.landing-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.landing-faq-item.is-open .landing-faq-a {
    max-height: 200px;
}

.landing-faq-a p {
    padding: 0 20px 18px;
    margin: 0;
    color: var(--slate-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.landing-v3 .landing-cta-box {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(99, 102, 241, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.landing-v3 .landing-flow-card {
    transition: transform 0.3s, border-color 0.3s;
}

.landing-v3 .landing-flow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.3);
}

@media (max-width: 767px) {
    .landing-menu-btn {
        display: flex;
    }

    .landing-nav-desktop {
        display: none;
    }

    .landing-trust-glass {
        grid-template-columns: 1fr;
    }

    .landing-hero-pills {
        gap: 6px;
    }

    .landing-pill {
        font-size: 0.72rem;
    }
}

@media (min-width: 768px) {
    .landing-mobile-nav {
        display: none !important;
    }
}

/* ===== Landing v4 — visual premium ===== */
.landing-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 200;
    background: linear-gradient(90deg, #f59e0b, #fcd34d, #6366f1);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
    transition: width 0.08s linear;
}

.landing-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(245, 158, 11, 0.15), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(16, 185, 129, 0.08), transparent 50%);
}

.landing-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.landing-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.landing-v4 .landing-gradient-text {
    display: inline;
}

.landing-v4 .landing-hero-title {
    font-size: clamp(2.15rem, 5.5vw, 3.5rem);
    letter-spacing: -0.04em;
}

.landing-v4 .landing-hero {
    padding-top: 72px;
    padding-bottom: 48px;
}

.landing-hero-glow {
    position: absolute;
    width: min(420px, 90%);
    height: 420px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.landing-v4 .landing-hero-visual {
    position: relative;
    min-height: 420px;
}

.landing-dash-card {
    position: absolute;
    left: 0;
    top: 12%;
    z-index: 2;
    width: min(240px, 42vw);
    padding: 16px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-dash-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-300);
}

.landing-dash-head img {
    border-radius: 8px;
}

.landing-dash-live {
    margin-left: auto;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 8px;
    border-radius: 999px;
}

.landing-dash-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.landing-dash-stat {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-dash-stat strong {
    display: block;
    font-size: 1.35rem;
    color: #fff;
    line-height: 1.2;
}

.landing-dash-stat span {
    font-size: 0.7rem;
    color: var(--slate-500);
    font-weight: 600;
}

.landing-dash-stat-accent {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.08);
}

.landing-dash-stat-accent strong {
    color: var(--gold);
}

.landing-dash-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-dash-list li {
    font-size: 0.75rem;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.landing-dash-list .dash-time {
    font-weight: 700;
    color: #fff;
    min-width: 40px;
}

.landing-dash-list em {
    margin-left: auto;
    font-style: normal;
    color: var(--slate-500);
    font-size: 0.7rem;
}

.landing-v4 .landing-phone {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: 0;
    animation: none;
    transition: transform 0.2s ease-out;
}

.landing-v4 .landing-hero-visual {
    perspective: 1200px;
}

.landing-float-card-3 {
    bottom: 8%;
    left: 5%;
    right: auto;
    top: auto;
}

.landing-section-head-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.landing-section-head-center h2 {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.landing-compare {
    padding: 64px 0 48px;
}

.landing-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.landing-compare-card {
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-compare-old {
    background: rgba(255, 255, 255, 0.03);
}

.landing-compare-old ul li {
    color: var(--slate-500);
}

.landing-compare-old ul li::marker {
    content: '✕ ';
}

.landing-compare-new {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 16px 48px rgba(245, 158, 11, 0.12);
}

.compare-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
    margin-bottom: 16px;
}

.compare-label-new {
    color: var(--gold);
}

.landing-compare-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.landing-compare-card li {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--slate-300);
    padding-left: 24px;
    position: relative;
}

.landing-compare-old li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

.landing-compare-new li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.compare-cta {
    display: inline-flex;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95rem;
}

.compare-cta:hover {
    text-decoration: underline;
}

.landing-bento {
    padding: 48px 0 56px;
}

.landing-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.landing-bento-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
}

.landing-bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.landing-bento-large {
    grid-column: span 2;
    grid-row: span 1;
}

.landing-bento-wide {
    grid-column: span 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(245, 158, 11, 0.08) 100%);
}

.landing-bento-wide h3,
.landing-bento-wide p {
    flex: 1 1 200px;
    margin: 0;
}

.bento-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.landing-bento-card h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.landing-bento-card p {
    font-size: 0.88rem;
    color: var(--slate-400);
    line-height: 1.55;
    margin: 0;
}

.bento-link {
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    white-space: nowrap;
}

.bento-link:hover {
    text-decoration: underline;
}

.landing-pricing {
    padding: 56px 0 72px;
}

.landing-pricing-card {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.landing-pricing-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.5), rgba(99, 102, 241, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.landing-pricing-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    background: rgba(245, 158, 11, 0.15);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.landing-pricing-card h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.landing-pricing-price {
    margin-bottom: 24px;
}

.landing-pricing-price .price-amount {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.landing-pricing-price .price-period {
    font-size: 0.9rem;
    color: var(--slate-400);
    font-weight: 600;
}

.landing-pricing-features {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-pricing-features li {
    font-size: 0.9rem;
    color: var(--slate-300);
    padding-left: 26px;
    position: relative;
}

.landing-pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 800;
}

.landing-pricing-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.landing-pricing-note {
    margin: 16px 0 0;
    font-size: 0.8rem;
    color: var(--slate-500);
}

.landing-v4 .landing-cta-box {
    position: relative;
    overflow: hidden;
}

.landing-cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    top: -80px;
    right: -60px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
    pointer-events: none;
}

.landing-v4 .landing-header {
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.landing-v4 .landing-header.is-scrolled {
    backdrop-filter: blur(12px);
}

.landing-v4 .landing-ticker-track {
    animation-duration: 22s;
}

.landing-v4 .feature-spotlight {
    border-radius: 24px;
}

@media (max-width: 991px) {
    .landing-compare-grid {
        grid-template-columns: 1fr;
    }

    .landing-bento-grid {
        grid-template-columns: 1fr;
    }

    .landing-bento-large,
    .landing-bento-wide {
        grid-column: span 1;
    }

    .landing-dash-card {
        display: none;
    }

    .landing-v4 .landing-hero-visual {
        min-height: 360px;
    }
}

@media (max-width: 767px) {
    .landing-float-card-3 {
        display: none;
    }

    .landing-v4 .landing-hero {
        padding-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-v4 .landing-ticker-track,
    .landing-gradient-shine,
    .landing-live-dot,
    .landing-badge-pulse,
    .landing-v4 .landing-phone,
    .landing-float-card {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Plataforma super admin ===== */
.stat-card-alert {
    border-color: rgba(239, 68, 68, 0.45) !important;
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%) !important;
}

.stat-card-alert .stat-value {
    color: #dc2626;
}

.plataforma-alert-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #92400e;
}

.plataforma-empresas-card .card-head.compact {
    margin-bottom: 16px;
}

.plataforma-empresas-head-text h2 {
    margin: 0 0 4px;
}

.plataforma-empresas-head-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.plataforma-toolbar {
    margin-bottom: 20px;
}

.plataforma-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0 14px;
    margin-bottom: 12px;
}

.plataforma-search svg {
    color: var(--gray-500);
    flex-shrink: 0;
}

.plataforma-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 0.95rem;
    font-family: inherit;
    min-width: 0;
}

.plataforma-search input:focus {
    outline: none;
}

.plataforma-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plataforma-filter-pill {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s;
}

.plataforma-filter-pill:hover {
    border-color: var(--gold);
    color: var(--slate-900);
}

.plataforma-filter-pill.is-active {
    background: var(--slate-900);
    border-color: var(--slate-900);
    color: #fff;
}

.plataforma-table-wrap {
    overflow-x: auto;
    margin: 0 -4px;
    padding: 0 4px;
}

.plataforma-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.plataforma-table th {
    text-align: left;
    padding: 12px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}

.plataforma-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: top;
}

.plataforma-table tbody tr:hover {
    background: var(--gray-50);
}

.plataforma-table tbody tr.row-alert {
    background: #fef2f2;
}

.plataforma-table tbody tr.row-alert:hover {
    background: #fee2e2;
}

.plataforma-empresa-nome {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.plataforma-empresa-meta {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.45;
}

.plataforma-meta-warn {
    color: #d97706;
}

.plataforma-mini-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 4px;
}

.plataforma-mini-badge.ok {
    background: #dcfce7;
    color: #166534;
}

.plataforma-mini-badge.warn {
    background: #fef3c7;
    color: #92400e;
}

.plataforma-mini-badge.danger {
    background: #fee2e2;
    color: #b91c1c;
}

.plataforma-mini-badge.off {
    background: var(--gray-200);
    color: var(--gray-700);
}

.plataforma-actions-cell {
    white-space: nowrap;
    text-align: right;
}

.plataforma-actions-cell .btn {
    margin-left: 4px;
}

.plataforma-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plataforma-empresa-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 16px;
}

.plataforma-empresa-card.has-alert {
    border-color: #fecaca;
    background: #fef2f2;
}

.plataforma-empresa-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.plataforma-empresa-card-top strong {
    display: block;
    font-size: 1rem;
}

.plataforma-empresa-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin: 0 0 14px;
}

.plataforma-empresa-dl dt {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.plataforma-empresa-dl dd {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-900);
}

.plataforma-empresa-card-actions {
    display: flex;
    gap: 8px;
}

.plataforma-empresa-card-actions .btn-block {
    flex: 1;
}

@media (min-width: 1024px) {
    .admin-app .app-content {
        max-width: 1280px;
    }

    .plataforma-empresas-card .card-head.compact {
        align-items: center;
    }
}

.plataforma-danger-zone {
    border-color: rgba(239, 68, 68, 0.35);
}

.plataforma-danger-zone .card-head h2 {
    color: #fca5a5;
}

.plataforma-delete-form {
    margin-top: 4px;
}

.payment-banner-link {
    display: inline-block;
    margin-top: 6px;
    font-weight: 700;
    color: inherit;
    text-decoration: underline;
}

.mp-pagamento-valor {
    font-size: 2rem;
    font-weight: 800;
    color: #fcd34d;
    margin: 0 0 16px;
}

.mp-pix-qr-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.mp-pix-qr {
    max-width: 220px;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
}

.mp-pix-copy {
    width: 100%;
    font-size: 0.78rem;
    font-family: monospace;
    margin-bottom: 8px;
}

.mp-pix-hint {
    margin-top: 12px;
}

.mp-metodo-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.mp-metodo-tab {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.mp-metodo-tab.active {
    background: rgba(252, 211, 77, 0.15);
    border-color: #fcd34d;
    color: #fcd34d;
}

.mp-card-brick {
    min-height: 320px;
}

.mp-pagamento-pendente {
    text-align: center;
    padding: 12px 0;
}

.mp-webhook-url {
    display: block;
    word-break: break-all;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.6);
    font-size: 0.82rem;
}

.plataforma-valores-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    font-size: 0.92rem;
}

.plataforma-valores-preview span {
    color: #fcd34d;
}

.plataforma-cobrancas-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    width: 100%;
}

.plataforma-cobranca-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plataforma-cobranca-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--gray-100);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.plataforma-cobranca-stat strong {
    color: var(--gray-900);
}

.plataforma-cobranca-stat.warn {
    background: #fef3c7;
    color: #92400e;
}

.plataforma-cobranca-stat.warn strong {
    color: #78350f;
}

.plataforma-cobranca-stat.ok {
    background: #dcfce7;
    color: #166534;
}

.plataforma-cobranca-stat.ok strong {
    color: #14532d;
}

.plataforma-cobranca-filters {
    margin-bottom: 16px;
}

.plataforma-cobrancas-table .plataforma-cobranca-metodo {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.plataforma-cobranca-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plataforma-cobranca-card {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.plataforma-cobranca-card.has-alert {
    border-color: #fecaca;
    background: #fef2f2;
}

.plataforma-cobranca-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.plataforma-cobranca-card .plataforma-cobranca-actions {
    margin-top: 12px;
}

.plataforma-cobranca-card .plataforma-cobranca-actions form {
    flex: 1;
    min-width: 140px;
}

.plataforma-cobranca-empty-filter {
    margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) {
    .landing-ticker-track,
    .landing-gradient-shine,
    .landing-orb,
    .landing-phone,
    .landing-float-card,
    .reveal {
        animation: none;
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Admin financeiro ===== */
.finance-period-form {
    padding: 16px;
}

.finance-period-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.finance-period-fields .form-group {
    flex: 1;
    min-width: 120px;
    margin: 0;
}

.finance-period-fields .btn {
    flex-shrink: 0;
    min-height: 44px;
}

.finance-summary-note {
    font-size: 0.9rem;
    color: var(--gray-700);
    margin: -4px 0 8px;
}

.finance-breakdown-grid {
    display: grid;
    gap: 16px;
}

.finance-rank-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--green-dark, #15803d);
    white-space: nowrap;
}

.finance-rank-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 999px;
    margin-top: 10px;
    overflow: hidden;
}

.finance-rank-bar span {
    display: block;
    height: 100%;
    background: var(--green-gradient, linear-gradient(135deg, #22c55e, #16a34a));
    border-radius: 999px;
    min-width: 2px;
}

.admin-list-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .finance-breakdown-grid {
        grid-template-columns: 1fr 1fr;
    }
}
