/* ============================================
   MOVCAR - Design system (inspirado Festa da Fazenda)
   Verde claro, moderno, fluido
   ============================================ */

:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --primary-lighter: #dcfce7;
    --success: #22c55e;
    --success-light: #dcfce7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --info: #0ea5e9;
    --info-light: #e0f2fe;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #ffffff 100%);
    background-attachment: fixed;
    color: var(--gray-800);
    font-size: 0.9rem;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main { flex: 1; padding: var(--spacing-xl) 0; }

/* Conteúdo centralizado com margem lateral (navbar e footer continuam largura total) */
.app-content {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
    width: 100%;
}
@media (max-width: 576px) {
    .app-content {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

/* Dropdowns: seta não fica em cima do conteúdo */
.dropdown-toggle {
    position: relative;
    padding-right: 1.75rem !important;
}
.dropdown-toggle::after {
    position: absolute;
    right: 0.5rem;
    margin-left: 0;
}
.nav-item.dropdown .dropdown-toggle {
    padding-right: 1.5rem !important;
}
.nav-item.dropdown .dropdown-toggle::after {
    right: 0.25rem;
}
.form-select,
select.form-select {
    padding-right: 2rem;
    min-height: 2.25rem;
}
.form-select-sm {
    padding-right: 1.75rem;
}

/* ========== NAVBAR ========== */
.navbar-inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
@media (max-width: 576px) {
    .navbar-inner {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}
.navbar, .navbar-app {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: box-shadow 0.2s ease;
}
.navbar-app.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar-brand { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.5px; }
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.9) !important;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md) !important;
    border-radius: var(--radius);
    transition: all var(--transition-base);
}
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15);
}
.navbar-toggler { border: none; }
.logo-text { font-weight: 800; letter-spacing: -0.5px; }

/* Logo reutilizável (ícone + MovCar) — variantes para contraste */
.logo { font-weight: 800; letter-spacing: -0.5px; }
.logo__icon { font-size: 1.35em; }
.logo__text { white-space: nowrap; }
.logo--light .logo__icon,
.logo--light .logo__text { color: #fff !important; }
.logo--light:hover .logo__icon,
.logo--light:hover .logo__text { color: rgba(255,255,255,0.9) !important; }
.logo--dark .logo__icon { color: var(--primary) !important; }
.logo--dark .logo__text { color: var(--gray-800) !important; }
.logo--dark:hover .logo__icon { color: var(--primary-dark) !important; }
.logo--dark:hover .logo__text { color: var(--gray-900) !important; }
.logo--sm .logo__icon { font-size: 1.1em; }
.logo--sm .logo__text { font-size: 0.95rem; }

/* ========== CARDS ========== */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    overflow: hidden;
    background: var(--white);
    position: relative;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}
.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: var(--spacing-lg);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
}
.card-body { padding: var(--spacing-xl); }
/* Card com conteúdo direto (tabela/lista) sem padding — aplicado em todo o site */
.card-body.p-0 {
    background: var(--gray-100, #f8f9fa);
}
.card-body.p-0 .table-responsive,
.card-body.p-0 > .table {
    margin: var(--spacing-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card-body.p-0 .list-group {
    margin: var(--spacing-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card .card-body .table thead th {
    background: var(--gray-100, #f1f5f9);
    color: var(--gray-800, #1e293b);
    font-weight: 600;
}
.card .card-body .table tbody tr:hover {
    background: var(--gray-50, #f8fafc);
}
/* Card com tabela direta (sem card-body): ex. /financeiro/despesas — mesmo visual do dashboard */
.card:has(> .card-header):has(> .table-responsive) {
    background: var(--gray-100, #f8f9fa);
}
.card > .table-responsive {
    margin: var(--spacing-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card > .table-responsive .table thead th {
    background: var(--gray-100, #f1f5f9);
    color: var(--gray-800, #1e293b);
    font-weight: 600;
}
.card > .table-responsive .table tbody tr:hover {
    background: var(--gray-50, #f8fafc);
}
.chart-card-body { padding: var(--spacing-lg); }
.chart-card-body canvas { max-height: 200px; }
.card-title { font-weight: 600; color: var(--gray-800); margin-bottom: var(--spacing-md); }

/* Mobile: evita card cortado; tabelas viram lista de cards (sem rolagem lateral) */
@media (max-width: 991px) {
    .container-fluid { overflow-x: hidden; }
    .row > [class*="col-"] { min-width: 0; }
    .card,
    .card-body,
    .profile-bio-card,
    .perfil-wm-info-card,
    .perfil-wm-gallery-card {
        min-width: 0;
    }
    .card-body p,
    .profile-bio-card p,
    .perfil-wm-titulo {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Tabela vira cards no mobile (cada linha = um card; requer data-label nas células, preenchido por JS) */
@media (max-width: 767px) {
    .table-responsive table.table-mobile-cards thead { display: none; }
    .table-responsive table.table-mobile-cards tbody tr {
        display: block;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-lg);
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-sm);
        background: var(--white);
        box-shadow: var(--shadow-sm);
    }
    .table-responsive table.table-mobile-cards tbody tr:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    .table-responsive table.table-mobile-cards tbody td {
        display: block;
        padding: 0.35rem 0;
        border: none;
        vertical-align: top;
    }
    .table-responsive table.table-mobile-cards tbody td[data-label]::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.02em;
        display: block;
        margin-bottom: 0.15rem;
    }
    .table-responsive table.table-mobile-cards tbody td.text-end::before { display: block; }
    .table-responsive table.table-mobile-cards tbody td[colspan] {
        text-align: center;
        padding: var(--spacing-lg);
    }
    .table-responsive table.table-mobile-cards tbody td[colspan]::before { display: none; }
}

.dashboard-card {
    border-left: 4px solid var(--primary);
    animation: fadeInUp 0.4s ease-out;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== BOTÕES ========== */
.btn {
    border-radius: var(--radius-lg);
    font-weight: 600;
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all var(--transition-base);
    border: none;
}
.btn-primary, .btn-success {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover, .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}
.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: var(--white);
}
.btn-outline-primary:hover {
    background: var(--primary-lighter);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.btn-outline-secondary {
    border: 2px solid var(--gray-500);
    color: var(--gray-700);
    background: var(--white);
}
.btn-outline-secondary:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    border-color: var(--gray-600);
    transform: translateY(-2px);
}
.btn-outline-danger {
    border: 2px solid var(--danger);
    color: var(--danger);
    background: var(--white);
}
.btn-outline-danger:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: var(--danger);
    transform: translateY(-2px);
}
.btn-outline-success {
    border: 2px solid var(--success);
    color: var(--success);
    background: var(--white);
}
.btn-outline-success:hover {
    background: var(--success-light);
    color: var(--success);
    border-color: var(--success);
    transform: translateY(-2px);
}
.btn-sm { padding: var(--spacing-xs) var(--spacing-md); font-size: 0.875rem; border-radius: var(--radius); }
.btn-lg { padding: var(--spacing-md) var(--spacing-xl); border-radius: var(--radius-xl); }

/* ========== FORMULÁRIOS ========== */
.form-control, .form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: all var(--transition-base);
    font-size: 0.875rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
    outline: none;
}
.form-label { font-weight: 600; color: var(--gray-700); }

/* ========== TABELAS ========== */
.table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
}
.table thead th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: var(--spacing-md);
    border: none;
}
.table tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--gray-100);
}
.table tbody tr:hover {
    background: var(--primary-lighter);
    transform: scale(1.005);
    box-shadow: var(--shadow-sm);
}
.table tbody td { padding: var(--spacing-md); vertical-align: middle; }
.table-responsive { border-radius: var(--radius-lg); overflow: visible; max-width: 100%; }
.table .table-light thead th { background: var(--gray-100); color: var(--gray-800); }

/* ========== BADGES ========== */
.badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.75rem;
}
.bg-primary, .badge-status-estoque {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light)) !important;
}
.badge-status-vendido { background: var(--gray-500) !important; }
.bg-success { background: linear-gradient(135deg, var(--success) 0%, #34d399) !important; }
.bg-danger { background: linear-gradient(135deg, var(--danger) 0%, #f87171) !important; }

/* ========== ALERTAS ========== */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid;
    font-weight: 500;
}
.alert-success { background: var(--success-light); border-left-color: var(--success); color: #065f46; }
.alert-danger { background: var(--danger-light); border-left-color: var(--danger); color: #991b1b; }
.alert-warning { background: var(--warning-light); border-left-color: var(--warning); color: #92400e; }
.alert-info { background: var(--info-light); border-left-color: var(--info); color: #164e63; }

/* ========== MODAIS ========== */
.modal-content {
    border: none;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    color: var(--white);
}
.modal-header .btn-close { filter: brightness(0) invert(1); }
.modal-body { padding: var(--spacing-xl); }
.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--gray-50);
}

/* ========== LANDING ========== */
.navbar-landing {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
    transition: box-shadow 0.2s ease;
}
.navbar-landing.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.navbar-landing .navbar-brand { color: #fff !important; }
.navbar-landing .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
}
.navbar-landing .nav-link:hover { color: #fff !important; }
.navbar-landing .btn-outline-light:hover { color: var(--primary) !important; background: #fff; }
.navbar-landing .navbar-landing-btn-entrar {
    background: #fff !important;
    color: var(--primary) !important;
    border: none;
}
.navbar-landing .navbar-landing-btn-entrar:hover {
    background: rgba(255,255,255,0.95) !important;
    color: var(--primary-dark) !important;
}
.landing-main { padding: 0 !important; }

.footer-landing {
    background: linear-gradient(135deg, var(--gray-800) 0%, #111 100%);
    color: #fff;
    margin-top: auto;
}
.footer-landing a:hover { color: #fff !important; }

.landing-hero {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 50%, #15803d 100%);
    color: #fff;
    padding: 4rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}
.landing-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}
.landing-hero .lead { font-size: 1.15rem; line-height: 1.65; }

/* Hero desktop: uso total da largura */
.landing-hero-desktop { position: relative; }
.landing-hero-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.landing-hero-bg-deco::before,
.landing-hero-bg-deco::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}
.landing-hero-bg-deco::before {
    width: min(45vw, 520px);
    height: min(45vw, 520px);
    top: -15%;
    right: -8%;
}
.landing-hero-bg-deco::after {
    width: min(35vw, 380px);
    height: min(35vw, 380px);
    bottom: -10%;
    left: -5%;
}
.landing-hero-desktop .landing-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 2.5rem 1.75rem;
}
.landing-hero-desktop .landing-hero-copy { padding-right: 1.5rem; }
.landing-hero-desktop .landing-hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.25rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    height: 100%;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, transform 0.2s ease;
}
.landing-hero-desktop .landing-hero-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}
.landing-hero-desktop .landing-hero-card i {
    font-size: 1.35rem;
    opacity: 0.95;
    flex-shrink: 0;
}
/* Card em linha: preenche o vazio abaixo dos 4 cards (mesma coluna, mesmo estilo) */
.landing-hero-desktop .landing-hero-card-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    min-height: auto;
    padding: 1rem 1.25rem;
}
.landing-hero-desktop .landing-hero-card-row-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}
.landing-hero-desktop .landing-hero-card-row-item i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.landing-hero-desktop .landing-hero-cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding-top: 0;
}
.landing-hero-desktop .landing-hero-legal {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    margin-left: 0.25rem;
}

.landing-section {
    padding: 4rem 0;
}
.landing-section-alt { background: linear-gradient(180deg, #f8faf8 0%, #fff 100%); }
.landing-benefit-card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.landing-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.12);
}
.landing-cta {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.25);
    border: none;
}
.landing-cta .btn-light:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
@media (min-width: 768px) {
    .landing-hero { padding: 5rem 2rem 6rem; }
    .landing-section { padding: 5rem 0; }
}
@media (min-width: 992px) {
    .landing-hero-desktop { padding: 4rem 0 3rem; }
    .landing-hero-desktop .landing-hero-inner { padding: 0 3.5rem 1rem; }
}
@media (min-width: 1200px) {
    .landing-hero-desktop .landing-hero-inner { padding-left: 4rem; padding-right: 4rem; }
}

/* Landing MOBILE: hero e seções mais compactas */
.landing-hero-mobile {
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 50%, #15803d 100%);
    color: #fff;
    padding: 2rem 1rem 2.5rem;
    position: relative;
    overflow: hidden;
}
.landing-hero-mobile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.08), transparent);
    pointer-events: none;
}
.landing-mobile-section {
    padding: 2rem 0;
}
.landing-mobile-section .container {
    max-width: 100%;
}
.landing-mobile-cta .landing-cta {
    padding: 1.25rem 0.75rem;
}

/* ========== PERFIL (estilo ibnconecta) ========== */
.profile-header-card,
.profile-bio-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xl);
    transition: box-shadow var(--transition-base);
}
.profile-header-card:hover,
.profile-bio-card:hover {
    box-shadow: var(--shadow-lg);
}
.profile-avatar {
    width: 88px;
    height: 88px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-avatar-xl {
    width: 150px;
    height: 150px;
}
.profile-avatar-car {
    width: 180px;
    height: 120px;
    border-radius: var(--radius-xl);
    flex-shrink: 0;
}
.profile-avatar-car img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.avatar-placeholder {
    font-size: 2.25rem;
    color: var(--gray-400);
}
.profile-avatar-xl .avatar-placeholder,
.profile-avatar-car .avatar-placeholder {
    font-size: 3rem;
}

/* ========== PERFIL VEÍCULO ESTILO WEBMOTORS ========== */
.perfil-wm-gallery-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.perfil-wm-gallery-main {
    aspect-ratio: 16/10;
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
}
.perfil-wm-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.perfil-wm-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1rem;
}
.perfil-wm-gallery-placeholder i {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}
.perfil-wm-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}
.perfil-wm-thumb {
    width: 72px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.perfil-wm-thumb:hover,
.perfil-wm-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}
.perfil-wm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile: galeria em linha horizontal (estilo Webmotors/Mercado Livre) */
@media (max-width: 991.98px) {
    .perfil-wm-gallery-strip {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        background: var(--gray-100);
    }
    .perfil-wm-gallery-strip::-webkit-scrollbar {
        display: none;
    }
    .perfil-wm-gallery-strip-slide {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        aspect-ratio: 4/3;
        position: relative;
        background: var(--gray-100);
    }
    .perfil-wm-gallery-strip-slide img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        cursor: zoom-in;
    }
    .perfil-wm-gallery-strip-indicator {
        position: absolute;
        bottom: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        border-radius: var(--radius-full);
        z-index: 2;
        pointer-events: none;
    }
}
.perfil-wm-info-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--spacing-xl);
}
.perfil-wm-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}
.perfil-wm-ano {
    font-size: 0.9375rem;
    color: var(--gray-600);
}
.perfil-wm-preco {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}
.perfil-wm-preco.vendido {
    color: var(--gray-500);
    font-weight: 600;
}
.perfil-wm-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.perfil-wm-spec {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.perfil-wm-spec .spec-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.perfil-wm-spec .spec-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}
.perfil-wm-financeiro {
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}
.perfil-wm-mini-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
}
.perfil-wm-mini-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--gray-100);
}
.perfil-wm-mini-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.perfil-wm-mini-actions {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.perfil-wm-mini-item:hover .perfil-wm-mini-actions {
    opacity: 1;
}
.perfil-wm-mini-actions .btn,
.perfil-wm-mini-actions .badge {
    font-size: 0.6875rem;
    padding: 0.2rem 0.4rem;
}

/* Overlay do checklist (form novo/editar) — fora do form/card, sem Bootstrap Modal */
.checklist-overlay {
    position: fixed;
    inset: 0;
    z-index: 1055;
    display: none;
    visibility: hidden;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}
.checklist-overlay.checklist-overlay-open {
    display: flex !important;
    visibility: visible;
    pointer-events: auto;
}
/* Backdrop (fundo desfocado atrás do modal) — opacidade leve como antes */
.checklist-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
.checklist-overlay-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow: hidden;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.checklist-overlay-dialog:focus {
    outline: none;
}
/* Painel do modal opaco (fundo branco sólido para não ficar transparente), centralizado e rolável */
.checklist-overlay-inner {
    border: none;
    border-radius: var(--radius-2xl, 1rem);
    box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
    overflow: hidden;
    max-height: min(90vh, 90dvh);
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    width: 100%;
}
.checklist-overlay-inner .modal-header {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.checklist-overlay-inner .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}
.checklist-overlay-inner .modal-footer {
    flex-shrink: 0;
    background: var(--gray-50, #f8f9fa);
}
/* Modo somente leitura do checklist: campos desabilitados com aparência de texto */
.checklist-overlay-inner.checklist-view-mode .modal-body select,
.checklist-overlay-inner.checklist-view-mode .modal-body input,
.checklist-overlay-inner.checklist-view-mode .modal-body textarea,
.modal-content.checklist-view-mode .modal-body select,
.modal-content.checklist-view-mode .modal-body input,
.modal-content.checklist-view-mode .modal-body textarea {
    background: var(--gray-100, #f1f3f5);
    border-color: var(--gray-200, #e9ecef);
    color: var(--gray-800, #212529);
    cursor: default;
}

/* ========== CHECKLIST DE ENTRADA (perfil do carro) ========== */
.checklist-entrada-card .checklist-entrada-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem 1rem;
}
.checklist-entrada-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.checklist-entrada-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.checklist-entrada-item .checklist-badge {
    font-size: 0.8125rem;
    font-weight: 500;
    width: fit-content;
}
.checklist-form-grupo .row.g-2 {
    margin-bottom: 0;
}

/* Blocos por categoria: carroceria, vidros, interior, etc. */
.checklist-entrada-secao {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: var(--gray-100, #f8f9fa);
    border-radius: var(--radius-lg, 0.5rem);
    border-left: 4px solid var(--success, #198754);
}
.checklist-entrada-secao:last-of-type {
    margin-bottom: 0;
}
.checklist-entrada-secao-titulo {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-800, #212529);
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.01em;
}
.checklist-entrada-grupo + .checklist-entrada-grupo,
.checklist-entrada-secao + .checklist-entrada-secao {
    margin-top: 1rem;
}

/* Checklist no modal (detalhe do carro): centralizado e rolável (desktop e mobile).
   Estrutura: .modal-content > .modal-header + form > .modal-body + .modal-footer — o form é filho direto, por isso ele precisa ser flex para o body rolar. */
#modalChecklist .modal-dialog {
    margin: 0.5rem auto;
    height: calc(100vh - 1rem);
    height: calc(100dvh - 1rem);
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}
#modalChecklist .modal-content {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#modalChecklist .modal-header {
    flex-shrink: 0;
}
/* Form que envolve body+footer: ocupa o resto e vira flex container para o body rolar */
#modalChecklist .modal-content > form {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#modalChecklist .modal-content .modal-footer {
    flex-shrink: 0;
}
#modalChecklistBody {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 767.98px) {
    #modalChecklist .modal-dialog {
        margin: 0.25rem auto;
        height: calc(100vh - 0.5rem);
        height: calc(100dvh - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        max-height: calc(100dvh - 0.5rem);
    }
}

/* ========== RELATÓRIO POR CARRO (estilo financeiro) ========== */
.report-kpi {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.report-kpi:hover {
    box-shadow: var(--shadow-md);
}
.report-kpi-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}
.report-kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: -0.02em;
}
.report-kpi-accent .report-kpi-value {
    color: var(--primary-dark);
    font-size: 1.35rem;
}
.report-kpi-result.report-kpi-success .report-kpi-value {
    color: var(--primary);
}
.report-kpi-result.report-kpi-danger .report-kpi-value {
    color: var(--danger);
}
.report-breakdown-card,
.report-table-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--spacing-xl);
}
.report-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: var(--spacing-lg);
}
.report-breakdown-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.report-breakdown-row {
    display: grid;
    grid-template-columns: 140px 1fr 100px;
    align-items: center;
    gap: var(--spacing-md);
}
@media (max-width: 576px) {
    .report-breakdown-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    .report-breakdown-value { text-align: right; }
}
.report-breakdown-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}
.report-breakdown-track {
    height: 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.report-breakdown-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}
.report-breakdown-compra {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
}
.report-breakdown-despesas {
    background: linear-gradient(90deg, var(--info-light), var(--info));
}
.report-breakdown-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: right;
}
.report-breakdown-margin {
    font-size: 0.9375rem;
}
.report-table {
    --bs-table-striped-bg: var(--gray-50);
    font-size: 0.9375rem;
}
.report-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
}
.report-table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}
.report-table tbody tr:hover {
    background: var(--gray-50);
}
.report-table-date {
    color: var(--gray-600);
    white-space: nowrap;
}
.report-categoria {
    display: inline-flex;
    align-items: center;
    font-size: 0.8125rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-700);
}
.report-categoria-manutenção { background: var(--warning-light); color: var(--warning); }
.report-categoria-documentação { background: var(--info-light); color: var(--info); }
.report-categoria-lavagem { background: var(--primary-lighter); color: var(--primary-dark); }
.report-categoria-combustível { background: #fef3c7; color: #b45309; }
.report-categoria-outros { background: var(--gray-100); color: var(--gray-600); }

/* ========== FILTRO ESTILO WEBMOTORS ========== */
.filtro-webmotors {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
}
.filtro-webmotors .filtro-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}
.filtro-webmotors .filtro-tab {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-600);
    background: transparent;
    transition: all var(--transition-fast);
}
.filtro-webmotors .filtro-tab:hover {
    color: var(--gray-800);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.filtro-webmotors .filtro-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.filtro-webmotors .filtro-busca {
    flex: 1;
    min-width: 200px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.filtro-webmotors .filtro-busca .position-relative {
    flex: 1;
}
.filtro-webmotors .filtro-busca .form-control {
    padding-left: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
}
.filtro-webmotors .filtro-busca .filtro-busca-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    font-size: 1rem;
}
.filtro-webmotors .filtro-busca .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
@media (max-width: 576px) {
    .filtro-webmotors {
        flex-direction: column;
        align-items: stretch;
    }
    .filtro-webmotors .filtro-tabs {
        justify-content: center;
    }
}

/* ========== CARD LATERAL DE FILTROS (ÚNICO, COMPRIDO) ========== */
.filtro-lateral-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.filtro-lateral-card-header {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}
.filtro-lateral-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
}
.filtro-lateral-card-body {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.filtro-lateral-card-body .filtro-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--gray-100);
    padding: 0.25rem;
    border-radius: var(--radius-full);
}
.filtro-lateral-card-body .filtro-tab {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-600);
    background: transparent;
    transition: all var(--transition-fast);
    text-align: center;
}
.filtro-lateral-card-body .filtro-tab:hover {
    color: var(--gray-800);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.filtro-lateral-card-body .filtro-tab.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}
.filtro-lateral-card-body .position-relative .form-control {
    padding-left: 2.25rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
}
.filtro-lateral-card-body .filtro-busca-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
    font-size: 0.9375rem;
}
.filtro-lateral-card-body .filtro-lateral-fields .form-control:focus,
.filtro-lateral-card-body .filtro-lateral-fields .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}
.filtro-lateral-card-body hr {
    border-color: var(--gray-100);
}

/* ========== LISTAGEM ESTILO WEBMOTORS ========== */
.veiculo-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.veiculo-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    color: inherit;
}
.veiculo-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--gray-100);
    overflow: hidden;
}
.veiculo-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.veiculo-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    color: var(--gray-400);
    font-size: 3rem;
}
.veiculo-card-badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}
.veiculo-card-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.veiculo-card-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}
.veiculo-card-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-sm);
}
.veiculo-card-preco {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-top: auto;
}
.veiculo-card-preco.vendido {
    color: var(--gray-500);
    font-weight: 600;
}

/* ========== ZOOM / LIGHTBOX (DETALHE + CATÁLOGO) ========== */
.wm-zoomable {
    cursor: zoom-in;
}
.wm-zoom-modal {
    --wm-zoom-bg: rgba(0, 0, 0, 0.65);
}
.wm-zoom-modal.modal {
    background: var(--wm-zoom-bg);
}
.wm-zoom-modal .modal-content {
    background: transparent;
    border: 0;
    overflow: hidden;
}
.wm-zoom-modal .modal-header,
.wm-zoom-modal .modal-footer {
    border: 0;
    background: transparent;
}
.wm-zoom-modal .btn-close {
    filter: invert(1);
    opacity: 0.85;
}
.wm-zoom-stage {
    width: 100%;
    height: 75vh;
    max-height: 75vh;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    -webkit-overflow-scrolling: touch;
    display: flex;
    align-items: center;
    justify-content: center;
    scrollbar-width: none; /* Firefox: esconde barra, mantém scroll */
}
.wm-zoom-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0;
    transform-origin: center center;
    transition: transform 120ms ease-out;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none; /* necessário p/ pinch/drag controlado via JS */
}
.wm-zoom-stage::-webkit-scrollbar { display: none; }
.wm-zoom-stage.cursor-grabbing {
    cursor: grabbing;
}

@media (max-width: 576px) {
    .wm-zoom-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100dvh;
    }
    .wm-zoom-modal .modal-content {
        height: 100dvh;
        display: flex;
        flex-direction: column;
    }
    .wm-zoom-modal .modal-body {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        overflow: hidden;
        min-height: 0; /* importante p/ iOS Safari em flex */
    }
    .wm-zoom-stage {
        flex: 1 1 auto;
        height: 100%;
        max-height: 100%;
        min-height: 0; /* importante p/ iOS Safari em flex */
        border-radius: var(--radius-lg);
    }
    .wm-zoom-modal .modal-footer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .wm-zoom-modal .modal-footer .btn {
        flex: 1 1 0;
    }
}

/* ========== UTILITÁRIOS ========== */
.img-carro-thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.card { animation: fadeIn 0.4s ease-out; }
