:root {
    --primary-bg: #101827;
    --sidebar-text: #aab4c5;
    --sidebar-text-hover: #ffffff;
    --sidebar-active-bg: #1b2a40;
    --light-bg: #f4f6fb;
    --card-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: #111827;
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
}

html {
    margin: 0 !important;
    padding: 0 !important;
    top: 0 !important;
    scroll-behavior: smooth;
}

html[style],
body[style],
html.admin-bar,
body.admin-bar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

.wrapper {
    min-height: 100vh;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#sidebar {
    min-width: 270px;
    max-width: 270px;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: var(--sidebar-text);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

#sidebar.active {
    min-width: 86px;
    max-width: 86px;
}

#sidebar .sidebar-header {
    padding: 24px 20px;
    position: relative;
}

#sidebar .sidebar-header h3 {
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: 1px;
}

#sidebar ul.components {
    padding: 10px 0;
    flex-grow: 1;
}

#sidebar ul li a {
    padding: 13px 22px;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

#sidebar ul li a i {
    min-width: 20px;
    text-align: center;
    font-size: 1.05rem;
}

#sidebar .menu-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}


#sidebar .menu-premium-chip {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.25);
    background: rgba(250, 204, 21, 0.12);
    color: #facc15;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

#sidebar ul li.plan-locked > a {
    color: #e5e7eb;
}

#sidebar ul li.plan-locked > a .menu-text {
    color: #f8fafc;
}

#sidebar ul li.plan-locked > a:hover {
    border-left-color: #facc15;
}

#sidebar.active .menu-premium-chip,
#sidebar.active .menu-premium-chip-text {
    display: none;
}

#sidebar .menu-text,
#sidebar .sidebar-brand-text,
#sidebar .sidebar-subtitle,
#sidebar .sidebar-footer-text {
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#sidebar.active .menu-text,
#sidebar.active .sidebar-subtitle,
#sidebar.active .sidebar-footer-text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

#sidebar.active .sidebar-header {
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
}

#sidebar.active .sidebar-header h3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidebar.active .sidebar-brand-text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

#sidebar.active ul li a {
    justify-content: center;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
}

#sidebar.active ul li.active > a,
#sidebar.active ul li a:hover {
    border-left: 0;
    border-radius: 14px;
    margin: 0 10px;
}

#sidebar.active .sidebar-footer {
    padding: 18px 10px;
}

#sidebar.active .sidebar-footer .btn-outline-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

#sidebar ul li.active > a,
#sidebar ul li a:hover {
    color: var(--sidebar-text-hover);
    background: var(--sidebar-active-bg);
    border-left: 3px solid #38bdf8;
}

#sidebar .sidebar-footer {
    padding: 18px;
}

#sidebar .sidebar-footer .btn-outline-secondary {
    border-radius: 14px;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.06);
}

.top-nav {
    background: #fff;
    padding: 14px 18px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
    position: fixed;
    top: 0;
    left: 270px;
    right: 0;
    z-index: 1030;
    height: 72px;
    transition: all 0.3s;
}

.trial-notice-banner {
    padding: 18px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.trial-notice-banner .trial-notice-title {
    font-size: 1rem;
}

.trial-notice-banner .trial-notice-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.trial-notice-progress {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.trial-notice-progress .progress-bar {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.trial-notice-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(14, 165, 233, 0.08));
    border-color: rgba(59, 130, 246, 0.16);
}

.trial-notice-warning {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.16), rgba(245, 158, 11, 0.08));
    border-color: rgba(245, 158, 11, 0.2);
}

.trial-notice-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.14), rgba(248, 113, 113, 0.08));
    border-color: rgba(239, 68, 68, 0.18);
}

.main-content-area {
    background-color: var(--light-bg);
    min-height: calc(100vh - 72px);
    margin-top: 72px;
}

.crd-clientes { background: linear-gradient(135deg, #0ea5e9, #2563eb); }
.crd-faturamento { background: linear-gradient(135deg, #10b981, #059669); }
.crd-servicos { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.crd-alertas { background: linear-gradient(135deg, #ef4444, #dc2626); }

.stat-card {
    border-radius: 14px;
}

.rounded-4 {
    border-radius: 16px !important;
}

.card {
    box-shadow: var(--card-shadow);
}

.table > :not(caption) > * > * {
    padding: 0.8rem 0.75rem;
}

.chart-wrap {
    position: relative;
    width: 100%;
    height: 320px;
}

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

.calendar-day {
    background: #eef2f7;
    color: #475569;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    padding: 7px 0;
}

.calendar-day.active {
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

.agenda-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f8fafc;
}

.settings-tabs .nav-link {
    color: #475569;
    font-weight: 600;
    border: 0;
    border-bottom: 2px solid transparent;
}

.settings-tabs .nav-link.active {
    color: #1d4ed8;
    background: transparent;
    border-bottom-color: #1d4ed8;
}

.settings-logo-preview {
    background: #f8fafc;
}

.logo-preview-img {
    max-height: 160px;
    object-fit: contain;
}

.logo-placeholder {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #334155;
    font-weight: 700;
}

body #sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1040;
}

body #content {
    margin-left: 270px;
    width: calc(100% - 270px);
    transition: all 0.3s;
}

body #sidebar.active + #content {
    margin-left: 86px;
    width: calc(100% - 86px);
}

body #sidebar.active + #content .top-nav {
    left: 86px;
}

body.pdv-kiosk #sidebar,
body.pdv-kiosk .top-nav {
    display: none !important;
}

body.pdv-kiosk #content {
    margin-left: 0 !important;
    width: 100% !important;
}

body.pdv-kiosk .main-content-area {
    margin-top: 0 !important;
    min-height: 100vh;
}

@media (max-width: 991px) {
    body #content {
        margin-left: 0;
        width: 100%;
    }

    .top-nav {
        left: 0;
    }

    #sidebar {
        margin-left: -270px;
        position: fixed;
        height: 100vh;
        z-index: 1050;
    }

    #sidebar.active {
        min-width: 270px;
        max-width: 270px;
        margin-left: 0;
    }

    #content {
        width: 100%;
    }
}

/* ── Notification Dropdown Panels ──────────────────────────── */
.notif-item {
    background: #fff;
    transition: background 0.15s;
    color: #111827;
}
.notif-item:hover {
    background: #f0f4ff;
    color: #111827;
}
.notif-item:last-child {
    border-bottom: none !important;
}
.notif-panel {
    animation: notifFadeIn 0.18s ease;
    transform-origin: top right;
}
@keyframes notifFadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.notif-dropdown .btn-link:focus {
    box-shadow: none;
}
.header-search-item {
    background: #fff;
    color: #111827;
    transition: background 0.15s;
}
.header-search-item:hover {
    background: #f0f4ff;
    color: #1d4ed8;
}



#sidebar .sidebar-footer .sidebar-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

#sidebar .sidebar-footer .sidebar-footer-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-mobile-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.sidebar-mobile-close:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-1px);
}

.sidebar-mobile-close i {
    font-size: 1rem;
}

#sidebarBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1090;
}

/* ─────────────────────────────────────────────────────────
   Public Landing Page
───────────────────────────────────────────────────────── */
body.public-landing {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--landing-bg, #040404);
    color: #f5f5f5;
    overflow-x: hidden;
    scroll-padding-top: 110px;
}

.public-landing a {
    text-decoration: none;
}

.landing-container {
    width: min(1320px, calc(100% - 48px));
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(4, 4, 4, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: var(--landing-font-brand, 1.1rem);
    font-weight: 800;
    color: #fff;
}

.landing-brand-logo {
    display: block;
    height: var(--landing-logo-height, 44px);
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.landing-brand strong {
    color: var(--landing-accent, #ff235d);
    font-weight: 800;
}

.landing-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--landing-accent, #ff235d), #f5164f);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 32px rgba(255, 35, 93, 0.26);
}

.landing-brand-icon i {
    font-size: 1rem;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
}

.landing-nav-links a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    font-size: var(--landing-font-nav, 1rem);
    transition: color .2s ease;
}

.landing-nav-links a:hover {
    color: #fff;
}

.landing-nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.landing-nav-cta {
    white-space: nowrap;
}

.landing-menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: none;
}

.landing-mobile-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(4, 4, 4, 0.98);
    backdrop-filter: blur(16px);
}

.landing-mobile-menu-panel {
    display: grid;
    gap: 12px;
    padding: 18px 0 22px;
}

.landing-mobile-menu-panel a {
    color: #fff;
    font-weight: 700;
}

.landing-mobile-menu-panel > a:not(.landing-mobile-cta) {
    display: flex;
    align-items: center;
    min-height: 52px;
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-mobile-cta {
    width: 100%;
    margin-top: 4px;
}

.landing-mobile-menu-actions {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 18px 34px;
    font-weight: 800;
    font-size: var(--landing-font-button, 1.05rem);
    border: 1px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.landing-btn:hover {
    transform: translateY(-1px);
}

.landing-btn-sm {
    padding: 14px 28px;
    font-size: calc(var(--landing-font-button, 1.05rem) * 0.95);
}

.landing-btn-primary {
    background: linear-gradient(135deg, var(--landing-accent, #ff235d), #f5164f);
    color: #fff;
    box-shadow: 0 24px 48px rgba(255, 35, 93, 0.22);
}

.landing-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.landing-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.landing-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.landing-hero {
    padding: 120px 0 72px;
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
    border-radius: 999px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--landing-accent, #ff235d);
    font-size: var(--landing-font-badge, 0.95rem);
    font-weight: 700;
    margin-bottom: 34px;
}

.landing-title {
    margin: 0 auto 24px;
    max-width: 1100px;
    font-size: clamp(3rem, 8vw, var(--landing-font-hero-title, 6.15rem));
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.landing-title span,
.landing-title strong {
    display: block;
}

.landing-title strong {
    color: var(--landing-accent, #ff235d);
}

.landing-subtitle {
    max-width: 820px;
    margin: 0 auto;
    font-size: clamp(1.05rem, 1.8vw, var(--landing-font-hero-desc, 1.55rem));
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

.landing-hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 42px;
}

.landing-showcase-section {
    padding: 0 0 82px;
}

.landing-showcase-frame {
    border-radius: var(--landing-image-radius, 32px);
    border: var(--landing-image-border-width, 1px) solid rgba(255, 255, 255, var(--landing-image-border-alpha, 0.08));
    overflow: hidden;
    background: #0a0a0a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 30px 80px rgba(0,0,0,.35);
    width: min(
        var(--landing-showcase-frame-width, 100%),
        calc((var(--landing-showcase-height, 720px) * 2.12) + (var(--landing-showcase-frame-padding, 0px) * 2))
    );
    max-width: 100%;
    margin-inline: auto;
    padding: var(--landing-showcase-frame-padding, 0px);
}

.landing-showcase-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: min(var(--landing-showcase-height, 720px), 76vw);
    object-fit: var(--landing-showcase-fit, cover);
    object-position: center var(--landing-showcase-position-y, 50%);
    border-radius: max(calc(var(--landing-image-radius, 32px) - var(--landing-showcase-frame-padding, 0px)), 0px);
}

.landing-stats-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 52px 0;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.landing-stat-item {
    text-align: center;
}

.landing-stat-value {
    font-size: clamp(2.1rem, 4vw, var(--landing-font-stat-value, 4rem));
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--landing-accent, #ff235d);
    margin-bottom: 12px;
}

.landing-stat-label {
    color: rgba(255, 255, 255, 0.46);
    font-size: var(--landing-font-stat-label, 1rem);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.landing-section {
    padding: 90px 0;
}

.landing-section-heading {
    max-width: 940px;
    margin: 0 auto 48px;
}

.landing-section-heading h2 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 5vw, var(--landing-font-section-title, 4.8rem));
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-section-heading h2 strong {
    color: var(--landing-accent, #ff235d);
}

.landing-section-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: var(--landing-font-section-desc, 1.2rem);
    line-height: 1.7;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.landing-feature-card,
.landing-testimonial-card,
.landing-pricing-card {
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
    background-color: var(--landing-card, #121214);
    border: var(--landing-card-border-width, 1px) solid rgba(255, 255, 255, var(--landing-card-border-alpha, 0.06));
    border-radius: var(--landing-card-radius, 28px);
    padding: 34px 32px;
}

.landing-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 35, 93, 0.12);
    color: var(--landing-accent, #ff235d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}

.landing-feature-icon i {
    font-size: 1.55rem;
}

.landing-feature-card h3,
.landing-pricing-card h3 {
    font-size: var(--landing-font-card-title, 1.05rem);
    margin: 0 0 18px;
    font-weight: 800;
    color: #fff;
}

.landing-feature-card p,
.landing-testimonial-card p,
.landing-footer-copy,
.landing-plan-list span {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.8;
    font-size: var(--landing-font-card-text, 1rem);
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.landing-pricing-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.landing-pricing-card {
    position: relative;
}

.landing-pricing-card.is-popular {
    border-color: var(--landing-accent, #ff235d);
    box-shadow: 0 24px 80px rgba(255, 35, 93, 0.12);
    background: linear-gradient(180deg, rgba(255, 35, 93, 0.10), rgba(255,255,255,.02));
}

.landing-paid-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 700;
}

.landing-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: none;
}

.landing-checkout-modal.is-open {
    display: block;
}

body.landing-modal-open {
    overflow: hidden;
}

.landing-checkout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
}

.landing-checkout-dialog {
    position: relative;
    width: min(1120px, calc(100% - 32px));
    margin: 6vh auto 0;
    border-radius: calc(var(--landing-card-radius, 28px) + 8px);
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    background-color: var(--landing-card, #121214);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 36px 90px rgba(0,0,0,0.46);
    overflow: hidden;
}

.landing-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.landing-checkout-main,
.landing-checkout-side {
    padding: 36px;
}

.landing-checkout-main {
    border-right: 1px solid rgba(255,255,255,0.06);
}

.landing-checkout-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-checkout-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 35, 93, 0.12);
    color: var(--landing-accent, #ff235d);
    font-size: .92rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.landing-checkout-main h3 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.landing-checkout-text,
.landing-checkout-side-card p,
.landing-checkout-note {
    color: rgba(255,255,255,0.66);
    line-height: 1.7;
}

.landing-checkout-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 26px 0 24px;
}

.landing-checkout-summary > div,
.landing-checkout-card,
.landing-checkout-side-card {
    border-radius: calc(var(--landing-card-radius, 28px) - 8px);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.landing-checkout-summary > div {
    padding: 18px 20px;
}

.landing-checkout-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.52);
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.landing-checkout-summary strong,
.landing-checkout-side-title {
    color: #fff;
    font-weight: 800;
}

.landing-checkout-price {
    color: var(--landing-accent, #ff235d);
    font-size: 1.5rem;
}

.landing-checkout-card {
    padding: 22px 24px;
}

.landing-checkout-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.landing-checkout-card-chip {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 35, 93, 0.14);
    color: var(--landing-accent, #ff235d);
    font-size: .82rem;
    font-weight: 800;
}

.landing-checkout-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.landing-checkout-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.74);
}

.landing-checkout-feature-list i {
    color: var(--landing-accent, #ff235d);
    margin-top: 2px;
}

.landing-checkout-side-card {
    padding: 24px;
    position: sticky;
    top: 20px;
}

.landing-checkout-side-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.landing-checkout-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-size: .95rem;
}

.landing-popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--landing-accent, #ff235d), #f5164f);
    color: #fff;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 800;
}

.landing-price-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.landing-price-main {
    font-size: clamp(2.2rem, 4vw, var(--landing-font-price, 4rem));
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.landing-price-suffix {
    color: rgba(255, 255, 255, 0.58);
    font-weight: 600;
    font-size: 1.2rem;
}

.landing-plan-list {
    padding: 0;
    margin: 0 0 34px;
    list-style: none;
    display: grid;
    gap: 16px;
}

.landing-plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.landing-plan-list i,
.landing-stars i {
    color: var(--landing-accent, #ff235d);
}

.landing-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.landing-stars {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
}

.landing-testimonial-quote {
    font-size: 1.02rem;
    min-height: 118px;
}

.landing-testimonial-author {
    font-weight: 800;
    margin-top: 20px;
    color: #fff;
}

.landing-testimonial-role {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.52);
}

.landing-faq-wrap {
    padding-top: 10px;
}

.landing-faq-list {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.landing-faq-item {
    border-radius: calc(var(--landing-card-radius, 28px) - 2px);
    border: var(--landing-card-border-width, 1px) solid rgba(255, 255, 255, calc(var(--landing-card-border-alpha, 0.06) + 0.02));
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
    background-color: var(--landing-card, #121214);
    overflow: hidden;
}

.landing-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    padding: 26px 28px;
    color: #fff;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    font-weight: 800;
}

.landing-faq-item summary::-webkit-details-marker {
    display: none;
}

.landing-faq-item summary i {
    font-size: 1rem;
    color: var(--landing-accent, #ff235d);
    transition: transform .2s ease;
}

.landing-faq-item[open] summary i {
    transform: rotate(45deg);
}

.landing-faq-answer {
    padding: 0 28px 26px;
}

.landing-faq-answer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.75;
    font-size: 1rem;
}

.landing-final-cta-wrap {
    padding-top: 36px;
    padding-bottom: 110px;
}

.landing-final-cta {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: calc(var(--landing-card-radius, 28px) + 8px);
    padding: 80px 48px;
    text-align: center;
    border: var(--landing-card-border-width, 1px) solid rgba(255, 255, 255, calc(var(--landing-card-border-alpha, 0.06) + 0.01));
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
    background-color: var(--landing-card, #121214);
}

.landing-final-cta h2 {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 5vw, var(--landing-font-cta-title, 5rem));
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.landing-final-cta p {
    max-width: 760px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.58);
    font-size: var(--landing-font-cta-desc, 1.2rem);
    line-height: 1.7;
}

.landing-cta-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.44);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 90px 0 50px;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.7fr 0.7fr;
    gap: 40px;
    padding-bottom: 46px;
}

.landing-footer h4 {
    margin: 0 0 24px;
    font-size: var(--landing-font-footer-title, 1.5rem);
    font-weight: 800;
}

.landing-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.landing-footer-links a,
.landing-footer-bottom,
.landing-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.48);
    font-size: var(--landing-font-footer-text, 1rem);
}

.landing-footer-links a:hover,
.landing-footer-bottom-links a:hover {
    color: #fff;
}

.landing-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.landing-footer-bottom-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}


@media (max-width: 1199.98px) {
    .landing-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-testimonial-grid,
    .landing-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .landing-container {
        width: min(1320px, calc(100% - 28px));
    }

    .landing-header {
        position: sticky;
    }

    .landing-nav {
        min-height: 78px;
        gap: 12px;
    }

    .landing-brand {
        gap: 12px;
        min-width: 0;
        max-width: calc(100% - 72px);
    }

    .landing-brand span {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .landing-brand-logo {
        max-width: 180px;
    }

    .landing-hero {
        padding: 88px 0 54px;
    }

    .landing-showcase-section {
        padding-bottom: 56px;
    }

    .landing-showcase-image {
        height: min(var(--landing-showcase-height, 720px), 88vw);
    }

    .landing-stats-wrap {
        padding: 38px 0;
    }

    .landing-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .landing-features-grid,
    .landing-testimonial-grid,
    .landing-pricing-grid,
    .landing-footer-grid {
        grid-template-columns: 1fr;
    }

    .landing-section {
        padding: 70px 0;
    }

    .landing-section-heading {
        margin-bottom: 34px;
    }

    .landing-final-cta {
        padding: 56px 26px;
    }

    .landing-title {
        line-height: 1;
    }

    .landing-footer {
        padding: 70px 0 34px;
    }

    .landing-footer-grid {
        gap: 26px;
        padding-bottom: 34px;
    }

    .landing-footer-grid > :first-child {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .landing-brand-logo {
        max-width: 160px;
        height: calc(var(--landing-logo-height, 44px) * 0.9);
    }

    .landing-nav-cta {
        display: none !important;
    }

    .landing-hero {
        padding: 72px 0 42px;
    }

    .landing-badge {
        margin-bottom: 24px;
        padding: 10px 14px;
    }

    .landing-title {
        font-size: clamp(2.5rem, 11vw, calc(var(--landing-font-hero-title, 6.15rem) * 0.62));
        margin-bottom: 18px;
    }

    .landing-subtitle,
    .landing-section-heading p,
    .landing-final-cta p {
        font-size: max(1rem, calc(var(--landing-font-section-desc, 1.2rem) * 0.9));
        line-height: 1.65;
    }

    .landing-hero-actions {
        gap: 12px;
        margin-top: 28px;
    }

    .landing-nav-actions {
        gap: 8px;
    }

    .landing-faq-item summary {
        padding: 22px 20px;
        font-size: 1rem;
    }

    .landing-faq-answer {
        padding: 0 20px 22px;
    }

    .landing-btn,
    .landing-btn-sm {
        width: 100%;
        padding: 16px 22px;
    }

    .landing-showcase-frame {
        width: 100%;
    }

    .landing-showcase-image {
        height: auto;
        aspect-ratio: 16 / 12;
    }

    .landing-stat-item {
        padding: 10px 4px;
    }

    .landing-feature-card,
    .landing-testimonial-card,
    .landing-pricing-card {
        padding: 26px 22px;
        border-radius: 24px;
    }

    .landing-testimonial-quote {
        min-height: 0;
    }

    .landing-popular-badge {
        top: -12px;
        font-size: 0.82rem;
        padding: 7px 14px;
    }

    .landing-final-cta {
        padding: 42px 18px;
        border-radius: 24px;
    }

    .landing-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    body.public-landing {
        scroll-padding-top: 96px;
    }

    .landing-container {
        width: min(1320px, calc(100% - 20px));
    }

    .landing-nav {
        min-height: 72px;
    }

    .landing-brand {
        gap: 10px;
        font-size: max(0.95rem, calc(var(--landing-font-brand, 1.1rem) * 0.92));
        max-width: calc(100% - 64px);
    }

    .landing-brand-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .landing-mobile-menu-panel {
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 18px;
    }

    .landing-mobile-menu-actions {
        gap: 10px;
    }

    .landing-stats-grid {
        grid-template-columns: 1fr;
    }

    .landing-stat-value {
        font-size: clamp(2rem, 11vw, var(--landing-font-stat-value, 4rem));
    }

    .landing-section-heading h2,
    .landing-final-cta h2 {
        line-height: 1.04;
    }
}

@media (max-width: 991.98px) {
    .landing-checkout-grid {
        grid-template-columns: 1fr;
    }

    .landing-checkout-main {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .landing-checkout-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .landing-checkout-main,
    .landing-checkout-side {
        padding: 24px 18px;
    }

    .landing-checkout-dialog {
        width: calc(100% - 20px);
        margin-top: 2.5vh;
    }
}

/* -----------------------------------------------------------------------------
   Sidebar compacto (icone-only) apenas no responsivo
----------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    :root {
        --v8-sidebar-mobile-width: 108px;
    }

    #sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        margin-left: calc(var(--v8-sidebar-mobile-width) * -1) !important;
        min-width: var(--v8-sidebar-mobile-width) !important;
        max-width: var(--v8-sidebar-mobile-width) !important;
        z-index: 1100 !important;
        box-shadow: 14px 0 34px rgba(15, 23, 42, 0.28);
    }

    #sidebar.active {
        margin-left: 0 !important;
        min-width: var(--v8-sidebar-mobile-width) !important;
        max-width: var(--v8-sidebar-mobile-width) !important;
    }

    #sidebar .sidebar-header,
    #sidebar.active .sidebar-header {
        padding: 28px 0 22px !important;
        text-align: center !important;
    }

    #sidebar .sidebar-header h3,
    #sidebar.active .sidebar-header h3 {
        justify-content: center !important;
        font-size: 2.35rem !important;
        letter-spacing: 0.5px !important;
    }

    #sidebar .sidebar-brand-text,
    #sidebar .sidebar-subtitle,
    #sidebar .menu-text,
    #sidebar .sidebar-footer-text,
    #sidebar .menu-premium-chip,
    #sidebar .menu-premium-chip-text {
        display: none !important;
    }

    #sidebar ul.components {
        padding: 24px 0 14px !important;
    }

    #sidebar ul li a,
    #sidebar.active ul li a {
        justify-content: center !important;
        gap: 0 !important;
        padding: 16px 0 !important;
    }

    #sidebar ul li a i {
        font-size: 1.35rem !important;
    }

    #sidebar ul li.active > a,
    #sidebar ul li a:hover,
    #sidebar.active ul li.active > a,
    #sidebar.active ul li a:hover {
        border-left: 0 !important;
        border-radius: 14px !important;
        margin: 0 10px !important;
    }

    #sidebar .sidebar-footer,
    #sidebar.active .sidebar-footer {
        padding: 16px 10px 20px !important;
    }

    #sidebar .sidebar-footer .sidebar-footer-link,
    #sidebar.active .sidebar-footer .sidebar-footer-link {
        justify-content: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body #content,
    body #sidebar.active + #content {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .top-nav,
    body #sidebar.active + #content .top-nav {
        left: 0 !important;
    }

    .sidebar-mobile-close {
        display: inline-flex;
    }

    body.sidebar-mobile-open {
        overflow: hidden;
    }

    body.sidebar-mobile-open #sidebarBackdrop {
        opacity: 1;
        pointer-events: auto;
    }
}

