body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f6f8fb;
}

main { flex: 1; }

.page-home main {
    flex: none;
}

.page-home main.container {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
}

.page-home footer {
    margin-top: 1.5rem;
}

.home-hero {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

.card { border-radius: 0.75rem; border-color: #e6ebf2; }

.navbar.bg-primary {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.125rem;
    padding: 0.35rem 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.table th { font-weight: 600; font-size: 0.875rem; }

.table-ficha th,
.table-ficha td {
    padding: 0.65rem 0.75rem;
    vertical-align: middle;
}

.table-ficha th:first-child,
.table-ficha td:first-child {
    padding-left: 1.15rem;
}

.table-ficha th:last-child,
.table-ficha td:last-child {
    padding-right: 1.15rem;
    text-align: right;
    white-space: nowrap;
}

.table-ficha thead .col-qtd,
.table-ficha thead .col-valor,
.table-ficha thead .col-total {
    text-align: center;
}

.table-ficha tbody .col-qtd,
.table-ficha tbody .col-valor,
.table-ficha tbody .col-total,
.table-ficha tfoot .col-total {
    text-align: right;
    white-space: nowrap;
}

.table-ficha .btn-link {
    padding: 0.15rem 0.35rem;
    text-decoration: none;
}

.table-sobras .col-qtd,
.table-sobras td:nth-child(2) {
    min-width: 7.5rem;
}

.table-sobras .col-valor,
.table-sobras td:nth-child(3) {
    min-width: 7rem;
}

.table-sobras th:last-child,
.table-sobras td:last-child {
    text-align: center;
}

.auth-card {
    border: 0;
}

.auth-card .form-text a {
    display: inline-block;
    margin-top: 0.25rem;
}

.lgpd-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: #1b365d;
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.lgpd-banner a {
    color: #fff;
    text-decoration: underline;
}

.lgpd-modal-backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.legal-page {
    max-width: 48rem;
}

.legal-page h1 { font-size: 1.75rem; }

.auth-social-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-social-divider::before,
.auth-social-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #e6ebf2;
}

.planos-comparativo {
    min-width: 42rem;
}

.planos-comparativo thead th {
    vertical-align: bottom;
    background: #f8fafc;
}

.planos-comparativo th:not(.planos-comparativo-recurso),
.planos-comparativo td:not(.planos-comparativo-recurso) {
    min-width: 10rem;
}

.planos-comparativo-recurso {
    min-width: 13rem;
    font-weight: 500;
    text-align: left;
    background: #fff;
    position: sticky;
    left: 0;
    z-index: 1;
}

.planos-comparativo thead .planos-comparativo-recurso,
.planos-comparativo tfoot .planos-comparativo-recurso {
    background: #f8fafc;
    z-index: 2;
}

.planos-check {
    color: #198754;
    font-size: 1.4rem;
    line-height: 1;
}

.planos-x {
    color: #dc3545;
    font-size: 1.25rem;
    line-height: 1;
}

.planos-comparativo-atual {
    background: rgba(13, 110, 253, 0.06);
}

@media (max-width: 576px) {
    .display-4 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}
