:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --dark: #0f172a;
    --light: #f8fafc;
    --radius: 12px;
}

* { font-family: 'Inter', sans-serif; }

body {
    color: #334155;
    background: #fff;
}

body.has-mobile-nav {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.site-main {
    padding-top: 64px;
}

/* ===== HEADER ===== */
.site-header {
    z-index: 1030;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.site-header .navbar {
    min-height: 64px;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header .navbar-brand {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100% - 56px);
    min-width: 0;
}

.site-header .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-link-desktop {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link-desktop:hover {
    color: var(--primary);
    background: #eff6ff;
}

.btn-mobile-menu {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #334155;
    padding: 0;
}

.btn-mobile-menu:active {
    background: #e2e8f0;
}

/* ===== MOBILE OFFCANVAS MENU ===== */
.mobile-offcanvas {
    width: min(320px, 88vw) !important;
    border-left: none;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}

.mobile-offcanvas .offcanvas-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 0.5rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #1e293b;
    transition: background 0.2s;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
    background: #f1f5f9;
    color: #1e293b;
}

.mobile-nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.mobile-nav-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mobile-nav-text strong {
    font-size: 0.95rem;
}

.mobile-nav-text small {
    color: #94a3b8;
    font-size: 0.78rem;
}

.mobile-nav-arrow {
    color: #cbd5e1;
    font-size: 0.85rem;
}

.mobile-menu-cta {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 10px;
    transition: color 0.2s;
    min-height: 52px;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    line-height: 1;
}

.bottom-nav-item.active {
    color: var(--primary);
}

.bottom-nav-item.bottom-nav-cta {
    position: relative;
    color: #fff;
}

.bottom-nav-item.bottom-nav-cta i {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-top: -18px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.bottom-nav-item.bottom-nav-cta span {
    margin-top: 2px;
    color: var(--primary);
}

.bottom-nav-item.bottom-nav-cta.active span {
    color: var(--primary-dark);
}

.bottom-nav-item:active {
    color: var(--primary);
    transform: scale(0.96);
}

button.bottom-nav-item {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

/* Âncoras não ficam escondidas atrás do header fixo */
#como-funciona,
#vantagens,
#avaliacoes,
#faq {
    scroll-margin-top: 88px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:active {
    color: #fff !important;
}
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0ecff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.mockup-card {
    width: 320px;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform 0.3s;
}

.mockup-card:hover { transform: rotate(0deg); }

.mockup-header {
    height: 80px;
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
}

.mockup-body { padding: 1.5rem; }

.mockup-line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mockup-line.long { width: 100%; }
.mockup-line.medium { width: 70%; }
.mockup-line.short { width: 40%; }

/* Steps */
.step-card {
    background: #fff;
    border-radius: var(--radius);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary);
    display: block;
    margin-top: 1rem;
}

/* Features */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Examples */
.example-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s;
}

.example-card:hover { transform: translateY(-5px); }

.example-preview {
    height: 280px;
    position: relative;
}

.admin-preview { background: linear-gradient(180deg, #1a365d 60px, #fff 60px); }
.tech-preview { background: linear-gradient(180deg, #065f46 60px, #fff 60px); }
.general-preview { background: linear-gradient(180deg, #4c1d95 60px, #fff 60px); }

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.avatar-circle {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Form Steps */
.form-wizard {
    max-width: 800px;
    margin: 0 auto;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e2e8f0;
    z-index: 0;
}

.progress-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.progress-step .step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.progress-step.active .step-circle,
.progress-step.completed .step-circle {
    background: var(--primary);
    color: #fff;
}

.progress-step.completed .step-circle {
    background: var(--success);
}

.progress-step .step-label {
    display: block;
    font-size: 12px;
    margin-top: 6px;
    color: #94a3b8;
}

.progress-step.active .step-label { color: var(--primary); font-weight: 600; }

.form-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

/* ===== CURRÍCULO PROFISSIONAL ===== */
.preview-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(15, 39, 68, 0.15);
}

.preview-watermark {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.preview-watermark span {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(220, 38, 38, 0.22);
    transform: rotate(-30deg);
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    user-select: none;
}

.preview-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 80px,
        rgba(220, 38, 38, 0.025) 80px, rgba(220, 38, 38, 0.025) 160px
    );
    z-index: 5;
    pointer-events: none;
}

.preview-content.blurred .sensitive {
    filter: blur(4px);
    user-select: none;
}

.cv-document {
    background: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1e293b;
    line-height: 1.55;
}

.cv-accent-bar {
    height: 5px;
    background: linear-gradient(90deg, #0f2744 0%, #2563eb 50%, #3b82f6 100%);
}

.cv-header {
    padding: 2rem 2.5rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.cv-name {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f2744;
    letter-spacing: -0.5px;
    margin: 0 0 0.75rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.cv-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.cv-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #475569;
    font-weight: 500;
}

.cv-contact-item i {
    color: #2563eb;
    font-size: 0.9rem;
}

.cv-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 400px;
}

.cv-sidebar {
    background: linear-gradient(180deg, #0f2744 0%, #1e3a5f 100%);
    color: #e2e8f0;
    padding: 1.75rem 1.25rem;
}

.cv-sidebar-block {
    margin-bottom: 1.5rem;
}

.cv-sidebar-block:last-child {
    margin-bottom: 0;
}

.cv-sidebar-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #93c5fd;
    margin-bottom: 0.65rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(147, 197, 253, 0.25);
}

.cv-sidebar-text {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.cv-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-sidebar-list li {
    font-size: 0.78rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.cv-sidebar-list li i {
    color: #60a5fa;
    margin-top: 2px;
    flex-shrink: 0;
}

.cv-sidebar-edu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cv-sidebar-edu strong {
    font-size: 0.82rem;
    color: #fff;
}

.cv-sidebar-edu span {
    font-size: 0.78rem;
    color: #cbd5e1;
}

.cv-sidebar-edu em {
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: normal;
}

.cv-sidebar-edu small {
    font-size: 0.7rem;
    color: #60a5fa;
    font-weight: 600;
}

.cv-courses-mini li {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0.75rem !important;
}

.cv-courses-mini strong {
    color: #fff;
    font-size: 0.78rem;
}

.cv-courses-mini span {
    color: #94a3b8;
    font-size: 0.7rem;
}

.cv-main {
    padding: 1.75rem 2rem 2rem;
    background: #fff;
}

.cv-section {
    margin-bottom: 1.75rem;
}

.cv-section:last-child {
    margin-bottom: 0;
}

.cv-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0f2744;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cv-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, transparent);
}

.cv-section-title span {
    white-space: nowrap;
}

.cv-text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

.cv-timeline-item {
    display: flex;
    gap: 14px;
    margin-bottom: 1.25rem;
    position: relative;
}

.cv-timeline-item:last-child {
    margin-bottom: 0;
}

.cv-timeline-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    border: 2px solid #dbeafe;
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px #eff6ff;
}

.cv-timeline-content {
    flex: 1;
    padding-bottom: 0.25rem;
}

.cv-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.cv-job-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f2744;
    margin: 0;
}

.cv-period {
    font-size: 0.72rem;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.cv-company {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin: 2px 0 6px;
}

.cv-description {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.cv-edu-item {
    padding-left: 14px;
    border-left: 3px solid #2563eb;
}

.cv-courses-grid {
    display: grid;
    gap: 0.75rem;
}

.cv-course-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2563eb;
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1rem;
}

.cv-course-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f2744;
    margin: 0 0 2px;
}

.cv-course-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.cv-empty {
    font-size: 0.85rem;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

/* Sidebar courses hidden on desktop main - shown in sidebar */
.cv-section-main-only .cv-courses-grid {
    display: none;
}

@media (min-width: 768px) {
    .cv-section-main-only {
        display: none;
    }
    .cv-section-main-only.d-md-none {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .cv-layout {
        grid-template-columns: 1fr;
    }

    .cv-sidebar .cv-sidebar-block:first-child {
        display: none;
    }

    .cv-sidebar {
        padding: 1.25rem;
    }

    .cv-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .cv-name {
        font-size: 1.4rem;
    }

    .cv-main {
        padding: 1.25rem;
    }

    .cv-section-main-only .cv-courses-grid {
        display: grid;
    }

    .cv-sidebar .cv-sidebar-block:last-child {
        display: none;
    }

    .cv-contact-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .preview-watermark span {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Dashboard */
.dashboard-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--dark);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

.dashboard-sidebar .nav-link {
    color: #94a3b8;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    transition: all 0.2s;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.dashboard-sidebar .nav-link i { width: 24px; }

.dashboard-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background: #f1f5f9;
}

.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.stat-card:hover { transform: translateY(-2px); }

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pendente { background: #fef3c7; color: #92400e; }
.status-pago { background: #d1fae5; color: #065f46; }
.status-enviado { background: #dbeafe; color: #1e40af; }
/* Dashboard mobile header */
.dashboard-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--dark);
    color: #fff;
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.dashboard-mobile-header .btn-dash-menu {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.dashboard-offcanvas {
    background: var(--dark);
    width: min(280px, 85vw) !important;
}

.dashboard-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dashboard-offcanvas .nav-link {
    color: #94a3b8;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 0;
}

.dashboard-offcanvas .nav-link:hover,
.dashboard-offcanvas .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

@media (max-width: 767.98px) {
    .dashboard-mobile-header { display: flex; }

    .dashboard-content .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch !important;
    }

    .dashboard-content .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .dashboard-content .btn {
        min-height: 44px;
    }

    .dashboard-offcanvas .nav-link {
        min-height: 52px;
        display: flex;
        align-items: center;
    }
}

/* Experience/Course items */
.item-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.item-card .btn-remove {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* Auto-save indicator */
.autosave-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--success);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 999;
}

.autosave-indicator.show { opacity: 1; }

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section .row {
        min-height: auto !important;
        padding: 1.25rem 0 0.5rem;
    }

    .hero-section h1.display-4 {
        font-size: 1.85rem;
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 0.98rem;
    }

    .hero-section .btn-lg {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 14px;
    }

    .hero-section .d-flex.gap-3 {
        flex-direction: column;
    }

    .hero-section .mt-4.d-flex.gap-4 {
        flex-direction: column;
        gap: 0.5rem !important;
        font-size: 0.9rem;
    }

    .cta-section .btn-lg {
        width: 100%;
        min-height: 52px;
        border-radius: 14px;
    }

    .form-card {
        padding: 1.15rem;
        border-radius: 16px;
    }

    .form-card .form-control,
    .form-card .form-select {
        padding: 12px 14px;
        font-size: 16px; /* evita zoom no iOS */
        border-radius: 10px;
        min-height: 48px;
    }

    .form-card textarea.form-control {
        min-height: 120px;
    }

    .form-card .form-label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .form-card h3 {
        font-size: 1.2rem;
    }

    .btn-nav {
        min-height: 48px;
        padding: 12px 20px !important;
        font-size: 1rem;
        border-radius: 12px;
    }

    .form-nav-buttons {
        gap: 12px;
        position: sticky;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        z-index: 20;
        background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
        padding-top: 1rem;
        padding-bottom: 0.25rem;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .form-nav-buttons .btn-nav {
        flex: 1;
    }

    .mobile-step-header {
        background: linear-gradient(135deg, #eff6ff, #f8fafc);
        border-radius: 16px;
        padding: 1rem 1.25rem;
        border: 1px solid #dbeafe;
    }

    .mobile-step-badge {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 20px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    .mobile-step-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .progress-steps {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        justify-content: flex-start;
        gap: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

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

    .progress-steps::before {
        display: none;
    }

    .progress-step {
        flex: 0 0 auto;
        min-width: 56px;
        scroll-snap-align: center;
    }

    .progress-step .step-circle {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .progress-step .step-label {
        display: block;
        font-size: 0.65rem;
        max-width: 64px;
        margin: 4px auto 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .preview-watermark span {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .autosave-indicator {
        bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        text-align: center;
    }

    .site-footer {
        padding-bottom: calc(2rem + 72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .testimonial-card,
    .feature-card,
    .step-card {
        border-radius: 16px;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem 1.1rem;
    }

    section.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    .container.py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .foto-thumb-wrap {
        width: 72px !important;
        height: 96px !important;
        overflow: hidden !important;
    }

    .foto-thumb-wrap img,
    #fotoPreview,
    img.foto-preview {
        width: 72px !important;
        height: 96px !important;
        max-width: 72px !important;
        max-height: 96px !important;
        object-fit: cover !important;
    }

    .finalizado-actions .btn,
    .btn-success.btn-lg {
        min-height: 52px;
        border-radius: 14px;
    }

    /* Tabelas dashboard no mobile */
    .table-responsive {
        border-radius: 12px;
    }

    .dashboard-content .table {
        font-size: 0.85rem;
    }

    .dashboard-content .table th,
    .dashboard-content .table td {
        padding: 0.6rem 0.5rem;
        white-space: nowrap;
    }

    .dashboard-content h2 {
        font-size: 1.4rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .mobile-bottom-nav {
        padding-left: 2px;
        padding-right: 2px;
    }

    .bottom-nav-item span {
        font-size: 0.62rem;
        letter-spacing: 0;
    }

    .mobile-offcanvas .offcanvas-body {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
    }
    .dashboard-content { margin-left: 0; padding: 1rem; padding-top: 72px; }
}
