﻿:root {
    --primary: #0783c5;
    --primary2: #05a4dc;
    --primary-dark: #07527f;
    --navy: #073755;
    --deep: #031f32;
    --text: #173244;
    --muted: #697d8b;
    --light: #f5f9fc;
    --line: #e1eaf0;
    --white: #fff;
    --success: #19976b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    min-height: 100%;
}

body {
    color: var(--text);
    background: #fff;
    font-family: "Inter","Segoe UI",Arial,sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button, input {
    font: inherit;
}

.portal {
    overflow: hidden;
}

.container {
    width: min(1180px,calc(100% - 40px));
    margin: auto;
}

/* HEADER */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid transparent;
    transition: .25s;
}

    .header.scrolled {
        border-color: rgba(6,69,107,.09);
        background: rgba(255,255,255,.94);
        box-shadow: 0 8px 35px rgba(3,55,86,.07);
        backdrop-filter: blur(18px);
    }

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .brand img {
        width: 158px;
        height: auto;
        display: block;
    }

.nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

    .nav a {
        position: relative;
        color: #35566a;
        font-size: 13px;
        font-weight: 650;
        text-decoration: none;
    }

        .nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 0;
            height: 2px;
            border-radius: 3px;
            background: var(--primary);
            transition: .2s;
        }

        .nav a:hover {
            color: var(--primary-dark);
        }

            .nav a:hover::after {
                width: 100%;
            }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 31px;
}

.btn-area {
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 11px;
    color: white;
    background: linear-gradient(135deg,var(--primary),var(--primary-dark));
    box-shadow: 0 9px 21px rgba(7,111,171,.19);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.btn-install-header {
    height: 40px;
    padding: 0 13px;
    border: 1px solid #d9e6ee;
    border-radius: 10px;
    color: #32647f;
    background: #fff;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #dce6ec;
    border-radius: 11px;
    color: #174b68;
    background: white;
    cursor: pointer;
}

/* HERO */

.hero {
    position: relative;
    min-height: 760px;
    padding: 156px 0 90px;
    background: radial-gradient(circle at 17% 20%,rgba(15,166,223,.16),transparent 29%), radial-gradient(circle at 80% 18%,rgba(7,99,159,.14),transparent 29%), linear-gradient(135deg,#f8fbfd 0%,#edf6fb 53%,#d9ecf7 100%);
}

    .hero::before {
        content: "";
        position: absolute;
        width: 610px;
        height: 610px;
        right: -250px;
        top: 100px;
        border: 80px solid rgba(255,255,255,.28);
        border-radius: 50%;
    }

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.hero-glow-1 {
    width: 230px;
    height: 230px;
    left: -80px;
    bottom: -50px;
    border: 45px solid rgba(13,141,202,.06);
}

.hero-glow-2 {
    width: 180px;
    height: 180px;
    right: 30%;
    top: 90px;
    background: rgba(255,255,255,.2);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    padding-top: 12px;
}

.hero-badge {
    width: max-content;
    max-width: 100%;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(13,108,161,.13);
    border-radius: 999px;
    color: #286d93;
    background: rgba(255,255,255,.59);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .045em;
    backdrop-filter: blur(9px);
}

    .hero-badge span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #22a879;
        box-shadow: 0 0 0 5px rgba(34,168,121,.11);
    }

.hero h1 {
    max-width: 700px;
    margin: 23px 0;
    color: var(--deep);
    font-size: clamp(48px,5vw,69px);
    line-height: .99;
    letter-spacing: -.055em;
    font-weight: 800;
}

    .hero h1 strong {
        display: block;
        margin-top: 9px;
        color: var(--primary);
        font-weight: 800;
    }

.hero-description {
    max-width: 620px;
    margin: 0;
    color: #526d7e;
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline, .btn-white {
    min-height: 52px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: .18s;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg,#068fd2,#05669f);
    box-shadow: 0 13px 28px rgba(6,109,168,.22);
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.btn-outline {
    border: 1px solid #cbdce7;
    color: #315c74;
    background: rgba(255,255,255,.65);
}

.hero-security {
    margin-top: 42px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

    .hero-security > div {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .hero-security i {
        color: #1484b9;
        font-size: 18px;
    }

    .hero-security span {
        display: flex;
        flex-direction: column;
    }

    .hero-security strong {
        color: #36576c;
        font-size: 10px;
    }

    .hero-security small {
        margin-top: 2px;
        color: #82919b;
        font-size: 9px;
    }

/* HERO CARD */

.hero-card-wrap {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 3;
    width: 370px;
    padding: 42px 38px 32px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 27px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 33px 80px rgba(7,70,108,.2);
    backdrop-filter: blur(20px);
}

.hero-card-logo img {
    width: 185px;
    display: block;
    margin: auto;
}

.hero-card-label {
    display: block;
    margin-top: 28px;
    color: #0b82bd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-align: center;
}

.hero-card h2 {
    margin: 9px 0 13px;
    color: #15384d;
    font-size: 25px;
    line-height: 1.2;
    text-align: center;
}

.hero-card p {
    margin: 0;
    color: #71828e;
    font-size: 12px;
    line-height: 1.65;
    text-align: center;
}

.hero-card-button {
    min-height: 49px;
    margin-top: 23px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg,#0788c9,#075781);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.hero-card-footer {
    margin-top: 18px;
    color: #81909a;
    font-size: 9px;
    text-align: center;
}

    .hero-card-footer i {
        margin-right: 6px;
        color: #1b996f;
    }

.floating-card {
    position: absolute;
    z-index: 4;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(255,255,255,.83);
    border-radius: 15px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 14px 35px rgba(2,57,89,.13);
}

    .floating-card > i {
        width: 37px;
        height: 37px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #fff;
        background: linear-gradient(135deg,#12a6db,#0873ae);
    }

    .floating-card span {
        display: flex;
        flex-direction: column;
        color: #70818d;
        font-size: 9px;
    }

    .floating-card strong {
        margin-bottom: 3px;
        color: #315267;
        font-size: 10px;
    }

.floating-card-one {
    top: 55px;
    left: -25px;
}

.floating-card-two {
    right: -20px;
    bottom: 53px;
}

/* ACESSO RÁPIDO */

.quick-access {
    position: relative;
    z-index: 10;
    margin-top: -38px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border: 1px solid #e1eaf0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 55px rgba(3,66,101,.11);
}

.quick-item {
    min-height: 116px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid #edf1f4;
    text-decoration: none;
    transition: .18s;
}

    .quick-item:last-child {
        border-right: 0;
    }

    .quick-item:hover {
        background: #f7fbfd;
        transform: translateY(-2px);
    }

.quick-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #087ab5;
    background: #eaf5fb;
}

.quick-item > div:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.quick-item strong {
    color: #2e4c5e;
    font-size: 11px;
}

.quick-item span {
    margin-top: 4px;
    color: #85939c;
    font-size: 9px;
}

.quick-arrow {
    margin-left: auto;
    color: #a8b6be;
    font-size: 10px;
}

/* SEÇÕES */

.section {
    padding: 105px 0;
}

.section-light {
    background: #fff;
}

.section-header {
    margin-bottom: 43px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-eyebrow {
    display: block;
    margin-bottom: 11px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .17em;
}

    .section-eyebrow.light {
        color: #83d8fa;
    }

.section-header h2,
.about-content h2,
.judicial-content h2,
.contact-section h2 {
    margin: 0;
    color: #17384c;
    font-size: 38px;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.section-header p {
    margin: 12px 0 0;
    color: #738590;
    font-size: 13px;
}

.section-symbol {
    width: 63px;
    height: 63px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #1588bd;
    background: #edf7fb;
    font-size: 23px;
}

/* NOTÍCIAS */

.news-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 25px;
}

.news-card {
    overflow: hidden;
    border: 1px solid #e4ebef;
    border-radius: 21px;
    background: #fff;
}

.news-image {
    position: relative;
    min-height: 238px;
    display: grid;
    place-items: center;
}

.institutional-bg {
    background: radial-gradient(circle at 30% 30%,rgba(32,180,227,.28),transparent 28%), linear-gradient(135deg,#0b83bd,#07517e);
}

.news-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 7px 11px;
    border-radius: 8px;
    color: #07517e;
    background: #fff;
    font-size: 9px;
    font-weight: 800;
}

.institutional-icon {
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 30px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-size: 42px;
}

.news-body {
    padding: 28px;
}

.news-category {
    color: #1083b8;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.news-body h3 {
    margin: 10px 0 12px;
    color: #284b60;
    font-size: 19px;
    line-height: 1.35;
}

.news-body p {
    margin: 0;
    color: #73828c;
    font-size: 12px;
    line-height: 1.7;
}

.news-body a {
    margin-top: 18px;
    display: inline-flex;
    gap: 8px;
    color: #0878ad;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-small {
    flex: 1;
    padding: 21px;
    display: flex;
    gap: 16px;
    border: 1px solid #e4ebef;
    border-radius: 17px;
    background: #fff;
}

.news-small-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #0b84bd;
    background: #edf7fb;
}

.news-small span {
    color: #1184b7;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .12em;
}

.news-small h3 {
    margin: 5px 0 6px;
    color: #355468;
    font-size: 13px;
}

.news-small p {
    margin: 0;
    color: #7c8c96;
    font-size: 10px;
    line-height: 1.5;
}

/* JUDICIAL */

.judicial-section {
    position: relative;
    color: #fff;
    background: radial-gradient(circle at 5% 30%,rgba(20,172,224,.19),transparent 25%), linear-gradient(125deg,#052f4b,#074d75 57%,#076995);
}

.judicial-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.judicial-visual {
    position: relative;
    min-height: 350px;
    display: grid;
    place-items: center;
}

.judicial-icon-main {
    width: 210px;
    height: 210px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.06);
    box-shadow: 0 0 0 38px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.02);
    font-size: 77px;
}

.judicial-number {
    position: absolute;
    right: -15px;
    bottom: 0;
    width: 210px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(1,33,53,.62);
    backdrop-filter: blur(14px);
}

    .judicial-number small {
        color: #66c8ec;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .15em;
    }

    .judicial-number strong {
        margin: 7px 0;
        font-size: 14px;
    }

    .judicial-number span {
        color: #b6cdd9;
        font-size: 9px;
        line-height: 1.5;
    }

.judicial-content h2,
.contact-section h2 {
    color: #fff;
}

.judicial-content > p,
.contact-section p {
    color: #bdd1dc;
    font-size: 13px;
    line-height: 1.78;
}

.judicial-list {
    margin: 24px 0 27px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    list-style: none;
}

    .judicial-list li {
        color: #d4e3ea;
        font-size: 11px;
    }

    .judicial-list i {
        margin-right: 7px;
        color: #56d1a3;
    }

.btn-white {
    width: max-content;
    color: #07547e;
    background: #fff;
}

/* AGENDA */

.agenda-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 25px;
}

.agenda-intro {
    padding: 37px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg,#0786c1,#07567f);
}

    .agenda-intro > i {
        font-size: 32px;
    }

    .agenda-intro h3 {
        margin: 22px 0 10px;
        font-size: 22px;
    }

    .agenda-intro p {
        color: #d2e7f1;
        font-size: 12px;
        line-height: 1.7;
    }

    .agenda-intro span {
        margin-top: 25px;
        padding-top: 18px;
        display: block;
        border-top: 1px solid rgba(255,255,255,.14);
        color: #d9edf5;
        font-size: 9px;
    }

        .agenda-intro span i {
            margin-right: 6px;
        }

.agenda-placeholder {
    min-height: 310px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #cad9e2;
    border-radius: 20px;
    background: #f9fbfc;
    text-align: center;
}

.agenda-empty-icon {
    width: 69px;
    height: 69px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    color: #0c8ac2;
    background: #eaf5fa;
    font-size: 27px;
}

.agenda-placeholder h3 {
    margin: 18px 0 8px;
    color: #395a6d;
    font-size: 16px;
}

.agenda-placeholder p {
    max-width: 390px;
    margin: 0;
    color: #84929a;
    font-size: 11px;
    line-height: 1.6;
}

/* SOBRE */

.about-section {
    background: #f6f9fb;
}

.about-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.about-content h2 {
    margin-bottom: 23px;
}

.about-content p {
    color: #748691;
    font-size: 12px;
    line-height: 1.75;
}

.about-lead {
    color: #4a6879 !important;
    font-size: 14px !important;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.value-card {
    min-height: 250px;
    padding: 26px 23px;
    border: 1px solid #e3eaee;
    border-radius: 18px;
    background: #fff;
}

    .value-card > div {
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        color: #0b81ba;
        background: #eaf5fa;
    }

    .value-card h3 {
        margin: 20px 0 10px;
        color: #345468;
        font-size: 15px;
    }

    .value-card p {
        margin: 0;
        color: #7c8d97;
        font-size: 10px;
        line-height: 1.65;
    }

/* PWA */

.app-section {
    padding: 70px 0;
    background: #fff;
}

.app-card {
    padding: 34px 42px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    border-radius: 23px;
    color: #fff;
    background: radial-gradient(circle at 80% 20%,rgba(39,187,227,.23),transparent 30%), linear-gradient(125deg,#073d5e,#075e89);
    box-shadow: 0 24px 60px rgba(5,67,101,.16);
}

.app-icon {
    width: 83px;
    height: 83px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #fff;
}

    .app-icon img {
        width: 70px;
        height: auto;
    }

.app-content span {
    color: #77d6f4;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .15em;
}

.app-content h2 {
    margin: 6px 0 6px;
    font-size: 23px;
}

.app-content p {
    margin: 0;
    color: #cae0ea;
    font-size: 11px;
}

.app-button {
    height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    color: #075375;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.app-installed {
    color: #bdebd9;
    font-size: 11px;
    font-weight: 700;
}

/* CONTATO */

.contact-section {
    color: #fff;
    background: linear-gradient(130deg,#082d45,#041e31);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 90px;
    align-items: center;
}

.contact-warning {
    max-width: 570px;
    margin-top: 26px;
    padding: 15px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 13px;
    color: #c5d7e1;
    background: rgba(255,255,255,.05);
    font-size: 10px;
    line-height: 1.55;
}

    .contact-warning i {
        color: #51c79a;
        font-size: 18px;
    }

.contact-card {
    padding: 29px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(255,255,255,.06);
}

.contact-item {
    padding: 17px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

    .contact-item > i {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #73d0f0;
        background: rgba(255,255,255,.07);
    }

    .contact-item div {
        display: flex;
        flex-direction: column;
    }

    .contact-item small {
        color: #7295aa;
        font-size: 8px;
        font-weight: 800;
        letter-spacing: .12em;
    }

    .contact-item strong {
        margin-top: 4px;
        font-size: 11px;
    }

.contact-button {
    height: 47px;
    margin-top: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #075278;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

/* FOOTER */

.footer {
    padding: 60px 0 20px;
    color: #6e818e;
    background: #f4f7f9;
}

.footer-main {
    padding-bottom: 37px;
    display: grid;
    grid-template-columns: 1.6fr .65fr .65fr 1fr;
    gap: 45px;
}

.footer-brand img {
    width: 155px;
}

.footer-brand p {
    max-width: 270px;
    margin: 15px 0 0;
    font-size: 10px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .footer-links strong {
        margin-bottom: 4px;
        color: #385668;
        font-size: 10px;
    }

    .footer-links a {
        font-size: 9px;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #0b78aa;
        }

.footer-system {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}

    .footer-system > div {
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 11px;
        color: #0b7eb4;
        background: #e4f0f6;
    }

    .footer-system span {
        display: flex;
        flex-direction: column;
        font-size: 9px;
    }

    .footer-system strong {
        margin-bottom: 4px;
        color: #36586b;
        font-size: 11px;
    }

.footer-bottom {
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #dde5ea;
    font-size: 8px;
}

    .footer-bottom a {
        color: #1477a6;
        font-weight: 700;
        text-decoration: none;
    }

.back-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 43px;
    height: 43px;
    display: none;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #0879b2;
    box-shadow: 0 10px 28px rgba(4,74,111,.24);
    cursor: pointer;
}

/* RESPONSIVO */

@media(max-width:1000px) {
    .nav {
        display: none;
    }

        .nav.open {
            position: absolute;
            top: 82px;
            left: 20px;
            right: 20px;
            padding: 17px;
            display: flex;
            flex-direction: column;
            gap: 0;
            border: 1px solid #e1e9ee;
            border-radius: 15px;
            background: #fff;
            box-shadow: 0 20px 50px rgba(4,66,100,.13);
        }

            .nav.open a {
                padding: 13px;
                border-bottom: 1px solid #edf1f3;
            }

    .menu-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr 390px;
        gap: 35px;
    }

    .quick-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .quick-item:nth-child(2) {
        border-right: 0;
    }

    .quick-item:nth-child(-n+2) {
        border-bottom: 1px solid #edf1f4;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media(max-width:800px) {
    .container {
        width: min(100% - 30px,1180px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 128px;
    }

    .btn-install-header {
        display: none !important;
    }

    .btn-area {
        height: 40px;
        padding: 0 12px;
        font-size: 10px;
    }

    .hero {
        min-height: auto;
        padding: 115px 0 75px;
    }

    .hero-grid {
        display: block;
        text-align: center;
    }

    .hero-badge {
        margin: auto;
    }

    .hero h1 {
        max-width: 650px;
        margin: 23px auto;
        font-size: clamp(40px,10vw,58px);
    }

    .hero-description {
        margin: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-security {
        justify-content: center;
    }

    .hero-card-wrap {
        min-height: auto;
        margin-top: 60px;
    }

    .floating-card {
        display: none;
    }

    .quick-access {
        margin-top: -28px;
    }

    .news-grid,
    .judicial-grid,
    .agenda-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .judicial-grid {
        gap: 40px;
    }

    .judicial-visual {
        min-height: 300px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
    }

    .app-card {
        grid-template-columns: auto 1fr;
    }

    .app-button,
    .app-installed {
        grid-column: 1 / -1;
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:520px) {
    .header-actions {
        margin-left: auto;
    }

    .btn-area span {
        display: none;
    }

    .hero {
        padding-top: 105px;
    }

    .hero-badge {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -.045em;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
    }

    .hero-security {
        display: none;
    }

    .hero-card {
        width: 100%;
        padding: 35px 23px 28px;
    }

    .hero-card-logo img {
        width: 160px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .quick-item {
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid #edf1f4 !important;
    }

        .quick-item:last-child {
            border-bottom: 0 !important;
        }

    .section {
        padding: 77px 0;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-symbol {
        display: none;
    }

    .section-header h2,
    .about-content h2,
    .judicial-content h2,
    .contact-section h2 {
        font-size: 31px;
    }

    .news-grid {
        gap: 16px;
    }

    .judicial-visual {
        display: none;
    }

    .judicial-list {
        grid-template-columns: 1fr;
    }

    .app-card {
        padding: 28px 23px;
        display: block;
        text-align: center;
    }

    .app-icon {
        margin: 0 auto 18px;
    }

    .app-button {
        margin-top: 20px;
    }

    .contact-grid {
        gap: 40px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
