/* ========================================
   CLUBE DAS CÁPSULAS — styles.css
   Versão limpa e organizada
   ======================================== */

/* ========================================
   1. VARIÁVEIS E RESET
   ======================================== */
:root {
    --color-primary: #4A2F1E;
    --color-primary-hover: #3A2518;
    --color-primary-foreground: #FFFFFF;

    --color-background: #FDFBF7;
    --color-surface: #FFFFFF;

    --color-text: #1C1917;
    --color-muted: #F4F4F5;
    --color-muted-foreground: #78716C;
    --color-border: #E7E5E4;

    --color-accent: #D97706;
    --color-accent-light: rgba(217, 119, 6, 0.1);
    --color-accent-foreground: #FFFFFF;

    --color-destructive: #EF4444;
    --color-destructive-hover: #DC2626;
    --color-destructive-foreground: #FFFFFF;
    --color-success: #16A34A;

    --color-secondary: #F4F4F5;
    --color-secondary-hover: #E4E4E7;
    --color-secondary-foreground: #1C1917;

    --color-sidebar: #F5F3EC;
    --color-sidebar-foreground: #1C1917;
    --color-sidebar-primary: #4A2F1E;
    --color-sidebar-primary-foreground: #FFFFFF;
    --color-sidebar-accent: #EAE6DB;

    --font-sans: 'Nunito Sans', system-ui, sans-serif;
    --font-display: 'Fraunces', Georgia, serif;

    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 8px 24px -12px rgba(74, 47, 30, 0.15);
    --shadow-lifted: 0 18px 40px -20px rgba(74, 47, 30, 0.25);

    --sidebar-width: 256px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: var(--color-background); color: var(--color-text); font-family: var(--font-sans); line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--color-text); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
input, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ========================================
   2. UTILITÁRIOS
   ======================================== */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-auto { margin-top: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.p-0 { padding: 0 !important; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-12 { height: 3rem; }
.flex-1 { flex: 1; }
.shrink-0 { flex-shrink: 0; }
.text-center { text-align: center; }
.object-cover { object-fit: cover; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.cursor-pointer { cursor: pointer; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-muted { color: var(--color-muted-foreground); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-destructive { color: var(--color-destructive); }
.uppercase { text-transform: uppercase; }

/* Colors */
.bg-muted { background-color: var(--color-muted); }
.bg-background { background-color: var(--color-background); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent-light { background-color: var(--color-accent-light); }
.border { border: 1px solid var(--color-border); }
.border-2 { border-width: 2px; }
.border-0 { border: none; }
.border-accent { border-color: var(--color-accent); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: calc(var(--radius-xl) - 4px); }
.shadow-soft { box-shadow: var(--shadow-soft); }

/* Icons */
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; }

/* ========================================
   3. LAYOUT E NAVEGAÇÃO
   ======================================== */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background-color: var(--color-sidebar);
    border-right: 1px solid var(--color-border);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 50;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-icon {
    width: 44px; height: 44px;
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    border-radius: 1rem;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.brand-icon svg { width: 20px; height: 20px; }
.brand-text { min-width: 0; }
.brand-text h1 { font-size: 1.125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text p { font-size: 0.75rem; color: var(--color-muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-sans); }

.nav-menu { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; border-radius: 1rem;
    color: var(--color-sidebar-foreground);
    font-size: 0.875rem; font-weight: 600;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-link svg { width: 20px; height: 20px; flex-shrink: 0; }
.nav-link:hover { background-color: var(--color-sidebar-accent); }
.nav-link.active { background-color: var(--color-sidebar-primary); color: var(--color-sidebar-primary-foreground); }

.sidebar-footer { margin-top: auto; font-size: 0.75rem; color: var(--color-muted-foreground); }

.main-wrapper { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mobile-header {
    display: none;
    position: sticky; top: 0; z-index: 40;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    justify-content: space-between; align-items: center;
}
.sidebar-overlay { display: none; }

.page-container {
    max-width: 56rem;
    margin: 0 auto;
    width: 100%;
    padding: 1.25rem 1rem 3rem;
    animation: pageEnter 0.35s ease both;
}
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 640px) {
    .page-container { padding-left: 1.5rem; padding-right: 1.5rem; padding-top: 2rem; }
}

@media (max-width: 768px) {
    .sidebar { position: fixed; left: 0; transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .mobile-header { display: flex; }
    .sidebar-overlay.show {
        display: block; position: fixed; inset: 0;
        background: rgba(0,0,0,0.5); backdrop-filter: blur(2px); z-index: 40;
    }
}

/* ========================================
   4. COMPONENTES BASE
   ======================================== */
.page-header { margin-bottom: 1.25rem; }
.page-header h2 { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 640px) { .page-header h2 { font-size: 1.875rem; } }

.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card.hover-lift:hover { box-shadow: var(--shadow-lifted); transform: translateY(-3px); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.5rem 1rem; border-radius: 1rem;
    font-size: 0.875rem; font-weight: 600;
    transition: all 0.15s ease; white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background-color: var(--color-primary); color: var(--color-primary-foreground); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background-color: var(--color-primary-hover); transform: translateY(-1px); }
.btn-secondary { background-color: var(--color-secondary); color: var(--color-secondary-foreground); }
.btn-secondary:hover { background-color: var(--color-secondary-hover); }
.btn-outline { background-color: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); }
.btn-outline:hover { background-color: var(--color-secondary); }
.btn-destructive { background-color: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-destructive); }
.btn-destructive:hover { background-color: var(--color-destructive); color: var(--color-destructive-foreground); }
.btn-success { background-color: var(--color-success) !important; color: #fff !important; border-color: var(--color-success) !important; }
.btn-icon { width: 44px; height: 44px; border-radius: 1rem; display: grid; place-items: center; transition: all 0.15s ease; }

/* Form */
.input-group { display: flex; flex-direction: column; gap: 0.25rem; }
.input-group label { font-size: 0.75rem; font-weight: 600; color: var(--color-muted-foreground); }
.input {
    height: 2.75rem; padding: 0 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    background-color: transparent; font-size: 1rem; color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease; width: 100%;
}
.input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }

/* Badge */
.badge { padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.badge-primary { background-color: var(--color-primary); color: var(--color-primary-foreground); }

/* Icon box */
.icon-box { width: 44px; height: 44px; border-radius: 1rem; display: grid; place-items: center; flex-shrink: 0; }
.badge-feature { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; }

/* ========================================
   5. GRIDS
   ======================================== */
.grid-2-cols { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.grid-3-cols { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid-2-cols { grid-template-columns: repeat(2, 1fr); }
    .grid-3-cols { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   6. PRECIFICAÇÃO
   ======================================== */
.hero-image { width: 100%; height: 10rem; object-fit: cover; }
@media (min-width: 640px) { .hero-image { height: 13rem; } }

/* Custo rows */
.cost-row {
    background: #F8F5F2;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (min-width: 640px) {
    .cost-row { grid-template-columns: 2fr 1.5fr 1fr auto; }
}
.cost-row:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.cost-input-group {
    display: flex; flex-direction: column;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 0.35rem 0.75rem;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}
.cost-input-group:focus-within { border-color: var(--color-primary); }
.cost-input-group label {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em;
    color: var(--color-muted-foreground); margin-bottom: 0.1rem; font-weight: 700;
}
.cost-input-group input,
.cost-input-group select { background: transparent; border: none; outline: none; font-size: 0.95rem; color: var(--color-text); padding: 0.15rem 0; width: 100%; }

.btn-icon-destructive {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: transparent; color: var(--color-destructive);
    border: 1px solid var(--color-destructive);
    transition: all 0.2s ease; cursor: pointer;
}
.btn-icon-destructive:hover { background: var(--color-destructive); color: #FFFFFF; }
.btn-icon-destructive svg { width: 15px; height: 15px; }

/* Results */
.results-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }

.result-card {
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    padding: 1rem; background-color: var(--color-surface); box-shadow: var(--shadow-soft);
}
.result-card.highlight { background-color: var(--color-accent-light); border-color: var(--color-accent); }
.result-card .label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--color-muted-foreground); letter-spacing: 0.025em; font-family: var(--font-sans); }
.result-card .value { display: block; font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin-top: 0.25rem; }

/* ========================================
   7. FORNECEDORES
   ======================================== */
.flex-wrap { display: flex; flex-wrap: wrap; }
.filter-btn {
    padding: 0.5rem 1rem; border-radius: 9999px;
    background-color: var(--color-surface); border: 1px solid var(--color-border);
    font-size: 0.875rem; font-weight: 600; transition: all 0.2s ease;
}
.filter-btn:hover { background-color: var(--color-muted); }
.filter-btn.active { background-color: var(--color-text); color: var(--color-surface); border-color: var(--color-text); }

.suppliers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}
@media (min-width: 640px) { .suppliers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .suppliers-grid { grid-template-columns: repeat(2, 1fr); } }

.supplier-card { padding: 1.25rem; }

.fornecedor-img-container {
    background-color: #F8F5F2;
    border-radius: var(--radius-lg);
    width: 100%; height: 190px;
    display: flex; align-items: center; justify-content: center;
    padding: 1.25rem; margin-bottom: 1rem;
}
.fornecedor-img-container img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.badge-category {
    background-color: #EBE0D3; color: #66462C;
    font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; padding: 0.3rem 0.75rem;
    border-radius: 9999px; display: inline-block; margin-bottom: 0.75rem;
}

.tip-box {
    background-color: #F8F5F2; border-radius: var(--radius-md);
    padding: 0.75rem 1rem; display: flex; gap: 0.75rem;
    align-items: flex-start; font-size: 0.8rem; margin-bottom: 0.75rem;
}
.tip-box svg { color: var(--color-accent); flex-shrink: 0; width: 16px; height: 16px; margin-top: 0.15rem; }

/* ========================================
   8. NOVIDADES
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }

.news-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lifted); transform: translateY(-4px); }

.news-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.news-card:hover .news-card-image-wrapper img { transform: scale(1.04); }

.news-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}
.news-card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--color-primary); line-height: 1.3; }
.news-card-body p { font-size: 0.875rem; color: var(--color-muted-foreground); flex: 1; }
.news-card-cta {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.875rem; font-weight: 700; color: var(--color-accent);
    margin-top: 0.75rem;
}
.news-card-cta svg { width: 16px; height: 16px; }

/* ========================================
   9. PACK DE DIVULGAÇÃO
   ======================================== */
.pack-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .pack-grid { grid-template-columns: repeat(2, 1fr); } }

.pack-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pack-card:hover { box-shadow: var(--shadow-lifted); transform: translateY(-3px); }

.pack-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}
.pack-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.pack-card:hover .pack-card-image-wrapper img { transform: scale(1.04); }

.pack-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
}

.pack-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}
.pack-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--color-primary); }

.pack-caption {
    background: var(--color-muted);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    flex: 1;
    overflow: hidden;
}
.pack-caption p {
    font-size: 0.8rem;
    color: var(--color-text);
    line-height: 1.6;
    /* Limit to ~6 lines to prevent overflow */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   10. MODAL
   ======================================== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    background: rgba(28, 25, 23, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: modalBgIn 0.25s ease both;
}
.modal-overlay.hidden { display: none !important; }
@keyframes modalBgIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.3);
    width: 100%; max-width: 580px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    overflow: hidden;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

#modal-body {
    overflow-y: auto;
    flex: 1;
}
#modal-body::-webkit-scrollbar { width: 5px; }
#modal-body::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 10px; }

#modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ========================================
   11. RELATÓRIO PDF (VER SALVO)
   ======================================== */
.pdf-report {
    padding: 1.75rem;
}
.pdf-report-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--color-border);
}
.pdf-logo {
    width: 50px; height: 50px;
    background: var(--color-primary);
    border-radius: 1rem;
    display: grid; place-items: center;
    color: white; flex-shrink: 0;
}
.pdf-logo svg { width: 24px; height: 24px; }
.pdf-report-header h2 { font-size: 1.25rem; font-weight: 700; color: var(--color-primary); }
.pdf-report-header p { font-size: 0.8rem; color: var(--color-muted-foreground); margin-top: 0.15rem; }

.pdf-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.pdf-kpi {
    background: var(--color-muted);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    display: flex; flex-direction: column; gap: 0.25rem;
}
.pdf-kpi.highlight {
    background: var(--color-accent-light);
    border: 1px solid rgba(217, 119, 6, 0.3);
}
.pdf-kpi-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted-foreground); }
.pdf-kpi-value { font-size: 1.2rem; font-weight: 700; color: var(--color-text); }
.pdf-kpi-value.accent { color: var(--color-accent); }

.pdf-summary {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.25rem;
}
.pdf-summary h3 {
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    color: var(--color-muted-foreground); letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.pdf-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}
.pdf-summary-row:last-child { border-bottom: none; }

.pdf-costs h3 {
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
    color: var(--color-muted-foreground); letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.pdf-footer-note {
    text-align: center; font-size: 0.72rem; color: var(--color-muted-foreground);
    margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--color-border);
}

/* ========================================
   12. INSTALAR APP
   ======================================== */
.tutorial-card:hover { background-color: var(--color-secondary); }

/* ========================================
   13. PRINT (PDF via janela de impressão)
   ======================================== */
@media print {
    body * { visibility: hidden; }
    #modal-body,
    #modal-body * { visibility: visible; }
    #modal-body {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        background: white;
        z-index: 9999;
    }
    #modal-footer,
    #btn-close-modal,
    #btn-print-pdf { display: none !important; }
    .modal-overlay {
        background: none !important;
        position: static !important;
    }
    .modal-content {
        box-shadow: none !important;
        border: none !important;
        max-width: none !important;
        width: 100% !important;
        max-height: none !important;
    }
}

/* ========================================
   14. ANIMAÇÕES GLOBAIS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.card { animation: fadeInUp 0.45s ease both; }
