:root {
    --blue: #0057b8;
    --blue-dark: #003b7a;
    --blue-deep: #002b5c;
    --blue-soft: #eaf3ff;
    --green: #00a86b;
    --bg: #f4f8fd;
    --text: #172033;
    --muted: #64748b;
    --border: #d8e3f0;
    --white: #ffffff;
    --orange: #f59e0b;
    --red: #dc2626;
    --shadow: 0 22px 55px rgba(15, 23, 42, .11);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    height: 82px;
    padding: 0 34px;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(216, 227, 240, .85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 20;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
}

.brand-clean img {
    height: 54px;
    max-width: 300px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #60718c;
}

.nav a svg {
    width: 16px;
    height: 16px;
}

.nav a:hover {
    color: var(--blue);
    background: var(--blue-soft);
}

.mobile-bottom-nav {
    display: none;
}

/* Hero */

.hero {
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-professional {
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 54px;
    align-items: center;
    padding: 72px 8%;
    background:
        radial-gradient(circle at 72% 18%, rgba(0, 168, 107, .22), transparent 28%),
        linear-gradient(90deg, rgba(0, 36, 80, .98) 0%, rgba(0, 59, 122, .9) 48%, rgba(0, 87, 184, .68) 100%),
        url("../img/backgrounds/bg-amambai-araras.png") center/cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% -10%;
    height: 180px;
    background: linear-gradient(180deg, transparent, rgba(244, 248, 253, .98));
}

.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 2;
}

.eyebrow,
.page-header span,
.section-title span,
.login-card span {
    display: inline-flex;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 12px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(38px, 5.5vw, 66px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0 0 22px;
}

.hero p {
    max-width: 820px;
    font-size: 20px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.75;
    margin: 0 0 32px;
}

.hero-actions,
.form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-panel {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 18px;
}

.hero-panel-card,
.hero-mini-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.hero-panel-card {
    border-radius: 30px;
}

.hero-panel-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.hero-panel-card div {
    padding: 22px;
}

.hero-panel-card span,
.hero-mini-card span {
    display: inline-flex;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero-panel-card strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hero-mini-card {
    min-height: 150px;
    border-radius: 24px;
    position: relative;
}

.hero-mini-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    filter: brightness(.72);
}

.hero-mini-card span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    color: #fff;
    letter-spacing: .04em;
    text-transform: none;
    font-size: 13px;
}

/* Botões */

.btn {
    min-height: 48px;
    padding: 0 21px;
    border-radius: 15px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 900;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: .18s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn.primary {
    background: linear-gradient(135deg, var(--blue), #0073e6);
    color: white;
    box-shadow: 0 14px 28px rgba(0, 87, 184, .28);
}

.btn.primary:hover {
    filter: brightness(.95);
    transform: translateY(-1px);
}

.btn.secondary {
    background: white;
    color: var(--blue-dark);
    border-color: rgba(0, 87, 184, .14);
}

.btn.secondary:hover {
    transform: translateY(-1px);
    background: var(--blue-soft);
}

.btn.ghost {
    background: transparent;
    color: var(--blue-dark);
    border-color: transparent;
    box-shadow: none;
}

.btn.ghost:hover {
    background: var(--blue-soft);
    color: var(--blue);
    transform: translateY(-1px);
}

.btn.full {
    width: 100%;
}

/* Estrutura geral */

.quick-section,
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 62px 24px;
}

.section-title {
    margin-bottom: 28px;
}

.section-title h2,
.page-header h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    color: var(--blue-dark);
    letter-spacing: -.04em;
}

.page-header {
    margin-bottom: 28px;
}

.page-header p,
.login-card p,
.quick-card span {
    color: var(--muted);
    line-height: 1.65;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-card,
.card,
.login-card,
.stat-card {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card + .card {
    margin-top: 22px;
}

.quick-card {
    min-height: 250px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.quick-card::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--blue-soft);
}

.quick-card svg {
    width: 38px;
    height: 38px;
    color: var(--blue);
    position: relative;
    z-index: 1;
}

.quick-card strong {
    font-size: 20px;
    color: var(--blue-dark);
    position: relative;
    z-index: 1;
}

.quick-card span {
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.quick-card:hover {
    transform: translateY(-5px);
    transition: .22s ease;
    border-color: rgba(0, 87, 184, .35);
}

/* Seção institucional */

.identity-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.identity-card-clean {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 95% 10%, rgba(0, 168, 107, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.identity-content span,
.benefit-card span {
    display: inline-flex;
}

.identity-content span {
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.identity-content h2 {
    margin: 12px 0 16px;
    color: var(--blue-dark);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.05;
    letter-spacing: -.05em;
}

.identity-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 17px;
}

.identity-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.benefit-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.benefit-card i,
.benefit-card svg {
    width: 34px;
    height: 34px;
    color: var(--blue);
    margin-bottom: 18px;
}

.benefit-card strong {
    display: block;
    color: var(--blue-dark);
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-card span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

/* Cards e formulários */

.card {
    padding: 30px;
}

.form,
.form-grid {
    display: grid;
    gap: 20px;
}

.form-grid {
    grid-template-columns: repeat(2, 1fr);
}

.field {
    display: grid;
    gap: 9px;
    font-weight: 800;
    color: var(--blue-dark);
}

.field > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.field > span svg {
    width: 16px;
    height: 16px;
    color: var(--green);
}

.control {
    position: relative;
}

.control > svg {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: #7b8da8;
    pointer-events: none;
}

.textarea-control > svg {
    top: 19px;
    transform: none;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 15px 14px 46px;
    font: inherit;
    color: var(--text);
    background: #fff;
    transition: .18s ease;
}

select {
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 130px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 4px solid rgba(0, 87, 184, .12);
    border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(0, 87, 184, .08);
}

input::placeholder,
textarea::placeholder {
    color: #9aabc1;
}

.span-2 {
    grid-column: span 2;
}

/* Filtros da listagem */

.filters-card {
    display: grid;
    grid-template-columns: minmax(300px, 1.4fr) minmax(220px, .8fr) minmax(220px, .8fr) auto;
    align-items: end;
    gap: 20px 24px;
    margin-bottom: 22px;
}

.filters-card .field {
    min-width: 0;
}

.filters-card input,
.filters-card select {
    min-height: 64px;
    font-weight: 800;
}

.filter-actions {
    display: flex;
    align-items: end;
    gap: 12px;
}

.filter-actions .btn {
    min-height: 64px;
    padding-left: 24px;
    padding-right: 24px;
    white-space: nowrap;
}

/* Login */

.login-page {
    min-height: calc(100vh - 170px);
    display: grid;
    place-items: center;
    padding: 54px 20px;
    background:
        linear-gradient(120deg, rgba(0, 43, 92, .92), rgba(0, 87, 184, .62)),
        url("../img/backgrounds/bg-amambai-aerea.png") center/cover;
}

.login-card {
    width: min(460px, 100%);
    padding: 38px;
}

.login-card img {
    width: 88px;
    display: block;
    margin-bottom: 18px;
}

.login-card h1 {
    color: var(--blue-dark);
    margin: 0;
    letter-spacing: -.035em;
}

.login-brand {
    text-align: center;
}

.login-brand img {
    margin-left: auto;
    margin-right: auto;
}

.login-brand span {
    justify-content: center;
}

.login-brand h1 {
    text-align: center;
}

/* Painel e tabelas */

.page-header.row,
.card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.card-title h2 {
    margin: 0;
    color: var(--blue-dark);
    letter-spacing: -.035em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.stat-card {
    padding: 24px;
}

.stat-card span {
    color: var(--muted);
    font-weight: 800;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 38px;
    color: var(--blue-dark);
}

.stat-card.blue strong {
    color: var(--blue);
}

.stat-card.orange strong {
    color: var(--orange);
}

.stat-card.green strong {
    color: var(--green);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    color: var(--blue-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

td {
    color: var(--muted);
}

td a {
    color: var(--blue);
    font-weight: 800;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-weight: 900;
    font-size: 12px;
    white-space: nowrap;
}

/* Detalhe do chamado */

.detail-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    margin-bottom: 22px;
}

.info-list p {
    margin: 0 0 14px;
    color: var(--muted);
}

.info-list strong {
    color: var(--blue-dark);
}

.timeline-item {
    border-left: 4px solid var(--blue);
    padding: 8px 0 8px 16px;
    margin-bottom: 16px;
}

.timeline-item p {
    color: var(--muted);
    line-height: 1.6;
}

.timeline-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-top: 4px;
}

/* Flash */

.flash-wrap {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 0 24px;
}

.flash {
    padding: 14px 16px;
    border-radius: 15px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-weight: 800;
}

.flash.success {
    background: #e8fff4;
    color: #067647;
}

.flash.danger {
    background: #fff1f2;
    color: #be123c;
}

/* Rodapé */

.footer {
    min-height: 88px;
    background: white;
    border-top: 1px solid var(--border);
    padding: 20px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
}

.footer strong {
    display: block;
    color: var(--blue-dark);
}

.footer img {
    height: 58px;
}

/* Responsivo */

@media (max-width: 1100px) {
    .filters-card {
        grid-template-columns: 1fr 1fr;
    }

    .filter-search {
        grid-column: span 2;
    }

    .filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 1000px) {
    .hero-professional {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-panel {
        max-width: 560px;
    }

    .identity-card-clean {
        grid-template-columns: 1fr;
    }

    .identity-benefits {
        grid-template-columns: 1fr;
    }

    .quick-grid,
    .stats-grid,
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .desktop-nav {
        display: none;
    }

    .topbar {
        height: 72px;
        padding: 12px 18px;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }

    .brand-clean img {
        height: 46px;
        max-width: 255px;
    }

    .quick-section,
    .page {
        padding: 38px 18px;
    }

    .footer {
        display: none;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        min-height: calc(68px + env(safe-area-inset-bottom));
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 1fr;
        align-items: center;
        padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(216, 227, 240, .95);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -14px 40px rgba(15, 23, 42, .14);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }

    .mobile-bottom-nav a {
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 18px;
        color: #60718c;
        font-size: 12px;
        font-weight: 900;
        line-height: 1;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:focus {
        color: var(--blue);
        background: var(--blue-soft);
    }

    .mobile-bottom-nav svg {
        width: 20px;
        height: 20px;
    }

    .hero-professional {
        min-height: auto;
        padding: 60px 22px 78px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-mini-grid,
    .quick-grid,
    .form-grid,
    .stats-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel-card img,
    .hero-mini-card img {
        height: 190px;
    }

    .span-2 {
        grid-column: span 1;
    }

    .quick-card {
        min-height: auto;
    }

    .page-header.row,
    .card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .filters-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px;
    }

    .filter-search,
    .filter-actions {
        grid-column: span 1;
    }

    .filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .filter-actions .btn {
        width: 100%;
        min-height: 56px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .filters-card input,
    .filters-card select {
        min-height: 58px;
    }

    .card {
        padding: 24px;
    }

    th,
    td {
        padding: 12px;
    }
}

/* Dashboard administrativo */

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 8%, rgba(0, 168, 107, .16), transparent 30%),
        linear-gradient(135deg, var(--blue-deep), var(--blue));
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dashboard-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1;
    letter-spacing: -.055em;
}

.dashboard-hero p {
    max-width: 760px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.7;
    font-size: 17px;
}

.dashboard-hero .eyebrow {
    color: #66f0ba;
}

.dashboard-hero-card {
    min-height: 230px;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .24);
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.dashboard-hero-card svg {
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    color: #66f0ba;
}

.dashboard-hero-card span {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .82);
}

.dashboard-hero-card strong {
    margin-top: 8px;
    font-size: 56px;
    line-height: 1;
}

.dashboard-hero-card p {
    margin: 8px 0 0;
    font-size: 14px;
}

.dashboard-stats .stat-card {
    position: relative;
    overflow: hidden;
}

.dashboard-stats .stat-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -42px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: var(--blue-soft);
    opacity: .78;
}

.status-overview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 22px;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid var(--border);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.status-pill svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.status-pill span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.status-pill strong {
    display: block;
    margin-top: 2px;
    color: var(--blue-dark);
    font-size: 24px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.ticket-list {
    display: grid;
    gap: 14px;
}

.ticket-row {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    transition: .18s ease;
}

.ticket-row:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 184, .35);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
}

.ticket-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--blue-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.ticket-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
}

.ticket-content {
    min-width: 0;
    flex: 1;
}

.ticket-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ticket-top strong {
    color: var(--blue-dark);
}

.ticket-content p {
    margin: 6px 0 10px;
    color: var(--text);
    font-weight: 700;
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.ticket-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ticket-meta svg {
    width: 15px;
    height: 15px;
}

.dashboard-side-card h2 {
    margin: 0 0 18px;
    color: var(--blue-dark);
}

.side-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.side-metric span {
    color: var(--muted);
    font-weight: 800;
}

.side-metric strong {
    color: var(--blue-dark);
    font-size: 28px;
}

.side-note {
    margin-top: 22px;
    padding: 16px;
    border-radius: 18px;
    background: var(--blue-soft);
    display: flex;
    gap: 12px;
}

.side-note svg {
    width: 21px;
    height: 21px;
    color: var(--blue);
    flex: 0 0 auto;
}

.side-note p {
    margin: 0;
    color: var(--blue-dark);
    font-weight: 700;
    line-height: 1.55;
}

.empty-state {
    padding: 34px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 22px;
    background: #fbfdff;
}

.empty-state svg {
    width: 42px;
    height: 42px;
    color: var(--blue);
}

.empty-state h3 {
    margin: 12px 0 6px;
    color: var(--blue-dark);
}

.empty-state p {
    margin: 0;
    color: var(--muted);
}

@media (max-width: 1100px) {
    .dashboard-hero,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .status-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .dashboard-hero {
        padding: 26px;
        border-radius: 26px;
    }

    .dashboard-hero-card {
        min-height: auto;
    }

    .status-overview {
        grid-template-columns: 1fr;
    }

    .ticket-row {
        flex-direction: column;
    }

    .ticket-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-hero h1 {
        font-size: 36px;
    }
}

/* Tela de detalhe do chamado */

.detail-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
    padding: 32px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 92% 10%, rgba(0, 168, 107, .12), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.detail-hero h1 {
    margin: 0 0 12px;
    color: var(--blue-dark);
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1;
    letter-spacing: -.055em;
}

.detail-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.detail-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.detail-highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.detail-highlight-card {
    min-width: 0;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    position: relative;
    overflow: hidden;
}

.detail-highlight-card::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -44px;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    background: var(--blue-soft);
    opacity: .7;
}

.detail-highlight-card i,
.detail-highlight-card svg {
    width: 26px;
    height: 26px;
    color: var(--blue);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.detail-highlight-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    position: relative;
    z-index: 1;
}

.detail-highlight-card strong {
    display: block;
    margin-top: 7px;
    color: var(--blue-dark);
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.08;
    word-break: break-word;
    position: relative;
    z-index: 1;
}

.detail-highlight-card.blue strong {
    color: var(--blue);
}

.detail-highlight-card.orange strong {
    color: var(--orange);
}

.detail-highlight-card.green strong {
    color: var(--green);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    align-items: start;
}

.detail-main {
    display: grid;
    gap: 22px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.info-item {
    display: flex;
    gap: 13px;
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    background: #fbfdff;
    border: 1px solid var(--border);
}

.info-item svg {
    width: 21px;
    height: 21px;
    color: var(--blue);
    flex: 0 0 auto;
    margin-top: 2px;
}

.info-item span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.info-item strong {
    display: block;
    color: var(--blue-dark);
    line-height: 1.35;
    word-break: break-word;
}

.description-box {
    margin-top: 18px;
    padding: 20px;
    border-radius: 20px;
    background: var(--blue-soft);
    border: 1px solid rgba(0, 87, 184, .12);
}

.description-box span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-dark);
    font-weight: 900;
    margin-bottom: 10px;
}

.description-box svg {
    width: 18px;
    height: 18px;
}

.description-box p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
}

.detail-form-card {
    position: sticky;
    top: 104px;
}

.detail-form-card h2 {
    margin: 0 0 8px;
    color: var(--blue-dark);
}

.detail-form-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border);
}

.timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    flex: 0 0 auto;
}

.timeline-icon svg {
    width: 22px;
    height: 22px;
    color: var(--blue);
}

.timeline-content {
    min-width: 0;
    flex: 1;
}

.timeline-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.timeline-head strong {
    color: var(--blue-dark);
    font-size: 17px;
}

.timeline-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.timeline-content p {
    margin: 8px 0;
    color: var(--muted);
    line-height: 1.65;
}

.timeline-content p strong {
    color: var(--blue-dark);
}

.timeline-content small {
    display: inline-flex;
    margin-top: 8px;
    color: var(--green);
    font-weight: 900;
}

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

    .detail-form-card {
        position: static;
    }

    .detail-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .detail-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
        border-radius: 26px;
    }

    .detail-hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .detail-hero-actions .btn {
        width: 100%;
    }

    .detail-highlight-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .timeline-card {
        flex-direction: column;
    }

    .timeline-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Vínculos do detalhe do chamado */

.linked-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.linked-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.linked-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: var(--blue-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.linked-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.linked-content {
    min-width: 0;
    flex: 1;
}

.linked-content span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.linked-content strong {
    display: block;
    margin-top: 5px;
    color: var(--blue-dark);
    font-size: 24px;
    line-height: 1.15;
}

.linked-content p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 700;
}

.linked-actions {
    margin-top: 12px;
}

.rustdesk-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.copy-button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(0, 87, 184, .16);
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.copy-button svg {
    width: 14px;
    height: 14px;
}

.copy-button:hover {
    color: #fff;
    background: var(--blue);
}

@media (max-width: 760px) {
    .linked-grid {
        grid-template-columns: 1fr;
    }

    .linked-card {
        flex-direction: column;
    }
}

/* Relatórios gerenciais */

.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

.report-filter-actions {
    display: flex;
    align-items: end;
    gap: 12px;
}

.report-filter-actions .btn {
    min-height: 52px;
    white-space: nowrap;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.summary-list {
    display: grid;
    gap: 10px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fbfdff;
    border: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
    font-weight: 800;
}

.summary-row strong {
    color: var(--blue-dark);
    font-size: 24px;
}

@media (max-width: 1100px) {
    .report-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .report-filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .report-filter-grid,
    .report-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-actions {
        grid-column: span 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .report-filter-actions .btn {
        width: 100%;
    }
}

/* Relatórios gerenciais */

.report-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 22px;
}

.report-filter-actions {
    display: flex;
    align-items: end;
    gap: 12px;
}

.report-filter-actions .btn {
    min-height: 52px;
    white-space: nowrap;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.summary-list {
    display: grid;
    gap: 10px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fbfdff;
    border: 1px solid var(--border);
}

.summary-row span {
    color: var(--muted);
    font-weight: 800;
}

.summary-row strong {
    color: var(--blue-dark);
    font-size: 24px;
}

@media (max-width: 1100px) {
    .report-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .report-filter-actions {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .report-filter-grid,
    .report-summary-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-actions {
        grid-column: span 1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .report-filter-actions .btn {
        width: 100%;
    }
}

/* Cards de módulos no painel */

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.module-card {
    display: flex;
    gap: 16px;
    min-height: 180px;
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    transition: .18s ease;
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 87, 184, .35);
    box-shadow: 0 20px 42px rgba(15, 23, 42, .12);
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: var(--blue-soft);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.module-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue);
}

.module-card span {
    display: block;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.module-card strong {
    display: block;
    color: var(--blue-dark);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.module-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .module-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        min-height: auto;
    }
}

/* Campos de checkbox */

.checkbox-field {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--blue-soft);
    border: 1px solid rgba(0, 87, 184, .12);
    color: var(--blue-dark);
    font-weight: 900;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    padding: 0;
    accent-color: var(--blue);
}

.module-grid-five {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1280px) {
    .module-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .module-grid-five {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .module-grid-five {
        grid-template-columns: 1fr;
    }
}

/* Ajuste profissional do menu web */
.topbar {
    gap: 24px;
    min-height: 86px;
    overflow: visible;
}

.brand-clean {
    flex: 0 0 auto;
}

.brand-clean img {
    width: clamp(190px, 18vw, 260px);
    max-height: 72px;
    object-fit: contain;
}

.desktop-nav {
    flex: 1;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}

.desktop-nav > a,
.nav-dropdown-trigger {
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 16px;
    white-space: nowrap;
    font-size: 0.92rem;
    font-weight: 800;
    color: #5f6f8d;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown[open] .nav-dropdown-trigger,
.nav-dropdown-trigger:hover {
    color: #003b73;
    background: #f2f7ff;
}

.desktop-nav svg,
.nav-dropdown-trigger svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
}

.nav-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.dropdown-chevron {
    width: 15px !important;
    height: 15px !important;
    transition: transform 0.2s ease;
}

.nav-dropdown[open] .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 50;
    min-width: 245px;
    padding: 10px;
    border: 1px solid rgba(196, 211, 232, 0.9);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 55px rgba(20, 48, 88, 0.18);
    display: grid;
    gap: 4px;
}

.nav-dropdown-menu-right {
    right: 0;
    left: auto;
}

.nav-dropdown-menu a {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #52627a;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-dropdown-menu a:hover {
    color: #003b73;
    background: #eef6ff;
}

.nav-dropdown-menu svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 1180px) {
    .brand-clean img {
        width: 190px;
    }

    .desktop-nav > a,
    .nav-dropdown-trigger {
        padding: 10px 11px;
        font-size: 0.86rem;
    }
}

@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }

    .topbar {
        min-height: 76px;
        justify-content: center;
    }

    .brand-clean img {
        width: 220px;
    }
}

/* =========================================================
   Anexos — ajustes visuais e responsividade
   ========================================================= */

.form-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px dashed rgba(0, 87, 184, .28);
    border-radius: 16px;
    background: rgba(234, 243, 255, .65);
    color: var(--muted);
}

.form-note svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
    flex: 0 0 auto;
    margin-top: 2px;
}

.form-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
}

.ticket-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.ticket-row {
    display: flex;
    gap: 15px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    transition: .18s ease;
}

.ticket-row:hover {
    border-color: rgba(0, 87, 184, .28);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.ticket-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    flex: 0 0 auto;
}

.ticket-icon svg {
    width: 22px;
    height: 22px;
}

.ticket-content {
    min-width: 0;
    flex: 1;
}

.ticket-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.ticket-top strong {
    color: var(--blue-dark);
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.ticket-content p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.55;
}

.ticket-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.ticket-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticket-meta svg {
    width: 14px;
    height: 14px;
    color: #7b8da8;
}

.table-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 13px;
}

.table-actions form {
    margin: 0;
}

.btn.small {
    min-height: 38px;
    padding: 0 13px;
    border-radius: 12px;
    font-size: 12px;
}

.btn.small svg {
    width: 15px;
    height: 15px;
}

.empty-state.compact {
    margin-top: 18px;
    padding: 28px;
    border: 1px dashed var(--border);
    border-radius: 20px;
    background: rgba(244, 248, 253, .72);
    text-align: center;
}

.empty-state.compact svg {
    width: 36px;
    height: 36px;
    color: var(--blue);
    margin-bottom: 10px;
}

.empty-state.compact h3 {
    margin: 0 0 6px;
    color: var(--blue-dark);
}

.empty-state.compact p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

input[type="file"] {
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 12px;
    padding: 10px 13px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    background: rgba(0, 87, 184, .14);
}

/* Confirmação visual para botões perigosos */
.btn.danger,
.btn.ghost.danger {
    color: var(--red);
}

.btn.ghost.danger:hover {
    background: #fff1f2;
    color: #be123c;
}

/* Ajustes do detalhe do chamado */
.detail-hero-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.rustdesk-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.copy-button {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--blue-dark);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.copy-button svg {
    width: 13px;
    height: 13px;
}

.copy-button:hover {
    background: var(--blue-soft);
    color: var(--blue);
}

@media (max-width: 760px) {
    .ticket-row {
        padding: 14px;
        border-radius: 18px;
    }

    .ticket-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    .ticket-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .ticket-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .table-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .table-actions .btn,
    .table-actions form,
    .table-actions button {
        width: 100%;
    }

    .detail-hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-hero-actions .btn {
        width: 100%;
    }

    .form-note {
        padding: 12px;
    }
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-page,
.pagination-ellipsis {
    min-width: 38px;
    min-height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-weight: 900;
}

.pagination-page.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.pagination-ellipsis {
    color: var(--muted);
    border-color: transparent;
}

.btn.disabled,
.btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

.dashboard-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.chart-card {
    min-width: 0;
}

.chart-box {
    height: 310px;
    min-width: 0;
}

.sla-badge.success,
.badge.success {
    background: #e8fff4;
    color: #067647;
}

.sla-badge.warning,
.badge.warning {
    background: #fff7ed;
    color: #b45309;
}

.sla-badge.danger,
.badge.danger {
    background: #fff1f2;
    color: #be123c;
}

.sla-badge.muted {
    background: #f1f5f9;
    color: var(--muted);
}

.operational-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 760px) {
    .pagination {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pagination .btn {
        width: 100%;
    }

    .dashboard-chart-grid {
        grid-template-columns: 1fr;
    }

    .chart-box {
        height: 260px;
    }
}

/* Refinamento visual geral */
:root {
    --shadow: 0 12px 30px rgba(15, 23, 42, .075);
    --radius: 18px;
}

.page {
    padding-top: 42px;
    padding-bottom: 48px;
}

.quick-section {
    padding-top: 46px;
    padding-bottom: 46px;
}

.card,
.login-card,
.stat-card,
.quick-card,
.module-card,
.benefit-card {
    box-shadow: var(--shadow);
}

.card {
    padding: 24px;
}

.card + .card {
    margin-top: 18px;
}

.card-title {
    margin-bottom: 18px;
}

.card-title.compact {
    margin-bottom: 10px;
}

.card-title h2,
.dashboard-side-card h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: 0;
}

.eyebrow,
.page-header span,
.section-title span,
.login-card span {
    margin-bottom: 8px;
    letter-spacing: .08em;
}

.page-header {
    margin-bottom: 22px;
}

.page-header h1,
.section-title h2,
.hero h1,
.dashboard-hero h1,
.detail-hero h1,
.identity-content h2 {
    letter-spacing: 0;
}

.page-header p,
.section-title p {
    margin-bottom: 0;
}

.btn {
    min-height: 44px;
    padding: 0 17px;
    border-radius: 12px;
    white-space: nowrap;
    line-height: 1;
}

.btn.primary {
    box-shadow: 0 10px 20px rgba(0, 87, 184, .2);
}

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

.btn.small {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 10px;
}

.badge {
    border-radius: 999px;
    padding: 5px 9px;
    line-height: 1.15;
}

.stats-grid {
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    padding: 20px;
    min-width: 0;
}

.stat-card strong {
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: 0;
}

.filters-card,
.filter-card,
.report-filter-grid {
    gap: 16px;
    margin-bottom: 18px;
}

.filter-card {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(180px, .45fr) auto;
    align-items: end;
}

.filters-card input,
.filters-card select,
.filter-actions .btn {
    min-height: 54px;
}

input,
select,
textarea {
    border-radius: 12px;
}

th,
td {
    padding: 11px 12px;
    vertical-align: top;
}

th {
    letter-spacing: .04em;
}

.table-wrap {
    max-width: 100%;
    border-radius: 14px;
}

.module-grid {
    gap: 14px;
    margin-bottom: 18px;
}

.module-card {
    min-height: 138px;
    padding: 18px;
    border-radius: 18px;
}

.module-card p {
    line-height: 1.45;
}

.module-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.dashboard-hero-compact {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 18px;
    margin-bottom: 18px;
    padding: 28px;
    border-radius: 24px;
}

.dashboard-hero-compact h1 {
    margin-bottom: 10px;
    font-size: clamp(30px, 4vw, 44px);
}

.dashboard-hero-compact p {
    margin-bottom: 18px;
    font-size: 15px;
}

.dashboard-hero-card {
    min-height: 170px;
    padding: 22px;
    border-radius: 20px;
}

.dashboard-hero-card svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
}

.dashboard-hero-card strong {
    font-size: 44px;
}

.dashboard-stats .stat-card::after,
.quick-card::after,
.detail-highlight-card::after {
    display: none;
}

.dashboard-module-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-chart-grid {
    gap: 16px;
    margin-bottom: 18px;
}

.chart-card {
    padding: 20px;
}

.chart-box {
    height: 235px;
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
}

.ticket-list {
    gap: 10px;
}

.ticket-list.compact-list .ticket-row {
    padding: 12px;
}

.ticket-row {
    border-radius: 16px;
}

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

.ticket-icon svg {
    width: 19px;
    height: 19px;
}

.ticket-content p {
    margin: 5px 0 8px;
    line-height: 1.45;
}

.ticket-meta {
    gap: 8px 12px;
    font-size: 12px;
}

.side-metric {
    padding: 12px 0;
}

.side-metric strong {
    font-size: 24px;
}

.audit-compact-card {
    margin-top: 18px;
}

.audit-list {
    display: grid;
    gap: 8px;
}

.audit-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(120px, .7fr) minmax(140px, 1fr) minmax(100px, .6fr) minmax(120px, .6fr);
    gap: 12px;
    align-items: center;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.audit-row strong,
.audit-row span,
.audit-row small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.audit-row strong {
    color: var(--blue-dark);
}

.audit-row span,
.audit-row small {
    color: var(--muted);
    font-weight: 800;
}

.pagination {
    gap: 10px;
    margin-top: 18px;
}

.pagination-page,
.pagination-ellipsis {
    min-width: 34px;
    min-height: 34px;
    border-radius: 10px;
}

.public-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 74px max(24px, 8vw);
    background:
        linear-gradient(90deg, rgba(0, 43, 92, .96), rgba(0, 87, 184, .78)),
        url("../img/backgrounds/bg-amambai-aerea.png") center/cover;
}

.public-hero-content {
    width: min(760px, 100%);
}

.public-hero-crest {
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin-bottom: 18px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .22));
}

.public-hero .eyebrow {
    color: #66f0ba;
}

.public-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1;
    letter-spacing: 0;
}

.public-hero p {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.65;
}

.btn.light {
    color: #fff;
    border-color: rgba(255, 255, 255, .24);
}

.btn.light:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.public-section {
    padding-top: 44px;
    padding-bottom: 20px;
}

.public-section-tight {
    padding-bottom: 58px;
}

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

.step-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.step-card svg {
    width: 28px;
    height: 28px;
    color: var(--blue);
    margin-bottom: 14px;
}

.step-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-size: 17px;
}

.step-card span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 14px;
}

.public-resource-grid .quick-card {
    min-height: 190px;
}

@media (max-width: 1180px) {
    .dashboard-module-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .dashboard-hero-compact,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-module-grid,
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .page,
    .quick-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card {
        padding: 18px;
    }

    .btn {
        width: 100%;
        min-height: 44px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-actions,
    .form-actions,
    .filter-actions,
    .report-filter-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .stats-grid,
    .dashboard-module-grid,
    .dashboard-chart-grid,
    .steps-grid,
    .filter-card {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-compact {
        padding: 22px;
    }

    .chart-box {
        height: 220px;
    }

    .audit-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .public-hero {
        min-height: auto;
        padding: 54px 18px 64px;
    }

    .public-hero-crest {
        width: 70px;
        height: 70px;
    }

    .public-hero p {
        font-size: 16px;
    }

    .public-resource-grid .quick-card,
    .quick-card,
    .module-card {
        min-height: auto;
    }
}

/* Ajustes finais: home pública, favicon e rodapé Sinaltech */
.public-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 76px max(24px, 8vw);
    background:
        linear-gradient(90deg, rgba(0, 43, 92, .97), rgba(0, 87, 184, .74)),
        url("../img/backgrounds/bg-amambai-aerea.png") center/cover;
}

.public-hero-content {
    width: min(820px, 100%);
}

.public-hero-crest {
    display: none;
}

.public-hero .eyebrow {
    color: #66f0ba;
    font-size: 15px;
    letter-spacing: .12em;
}

.public-hero h1 {
    margin: 16px 0 22px;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -0.055em;
    color: #fff;
}

.public-hero p {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.65;
}

.public-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-dev {
    min-height: 86px;
    padding: 22px max(24px, 6vw);
    justify-content: center;
    gap: 14px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-dev span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.footer-dev a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-dev a:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.footer-dev img {
    width: auto;
    height: 34px;
    max-width: 180px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .public-hero {
        min-height: auto;
        padding: 54px 18px 66px;
    }

    .public-hero h1 {
        font-size: clamp(42px, 14vw, 62px);
        letter-spacing: -0.045em;
    }

    .public-hero p {
        font-size: 16px;
    }

    .public-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .footer-dev {
        padding-bottom: 92px;
        flex-direction: column;
        text-align: center;
    }

    .footer-dev img {
        height: 30px;
    }
}

/* Ajustes finais: home pública e rodapé institucional com assinatura Sinaltech */
.public-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 76px max(24px, 8vw);
    background:
        linear-gradient(90deg, rgba(0, 43, 92, .97), rgba(0, 87, 184, .74)),
        url("../img/backgrounds/bg-amambai-aerea.png") center/cover;
}

.public-hero-content {
    width: min(820px, 100%);
}

.public-hero-crest {
    display: none;
}

.public-hero .eyebrow {
    color: #66f0ba;
    font-size: 15px;
    letter-spacing: .12em;
}

.public-hero h1 {
    margin: 16px 0 22px;
    font-size: clamp(48px, 7vw, 96px);
    line-height: .98;
    letter-spacing: -0.055em;
    color: #fff;
}

.public-hero p {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(17px, 2vw, 24px);
    line-height: 1.65;
}

.public-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-institutional {
    min-height: 92px;
    padding: 22px max(24px, 6vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-org {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-org div {
    display: grid;
    gap: 4px;
}

.footer-org strong {
    color: var(--blue-dark);
    font-size: 15px;
}

.footer-org span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.footer-org img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.footer-dev-signature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-dev-signature span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.footer-dev-signature a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-dev-signature a:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.footer-dev-signature img {
    width: auto;
    height: 32px;
    max-width: 170px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .public-hero {
        min-height: auto;
        padding: 54px 18px 66px;
    }

    .public-hero h1 {
        font-size: clamp(42px, 14vw, 62px);
        letter-spacing: -0.045em;
    }

    .public-hero p {
        font-size: 16px;
    }

    .public-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .footer-institutional {
        padding: 20px 18px 92px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 16px;
    }

    .footer-org {
        justify-content: center;
        flex-direction: column-reverse;
    }

    .footer-dev-signature {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
    }

    .footer-dev-signature img {
        height: 30px;
    }
}

/* Rodapé institucional com assinatura Sinaltech */
.footer-institutional {
    min-height: 96px;
    padding: 22px max(24px, 6vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-org {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-org div {
    display: grid;
    gap: 4px;
}

.footer-org strong {
    color: var(--blue-dark);
    font-size: 15px;
    line-height: 1.2;
}

.footer-org span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.footer-org img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-dev-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #0f172a;
}

.footer-dev-signature span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.footer-dev-signature a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, opacity .2s ease;
}

.footer-dev-signature a:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.footer-dev-signature img {
    width: auto;
    height: 30px;
    max-width: 170px;
    object-fit: contain;
    display: block;
}

@media (max-width: 760px) {
    .footer-institutional {
        padding: 20px 18px 92px;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 16px;
    }

    .footer-org {
        justify-content: center;
    }

    .footer-dev-signature {
        justify-content: center;
        flex-direction: column;
        gap: 8px;
        width: min(260px, 100%);
    }

    .footer-dev-signature img {
        height: 30px;
    }
}

/* Home pública com vídeo institucional */

.public-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    padding: 76px max(24px, 8vw);
    background:
        linear-gradient(90deg, rgba(0, 43, 92, .97), rgba(0, 87, 184, .74)),
        url("../img/backgrounds/bg-amambai-aerea.png") center/cover no-repeat;
}

.public-hero-video-bg {
    background: #003b7a;
}

.public-hero-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.05) contrast(1.05);
}

.public-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(0, 38, 82, .96) 0%, rgba(0, 67, 139, .82) 48%, rgba(0, 91, 184, .68) 100%),
        linear-gradient(180deg, rgba(0, 22, 50, .48) 0%, rgba(0, 42, 86, .18) 45%, rgba(0, 22, 50, .58) 100%);
}

.public-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 28%, rgba(102, 240, 186, .18), transparent 28%),
        radial-gradient(circle at 70% 42%, rgba(255, 255, 255, .10), transparent 30%);
    pointer-events: none;
}

.public-hero-content {
    width: min(860px, 100%);
    position: relative;
    z-index: 1;
}

.public-hero-crest {
    display: none;
}

.public-hero .eyebrow {
    color: #66f0ba;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.public-hero h1 {
    margin: 16px 0 22px;
    color: #ffffff;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.public-hero p {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .28);
}

.public-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.public-hero .btn {
    min-height: 58px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
}

.public-hero .btn.secondary {
    background: #ffffff;
    color: var(--blue-dark);
    border-color: rgba(255, 255, 255, .72);
}

.public-hero .btn.ghost.light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .10);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.public-section {
    padding-top: 52px;
}

.public-section-tight {
    padding-top: 20px;
}

.public-resource-grid .quick-card,
.steps-grid .step-card {
    min-height: 168px;
}

@media (max-width: 760px) {
    .public-hero {
        min-height: calc(100vh - 72px);
        padding: 56px 22px 110px;
        align-items: flex-end;
    }

    .public-hero-overlay {
        background:
            linear-gradient(180deg, rgba(0, 38, 82, .64) 0%, rgba(0, 43, 92, .92) 58%, rgba(0, 29, 66, .98) 100%);
    }

    .public-hero h1 {
        font-size: clamp(44px, 14vw, 68px);
    }

    .public-hero p {
        font-size: 17px;
        line-height: 1.55;
    }

    .public-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .public-hero .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-hero-video {
        display: none;
    }

    .public-hero-video-bg {
        background:
            linear-gradient(90deg, rgba(0, 43, 92, .97), rgba(0, 87, 184, .74)),
            url("../img/backgrounds/bg-amambai-aerea.png") center/cover no-repeat;
    }
}

/* Home pública com vídeo em destaque */

.public-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    padding: 76px max(24px, 8vw);
    background: #111827;
}

.public-hero-video-bg {
    background: #111827;
}

.public-hero-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: saturate(1.06) contrast(1.04) brightness(.86);
}

.public-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .68) 0%,
            rgba(0, 0, 0, .42) 46%,
            rgba(0, 0, 0, .18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .28) 0%,
            rgba(0, 0, 0, .08) 48%,
            rgba(0, 0, 0, .46) 100%
        );
}

.public-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .12), transparent 28%),
        radial-gradient(circle at 70% 42%, rgba(255, 255, 255, .08), transparent 30%);
    pointer-events: none;
}

.public-hero-content {
    width: min(860px, 100%);
    position: relative;
    z-index: 1;
}

.public-hero-crest {
    display: none;
}

.public-hero .eyebrow {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-shadow: 0 10px 26px rgba(0, 0, 0, .55);
}

.public-hero h1 {
    margin: 16px 0 22px;
    color: #ffffff;
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -0.055em;
    text-shadow: 0 18px 44px rgba(0, 0, 0, .45);
}

.public-hero p {
    max-width: 760px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(17px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.65;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.public-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.public-hero .btn {
    min-height: 58px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
}

.public-hero .btn.secondary {
    background: #ffffff;
    color: var(--blue-dark);
    border-color: rgba(255, 255, 255, .72);
}

.public-hero .btn.ghost.light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .34);
    background: rgba(0, 0, 0, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.public-section {
    padding-top: 52px;
}

.public-section-tight {
    padding-top: 20px;
}

.public-resource-grid .quick-card,
.steps-grid .step-card {
    min-height: 168px;
}

@media (max-width: 760px) {
    .public-hero {
        min-height: calc(100vh - 72px);
        padding: 56px 22px 110px;
        align-items: flex-end;
    }

    .public-hero-video {
        filter: saturate(1.04) contrast(1.03) brightness(.78);
    }

    .public-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .24) 0%,
                rgba(0, 0, 0, .52) 54%,
                rgba(0, 0, 0, .82) 100%
            );
    }

    .public-hero h1 {
        font-size: clamp(44px, 14vw, 68px);
    }

    .public-hero p {
        font-size: 17px;
        line-height: 1.55;
    }

    .public-hero .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .public-hero .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-hero-video {
        display: none;
    }

    .public-hero-video-bg {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .38)),
            url("../img/backgrounds/bg-amambai-aerea.png") center/cover no-repeat;
    }
}

/* Páginas institucionais e avisos legais */

.legal-page {
    padding-top: 50px;
    padding-bottom: 72px;
    width: 100%;
    overflow-x: hidden;
}

.legal-header {
    max-width: 100%;
    margin-bottom: 28px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(234, 243, 255, .94), rgba(255, 255, 255, .98));
    box-shadow: var(--shadow);
}

.legal-header h1 {
    margin: 0 0 14px;
    color: var(--blue-dark);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.legal-header p {
    max-width: 850px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.legal-header h1,
.legal-header p,
.legal-card h2,
.legal-card p,
.legal-list {
    overflow-wrap: break-word;
}

.legal-updated {
    width: fit-content;
    margin-top: 22px;
    padding: 10px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 87, 184, .14);
    border-radius: 14px;
    background: #ffffff;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}

.legal-updated svg {
    width: 17px;
    height: 17px;
    color: var(--green);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-card {
    min-width: 0;
    max-width: 100%;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.legal-card-feature {
    background:
        linear-gradient(135deg, #ffffff 0%, #f5faff 100%);
    border-color: rgba(0, 87, 184, .18);
}

.legal-card h2 {
    margin: 0 0 12px;
    color: var(--blue-dark);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.legal-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.legal-list {
    margin: 14px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

.legal-list li + li {
    margin-top: 8px;
}

.legal-contact {
    margin-top: 18px;
    border-color: rgba(0, 168, 107, .22);
}

.footer-institutional {
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    padding: 8px 10px;
    border-radius: 12px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
    background: var(--blue-soft);
    color: var(--blue);
}

.cookie-notice {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 160;
    max-width: 920px;
    margin: 0 auto;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(216, 227, 240, .96);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .16);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
}

.cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-notice .btn {
    min-height: 42px;
    border-radius: 12px;
    padding: 0 15px;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .footer-institutional {
        justify-content: center;
        text-align: center;
    }

    .footer-org,
    .footer-dev-signature {
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .legal-page {
        padding-top: 30px;
        padding-bottom: 42px;
    }

    .legal-header,
    .legal-card {
        padding: 20px;
        border-radius: 16px;
    }

    .legal-header h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .legal-header p {
        font-size: 15px;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

    .legal-updated {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-legal-links {
        width: 100%;
        order: 2;
    }

    .footer-dev-signature {
        order: 3;
    }

    .cookie-notice {
        left: 12px;
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        padding: 13px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-notice-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cookie-notice .btn {
        width: 100%;
    }
}

/* Refinamento do rodapé legal e LGPD */

.footer.footer-institutional {
    min-height: auto;
    padding: 18px max(20px, 5vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 22px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-main .footer-org {
    min-width: 0;
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-main .footer-org img {
    width: 44px;
    height: 44px;
}

.footer-main .footer-org strong {
    font-size: 14px;
}

.footer-main .footer-org span {
    font-size: 12px;
}

.footer-legal-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
    border-color: rgba(0, 87, 184, .16);
    background: var(--blue-soft);
    color: var(--blue);
}

.footer-dev-signature {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 14px;
    background: #0f172a;
}

.footer-dev-signature span {
    font-size: 12px;
}

.footer-dev-signature img {
    height: 26px;
    max-width: 146px;
}

.legal-section {
    margin-top: 18px;
    scroll-margin-top: 110px;
    border-color: rgba(0, 87, 184, .2);
    background:
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.legal-section p + p {
    margin-top: 12px;
}

.legal-section:target {
    outline: 4px solid rgba(0, 87, 184, .12);
}

.cookie-notice-actions .btn.ghost {
    border-color: rgba(0, 87, 184, .12);
    color: var(--blue-dark);
}

@media (max-width: 980px) {
    .footer.footer-institutional {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .footer-main {
        flex-direction: column;
        gap: 12px;
    }

    .footer-main .footer-org {
        justify-content: center;
    }

    .footer-legal-links {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .footer.footer-institutional {
        padding: 14px 14px 16px;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .footer-main {
        gap: 10px;
    }

    .footer-main .footer-org {
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        text-align: left;
    }

    .footer-main .footer-org img {
        width: 34px;
        height: 34px;
    }

    .footer-main .footer-org div {
        gap: 2px;
    }

    .footer-main .footer-org strong {
        font-size: 13px;
    }

    .footer-main .footer-org span {
        font-size: 11px;
    }

    .footer-legal-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .footer-legal-links a {
        min-height: 31px;
        padding: 0 8px;
        border-color: rgba(0, 87, 184, .1);
        background: #f8fbff;
        font-size: 11.5px;
    }

    .footer-dev-signature {
        width: min(210px, 100%);
        padding: 7px 10px;
        border-radius: 12px;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }

    .footer-dev-signature span {
        font-size: 11px;
    }

    .footer-dev-signature img {
        height: 22px;
        max-width: 118px;
    }

    .legal-section {
        scroll-margin-top: 88px;
    }

    .cookie-notice {
        bottom: calc(78px + env(safe-area-inset-bottom));
        gap: 10px;
    }

    .cookie-notice-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .cookie-notice-actions .btn.primary {
        grid-column: 1 / -1;
    }
}

/* Centralização pontual do rodapé mobile */

@media (max-width: 760px) {
    .footer-org {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .footer-org div {
        text-align: center;
    }

    .footer-org strong,
    .footer-org span {
        display: block;
        text-align: center;
    }

    .footer-dev-signature {
        margin-left: auto;
        margin-right: auto;
        align-self: center;
        justify-content: center;
    }
}

/* Página Sobre */

.about-page {
    padding-top: 46px;
    padding-bottom: 72px;
    width: 100%;
    overflow-x: hidden;
}

.about-hero {
    max-width: 100%;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(234, 243, 255, .94), rgba(255, 255, 255, .98));
    box-shadow: var(--shadow);
    text-align: center;
}

.about-crest {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    display: block;
    object-fit: contain;
}

.about-hero h1 {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.about-hero strong,
.about-hero small {
    display: block;
}

.about-hero strong {
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 900;
}

.about-hero small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.about-hero p {
    max-width: 760px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.about-card {
    min-width: 0;
    max-width: 100%;
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .18s ease, border-color .18s ease;
}

.about-card:hover,
.about-card:focus {
    transform: translateY(-2px);
    border-color: rgba(0, 87, 184, .28);
}

.about-card svg {
    width: 34px;
    height: 34px;
    color: var(--blue);
}

.about-card strong {
    color: var(--blue-dark);
    font-size: 18px;
}

.about-card-content {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.about-card span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.about-legal-section {
    margin-top: 34px;
}

.about-legal-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.about-legal-links a {
    min-width: 0;
    max-width: 100%;
    min-height: 58px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 87, 184, .12);
    border-radius: 16px;
    background: #ffffff;
    color: var(--blue-dark);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.about-legal-links a:hover,
.about-legal-links a:focus {
    background: var(--blue-soft);
    color: var(--blue);
}

.about-legal-links svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.about-dev-card {
    max-width: 100%;
    margin-top: 22px;
    padding: 22px;
    border-radius: 18px;
    background: #0f172a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.about-dev-card span {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.about-dev-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-dev-card img {
    width: auto;
    height: 32px;
    max-width: 170px;
    object-fit: contain;
}

.about-dev-card strong {
    font-size: 14px;
    font-weight: 900;
}

.about-hero h1,
.about-hero p,
.about-card strong,
.about-card span,
.about-card-content,
.about-legal-links a,
.about-dev-card strong {
    overflow-wrap: break-word;
}

@media (max-width: 900px) {
    .about-card-grid {
        grid-template-columns: 1fr;
    }

    .about-legal-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-dev-card {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 760px) {
    .footer-institutional,
    .footer {
        display: none !important;
    }

    .about-page {
        padding-top: 30px;
        padding-bottom: 118px;
    }

    .about-hero {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .about-crest {
        width: 66px;
        height: 66px;
        margin-bottom: 12px;
    }

    .about-hero h1 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .about-hero strong {
        font-size: 15px;
    }

    .about-hero small {
        font-size: 12px;
    }

    .about-hero p {
        font-size: 15px;
        line-height: 1.65;
    }

    .about-card-grid {
        gap: 12px;
        margin-top: 16px;
    }

    .about-card {
        min-height: auto;
        padding: 18px;
        border-radius: 16px;
    }

    .about-card svg {
        width: 28px;
        height: 28px;
    }

    .about-legal-section {
        margin-top: 24px;
    }

    .about-legal-links {
        gap: 8px;
    }

    .about-legal-links a {
        min-height: 46px;
        padding: 9px 8px;
        border-radius: 14px;
        font-size: 12px;
    }

    .about-dev-card {
        margin-top: 16px;
        padding: 18px;
        border-radius: 16px;
    }

    .about-dev-card img {
        height: 26px;
        max-width: 146px;
    }

    .about-dev-card strong {
        font-size: 13px;
    }

    .mobile-bottom-nav {
        grid-auto-flow: row;
        grid-template-columns: repeat(auto-fit, minmax(54px, 1fr));
        gap: 4px;
    }

    .mobile-bottom-nav a {
        min-width: 0;
        padding-left: 2px;
        padding-right: 2px;
        font-size: 11px;
    }

    .mobile-bottom-nav span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Revisão global de responsividade e UX */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

main,
.page,
.quick-section,
.card,
.quick-card,
.step-card,
.module-card,
.stat-card,
.legal-card,
.about-card,
.linked-card,
.ticket-row,
.detail-highlight-card,
.info-item,
.timeline-card,
.empty-state {
    min-width: 0;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

.page,
.quick-section {
    width: min(1200px, 100%);
}

.card,
.quick-card,
.step-card,
.module-card,
.stat-card,
.legal-card,
.about-card,
.linked-card,
.ticket-row,
.detail-highlight-card,
.info-item,
.timeline-card,
.empty-state {
    overflow-wrap: break-word;
    word-break: normal;
}

.btn {
    min-width: 0;
    white-space: normal;
    text-align: center;
}

.btn svg,
.nav svg,
.mobile-bottom-nav svg,
.field svg,
.badge svg {
    flex: 0 0 auto;
}

.btn.small {
    min-height: 36px;
    line-height: 1.15;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.table-wrap table {
    min-width: 760px;
}

.table-actions,
.operational-actions,
.detail-hero-actions,
.report-filter-actions,
.filter-actions {
    min-width: 0;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-actions form {
    margin: 0;
}

.filters-card,
.filter-card,
.report-filter-grid,
.form-grid {
    min-width: 0;
}

.badge,
.sla-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
}

.empty-state {
    padding: 28px;
}

.empty-state.compact {
    padding: 22px;
}

.rustdesk-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-notice {
    width: min(920px, calc(100% - 32px));
}

.public-hero-video {
    min-width: 100%;
    min-height: 100%;
}

.public-hero-content {
    min-width: 0;
}

.footer.footer-institutional {
    width: 100%;
}

@media (max-width: 1180px) {
    .filters-card {
        grid-template-columns: minmax(0, 1fr) minmax(180px, .5fr) minmax(180px, .5fr);
    }

    .filters-card .filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .detail-layout,
    .dashboard-grid,
    .dashboard-hero,
    .dashboard-hero-compact,
    .linked-grid {
        grid-template-columns: 1fr;
    }

    .detail-form-card {
        position: static;
    }
}

@media (max-width: 760px) {
    body {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    main {
        min-height: calc(100vh - 72px);
    }

    .page,
    .quick-section {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 96px;
    }

    .card,
    .legal-card,
    .about-hero,
    .about-card,
    .step-card,
    .quick-card,
    .module-card,
    .stat-card,
    .linked-card,
    .detail-highlight-card,
    .timeline-card {
        border-radius: 16px;
    }

    .card,
    .legal-card,
    .step-card,
    .quick-card,
    .module-card,
    .stat-card {
        padding: 18px;
    }

    .page-header h1,
    .section-title h2,
    .legal-header h1,
    .about-hero h1,
    .detail-hero h1 {
        line-height: 1.08;
        letter-spacing: 0;
    }

    .page-header p,
    .section-title p,
    .legal-header p,
    .about-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .form-grid,
    .filters-card,
    .filter-card,
    .report-filter-grid,
    .stats-grid,
    .detail-highlight-grid,
    .info-grid,
    .quick-grid,
    .steps-grid,
    .dashboard-module-grid,
    .dashboard-chart-grid {
        grid-template-columns: 1fr;
    }

    .filters-card,
    .filter-card,
    .report-filter-grid {
        gap: 14px;
    }

    .filter-search,
    .filter-actions,
    .report-filter-actions {
        grid-column: 1 / -1;
    }

    .filter-actions,
    .report-filter-actions,
    .form-actions,
    .detail-hero-actions,
    .operational-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .table-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .table-actions .btn,
    .table-actions form,
    .operational-actions .btn,
    .detail-hero-actions .btn {
        width: 100%;
    }

    input,
    select,
    textarea {
        min-height: 52px;
        font-size: 16px;
    }

    textarea {
        min-height: 120px;
    }

    .control > svg {
        left: 13px;
    }

    .public-hero {
        min-height: calc(100svh - 72px);
        padding: 52px 18px 94px;
        align-items: flex-end;
    }

    .public-hero h1 {
        font-size: clamp(38px, 10.5vw, 50px);
        line-height: 1;
        letter-spacing: 0;
    }

    .public-hero p {
        font-size: 16px;
        line-height: 1.55;
    }

    .public-hero .btn {
        min-height: 52px;
    }

    .about-page {
        padding-bottom: 104px;
    }

    .about-card-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .about-card svg {
        flex: 0 0 auto;
        width: 26px;
        height: 26px;
        margin-top: 2px;
    }

    .about-card-content,
    .about-card strong,
    .about-card span {
        min-width: 0;
        display: block;
        overflow-wrap: normal;
        word-break: normal;
    }

    .about-card span {
        margin-top: 4px;
    }

    .about-legal-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-dev-card {
        gap: 8px;
    }

    .detail-hero {
        padding: 20px;
    }

    .detail-highlight-card {
        min-height: auto;
        padding: 18px;
    }

    .linked-card,
    .ticket-row,
    .info-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .ticket-top,
    .timeline-head,
    .card-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .ticket-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rustdesk-line {
        align-items: stretch;
    }

    .rustdesk-line .btn {
        width: 100%;
    }

    .mobile-bottom-nav {
        min-height: calc(66px + env(safe-area-inset-bottom));
        padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }

    .mobile-bottom-nav a {
        min-height: 50px;
        border-radius: 14px;
        gap: 4px;
        font-size: 11px;
    }

    .mobile-bottom-nav svg {
        width: 19px;
        height: 19px;
    }

    .cookie-notice {
        width: auto;
        left: 10px;
        right: 10px;
        bottom: calc(76px + env(safe-area-inset-bottom));
        border-radius: 16px;
    }

    .cookie-notice p {
        font-size: 13px;
    }

    .page > .page-header,
    .page > .card,
    .page > form.card,
    .page > .detail-hero,
    .page > .detail-highlight-grid,
    .page > .linked-grid,
    .page > .detail-layout,
    .page > .stats-grid,
    .page > .filter-card,
    .page > .filters-card,
    .page > .report-filter-grid,
    .page > .dashboard-hero,
    .page > .dashboard-hero-compact,
    .page > .dashboard-module-grid,
    .page > .dashboard-chart-grid,
    .page > .dashboard-grid {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .page > .card .table-wrap,
    .page > .detail-layout .table-wrap {
        margin-left: -2px;
        margin-right: -2px;
    }
}

@media (max-width: 430px) {
    .about-legal-links,
    .cookie-notice-actions {
        grid-template-columns: 1fr;
    }

    .mobile-bottom-nav a {
        font-size: 10.5px;
    }
}

@media (max-width: 760px) {
    .about-page,
    .legal-page {
        width: 100%;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
        overflow-x: clip;
    }

    .about-hero,
    .about-card-grid,
    .about-card,
    .about-card-content,
    .about-legal-section,
    .about-legal-links,
    .about-dev-card,
    .legal-header,
    .legal-card {
        width: 100%;
        max-width: 100%;
    }

    .about-hero *,
    .about-card *,
    .about-dev-card *,
    .legal-header *,
    .legal-card * {
        max-width: 100%;
    }

    .about-hero p,
    .about-card-content,
    .about-card-content strong,
    .about-card-content span,
    .legal-header p,
    .legal-card p,
    .legal-list {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .about-hero,
    .about-card-grid,
    .about-legal-section,
    .about-dev-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-hero h1 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .about-legal-links {
        grid-template-columns: 1fr;
    }

    .about-legal-links a {
        justify-content: center;
    }
}

/* Ajuste assinatura Sinaltech em linha única */

.about-dev-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 82px;
}

.about-dev-card span {
    white-space: nowrap;
}

.about-dev-card img {
    height: 42px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
}

@media (max-width: 760px) {
    .about-dev-card {
        flex-direction: row !important;
        min-height: 74px;
        padding: 16px 20px;
        gap: 14px;
    }

    .about-dev-card span {
        font-size: 11px;
        letter-spacing: .07em;
        white-space: nowrap;
    }

    .about-dev-card img {
        height: 38px;
        max-width: 190px;
    }
}

@media (max-width: 390px) {
    .about-dev-card {
        gap: 10px;
        padding: 15px 16px;
    }

    .about-dev-card span {
        font-size: 10px;
    }

    .about-dev-card img {
        height: 34px;
        max-width: 170px;
    }
}

