html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --ogmo-navy: #0a2b52;
    --ogmo-blue: #0f4c8a;
    --ogmo-blue-strong: #0d4378;
    --ogmo-blue-soft: #eaf2fb;
    --ogmo-ice: #f3f7fb;
    --ogmo-line: #d9e3ef;
    --ogmo-text: #18324d;
    --ogmo-text-soft: #5f7490;
    --ogmo-white: #ffffff;
    --ogmo-shadow-soft: 0 18px 38px rgba(13, 33, 61, 0.10);
    --ogmo-shadow-panel: 0 28px 64px rgba(8, 26, 48, 0.18);
}

body.public-body {
    background: #f3f6fa;
    color: var(--ogmo-text);
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

strong,
b {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
}

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

input,
button,
textarea,
select {
    font: inherit;
}

.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 220;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--ogmo-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-main-row {
    background: transparent;
}

.header-main-row-inner {
    display: table;
    width: 100%;
    min-height: 88px;
}

.site-brand,
.header-main-actions,
.desktop-header-right {
    display: table-cell;
    vertical-align: middle;
}

.site-brand {
    width: auto;
    white-space: nowrap;
    padding: 30px 0;
}

.header-main-actions,
.desktop-header-right {
    text-align: right;
    white-space: nowrap;
}

.site-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 110px;
    max-width: 100%;
}

.site-brand-logo img {
    display: block;
}

.header-systems {
    display: inline-block;
    position: relative;
}

.header-systems-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(13, 67, 120, 0.14);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
    color: var(--ogmo-navy);
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(13, 67, 120, 0.08);
}

.header-systems-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ogmo-navy);
    border-bottom: 2px solid var(--ogmo-navy);
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.28s ease;
}

.header-systems.is-open .header-systems-caret {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.header-systems-panel {
    display: none;
    position: fixed;
    left: 24px;
    right: 24px;
    top: 156px;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
    overflow-x: hidden;
    transform: none;
    z-index: 260;
}

.header-systems.is-open .header-systems-panel {
    display: block;
}

.header-systems-panel-inner {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 180px);
    min-height: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, #0d4378 0%, #0a2b52 100%);
    box-shadow: var(--ogmo-shadow-panel);
}

.header-systems-panel-head {
    padding: 24px 28px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-systems-kicker {
    display: block;
    margin-bottom: 8px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
}

.header-systems-panel-head h3 {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 34px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.header-systems-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.system-card {
    min-height: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}

.system-card-top {
    margin-bottom: 18px;
    min-height: 118px;
}

.system-card h4 {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.system-card p {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.76);
}

.system-login-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.system-login-field {
    margin-bottom: 12px;
}

.system-login-field label {
    display: block;
    margin-bottom: 6px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.system-login-field input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    outline: none;
}

.system-login-field input:focus {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.16);
}

.system-login-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ogmo-navy);
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    margin-top: auto;
    align-self: flex-end;
}

.header-nav-row {
    background: #ffffff;
    border-top: 1px solid #edf2f6;
}

.desktop-nav {
    display: block;
}

.desktop-nav-list {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.desktop-nav-item {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
}

.desktop-nav-link {
    display: block;
    padding: 20px 8px 21px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    color: #465a72;
    transition: color 0.2s ease;
}

.desktop-nav-item:hover .desktop-nav-link,
.desktop-nav-item:focus-within .desktop-nav-link {
    color: var(--ogmo-blue-strong);
}

.menu-toggle-button {
    width: 88px;
    height: 88px;
    border: 0;
    background: linear-gradient(180deg, #0f4c8a 0%, #0a2b52 100%);
    cursor: pointer;
    padding: 0;
    text-align: center;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.menu-toggle-line {
    display: block;
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    margin-left: -12px;
    background: #ffffff;
    transition: transform 0.22s ease, opacity 0.22s ease, top 0.22s ease;
}

.menu-toggle-line-1 {
    top: 33px;
}

.menu-toggle-line-2 {
    top: 43px;
}

.menu-toggle-line-3 {
    top: 53px;
}

.menu-toggle-button.is-active .menu-toggle-line-1 {
    top: 43px;
    transform: rotate(45deg);
}

.menu-toggle-button.is-active .menu-toggle-line-2 {
    opacity: 0;
}

.menu-toggle-button.is-active .menu-toggle-line-3 {
    top: 43px;
    transform: rotate(-45deg);
}

.mobile-menu-shell {
    display: none;
}

.mobile-menu-panel {
    background: #f6f9fc;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
}

.mobile-menu-group {
    border-top: 1px solid var(--ogmo-line);
}

.mobile-menu-group-systems {
    background: linear-gradient(180deg, #0f4c8a 0%, #0a2b52 100%);
    border-top: 0;
}

.mobile-menu-parent,
.mobile-menu-child-parent {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 21px 24px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 1.2;
    color: var(--ogmo-navy);
    text-align: left;
    cursor: pointer;
    position: relative;
}

.mobile-menu-group-systems > .mobile-menu-parent {
    color: #ffffff;
    background: transparent;
}

.mobile-menu-child-parent {
    padding-left: 24px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.mobile-menu-simple-link {
    display: block;
    padding: 21px 24px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 1.2;
    color: var(--ogmo-navy);
    background: #f6f9fc;
}

.mobile-menu-chevron {
    position: absolute;
    right: 24px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.28s ease;
}

.mobile-menu-group.is-open > .mobile-menu-parent .mobile-menu-chevron,
.mobile-system-block.is-open > .mobile-menu-child-parent .mobile-menu-chevron {
    transform: rotate(45deg);
}

.mobile-menu-submenu {
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #0d4378 0%, #0a2b52 100%);
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.28s ease;
}

.mobile-menu-links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 25px;
    transition: max-height 0.32s ease, opacity 0.28s ease, padding 0.28s ease;
}

.mobile-menu-group.is-open > .mobile-menu-submenu {
    max-height: 2200px;
    opacity: 1;
}

.mobile-system-block.is-open > .mobile-menu-links {
    max-height: 900px;
    opacity: 1;
    padding: 15px 25px 25px;
    overflow: visible;
}

.mobile-system-form-wrap {
    background: linear-gradient(180deg, #0d4378 0%, #0a2b52 100%);
    padding: 0;
}

.mobile-system-form .system-login-field label {
    color: rgba(255, 255, 255, 0.74);
}

.mobile-system-form .system-login-field input {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.mobile-system-form .system-login-submit {
    width: 100%;
}

.hero {
    position: relative;
    padding: 0;
    min-height: 640px;
    background:
        linear-gradient(90deg, rgba(7, 16, 28, 0.88) 0%, rgba(7, 16, 28, 0.78) 26%, rgba(7, 16, 28, 0.38) 52%, rgba(7, 16, 28, 0.14) 72%, rgba(7, 16, 28, 0.10) 100%),
        url('../img/ogmo-porto-alegre.webp') center center / cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 28, 0.16) 0%, rgba(7, 16, 28, 0.32) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-inner {
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: 96px 0 92px;
    box-sizing: border-box;
}

.hero-content {
    width: 100%;
    max-width: 760px;
}

.hero-media {
    display: none;
}

.hero h1 {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 40px;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 760px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero p {
    max-width: 640px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 23px;
    line-height: 1.52;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 34px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-actions {
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-family: normalidad-compact, sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn + .btn {
    margin-left: 0;
}

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

.btn-primary {
    background: #ffffff;
    color: #11243a;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: normalidad-compact, sans-serif;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
}

.btn + .btn {
    margin-left: 10px;
}

.btn-primary {
    background: #0d4378;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(13, 67, 120, 0.18);
}

.btn-secondary {
    background: #ffffff;
    color: #15273b;
    border: 1px solid #c8d4df;
}

.section-block {
    padding: 56px 0;
}

.section-head {
    margin-bottom: 24px;
}

.section-title {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #15273b;
    margin-bottom: 10px;
}

.section-description {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 17px;
    line-height: 1.55;
    color: #627388;
}

.cards-grid {
    overflow: hidden;
}

.cards-grid-3 .card-item {
    float: left;
    width: 31.3333%;
    margin-right: 3%;
}

.cards-grid-3 .card-item.last {
    margin-right: 0;
}

.surface-card {
    background: #ffffff;
    border: 1px solid #dfe6ee;
    box-shadow: 0 10px 26px rgba(17, 37, 60, 0.05);
    padding: 24px;
    box-sizing: border-box;
    border-radius: 20px;
}

.surface-card h3 {
    font-family: normalidad-compact, sans-serif;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
    font-style: normal;
    color: #15273b;
    margin-bottom: 10px;
}

.surface-card p {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.6;
    color: #627388;
}

.alert-card-urgent {
    border-left: 4px solid #b4332b;
}

.alert-card-important {
    border-left: 4px solid #a56b09;
}

.alert-card-info {
    border-left: 4px solid #0d4378;
}

.site-footer {
    margin-top: 26px;
    padding: 42px 0;
    background: #13243a;
    color: #d7e1eb;
}

.footer-grid {
    overflow: hidden;
}

.footer-brand,
.footer-meta {
    float: left;
    box-sizing: border-box;
}

.footer-brand {
    width: 58%;
    padding-right: 26px;
}

.footer-meta {
    width: 42%;
}

.site-footer h3 {
    font-family: normalidad-wide, sans-serif;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #ffffff;
    margin-bottom: 12px;
}

.site-footer p {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.65;
    color: #c6d0da;
}

@media screen and (max-width: 1320px) {
    .header-systems-panel {
        left: 24px;
        right: 24px;
        width: auto;
    }

    .header-systems-panel-inner::-webkit-scrollbar {
        width: 10px;
    }

    .header-systems-panel-inner::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.24);
        border-radius: 999px;
    }
}

@media screen and (max-width: 1300px) {
    .header-systems-panel {
        left: 24px;
        right: 24px;
        width: calc(100vw - 48px);
        max-width: calc(100vw - 48px);
    }

    .header-systems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .hero {
    min-height: 580px;
}

.hero-inner {
    min-height: 580px;
    padding: 84px 0 78px;
}

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

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

@media screen and (min-width: 1301px) {
    .header-systems-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media screen and (max-width: 980px) {
    .system-card h4 {
        font-size: 21px;
    }

    .system-card-top {
        min-height: 104px;
    }
}

@media screen and (max-width: 900px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: table-cell;
        padding-right: 30px;
    }

    .header-main-row-inner {
        display: table;
        width: 100%;
        min-height: 104px;
    }

    .container.header-main-row-inner {
        padding-right: 0;
    }

    .site-brand-logo {
        max-height: 90px;
    }

    .mobile-menu-shell {
    display: block;
    position: fixed;
    left: 0;
    top: 150px;
    width: 100%;
    height: calc(100vh - 150px);
    z-index: 210;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    overflow: hidden;
}

    .mobile-menu-shell.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    touch-action: pan-y;
}

    .hero {
        min-height: 520px;
        background:
            linear-gradient(180deg, rgba(7, 16, 28, 0.78) 0%, rgba(7, 16, 28, 0.56) 100%),
            url('../img/ogmo-porto-alegre.webp') center center / cover no-repeat;
    }

    .hero-inner {
        display: block;
        min-height: 520px;
        padding: 74px 0 70px;
    }

    .hero-content {
        max-width: none;
        margin-bottom: 28px;
    }

    .hero-media {
        display: none;
        max-width: none;
    }

    .hero-image {
        border-radius: 20px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.1;
        max-width: 620px;
    }

    .hero p {
        font-size: 19px;
        max-width: 560px;
        margin-bottom: 28px;
    }

    .cards-grid-3 .card-item {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .footer-brand,
    .footer-meta {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .footer-meta {
        margin-top: 18px;
    }
    .mobile-menu-parent,
.mobile-menu-child-parent,
.mobile-menu-simple-link,
.system-login-submit,
.system-login-field input {
    touch-action: manipulation;
}

.mobile-menu-submenu,
.mobile-menu-links {
    will-change: max-height;
}
}
@media screen and (min-width: 901px) {
    .mobile-menu-shell {
        display: none !important;
    }

    .menu-toggle-button {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .menu-toggle-button {
        width: 80px;
        height: 80px;
    }

    .menu-toggle-line-1 {
        top: 29px;
    }

    .menu-toggle-line-2 {
        top: 39px;
    }

    .menu-toggle-line-3 {
        top: 49px;
    }

    .menu-toggle-button.is-active .menu-toggle-line-1,
    .menu-toggle-button.is-active .menu-toggle-line-3 {
        top: 39px;
    }

    .mobile-menu-shell {
        top: 150px;
        height: calc(100vh - 80px);
    }

    .hero {
    min-height: auto;
}

.hero-inner {
    min-height: auto;
    padding: 56px 0 54px;
}

.hero h1 {
    font-size: 36px;
    line-height: 1.03;
    margin-bottom: 18px;
}

.hero p {
    font-size: 17px;
    line-height: 1.58;
    margin-bottom: 24px;
}

.hero-actions {
    display: block;
}

.btn {
    display: block;
    width: 100%;
    text-align: center;
}

.btn + .btn {
    margin-top: 10px;
}

    

    .section-block {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .surface-card {
        padding: 20px;
    }

    .mobile-menu-parent,
    .mobile-menu-child-parent,
    .mobile-menu-simple-link {
        font-size: 17px;
    }
    .site-brand-logo {
    max-height: 90px;
}
.hero-media {
    margin-top: 18px;
}
}

@media screen and (max-width: 480px) {
    .mobile-system-block.is-open > .mobile-menu-links {
        max-height: 760px;
        padding: 14px 16px 20px;
    }

    .mobile-system-form .system-login-submit {
        width: 100%;
    }
}

/* app.css — acrescentar no final */

.section-block.alt {
    background: linear-gradient(180deg, #f7fafd 0%, #f2f6fb 100%);
}

.alerts-section {
    padding-top: 34px;
}

.alerts-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 24px;
    align-items: start;
}

.alert-featured-card,
.alerts-list-wrap {
    background: #ffffff;
    border: 1px solid #dfe6ee;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(17, 37, 60, 0.06);
}

.alert-featured-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.alert-featured-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 4px;
    border-radius: 999px;
    background: #b4332b;
}

.alert-featured-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.alert-featured-date {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 1;
    color: #6e8095;
    white-space: nowrap;
}

.alert-featured-card h3 {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #15273b;
    margin-bottom: 14px;
    max-width: 560px;
}

.alert-featured-card p {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 17px;
    line-height: 1.62;
    color: #5f7490;
    margin-bottom: 22px;
    max-width: 620px;
}

.alert-featured-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef3f8;
    color: #40556f;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-sizing: border-box;
}

.alert-badge-critical {
    background: #fbefee;
    color: #9b2f28;
}

.alert-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}

.alerts-list-wrap {
    padding: 0;
    overflow: hidden;
}

.alerts-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #edf2f6;
}

.alerts-list-head h3 {
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #15273b;
}

.alerts-list-all {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    color: #0d4378;
    white-space: nowrap;
}

.alerts-list {
    display: block;
}

.alert-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 24px;
    border-top: 1px solid #edf2f6;
}

.alert-list-item:first-child {
    border-top: 0;
}

.alert-list-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.alert-list-meta time {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 1;
    color: #6e8095;
}

.alert-list-main {
    min-width: 0;
}

.alert-list-main h4 {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 19px;
    line-height: 1.32;
    color: #15273b;
    margin-bottom: 6px;
}

.alert-list-main p {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.58;
    color: #627388;
}

.alert-list-action {
    align-self: center;
}

.alert-list-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid #d5e0eb;
    background: #ffffff;
    color: #15273b;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.alert-list-action a:hover,
.alerts-list-all:hover {
    color: #0d4378;
}

.alert-list-action a:hover {
    border-color: #b9c9d9;
    background: #f8fbfe;
    transform: translateY(-1px);
}

.quick-card {
    display: block;
    float: left;
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 16px;
    padding: 22px 22px 20px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #dfe6ee;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(17, 37, 60, 0.05);
    min-height: 152px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:nth-child(4n) {
    margin-right: 0;
}

.quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(17, 37, 60, 0.08);
    border-color: #cedae6;
}

.quick-card strong {
    display: block;
    margin-bottom: 10px;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 22px;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #15273b;
}

.quick-card span {
    display: block;
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 15px;
    line-height: 1.55;
    color: #627388;
}

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

.stat-card {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid #dfe6ee;
    box-shadow: 0 10px 26px rgba(17, 37, 60, 0.05);
}

.stat-card span {
    display: block;
    margin-bottom: 10px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7f97;
}

.stat-card strong {
    display: block;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 36px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #15273b;
}

@media screen and (max-width: 1100px) {
    .alerts-panel {
        grid-template-columns: 1fr;
    }

    .quick-card {
        width: 49%;
        margin-right: 2%;
    }

    .quick-card:nth-child(4n) {
        margin-right: 2%;
    }

    .quick-card:nth-child(2n) {
        margin-right: 0;
    }

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

@media screen and (max-width: 767px) {
    .alerts-section {
        padding-top: 18px;
    }

    .alert-featured-card,
    .alerts-list-wrap {
        border-radius: 20px;
    }

    .alert-featured-card {
        padding: 20px;
    }

    .alert-featured-top {
        display: block;
        margin-bottom: 16px;
    }

    .alert-featured-date {
        display: block;
        margin-top: 10px;
    }

    .alert-featured-card h3 {
        font-size: 24px;
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .alert-featured-card p {
        font-size: 16px;
        line-height: 1.58;
        margin-bottom: 18px;
    }

    .alerts-list-head {
        display: block;
        padding: 20px 20px 16px;
    }

    .alerts-list-head h3 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .alert-list-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 20px;
    }

    .alert-list-main h4 {
        font-size: 18px;
    }

    .alert-list-action a {
        width: 100%;
    }

    .quick-card {
        float: none;
        width: 100%;
        margin-right: 0;
        min-height: 0;
    }

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

    .stat-card strong {
        font-size: 30px;
    }
}

/* app.css — ACRESCENTAR SOMENTE NO FINAL */

.ogmo-alerts-section {
    padding-top: 24px;
    padding-bottom: 28px;
}

.ogmo-alerts-shell {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(17, 37, 60, 0.08);
}

.ogmo-alerts-bar {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: stretch;
    background: linear-gradient(90deg, #0f4c8a 0%, #0a2b52 100%);
}

.ogmo-alerts-bar-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.ogmo-alerts-bar-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ffffff;
}

.ogmo-alerts-bar-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    margin-top: -3px;
    border-radius: 50%;
    background: #b4332b;
}

.ogmo-alerts-bar-kicker {
    display: inline-block;
    color: #ffffff;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ogmo-alerts-bar-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 18px 22px;
}

.ogmo-alerts-bar-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    box-sizing: border-box;
}

.ogmo-alerts-bar-main p {
    min-width: 0;
    color: #ffffff;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 1.35;
}

.ogmo-alerts-trail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: #dbe6f1;
    border: 1px solid #dbe6f1;
    border-top: 0;
}

.ogmo-alert-chip {
    min-width: 0;
    padding: 16px 18px 17px;
    background: #ffffff;
}

.ogmo-alert-chip-date {
    display: inline-block;
    margin-bottom: 10px;
    color: #0d4378;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ogmo-alert-chip p {
    color: #18324d;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    line-height: 1.45;
}

@media screen and (max-width: 1100px) {
    .ogmo-alerts-bar {
        grid-template-columns: 1fr;
    }

    .ogmo-alerts-bar-label {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .ogmo-alerts-trail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .ogmo-alerts-section {
        padding-top: 18px;
        padding-bottom: 22px;
    }

    .ogmo-alerts-shell {
        border-radius: 20px;
    }

    .ogmo-alerts-bar-label,
    .ogmo-alerts-bar-main {
        padding: 15px 16px;
    }

    .ogmo-alerts-bar-main {
        display: block;
    }

    .ogmo-alerts-bar-date {
        margin-bottom: 10px;
    }

    .ogmo-alerts-bar-main p {
        font-size: 18px;
        line-height: 1.4;
    }

    .ogmo-alerts-trail {
        display: flex;
        gap: 0;
        overflow-x: auto;
        border-top: 0;
        background: #ffffff;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ogmo-alert-chip {
        flex: 0 0 280px;
        border-right: 1px solid #dbe6f1;
    }

    .ogmo-alert-chip:last-child {
        border-right: 0;
    }
}

/* app.css — ACRESCENTAR SOMENTE NO FINAL */

.ogmo-kpi-section {
    padding-top: 24px;
}

.ogmo-kpi-head {
    margin-bottom: 22px;
}

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

.ogmo-kpi-card {
    position: relative;
    min-width: 0;
    padding: 22px 22px 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid #dfe6ee;
    box-shadow: 0 12px 30px rgba(17, 37, 60, 0.06);
    overflow: hidden;
}

.ogmo-kpi-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0f4c8a 0%, #0a2b52 100%);
}

.ogmo-kpi-meta {
    display: inline-block;
    margin-bottom: 16px;
    color: #6c8198;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.ogmo-kpi-value {
    display: block;
    margin-bottom: 10px;
    color: #15273b;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.ogmo-kpi-label {
    color: #29415d;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    line-height: 1.34;
}

@media screen and (max-width: 1100px) {
    .ogmo-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .ogmo-kpi-section {
        padding-top: 18px;
    }

    .ogmo-kpi-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ogmo-kpi-card {
        padding: 18px 18px 17px;
        border-radius: 20px;
    }

    .ogmo-kpi-value {
        font-size: 36px;
    }

    .ogmo-kpi-label {
        font-size: 16px;
    }
}

/* BLOCO ESTATÍSTICAS — SUBSTITUIR O BLOCO ANTERIOR INTEIRO POR ESTE */

.ogmo-stats-section {
    padding-top: 12px;
}

.ogmo-stats-head {
    margin-bottom: 22px;
}

.ogmo-stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.ogmo-chart-card {
    min-width: 0;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid #dfe6ee;
    box-shadow: 0 12px 30px rgba(17, 37, 60, 0.06);
}

.ogmo-chart-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.ogmo-chart-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #6c8198;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 11px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.ogmo-chart-card h3 {
    color: #15273b;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    max-width: 540px;
}

.ogmo-chart-highlight {
    flex: 0 0 auto;
    min-width: 124px;
    padding: 12px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #0f4c8a 0%, #0a2b52 100%);
    box-shadow: 0 14px 26px rgba(13, 67, 120, 0.18);
}

.ogmo-chart-highlight-label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.ogmo-chart-highlight strong {
    display: block;
    color: #ffffff;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.ogmo-chart-canvas {
    width: 100%;
    min-height: 340px;
}

.ogmo-chart-canvas-bar {
    min-height: 340px;
}

.ogmo-line-chart-footer {
    margin-top: 10px;
}

.ogmo-line-chart-note {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0d4378;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.04em;
    box-sizing: border-box;
}

#ogmo-line-chart,
#ogmo-bar-chart {
    outline: none;
}

#ogmo-line-chart *,
#ogmo-bar-chart * {
    outline: none !important;
}

#ogmo-line-chart .apexcharts-canvas:focus,
#ogmo-line-chart svg:focus,
#ogmo-line-chart foreignObject:focus,
#ogmo-line-chart .apexcharts-svg:focus,
#ogmo-bar-chart .apexcharts-canvas:focus,
#ogmo-bar-chart svg:focus,
#ogmo-bar-chart foreignObject:focus,
#ogmo-bar-chart .apexcharts-svg:focus {
    outline: none !important;
}

#ogmo-bar-chart .apexcharts-yaxis-label {
    transform: none !important;
}

@media screen and (max-width: 1100px) {
    .ogmo-stats-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 767px) {
    .ogmo-stats-section {
        padding-top: 6px;
    }

    .ogmo-chart-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ogmo-chart-card-top {
        display: block;
    }

    .ogmo-chart-card h3 {
        font-size: 24px;
        line-height: 1.08;
        max-width: none;
    }

    .ogmo-chart-highlight {
        margin-top: 14px;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .ogmo-chart-canvas,
    .ogmo-chart-canvas-bar {
        min-height: 300px;
    }
}

/* BLOCO AJUSTE GLOBAL DE VIEWPORT / ZOOM — ACRESCENTAR NO FINAL DO app.css */

html {
    width: 100%;
    min-width: 100%;
}

body.public-body {
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
}

.site-main {
    width: 100%;
    min-width: 0;
    overflow-x: clip;
}

@media screen and (max-width: 767px) {
    .container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


/* BLOCO PROGRAMAÇÃO DE NAVIOS */

.ogmo-ships-program {
    padding-top: 12px;
    padding-bottom: 56px;
    overflow: hidden;
}

.ogmo-ships-program *,
.ogmo-ships-program *::before,
.ogmo-ships-program *::after {
    box-sizing: border-box;
}

.ogmo-ships-program-head {
    margin-bottom: 24px;
}

.ogmo-ships-program-head .section-title {
    margin-bottom: 10px;
}

.ogmo-ships-program-head .section-description {
    max-width: 720px;
}

.ogmo-ships-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin-bottom: 24px;
}

.ogmo-ship-summary-card,
.ogmo-ship-record-card,
.ogmo-ships-list-card {
    position: relative;
    border: 1px solid rgba(174, 195, 220, 0.68);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
    box-shadow: 0 12px 30px rgba(17, 37, 60, 0.06);
}

.ogmo-ship-summary-card,
.ogmo-ship-record-card {
    display: flex;
    align-items: center;
    min-height: 124px;
    padding: 24px;
    border-radius: 22px;
    overflow: hidden;
}

.ogmo-ship-summary-card::after,
.ogmo-ship-record-card::after,
.ogmo-ships-list-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 35%);
}

.ogmo-ship-summary-icon,
.ogmo-ships-list-icon,
.ogmo-ship-row-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ogmo-ship-summary-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 31px;
    box-shadow: inset 0 -10px 16px rgba(0, 0, 0, 0.12), 0 12px 22px rgba(7, 31, 67, 0.10);
}

.ogmo-ship-summary-divider {
    position: relative;
    z-index: 1;
    width: 1px;
    height: 48px;
    margin: 0 18px;
    background: #d7e3f1;
}

.ogmo-ship-summary-content {
    position: relative;
    z-index: 1;
    display: block;
    min-width: 0;
}

.ogmo-ship-summary-content strong {
    display: block;
    margin-bottom: 4px;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    line-height: 0.86;
    letter-spacing: -0.05em;
}

.ogmo-ship-summary-content span {
    display: block;
    color: #071d3f;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 18px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.ogmo-ship-summary-card.is-docked .ogmo-ship-summary-icon {
    background: linear-gradient(145deg, #369947 0%, #1e7b2d 100%);
}

.ogmo-ship-summary-card.is-docked .ogmo-ship-summary-content strong {
    color: #258637;
}

.ogmo-ship-summary-card.is-anchored .ogmo-ship-summary-icon {
    background: linear-gradient(145deg, #0f71ba 0%, #064c8a 100%);
}

.ogmo-ship-summary-card.is-anchored .ogmo-ship-summary-content strong {
    color: #075a9e;
}

.ogmo-ship-summary-card.is-expected .ogmo-ship-summary-icon {
    background: linear-gradient(145deg, #ff9800 0%, #e57700 100%);
}

.ogmo-ship-summary-card.is-expected .ogmo-ship-summary-content strong {
    color: #eb7b00;
}

.ogmo-ship-summary-arrow {
    display: none;
}

.ogmo-ship-record-card {
    justify-content: center;
    align-items: flex-start;
    gap: 0;
}

.ogmo-ship-record-card > * {
    position: relative;
    z-index: 1;
}

.ogmo-ship-record-card span {
    display: block;
    margin-bottom: 8px;
    color: #617493;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 1.08;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ogmo-ship-record-card strong {
    display: block;
    color: #061b3b;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.ogmo-ship-record-card em {
    display: block;
    margin-top: 7px;
    color: #617493;
    font-family: normalidad-compact, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
}

.ogmo-ships-list-card {
    border-radius: 24px;
    overflow: hidden;
}

.ogmo-ships-list-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 116px;
    padding: 28px 30px;
    border-bottom: 1px solid #d8e4f1;
}

.ogmo-ships-list-icon,
.ogmo-ship-row-icon {
    background: linear-gradient(135deg, #f3f8ff 0%, #e9f1fb 100%);
    color: #0a4381;
    border: 1px solid #d7e4f2;
    box-shadow: inset 0 -6px 12px rgba(8, 46, 92, 0.04);
}

.ogmo-ships-list-icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    font-size: 31px;
}

.ogmo-ships-list-head h3 {
    margin: 0 0 8px;
    color: #061b3b;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.045em;
}

.ogmo-ships-list-head p {
    margin: 0;
    color: #607493;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.ogmo-ships-export-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 156px;
    height: 46px;
    padding: 0 20px;
    border: 1px solid #d7e4f2;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    color: #073d7a;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(7, 34, 72, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.ogmo-ships-export-button:hover,
.ogmo-ships-export-button:focus {
    transform: translateY(-1px);
    border-color: #b8cce4;
    box-shadow: 0 12px 24px rgba(7, 34, 72, 0.12);
    outline: 0;
}

.ogmo-ships-export-button i {
    font-size: 19px;
}

.ogmo-ships-table-wrap {
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.ogmo-ships-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1040px;
}

.ogmo-ships-table th,
.ogmo-ships-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e1e9f2;
    text-align: left;
    vertical-align: middle;
    color: #061b3b;
    font-family: normalidad-compact, sans-serif;
    font-style: normal;
}

.ogmo-ships-table td {
    font-weight: 400;
}

.ogmo-ships-table th {
    color: #5a6d8d;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(248, 251, 255, 0.76);
}

.ogmo-ships-table td {
    height: 78px;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ogmo-ship-name-cell {
    display: inline-flex;
    align-items: center;
    gap: 18px;
}

.ogmo-ship-name-cell strong {
    color: #061b3b;
    font-family: normalidad-wide, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.ogmo-ship-row-icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    flex: 0 0 48px;
    font-size: 24px;
}

.ogmo-ship-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.ogmo-ship-status.is-docked {
    color: #208335;
    background: #dff4e2;
}

.ogmo-ship-status.is-expected {
    color: #e77700;
    background: #fff1dc;
}

.ogmo-ships-mobile-list {
    display: none;
}

.ogmo-ships-list-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    min-height: 70px;
    padding: 20px 26px;
    color: #7a8dab;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 13px;
    line-height: 1;
}

.ogmo-ships-list-foot span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ogmo-ships-list-foot span + span {
    position: relative;
}

.ogmo-ships-list-foot span + span::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 50%;
    width: 1px;
    height: 26px;
    transform: translateY(-50%);
    background: #d8e4f1;
}

.ogmo-ships-list-foot span:first-child i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #317cc5;
}

.ogmo-ships-list-foot .ri-refresh-line {
    color: #6f8bab;
    font-size: 16px;
}

@media screen and (max-width: 1180px) {
    .ogmo-ships-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .ogmo-ships-program {
        padding-top: 6px;
        padding-bottom: 46px;
    }

    .ogmo-ships-program-head {
        margin-bottom: 22px;
    }

    .ogmo-ships-summary-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }

    .ogmo-ship-summary-card {
        min-height: 98px;
        padding: 18px 20px 18px 25px;
        border-radius: 14px;
    }

    .ogmo-ship-summary-icon {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        font-size: 30px;
    }

    .ogmo-ship-summary-divider {
        height: 52px;
        margin: 0 20px;
    }

    .ogmo-ship-summary-content strong {
        margin-bottom: 4px;
        font-size: 42px;
        line-height: 0.78;
    }

    .ogmo-ship-summary-content span {
        font-size: 19px;
    }

    .ogmo-ship-summary-arrow {
        position: relative;
        z-index: 1;
        display: inline-flex;
        margin-left: auto;
        color: #5c7190;
        font-size: 30px;
    }

    .ogmo-ship-record-card {
        min-height: 100px;
        padding: 22px 30px;
        border-radius: 14px;
    }

    .ogmo-ship-record-card span {
        margin-bottom: 10px;
        font-size: 13px;
        letter-spacing: 0.10em;
    }

    .ogmo-ship-record-card strong {
        font-size: 27px;
    }

    .ogmo-ship-record-card em {
        margin-top: 8px;
        font-size: 15px;
    }

    .ogmo-ships-list-card {
        border-radius: 14px;
    }

    .ogmo-ships-list-head {
        grid-template-columns: auto 1fr;
        gap: 16px;
        min-height: 104px;
        padding: 20px 18px;
    }

    .ogmo-ships-list-icon {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        font-size: 30px;
    }

    .ogmo-ships-list-head h3 {
        margin-bottom: 8px;
        font-size: 24px;
    }

    .ogmo-ships-list-head p {
        font-size: 16px;
        line-height: 1.2;
    }

    .ogmo-ships-export-button {
        grid-column: 1 / -1;
        justify-self: stretch;
        width: 100%;
        height: 50px;
        margin-top: 0;
        font-size: 16px;
    }

    .ogmo-ships-table-wrap {
        display: none;
    }

    .ogmo-ships-mobile-list {
        position: relative;
        z-index: 1;
        display: grid;
        gap: 0;
        padding: 0 6px 8px;
    }

    .ogmo-ship-mobile-card {
        padding: 16px 18px 14px;
        border: 1px solid #dbe6f2;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 10px 26px rgba(9, 35, 72, 0.045);
    }

    .ogmo-ship-mobile-card + .ogmo-ship-mobile-card {
        margin-top: 12px;
    }

    .ogmo-ship-mobile-top {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 18px;
        margin-bottom: 16px;
    }

    .ogmo-ship-mobile-top > div {
        min-width: 0;
    }

    .ogmo-ship-mobile-top strong {
        display: block;
        margin-bottom: 8px;
        color: #061b3b;
        font-family: normalidad-wide, sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 20px;
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .ogmo-ship-mobile-top > .ri-arrow-right-s-line {
        color: #5c7190;
        font-size: 30px;
    }

    .ogmo-ship-row-icon {
        width: 62px;
        height: 62px;
        border-radius: 14px;
        font-size: 30px;
    }

    .ogmo-ship-status {
        min-height: 28px;
        padding: 0 12px;
        border-radius: 8px;
        font-size: 15px;
    }

    .ogmo-ship-mobile-data {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0;
        border: 1px solid #dbe6f2;
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.54);
    }

    .ogmo-ship-mobile-data div {
        display: grid;
        grid-template-columns: 35% 65%;
        align-items: center;
        min-height: 40px;
        padding: 0 14px;
        border-bottom: 1px solid #dbe6f2;
    }

    .ogmo-ship-mobile-data div:nth-child(odd) {
        border-right: 1px solid #dbe6f2;
    }

    .ogmo-ship-mobile-data div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .ogmo-ship-mobile-data dt,
    .ogmo-ship-mobile-data dd {
        margin: 0;
        color: #061b3b;
        font-family: normalidad-compact, sans-serif;
        font-style: normal;
        font-size: 15px;
        line-height: 1.1;
        letter-spacing: -0.01em;
    }

    .ogmo-ship-mobile-data dt {
        color: #607493;
        font-weight: 700;
        font-size: 14px;
    }

    .ogmo-ship-mobile-data dd {
        font-weight: 400;
    }

    .ogmo-ships-list-foot {
        display: none;
    }
}

@media screen and (max-width: 520px) {
    .ogmo-ship-record-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .ogmo-ship-mobile-data {
        grid-template-columns: 1fr;
    }

    .ogmo-ship-mobile-data div,
    .ogmo-ship-mobile-data div:nth-child(odd),
    .ogmo-ship-mobile-data div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid #dbe6f2;
    }

    .ogmo-ship-mobile-data div:last-child {
        border-bottom: 0;
    }
}

/* BLOCO NOTÍCIAS E LINKS — HOME */

.ogmo-news-links {
    padding: 32px 0 64px;
    overflow: hidden;
}

.ogmo-news-links *,
.ogmo-news-links *::before,
.ogmo-news-links *::after {
    box-sizing: border-box;
}

.ogmo-news-panel,
.ogmo-links-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.90));
    border: 1px solid #d6e2ef;
    border-radius: 24px;
    box-shadow: 0 22px 52px rgba(8, 32, 60, 0.07);
}

.ogmo-news-panel {
    padding: 34px;
}

.ogmo-news-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.ogmo-news-head h2,
.ogmo-links-head h2 {
    font-family: normalidad-wide, sans-serif;
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #08284c;
    margin: 0 0 8px;
}

.ogmo-news-head p,
.ogmo-links-head p {
    font-family: normalidad-compact, sans-serif;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 300;
    color: #5d7190;
    margin: 0;
}

.ogmo-news-history {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 11px;
    border: 1px solid #d7e3f0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(12, 43, 78, 0.08);
    font-family: normalidad-compact, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0b4e95;
    white-space: nowrap;
}

.ogmo-news-history i {
    font-size: 22px;
    line-height: 1;
}

.ogmo-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 18px;
}

.ogmo-news-card {
    position: relative;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 18px 18px 18px 20px;
    border: 1px solid #d9e5f1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(7, 33, 62, 0.06);
    overflow: hidden;
}

.ogmo-news-card.is-featured {
    grid-row: span 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 486px;
    padding: 22px;
}

.ogmo-news-image-wrap {
    position: relative;
    min-height: 108px;
    border-radius: 14px;
    background: #f6f9fd;
    overflow: hidden;
}

.ogmo-news-card.is-featured .ogmo-news-image-wrap {
    min-height: 265px;
}

.ogmo-news-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.ogmo-news-image-fallback {
    display: grid;
    width: 100%;
    min-height: inherit;
    place-items: center;
    color: #0f4c8a;
    font-size: 42px;
    background: linear-gradient(135deg, #eff6ff 0%, #e7f7fb 100%);
}

.ogmo-news-card.is-featured .ogmo-news-image-wrap img {
    padding: 14px;
}

.ogmo-news-tag {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    font-family: normalidad-compact, sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: 0 6px 14px rgba(10, 38, 70, 0.07);
}

.ogmo-news-tag.is-blue {
    color: #0a55ac;
    background: #e8f0ff;
    border-color: #c9dcff;
}

.ogmo-news-tag.is-green {
    color: #16843a;
    background: #e4f6e8;
    border-color: #c4eccd;
}

.ogmo-news-info {
    min-width: 0;
}

.ogmo-news-card.is-featured .ogmo-news-info {
    padding-top: 20px;
}

.ogmo-news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: normalidad-compact, sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #5d7190;
    font-weight: 300;
}

.ogmo-news-date i {
    color: #0b4e95;
    font-size: 19px;
    line-height: 1;
}

.ogmo-news-card h3 {
    font-family: normalidad-wide, sans-serif;
    font-size: 20px;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #08284c;
    margin: 0;
}

.ogmo-news-card.is-featured h3 {
    max-width: 640px;
    font-size: 26px;
}

.ogmo-news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #073d76;
    font-size: 30px;
    line-height: 1;
}

.ogmo-news-card.is-featured .ogmo-news-arrow {
    position: absolute;
    right: 22px;
    bottom: 24px;
}

.ogmo-links-panel {
    margin-top: 22px;
    padding: 30px 34px 34px;
}

.ogmo-links-head {
    margin-bottom: 22px;
}

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

.ogmo-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 176px;
    padding: 20px;
    border: 1px solid #d9e5f1;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(7, 33, 62, 0.06);
    overflow: hidden;
}

.ogmo-link-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    margin-bottom: 18px;
}

.ogmo-link-logo img {
    display: block;
    max-width: 78%;
    max-height: 76px;
    object-fit: contain;
}

.ogmo-link-text {
    padding-right: 42px;
}

.ogmo-link-text strong,
.ogmo-link-text span {
    display: block;
    font-family: normalidad-compact, sans-serif;
    color: #08284c;
}

.ogmo-link-text strong {
    font-size: 17px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 3px;
}

.ogmo-link-text span {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 300;
    color: #48627f;
}

.ogmo-link-open {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #d9e5f1;
    border-radius: 11px;
    background: #ffffff;
    color: #0b4e95;
    font-size: 21px;
    box-shadow: 0 8px 18px rgba(8, 32, 60, 0.06);
}

@media screen and (max-width: 1080px) {
    .ogmo-news-grid {
        grid-template-columns: 1fr;
    }

    .ogmo-news-card.is-featured {
        grid-row: auto;
        min-height: 0;
    }

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

@media screen and (max-width: 767px) {
    .ogmo-news-links {
        padding: 24px 0 46px;
    }

    .ogmo-news-panel,
    .ogmo-links-panel {
        border-radius: 22px;
    }

    .ogmo-news-panel {
        padding: 26px 22px;
    }

    .ogmo-news-head {
        display: block;
        margin-bottom: 24px;
    }

    .ogmo-news-head h2,
    .ogmo-links-head h2 {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .ogmo-news-head p,
    .ogmo-links-head p {
        max-width: 360px;
        font-size: 17px;
        line-height: 1.35;
    }

    .ogmo-news-history {
        margin-top: 18px;
        width: 100%;
        justify-content: flex-start;
        min-height: 50px;
    }

    .ogmo-news-grid {
        gap: 12px;
    }

    .ogmo-news-card,
    .ogmo-news-card.is-featured {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr) 20px;
        gap: 14px;
        min-height: 156px;
        padding: 14px;
        border-radius: 17px;
    }

    .ogmo-news-card.is-featured .ogmo-news-image-wrap,
    .ogmo-news-image-wrap {
        min-height: 128px;
        align-self: stretch;
    }

    .ogmo-news-card.is-featured .ogmo-news-info {
        padding-top: 0;
    }

    .ogmo-news-card.is-featured .ogmo-news-arrow {
        position: static;
    }

    .ogmo-news-card h3,
    .ogmo-news-card.is-featured h3 {
        font-size: 18px;
        line-height: 1.10;
    }

    .ogmo-news-date {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .ogmo-news-tag {
        top: 10px;
        left: 10px;
        min-height: 26px;
        padding: 0 12px;
        font-size: 13px;
    }

    .ogmo-links-panel {
        margin-top: 20px;
        padding: 26px 22px 24px;
    }

    .ogmo-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .ogmo-link-card {
        min-height: 166px;
        padding: 16px;
        border-radius: 17px;
    }

    .ogmo-link-logo {
        min-height: 70px;
        margin-bottom: 14px;
    }

    .ogmo-link-logo img {
        max-width: 86%;
        max-height: 62px;
    }

    .ogmo-link-text strong {
        font-size: 16px;
    }

    .ogmo-link-text span {
        font-size: 14px;
    }
}

@media screen and (max-width: 520px) {
    .ogmo-news-panel,
    .ogmo-links-panel {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin-left: -24px;
        margin-right: -24px;
    }

    .ogmo-news-card,
    .ogmo-news-card.is-featured {
        grid-template-columns: 38% minmax(0, 1fr) 18px;
    }

    .ogmo-news-card h3,
    .ogmo-news-card.is-featured h3 {
        font-size: 16px;
        line-height: 1.12;
    }

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

/* ===== OGMO POA — header, mega menu, hero e mobile aprovados ===== */
:root {
    --ogmo-deep: #002f5f;
    --ogmo-deeper: #00284f;
    --ogmo-action: #0066d9;
    --ogmo-action-2: #0056c7;
    --ogmo-menu-line: rgba(255, 255, 255, 0.18);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: #ffffff;
    border-bottom: 0;
    box-shadow: 0 1px 0 rgba(0, 45, 90, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-main-row {
    background: #ffffff;
}

.header-main-row-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 128px;
    gap: 34px;
}

.site-brand,
.header-main-actions,
.desktop-header-right {
    display: flex;
    align-items: center;
    vertical-align: initial;
}

.site-brand {
    padding: 0;
    flex: 0 0 auto;
}

.site-brand-logo {
    width: 212px;
    max-width: 212px;
    max-height: none;
    height: auto;
}

.desktop-header-right {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 24px;
    text-align: initial;
}

.header-quick-nav {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    flex: 1 1 auto;
    max-width: 700px;
}

.header-quick-link {
    min-height: 50px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border-left: 1px solid #dce5ef;
    color: #003b78;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.header-quick-link:last-child {
    border-right: 1px solid #dce5ef;
}

.header-quick-link i {
    font-size: 25px;
    line-height: 1;
    color: #005fcb;
    font-weight: 400;
}

.header-ogmonet-button {
    min-height: 64px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0067df 0%, #004ab3 100%);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 82, 180, 0.22);
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    white-space: nowrap;
}

.header-ogmonet-button i {
    font-size: 23px;
    line-height: 1;
    font-weight: 400;
}

.header-nav-row {
    position: relative;
    z-index: 510;
    background: linear-gradient(90deg, #00305f 0%, #003d79 48%, #002e5d 100%);
    border-top: 0;
    border-bottom: 1px solid rgba(0, 122, 255, 0.42);
    box-shadow: 0 16px 35px rgba(0, 34, 70, 0.16);
}

.header-nav-container {
    position: relative;
}

.desktop-nav {
    display: block;
    position: relative;
}

.desktop-nav-list {
    display: flex;
    align-items: center;
    width: 100%;
    table-layout: auto;
}

.desktop-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.desktop-nav-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.desktop-nav-link {
    width: 100%;
    min-height: 74px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    position: relative;
}

.desktop-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: #0087ff;
    opacity: 0;
    transform: scaleX(0.24);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.desktop-nav-item:hover .desktop-nav-link,
.desktop-nav-item:focus-within .desktop-nav-link {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
}

.desktop-nav-item:hover .desktop-nav-link::after,
.desktop-nav-item:focus-within .desktop-nav-link::after {
    opacity: 1;
    transform: scaleX(1);
}

.desktop-nav-link i {
    font-size: 18px;
    line-height: 1;
}

.desktop-nav-search {
    flex: 0 0 78px;
}

.desktop-search-link i {
    font-size: 32px;
    font-weight: 300;
}

.desktop-mega-menu {
    position: absolute;
    left: -24px;
    right: -24px;
    top: calc(100% + 0px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 520;
    padding-top: 0;
}

.desktop-nav:hover .desktop-mega-menu,
.desktop-nav:focus-within .desktop-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.desktop-mega-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 1.05fr 1.05fr 1.25fr;
    gap: 0;
    min-height: 410px;
    padding: 42px 36px;
    border-radius: 0 0 9px 9px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: 0 28px 60px rgba(0, 27, 57, 0.20);
    border: 1px solid rgba(0, 55, 105, 0.10);
}

.desktop-mega-column,
.desktop-mega-ogmonet {
    padding: 0 34px;
    border-left: 1px solid #e1e8f0;
    box-sizing: border-box;
}

.desktop-mega-column:first-child {
    border-left: 0;
    padding-left: 20px;
}

.desktop-mega-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 28px;
    color: #004396;
}

.desktop-mega-title i {
    font-size: 35px;
    line-height: 1;
    font-weight: 400;
}

.desktop-mega-title strong {
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.1;
    color: #0a3670;
}

.desktop-mega-links {
    min-height: 198px;
    padding-bottom: 28px;
    margin-bottom: 22px;
    border-bottom: 1px solid #d8e1eb;
}

.desktop-mega-links li + li {
    margin-top: 13px;
}

.desktop-mega-links a {
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.2;
    color: #0b315f;
}

.desktop-mega-column p {
    max-width: 220px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.55;
    color: #173d68;
}

.desktop-mega-ogmonet {
    margin-left: 8px;
    padding: 26px 24px;
    border-left: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #f6f9fd 0%, #edf4fb 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.desktop-mega-ogmonet .desktop-mega-title {
    margin-bottom: 22px;
}

.desktop-ogmonet-list {
    display: grid;
    gap: 12px;
}

.desktop-ogmonet-item {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px 0 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 81, 168, 0.08);
    box-shadow: 0 12px 30px rgba(0, 48, 100, 0.08);
}

.desktop-ogmonet-label {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: #0a3670;
    white-space: normal;
}

.desktop-ogmonet-label i {
    flex: 0 0 auto;
    font-size: 26px;
    color: #005fcb;
}

.desktop-ogmonet-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #0066d9;
    border-radius: 9px;
    color: #0055bf;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.hero {
    min-height: 740px;
    margin-top: 0;
    background:
        linear-gradient(90deg, rgba(0, 26, 56, 0.95) 0%, rgba(0, 38, 77, 0.82) 31%, rgba(0, 42, 82, 0.34) 58%, rgba(0, 28, 58, 0.07) 100%),
        url('../img/ogmo-porto-alegre.webp') center center / cover no-repeat;
    border-bottom: 0;
}

.hero::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 24, 52, 0.22) 100%);
}

.hero-inner {
    min-height: 740px;
    align-items: center;
    padding: 116px 0 108px;
}

.hero-content {
    max-width: 660px;
}

.hero h1 {
    max-width: 660px;
    margin-bottom: 28px;
    font-family: normalidad-wide, sans-serif;
    font-size: 56px;
    line-height: 1.105;
    letter-spacing: -0.055em;
    text-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.hero-title-rule {
    display: block;
    width: 88px;
    height: 6px;
    margin-bottom: 31px;
    background: #0578ef;
}

.hero p {
    max-width: 620px;
    margin-bottom: 52px;
    font-family: normalidad-compact, sans-serif;
    font-size: 25px;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 22px;
}

.btn,
.btn + .btn {
    margin-left: 0;
}

.hero-actions .btn {
    min-height: 72px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-radius: 14px;
    font-family: normalidad-compact, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    box-shadow: none;
    white-space: nowrap;
}

.hero-actions .btn i:first-child {
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}

.hero-actions .btn i:last-child {
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
    margin-left: 2px;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #0074ec 0%, #005dcc 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 15px 31px rgba(0, 78, 170, 0.34);
}

.hero-actions .btn-secondary {
    background: rgba(0, 22, 48, 0.48);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.hero-actions .btn-light {
    background: #ffffff;
    color: #003b78;
    border: 1px solid rgba(0, 67, 150, 0.08);
    box-shadow: 0 15px 32px rgba(0, 22, 52, 0.22);
}

@media screen and (max-width: 1320px) {
    .container {
        max-width: 1180px;
    }

    .header-main-row-inner {
        min-height: 118px;
        gap: 22px;
    }

    .site-brand-logo {
        width: 194px;
        max-width: 194px;
    }

    .header-quick-link {
        padding: 0 18px;
        font-size: 13px;
    }

    .header-ogmonet-button {
        min-height: 58px;
        padding: 0 24px;
        font-size: 15px;
    }

    .desktop-nav-link {
        min-height: 68px;
        font-size: 16px;
    }

    .desktop-mega-grid {
        padding: 34px 24px;
    }

    .desktop-mega-column,
    .desktop-mega-ogmonet {
        padding-left: 22px;
        padding-right: 22px;
    }

    .desktop-mega-links a {
        font-size: 16px;
    }

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

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

@media screen and (max-width: 1040px) {
    .header-quick-link {
        padding: 0 12px;
    }

    .header-quick-link span {
        max-width: 94px;
        white-space: normal;
        line-height: 1.05;
        text-align: left;
    }

    .desktop-nav-link {
        font-size: 14px;
        padding-left: 9px;
        padding-right: 9px;
    }
}

@media screen and (max-width: 900px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        padding-right: 0;
    }

    .site-header {
        position: sticky;
    }

    .header-main-row-inner {
        min-height: 150px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 44px;
        padding-right: 48px;
    }

    .container.header-main-row-inner {
        padding-right: 48px;
    }

    .site-brand-logo {
        width: 270px;
        max-width: 270px;
        max-height: none;
    }

    .menu-toggle-button {
        width: 88px;
        height: 88px;
        border-radius: 12px;
        background: linear-gradient(135deg, #0067df 0%, #00376f 100%);
        box-shadow: 0 12px 25px rgba(0, 56, 120, 0.24);
    }

    .menu-toggle-line {
        width: 39px;
        height: 4px;
        margin-left: -19.5px;
        border-radius: 999px;
    }

    .menu-toggle-line-1 {
        top: 30px;
    }

    .menu-toggle-line-2 {
        top: 42px;
    }

    .menu-toggle-line-3 {
        top: 54px;
    }

    .menu-toggle-button.is-active .menu-toggle-line-1,
    .menu-toggle-button.is-active .menu-toggle-line-3 {
        top: 42px;
    }

    .mobile-menu-shell {
        display: block;
        position: fixed;
        left: 0;
        top: 150px;
        width: 100%;
        height: calc(100vh - 150px);
        z-index: 490;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
        overflow: hidden;
        background: #002f5f;
    }

    .mobile-menu-shell.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
        touch-action: pan-y;
    }

    .mobile-menu-panel {
        min-height: 100%;
        padding: 44px 40px 0;
        background:
            radial-gradient(circle at 76% 18%, rgba(0, 99, 201, 0.22) 0%, rgba(0, 99, 201, 0) 37%),
            linear-gradient(180deg, #003568 0%, #002b56 50%, #00234a 100%);
        color: #ffffff;
        box-sizing: border-box;
    }

    .mobile-menu-group {
        border-top: 1px solid rgba(255, 255, 255, 0.30);
        background: transparent;
        box-shadow: none;
    }

    .mobile-menu-group:first-child {
        border-top: 0;
    }

    .mobile-menu-parent {
        min-height: 112px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #ffffff;
        font-family: normalidad-compact, sans-serif;
        font-weight: 700;
        font-size: 39px;
        line-height: 1;
        background: transparent;
    }

    .mobile-menu-parent-label {
        display: flex;
        align-items: center;
        gap: 34px;
    }

    .mobile-menu-parent-label i {
        width: 62px;
        text-align: center;
        font-size: 47px;
        line-height: 1;
        font-weight: 400;
    }

    .mobile-menu-chevron {
        position: static;
        width: 22px;
        height: 22px;
        margin: 0 28px 8px 0;
        border-right: 5px solid currentColor;
        border-bottom: 5px solid currentColor;
        transform: rotate(45deg);
    }

    .mobile-menu-group.is-open > .mobile-menu-parent .mobile-menu-chevron {
        transform: rotate(-135deg);
        margin-top: 8px;
        margin-bottom: 0;
    }

    .mobile-menu-submenu {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.035);
        border-radius: 9px;
        transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.22s ease;
    }

    .mobile-menu-group.is-open > .mobile-menu-submenu {
        max-height: 720px;
        opacity: 1;
        margin-bottom: 24px;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 78px;
        padding: 0 34px 0 92px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid rgba(0, 16, 38, 0.25);
        color: #ffffff;
        font-family: normalidad-compact, sans-serif;
        font-weight: 300;
        font-size: 29px;
        line-height: 1.12;
    }

    .mobile-menu-item-link:first-child,
    .mobile-ogmonet-link:first-child {
        border-top: 0;
    }

    .mobile-menu-item-link i,
    .mobile-ogmonet-link > i {
        font-size: 44px;
        line-height: 1;
        font-weight: 300;
    }

    .mobile-ogmonet-submenu {
        padding: 8px 10px;
        background: rgba(0, 21, 50, 0.28);
        border-radius: 10px;
    }

    .mobile-ogmonet-link {
        min-height: 86px;
        margin: 8px 0;
        padding: 0 32px 0 34px;
        border: 2px solid rgba(100, 177, 255, 0.74);
        border-radius: 10px;
        background: linear-gradient(90deg, rgba(0, 102, 217, 0.36) 0%, rgba(0, 69, 150, 0.30) 100%);
        font-weight: 700;
    }

    .mobile-ogmonet-link span {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .mobile-ogmonet-link span i {
        width: 60px;
        text-align: center;
        font-size: 41px;
        line-height: 1;
        font-weight: 400;
    }

    .mobile-menu-footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 44px -40px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }

    .mobile-menu-footer-links a {
        min-height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        color: #ffffff;
        font-family: normalidad-compact, sans-serif;
        font-weight: 700;
        font-size: 29px;
        line-height: 1;
    }

    .mobile-menu-footer-links a + a {
        border-left: 1px solid rgba(255, 255, 255, 0.34);
    }

    .mobile-menu-footer-links i {
        font-size: 38px;
        line-height: 1;
        font-weight: 400;
    }

    .hero {
        min-height: calc(100vh - 150px);
        background:
            linear-gradient(90deg, rgba(0, 32, 65, 0.95) 0%, rgba(0, 39, 78, 0.66) 46%, rgba(0, 39, 78, 0.12) 100%),
            url('../img/ogmo-porto-alegre.webp') 63% center / cover no-repeat;
    }

    .hero-inner {
        min-height: calc(100vh - 150px);
        display: flex;
        align-items: flex-start;
        padding: 166px 0 86px;
        box-sizing: border-box;
    }

    .hero-content {
        max-width: none;
    }

    .hero h1 {
        max-width: 780px;
        margin-bottom: 32px;
        font-size: 66px;
        line-height: 1.09;
        letter-spacing: -0.06em;
    }

    .hero-title-rule {
        width: 120px;
        height: 8px;
        margin-bottom: 34px;
    }

    .hero p {
        max-width: 790px;
        margin-bottom: 76px;
        font-size: 35px;
        line-height: 1.55;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 108px;
        padding: 0 44px;
        justify-content: space-between;
        border-radius: 28px;
        font-size: 31px;
    }

    .hero-actions .btn i:first-child {
        font-size: 48px;
    }

    .hero-actions .btn i:last-child {
        font-size: 55px;
    }

    .hero-actions .btn span {
        flex: 1 1 auto;
        text-align: left;
        padding-left: 20px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .header-main-row-inner {
        min-height: 112px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .container.header-main-row-inner {
        padding-right: 24px;
    }

    .site-brand-logo {
        width: 198px;
        max-width: 198px;
    }

    .menu-toggle-button {
        width: 72px;
        height: 72px;
        border-radius: 10px;
    }

    .menu-toggle-line {
        width: 32px;
        height: 3px;
        margin-left: -16px;
    }

    .menu-toggle-line-1 {
        top: 25px;
    }

    .menu-toggle-line-2 {
        top: 35px;
    }

    .menu-toggle-line-3 {
        top: 45px;
    }

    .menu-toggle-button.is-active .menu-toggle-line-1,
    .menu-toggle-button.is-active .menu-toggle-line-3 {
        top: 35px;
    }

    .mobile-menu-shell {
        top: 112px;
        height: calc(100vh - 112px);
    }

    .mobile-menu-panel {
        padding: 28px 20px 0;
    }

    .mobile-menu-parent {
        min-height: 78px;
        font-size: 27px;
    }

    .mobile-menu-parent-label {
        gap: 20px;
    }

    .mobile-menu-parent-label i {
        width: 42px;
        font-size: 33px;
    }

    .mobile-menu-chevron {
        width: 16px;
        height: 16px;
        margin-right: 15px;
        border-width: 4px;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 62px;
        padding-left: 62px;
        padding-right: 20px;
        font-size: 21px;
    }

    .mobile-ogmonet-link {
        min-height: 68px;
        padding-left: 18px;
        border-width: 1px;
    }

    .mobile-ogmonet-link span {
        gap: 16px;
    }

    .mobile-ogmonet-link span i {
        width: 38px;
        font-size: 29px;
    }

    .mobile-menu-footer-links {
        margin-left: -20px;
        margin-right: -20px;
    }

    .mobile-menu-footer-links a {
        min-height: 82px;
        font-size: 22px;
        gap: 12px;
    }

    .mobile-menu-footer-links i {
        font-size: 29px;
    }

    .hero {
        min-height: calc(100vh - 112px);
        background:
            linear-gradient(90deg, rgba(0, 32, 65, 0.96) 0%, rgba(0, 39, 78, 0.70) 48%, rgba(0, 39, 78, 0.16) 100%),
            url('../img/ogmo-porto-alegre.webp') 64% center / cover no-repeat;
    }

    .hero-inner {
        min-height: calc(100vh - 112px);
        padding: 92px 0 52px;
    }

    .hero h1 {
        font-size: 46px;
        line-height: 1.08;
        margin-bottom: 24px;
    }

    .hero-title-rule {
        width: 82px;
        height: 6px;
        margin-bottom: 28px;
    }

    .hero p {
        margin-bottom: 54px;
        font-size: 24px;
        line-height: 1.55;
    }

    .hero-actions {
        gap: 20px;
    }

    .hero-actions .btn {
        min-height: 82px;
        padding: 0 28px;
        border-radius: 19px;
        font-size: 22px;
    }

    .hero-actions .btn i:first-child {
        font-size: 34px;
    }

    .hero-actions .btn i:last-child {
        font-size: 42px;
    }
}

@media screen and (max-width: 420px) {
    .site-brand-logo {
        width: 168px;
        max-width: 168px;
    }

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

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

    .hero-actions .btn {
        font-size: 19px;
        min-height: 74px;
    }
}

/* Conteúdo público migrado do gerenciador legado */
.legacy-section-page,
.legacy-list-page {
    padding: 46px 0 72px;
    background: #f4f7fb;
}

.legacy-data-page {
    padding-bottom: 12px;
}

.legacy-section-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 32px 36px;
    border: 1px solid rgba(15, 76, 138, 0.16);
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(31, 191, 214, 0.3), transparent 30%),
        linear-gradient(125deg, #082a4d 0%, #0f4c8a 68%, #126ca0 100%);
    box-shadow: 0 16px 42px rgba(10, 38, 70, 0.12);
}

.legacy-section-hero::after {
    content: "";
    position: absolute;
    right: 34px;
    bottom: -52px;
    width: 180px;
    height: 180px;
    border: 28px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.legacy-section-hero > * {
    position: relative;
    z-index: 1;
}

.legacy-section-hero > span {
    display: block;
    margin-bottom: 8px;
    color: #8ee5f1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.legacy-section-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1;
}

.legacy-section-hero p {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.55;
}

.legacy-section-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.legacy-section-nav {
    display: grid;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(10, 38, 70, 0.06);
}

.legacy-section-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 50px;
    padding: 11px 15px;
    border-bottom: 1px solid #edf1f5;
    color: #28435f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.legacy-section-nav a:last-child {
    border-bottom: 0;
}

.legacy-section-nav a:hover,
.legacy-section-nav a.is-active {
    color: #075ca8;
    background: #eef7ff;
}

.legacy-section-content {
    min-height: 320px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid #dce5ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(10, 38, 70, 0.06);
}

.legacy-section-content > h2 {
    margin: 0 0 24px;
    color: #0a2645;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}

.legacy-cms-content {
    color: #34495f;
    font-size: 16px;
    line-height: 1.75;
}

.legacy-cms-content img,
.legacy-cms-content iframe,
.legacy-cms-content table {
    max-width: 100%;
}

.legacy-cms-content img {
    height: auto;
}

.legacy-cms-content a {
    color: #075ca8;
    font-weight: 700;
}

.legacy-cms-content table {
    display: block;
    overflow-x: auto;
}

.legacy-empty-state {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px;
    border: 1px solid #dce5ef;
    border-radius: 18px;
    background: #fff;
}

.legacy-empty-state > i {
    color: #0f6fb8;
    font-size: 34px;
}

.legacy-empty-state h2,
.legacy-empty-state p {
    margin: 0;
}

.legacy-empty-state p {
    margin-top: 6px;
    color: #5f7185;
}

.legacy-empty-state a {
    display: inline-block;
    margin-top: 14px;
    color: #075ca8;
    font-weight: 800;
}

.legacy-news-archive {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.legacy-news-archive-card {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 150px;
    padding: 14px;
    border: 1px solid #dce5ef;
    border-radius: 18px;
    color: #0a2645;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 8px 24px rgba(10, 38, 70, 0.05);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.legacy-news-archive-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(10, 38, 70, 0.1);
}

.legacy-news-archive-image {
    display: grid;
    width: 148px;
    height: 120px;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    color: #0f6fb8;
    font-size: 34px;
    background: #eef6fc;
}

.legacy-news-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.legacy-news-archive-body {
    display: grid;
    gap: 8px;
}

.legacy-news-archive-body time {
    color: #1687b2;
    font-size: 12px;
    font-weight: 800;
}

.legacy-news-archive-body strong {
    font-size: 18px;
    line-height: 1.16;
}

.legacy-news-archive-body > span {
    overflow: hidden;
    color: #607286;
    font-size: 14px;
    line-height: 1.45;
}

.legacy-publications-list {
    display: grid;
    gap: 12px;
}

.legacy-publication-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 22px;
    border: 1px solid #dce5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(10, 38, 70, 0.04);
}

.legacy-publication-meta {
    display: grid;
    gap: 7px;
    justify-items: start;
}

.legacy-publication-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    color: #7c3440;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    background: #fff0f2;
}

.legacy-publication-meta span.is-open {
    color: #147243;
    background: #eaf8f0;
}

.legacy-publication-meta time {
    color: #718096;
    font-size: 13px;
    font-weight: 800;
}

.legacy-publication-copy {
    min-width: 0;
}

.legacy-publication-copy > strong {
    color: #0a2645;
    font-size: 17px;
}

.legacy-publication-copy > div {
    max-height: 48px;
    overflow: hidden;
    margin-top: 7px;
    color: #607286;
    font-size: 13px;
    line-height: 1.45;
}

.legacy-publication-copy p {
    margin: 0;
}

.legacy-publication-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #075ca8;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

@media screen and (max-width: 900px) {
    .legacy-section-layout,
    .legacy-publication-card {
        grid-template-columns: 1fr;
    }

    .legacy-section-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legacy-section-nav a {
        border-right: 1px solid #edf1f5;
    }

    .legacy-news-archive {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 620px) {
    .legacy-section-page,
    .legacy-list-page {
        padding: 24px 0 48px;
    }

    .legacy-section-hero {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .legacy-section-hero p {
        font-size: 15px;
    }

    .legacy-section-nav {
        grid-template-columns: 1fr;
    }

    .legacy-news-archive-card {
        grid-template-columns: 98px minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 122px;
        padding: 11px;
    }

    .legacy-news-archive-image {
        width: 98px;
        height: 96px;
    }

    .legacy-news-archive-body strong {
        font-size: 15px;
    }

    .legacy-news-archive-body > span {
        display: none;
    }
}

/* Segunda passada UX/UI: proporções mais compactas e leitura institucional */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid rgba(0, 116, 236, 0.72) !important;
    outline-offset: 3px;
}

.site-footer {
    padding: 42px 0;
    background: #071d35;
}

.site-footer .footer-grid {
    align-items: start;
    gap: 42px;
}

.site-footer strong {
    color: #fff;
    font-size: 16px;
}

.site-footer p {
    max-width: 520px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

.footer-legacy-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 220ms ease;
}

.footer-legacy-link:hover,
.footer-legacy-link:focus-visible {
    color: #b9dcff;
}

@media (prefers-reduced-motion: reduce) {
    .footer-legacy-link {
        transition-duration: 1ms;
    }
}

@media screen and (min-width: 901px) {
    .container {
        max-width: 1320px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .header-main-row-inner {
        min-height: 92px;
        padding-top: 9px;
        padding-bottom: 9px;
        gap: 26px;
    }

    .site-brand-logo {
        width: 166px;
        max-width: 166px;
    }

    .desktop-header-right {
        gap: 20px;
    }

    .header-quick-nav {
        max-width: 650px;
    }

    .header-quick-link {
        min-height: 42px;
        padding-left: 17px;
        padding-right: 17px;
        gap: 9px;
        font-size: 12px;
    }

    .header-quick-link i {
        font-size: 20px;
    }

    .header-ogmonet-button {
        min-height: 50px;
        padding-left: 22px;
        padding-right: 22px;
        border-radius: 12px;
        font-size: 13px;
        box-shadow: 0 10px 24px rgba(0, 82, 180, 0.2);
    }

    .header-ogmonet-button i {
        font-size: 19px;
    }

    .desktop-nav-link {
        min-height: 56px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 15px;
    }

    .desktop-nav-search {
        flex-basis: 64px;
    }

    .desktop-search-link i {
        font-size: 25px;
    }

    .desktop-mega-grid {
        min-height: 350px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .desktop-mega-links {
        min-height: 150px;
    }

    .hero,
    .hero-inner {
        min-height: 560px;
    }

    .hero-inner {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .hero-content,
    .hero h1 {
        max-width: 610px;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: 48px;
        line-height: 1.08;
    }

    .hero-title-rule {
        width: 68px;
        height: 4px;
        margin-bottom: 22px;
    }

    .hero p {
        max-width: 570px;
        margin-bottom: 34px;
        font-size: 20px;
        line-height: 1.48;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn {
        min-height: 56px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 12px;
        font-size: 13px;
    }

    .hero-actions .btn i:first-child,
    .hero-actions .btn i:last-child {
        font-size: 20px;
    }

    .section-block {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .section-title {
        font-size: 28px;
    }

    .ogmo-kpi-grid,
    .ogmo-stats-grid,
    .ogmo-ships-summary-grid {
        gap: 14px;
    }

    .ogmo-kpi-card {
        min-height: 142px;
        padding: 20px;
        border-radius: 17px;
    }

    .ogmo-kpi-value {
        font-size: 36px;
    }

    .ogmo-chart-card {
        padding: 20px;
        border-radius: 18px;
    }

    .ogmo-chart-card h3 {
        font-size: 25px;
    }

    .ogmo-ship-summary-card,
    .ogmo-ship-record-card {
        min-height: 104px;
        padding: 18px;
        border-radius: 17px;
    }

    .ogmo-ships-list-card,
    .ogmo-news-panel,
    .ogmo-links-panel {
        border-radius: 18px;
        box-shadow: 0 12px 32px rgba(8, 32, 60, 0.06);
    }

    .ogmo-news-links {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .ogmo-news-panel {
        padding: 26px;
    }
}

@media screen and (max-width: 900px) {
    .header-main-row-inner {
        min-height: 82px;
        padding: 10px 20px;
    }

    .container.header-main-row-inner {
        padding-right: 20px;
    }

    .site-brand-logo {
        width: 145px;
        max-width: 145px;
    }

    .menu-toggle-button {
        width: 48px;
        height: 48px;
    }

    .hero,
    .hero-inner {
        min-height: 560px;
    }

    .hero-inner {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero p {
        font-size: 18px;
        line-height: 1.48;
    }

    .hero-actions .btn {
        min-height: 54px;
    }
}

/* Estado final do mega menu desktop: uma seção por vez + OGMO NET. */
@media screen and (min-width: 901px) {
    .desktop-mega-menu {
        left: 50%;
        right: auto;
        width: min(880px, calc(100vw - 48px));
        transform: translate(-50%, -6px);
        border-radius: 0 0 18px 18px;
    }

    .desktop-nav.is-mega-open .desktop-mega-menu,
    .desktop-nav.is-mega-open:focus-within .desktop-mega-menu {
        transform: translate(-50%, 0);
    }

    .desktop-mega-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.9fr);
        gap: 20px;
        width: 100%;
        min-height: 0;
        padding: 20px;
        overflow: visible;
    }

    .desktop-mega-column {
        display: none;
        min-width: 0;
        min-height: 0;
        padding: 26px 30px;
        border-left: 0;
    }

    .desktop-mega-column.is-mega-active {
        display: block;
        min-height: 286px;
        padding: 26px 30px;
    }

    .desktop-mega-column:first-child {
        padding-left: 30px;
    }

    .desktop-mega-links,
    .desktop-mega-column.is-mega-active .desktop-mega-links {
        min-height: 0;
        margin-bottom: 16px;
        padding-bottom: 18px;
    }

    .desktop-mega-column p {
        max-width: none;
        margin-bottom: 0;
    }

    .desktop-mega-ogmonet {
        min-width: 0;
        min-height: 286px;
        margin: 0;
        padding: 24px;
    }

    .desktop-ogmonet-list {
        gap: 10px;
    }

    .desktop-ogmonet-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 60px;
        padding: 10px 12px 10px 16px;
    }

    .desktop-ogmonet-label {
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    .desktop-ogmonet-action {
        min-width: 72px;
        white-space: nowrap;
    }
}

.ship-initials{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0 16px}.ship-initials a{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border:1px solid #d9e1eb;border-radius:8px;background:#fff;color:#29405d;font-weight:700;text-decoration:none}.ship-initials a:hover,.ship-initials a.is-active{border-color:#0757a6;background:#0757a6;color:#fff}.ship-registry-card{overflow:hidden;border:1px solid #e0e6ee;border-radius:16px;background:#fff;box-shadow:0 8px 28px rgba(24,45,72,.07)}.ship-registry-heading{display:flex;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e8edf3;color:#667085}.ship-registry-heading strong{color:#172b47}.ship-registry-table{width:100%;border-collapse:collapse}.ship-registry-table th,.ship-registry-table td{padding:13px 14px;border-bottom:1px solid #edf1f5;text-align:left;white-space:nowrap}.ship-registry-table th{background:#f7f9fc;color:#536176;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.ship-registry-table td{color:#344258;font-size:13px}.ship-registry-table td:first-child{white-space:normal}.ship-registry-table small{display:block;margin-top:3px;color:#7b8798}.table-responsive{overflow-x:auto}
@media(max-width:640px){.ship-registry-heading{align-items:flex-start;flex-direction:column}.ship-initials{gap:5px}.ship-initials a{min-width:32px;height:32px;padding:0 8px}}

/* Mega menu compacto: somente a seção escolhida + acessos OGMO NET */
@media screen and (min-width: 901px) {
    .desktop-mega-menu {
        left: 50%;
        right: auto;
        width: min(840px, calc(100vw - 48px));
        transform: translate(-50%, -6px);
        border-radius: 0 0 18px 18px;
    }

    .desktop-nav.is-mega-open .desktop-mega-menu,
    .desktop-nav.is-mega-open:focus-within .desktop-mega-menu {
        transform: translate(-50%, 0);
    }

    .desktop-mega-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.9fr);
        gap: 20px;
        width: 100%;
        min-height: 0;
        padding: 20px;
        overflow: visible;
    }

    .desktop-mega-column {
        display: none;
        min-height: 0;
        padding: 26px 30px;
        border-left: 0;
    }

    .desktop-mega-column.is-mega-active {
        display: block;
        min-height: 286px;
        padding: 26px 30px;
    }

    .desktop-mega-column:first-child {
        padding-left: 30px;
    }

    .desktop-mega-links,
    .desktop-mega-column.is-mega-active .desktop-mega-links {
        min-height: 0;
        margin-bottom: 16px;
        padding-bottom: 18px;
    }

    .desktop-mega-column p {
        max-width: none;
        margin-bottom: 0;
    }

    .desktop-mega-ogmonet {
        min-height: 286px;
        margin: 0;
        padding: 24px;
    }

    .desktop-ogmonet-list {
        gap: 10px;
    }

    .desktop-ogmonet-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        min-height: 60px;
        padding: 10px 12px 10px 16px;
    }

    .desktop-ogmonet-label {
        min-width: 0;
        gap: 11px;
        line-height: 1.25;
    }

    .desktop-ogmonet-label i {
        flex: 0 0 auto;
    }

    .desktop-ogmonet-action {
        flex: 0 0 auto;
        min-width: 72px;
        white-space: nowrap;
    }
}

@media screen and (min-width: 901px) {
    .hero-content,
    .hero h1 {
        max-width: 680px;
    }
}

/* ===== Ajustes finos — largura, respiro, fontes secundárias e hover do mega menu ===== */
@media screen and (min-width: 901px) {
    .container {
        max-width: 1760px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .header-main-row-inner {
        min-height: 126px;
        padding-top: 18px;
        padding-bottom: 18px;
        gap: 42px;
    }

    .site-brand {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-brand-logo {
        width: 216px;
        max-width: 216px;
    }

    .desktop-header-right {
        gap: 30px;
    }

    .header-quick-nav {
        max-width: 760px;
    }

    .header-quick-link {
        min-height: 50px;
        padding-left: 24px;
        padding-right: 24px;
        gap: 12px;
        font-size: 12px;
    }

    .header-quick-link i {
        font-size: 23px;
    }

    .header-ogmonet-button {
        min-height: 60px;
        padding-left: 30px;
        padding-right: 30px;
        font-size: 14px;
    }

    .header-ogmonet-button i {
        font-size: 21px;
    }

    .desktop-nav-link {
        min-height: 70px;
        font-size: 14.5px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .desktop-nav-link i {
        font-size: 16px;
    }

    .desktop-search-link i {
        font-size: 29px;
    }

    .desktop-mega-menu {
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .desktop-mega-grid {
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(260px, 0.96fr);
        min-height: 392px;
        padding: 38px 30px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .desktop-mega-column,
    .desktop-mega-ogmonet {
        min-width: 0;
        padding-left: 28px;
        padding-right: 28px;
        border-radius: 12px;
        transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }

    .desktop-mega-column:first-child {
        padding-left: 24px;
    }

    .desktop-mega-title {
        gap: 13px;
        margin-bottom: 24px;
    }

    .desktop-mega-title i {
        font-size: 31px;
    }

    .desktop-mega-title strong {
        font-size: 16px;
    }

    .desktop-mega-links {
        min-height: 178px;
        padding-bottom: 24px;
        margin-bottom: 20px;
    }

    .desktop-mega-links li + li {
        margin-top: 11px;
    }

    .desktop-mega-links a {
        font-size: 14.5px;
        line-height: 1.22;
    }

    .desktop-mega-column p {
        max-width: 210px;
        font-size: 13px;
        line-height: 1.52;
    }

    .desktop-mega-ogmonet {
        margin-left: 0;
        padding: 24px 18px;
        box-sizing: border-box;
    }

    .desktop-ogmonet-list {
        gap: 10px;
    }

    .desktop-ogmonet-item {
        min-height: 68px;
        gap: 10px;
        padding-left: 16px;
        padding-right: 12px;
        box-sizing: border-box;
        min-width: 0;
    }

    .desktop-ogmonet-label {
        min-width: 0;
        gap: 10px;
        font-size: 13px;
    }

    .desktop-ogmonet-label i {
        font-size: 23px;
    }

    .desktop-ogmonet-action {
        min-width: 68px;
        height: 32px;
        padding-left: 11px;
        padding-right: 11px;
        font-size: 12px;
    }

    .hero-content,
    .hero h1 {
        max-width: 690px;
    }

    .hero-actions .btn {
        font-size: 14px;
        min-height: 66px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-actions .btn i:first-child,
    .hero-actions .btn i:last-child {
        font-size: 23px;
    }

    .desktop-nav-item.is-mega-active .desktop-nav-link,
    .desktop-nav-item:hover .desktop-nav-link,
    .desktop-nav-item:focus-within .desktop-nav-link {
        background: rgba(0, 20, 48, 0.28);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    }

    .desktop-nav-item.is-mega-active .desktop-nav-link::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .desktop-mega-column.is-mega-active,
    .desktop-mega-ogmonet.is-mega-active {
        background: linear-gradient(180deg, rgba(0, 102, 217, 0.075) 0%, rgba(0, 102, 217, 0.025) 100%);
        box-shadow: inset 0 3px 0 #0066d9;
    }

    .desktop-mega-column.is-mega-active .desktop-mega-title i,
    .desktop-mega-ogmonet.is-mega-active .desktop-mega-title i,
    .desktop-mega-column.is-mega-active .desktop-mega-title strong,
    .desktop-mega-ogmonet.is-mega-active .desktop-mega-title strong {
        color: #005ecf;
    }
}

@media screen and (min-width: 901px) and (max-width: 1320px) {
    .container {
        max-width: 1240px;
        padding-left: 28px;
        padding-right: 28px;
    }

    .header-main-row-inner {
        padding-top: 14px;
        padding-bottom: 14px;
        gap: 24px;
    }

    .header-quick-link {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 11.5px;
    }

    .header-ogmonet-button {
        padding-left: 22px;
        padding-right: 22px;
        font-size: 13px;
    }

    .desktop-mega-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(245px, 0.9fr);
        padding-left: 22px;
        padding-right: 22px;
    }

    .desktop-mega-column,
    .desktop-mega-ogmonet {
        padding-left: 18px;
        padding-right: 18px;
    }

    .desktop-ogmonet-item {
        padding-left: 13px;
        padding-right: 10px;
    }
}

/* Ajustes finos do menu principal e mega menu: hierarquia entre abas e links diretos */
@media screen and (min-width: 901px) {
    .desktop-nav:hover .desktop-mega-menu,
    .desktop-nav:focus-within .desktop-mega-menu {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px);
    }

    .desktop-nav.is-mega-open .desktop-mega-menu,
    .desktop-nav.is-mega-open:focus-within .desktop-mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .desktop-nav-link {
        font-size: 20px;
    }

    .desktop-nav-link::after {
        display: none;
    }

    .desktop-nav-item-mega .desktop-nav-link {
        transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }

    .desktop-nav-item-mega:hover .desktop-nav-link,
    .desktop-nav-item-mega:focus-within .desktop-nav-link,
    .desktop-nav-item-mega.is-mega-active .desktop-nav-link {
        background: linear-gradient(180deg, #00284f 0%, #001f41 100%);
        color: #ffffff;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
    }

    .desktop-nav-item-mega:hover .desktop-nav-link i,
    .desktop-nav-item-mega:focus-within .desktop-nav-link i,
    .desktop-nav-item-mega.is-mega-active .desktop-nav-link i {
        color: #ffffff;
    }

    .desktop-nav-item-direct .desktop-nav-link {
        background: transparent;
        box-shadow: none;
    }

    .desktop-nav-item-direct:hover .desktop-nav-link,
    .desktop-nav-item-direct:focus-within .desktop-nav-link {
        background: rgba(255, 255, 255, 0.045);
        box-shadow: none;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 7px;
    }

    .desktop-nav-search:hover .desktop-nav-link,
    .desktop-nav-search:focus-within .desktop-nav-link {
        text-decoration: none;
        background: rgba(255, 255, 255, 0.045);
    }

    .desktop-mega-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(255px, 1.05fr);
        padding-left: 26px;
        padding-right: 26px;
    }

    .desktop-mega-column,
    .desktop-mega-ogmonet {
        border-radius: 14px;
        transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }

    .desktop-mega-column:first-child {
        padding-left: 22px;
    }

    .desktop-mega-column.is-mega-active {
        background: linear-gradient(180deg, #00386f 0%, #002952 100%);
        box-shadow: 0 18px 36px rgba(0, 35, 77, 0.18);
        border-left-color: transparent;
    }

    .desktop-mega-column.is-mega-active .desktop-mega-title,
    .desktop-mega-column.is-mega-active .desktop-mega-title i,
    .desktop-mega-column.is-mega-active .desktop-mega-title strong,
    .desktop-mega-column.is-mega-active .desktop-mega-links a,
    .desktop-mega-column.is-mega-active p {
        color: #ffffff;
    }

    .desktop-mega-column.is-mega-active .desktop-mega-links {
        border-bottom-color: rgba(255, 255, 255, 0.34);
    }

    .desktop-mega-column.is-mega-active p {
        color: rgba(255, 255, 255, 0.78);
    }
}

@media screen and (min-width: 901px) and (max-width: 1320px) {
    .desktop-nav-link {
        font-size: 16px;
    }

    .desktop-mega-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(230px, 0.98fr);
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Ajuste final do menu principal e mega menu */
@media screen and (min-width: 901px) {
    .desktop-nav-link[type="button"] {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        font-family: inherit;
        cursor: pointer;
    }

    .desktop-mega-column.is-mega-active {
        padding-top: 34px;
    }

    .desktop-nav-item-direct-primary .desktop-nav-link {
        color: #ffffff;
        background: rgba(0, 102, 217, 0.42);
    }

    .desktop-nav-item-direct-primary:hover .desktop-nav-link,
    .desktop-nav-item-direct-primary:focus-within .desktop-nav-link {
        color: #ffffff;
        background: rgba(0, 102, 217, 0.62);
        text-decoration: none;
        box-shadow: none;
    }

    .desktop-nav-item-direct:hover .desktop-nav-link,
    .desktop-nav-item-direct:focus-within .desktop-nav-link {
        text-decoration: none;
    }
}

/* Correção: abas do mega menu voltam ao azul original; Notícias e Contato usam azul #1996bc */
@media screen and (min-width: 901px) {
    .header-nav-row {
        background: linear-gradient(90deg, #00305f 0%, #003d79 48%, #002e5d 100%);
    }

    .desktop-nav-item-mega .desktop-nav-link,
    .desktop-nav-item-mega button.desktop-nav-link {
        appearance: none;
        -webkit-appearance: none;
        border: 0;
        background: transparent;
        color: #ffffff;
        box-shadow: none;
    }

    .desktop-nav-item-mega .desktop-nav-link span,
    .desktop-nav-item-mega .desktop-nav-link i {
        color: #ffffff;
    }

    .desktop-nav-item-mega:hover .desktop-nav-link,
    .desktop-nav-item-mega:focus-within .desktop-nav-link,
    .desktop-nav-item-mega.is-mega-active .desktop-nav-link {
        background: linear-gradient(180deg, #00284f 0%, #001f41 100%);
        color: #ffffff;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
        text-decoration: none;
    }

    .desktop-nav-item-direct-primary .desktop-nav-link,
    .desktop-nav-item-direct-primary:hover .desktop-nav-link,
    .desktop-nav-item-direct-primary:focus-within .desktop-nav-link {
        background: #1996bc;
        color: #ffffff;
        text-decoration: none;
        box-shadow: none;
    }

    .desktop-nav-item-direct-primary:hover .desktop-nav-link,
    .desktop-nav-item-direct-primary:focus-within .desktop-nav-link {
        background: #1688aa;
    }

    .desktop-nav-item-direct-primary .desktop-nav-link span {
        color: #ffffff;
    }

    .desktop-nav-search .desktop-nav-link,
    .desktop-nav-search:hover .desktop-nav-link,
    .desktop-nav-search:focus-within .desktop-nav-link {
        background: transparent;
        color: #ffffff;
        text-decoration: none;
    }
}

/* Ajustes finais — proporção mobile, cards de notícias e tarja fixa */
:where(a, button, input, select, textarea, [tabindex]):focus,
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: none !important;
    box-shadow: none;
}

.ogmo-news-image-wrap {
    background: transparent;
}

.ogmo-news-image-wrap img,
.ogmo-news-card.is-featured .ogmo-news-image-wrap img {
    padding: 0;
    border-radius: 14px;
}

.ogmo-news-tag {
    position: static;
    width: fit-content;
    margin: 0 0 10px;
    min-height: 26px;
    padding: 0 12px;
    box-shadow: none;
}

@media screen and (min-width: 901px) {
    .site-header {
        position: static;
        top: auto;
    }

    .header-nav-row {
        position: sticky;
        top: 0;
        z-index: 510;
    }

    .desktop-mega-column.is-mega-active {
        padding-top: 28px;
    }
}

@media screen and (max-width: 900px) {
    .header-main-row-inner {
        min-height: 105px;
        padding: 14px 30px;
    }

    .container.header-main-row-inner {
        padding-right: 30px;
    }

    .site-brand-logo {
        width: 188px;
        max-width: 188px;
    }

    .menu-toggle-button {
        width: 62px;
        height: 62px;
        border-radius: 10px;
    }

    .menu-toggle-line {
        width: 28px;
        height: 3px;
        margin-left: -14px;
    }

    .menu-toggle-line-1 {
        top: 21px;
    }

    .menu-toggle-line-2 {
        top: 30px;
    }

    .menu-toggle-line-3 {
        top: 39px;
    }

    .menu-toggle-button.is-active .menu-toggle-line-1,
    .menu-toggle-button.is-active .menu-toggle-line-3 {
        top: 30px;
    }

    .mobile-menu-shell {
        top: 105px;
        height: calc(100vh - 105px);
    }

    .mobile-menu-panel {
        padding: 28px 30px 0;
    }

    .mobile-menu-parent {
        min-height: 78px;
        font-size: 27px;
    }

    .mobile-menu-parent-label {
        gap: 22px;
    }

    .mobile-menu-parent-label i {
        width: 42px;
        font-size: 32px;
    }

    .mobile-menu-chevron {
        width: 15px;
        height: 15px;
        margin-right: 15px;
        border-width: 4px;
    }

    .mobile-menu-group.is-open > .mobile-menu-submenu {
        margin-bottom: 16px;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 58px;
        padding-left: 58px;
        padding-right: 20px;
        font-size: 20px;
    }

    .mobile-menu-item-link i,
    .mobile-ogmonet-link > i {
        font-size: 30px;
    }

    .mobile-ogmonet-submenu {
        padding: 6px 8px;
    }

    .mobile-ogmonet-link {
        min-height: 62px;
        margin: 6px 0;
        padding-left: 18px;
        border-width: 1px;
    }

    .mobile-ogmonet-link span {
        gap: 16px;
    }

    .mobile-ogmonet-link span i {
        width: 38px;
        font-size: 28px;
    }

    .mobile-menu-footer-links {
        margin: 28px -30px 0;
    }

    .mobile-menu-footer-links a {
        min-height: 74px;
        gap: 12px;
        font-size: 20px;
    }

    .mobile-menu-footer-links i {
        font-size: 27px;
    }
}

@media screen and (max-width: 767px) {
    .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    .header-main-row-inner {
        min-height: 86px;
        padding: 10px 20px;
    }

    .container.header-main-row-inner {
        padding-right: 20px;
    }

    .site-brand {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .site-brand-logo {
        width: 138px;
        max-width: 138px;
    }

    .menu-toggle-button {
        width: 50px;
        height: 50px;
        border-radius: 9px;
    }

    .menu-toggle-line {
        width: 23px;
        height: 2px;
        margin-left: -11.5px;
    }

    .menu-toggle-line-1 {
        top: 17px;
    }

    .menu-toggle-line-2 {
        top: 24px;
    }

    .menu-toggle-line-3 {
        top: 31px;
    }

    .menu-toggle-button.is-active .menu-toggle-line-1,
    .menu-toggle-button.is-active .menu-toggle-line-3 {
        top: 24px;
    }

    .mobile-menu-shell {
        top: 86px;
        height: calc(100vh - 86px);
    }

    .mobile-menu-panel {
        padding: 22px 18px 0;
    }

    .mobile-menu-parent {
        min-height: 56px;
        font-size: 20px;
    }

    .mobile-menu-parent-label {
        gap: 14px;
    }

    .mobile-menu-parent-label i {
        width: 30px;
        font-size: 24px;
    }

    .mobile-menu-chevron {
        width: 12px;
        height: 12px;
        margin-right: 10px;
        border-width: 3px;
    }

    .mobile-menu-group.is-open > .mobile-menu-submenu {
        margin-bottom: 12px;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 46px;
        padding-left: 46px;
        padding-right: 16px;
        font-size: 16px;
    }

    .mobile-menu-item-link i,
    .mobile-ogmonet-link > i {
        font-size: 23px;
    }

    .mobile-ogmonet-link {
        min-height: 50px;
        padding-left: 14px;
        border-radius: 8px;
    }

    .mobile-ogmonet-link span {
        gap: 12px;
    }

    .mobile-ogmonet-link span i {
        width: 29px;
        font-size: 22px;
    }

    .mobile-menu-footer-links {
        margin: 22px -18px 0;
    }

    .mobile-menu-footer-links a {
        min-height: 58px;
        gap: 9px;
        font-size: 16px;
    }

    .mobile-menu-footer-links i {
        font-size: 22px;
    }

    .hero {
        min-height: calc(100vh - 86px);
    }

    .hero-inner {
        min-height: calc(100vh - 86px);
        padding-top: 74px;
        padding-bottom: 44px;
    }

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

    .hero p {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .hero-actions {
        gap: 14px;
    }

    .hero-actions .btn {
        min-height: 64px;
        padding: 0 20px;
        border-radius: 15px;
        font-size: 17px;
    }

    .hero-actions .btn i:first-child {
        font-size: 26px;
    }

    .hero-actions .btn i:last-child {
        font-size: 32px;
    }

    .ogmo-news-links {
        padding-top: 18px;
    }

    .ogmo-news-panel {
        padding: 22px 18px;
    }

    .ogmo-news-head h2,
    .ogmo-links-head h2 {
        font-size: 25px;
    }

    .ogmo-news-head p,
    .ogmo-links-head p {
        font-size: 15px;
    }

    .ogmo-news-history {
        min-height: 44px;
        font-size: 15px;
    }

    .ogmo-news-card,
    .ogmo-news-card.is-featured {
        grid-template-columns: 40% minmax(0, 1fr) 18px;
        gap: 12px;
        min-height: 132px;
        padding: 12px;
        border-radius: 16px;
    }

    .ogmo-news-card.is-featured .ogmo-news-image-wrap,
    .ogmo-news-image-wrap {
        min-height: 108px;
        background: transparent;
    }

    .ogmo-news-image-wrap img,
    .ogmo-news-card.is-featured .ogmo-news-image-wrap img {
        width: 100%;
        height: 100%;
        padding: 0;
        object-fit: cover;
        border-radius: 12px;
    }

    .ogmo-news-tag {
        margin-bottom: 8px;
        min-height: 22px;
        padding: 0 9px;
        font-size: 12px;
    }

    .ogmo-news-date {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .ogmo-news-date i {
        font-size: 16px;
    }

    .ogmo-news-card h3,
    .ogmo-news-card.is-featured h3 {
        font-size: 15px;
        line-height: 1.08;
    }
}

@media screen and (max-width: 420px) {
    .site-brand-logo {
        width: 126px;
        max-width: 126px;
    }

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

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

    .ogmo-news-card,
    .ogmo-news-card.is-featured {
        grid-template-columns: 42% minmax(0, 1fr) 16px;
    }

    .ogmo-news-card h3,
    .ogmo-news-card.is-featured h3 {
        font-size: 14px;
    }
}

/* Camada final de proporções — manter no fim do arquivo */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid rgba(0, 116, 236, 0.72) !important;
    outline-offset: 3px;
}

.site-footer {
    padding: 42px 0;
    background: #071d35;
}

.site-footer .footer-grid {
    align-items: start;
    gap: 42px;
}

.site-footer strong {
    color: #fff;
    font-size: 16px;
}

.site-footer p {
    max-width: 520px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
}

@media screen and (min-width: 901px) {
    .container {
        max-width: 1320px;
        padding-left: 32px;
        padding-right: 32px;
    }

    .header-main-row-inner {
        min-height: 92px;
        padding-top: 9px;
        padding-bottom: 9px;
        gap: 26px;
    }

    .site-brand-logo {
        width: 166px;
        max-width: 166px;
    }

    .desktop-header-right {
        gap: 20px;
    }

    .header-quick-nav {
        max-width: 650px;
    }

    .header-quick-link {
        min-height: 42px;
        padding-left: 17px;
        padding-right: 17px;
        gap: 9px;
        font-size: 12px;
    }

    .header-quick-link i {
        font-size: 20px;
    }

    .header-ogmonet-button {
        min-height: 50px;
        padding-left: 22px;
        padding-right: 22px;
        border-radius: 12px;
        font-size: 13px;
        box-shadow: 0 10px 24px rgba(0, 82, 180, 0.2);
    }

    .header-ogmonet-button i {
        font-size: 19px;
    }

    .desktop-nav-link {
        min-height: 56px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 15px;
    }

    .desktop-nav-search {
        flex-basis: 64px;
    }

    .desktop-search-link i {
        font-size: 25px;
    }

    .desktop-mega-grid {
        min-height: 350px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .desktop-mega-links {
        min-height: 150px;
    }

    .hero,
    .hero-inner {
        min-height: 560px;
    }

    .hero-inner {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .hero-content,
    .hero h1 {
        max-width: 610px;
    }

    .hero h1 {
        margin-bottom: 20px;
        font-size: 48px;
        line-height: 1.08;
    }

    .hero-title-rule {
        width: 68px;
        height: 4px;
        margin-bottom: 22px;
    }

    .hero p {
        max-width: 570px;
        margin-bottom: 34px;
        font-size: 20px;
        line-height: 1.48;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn {
        min-height: 56px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 12px;
        font-size: 13px;
    }

    .hero-actions .btn i:first-child,
    .hero-actions .btn i:last-child {
        font-size: 20px;
    }

    .section-block {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .section-title {
        font-size: 28px;
    }

    .ogmo-kpi-grid,
    .ogmo-stats-grid,
    .ogmo-ships-summary-grid {
        gap: 14px;
    }

    .ogmo-kpi-card {
        min-height: 142px;
        padding: 20px;
        border-radius: 17px;
    }

    .ogmo-kpi-value {
        font-size: 36px;
    }

    .ogmo-chart-card {
        padding: 20px;
        border-radius: 18px;
    }

    .ogmo-chart-card h3 {
        font-size: 25px;
    }

    .ogmo-ship-summary-card,
    .ogmo-ship-record-card {
        min-height: 104px;
        padding: 18px;
        border-radius: 17px;
    }

    .ogmo-ships-list-card,
    .ogmo-news-panel,
    .ogmo-links-panel {
        border-radius: 18px;
        box-shadow: 0 12px 32px rgba(8, 32, 60, 0.06);
    }

    .ogmo-news-links {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .ogmo-news-panel {
        padding: 26px;
    }
}

@media screen and (max-width: 900px) {
    .header-main-row-inner {
        min-height: 82px;
        padding: 10px 20px;
    }

    .container.header-main-row-inner {
        padding-right: 20px;
    }

    .site-brand-logo {
        width: 145px;
        max-width: 145px;
    }

    .menu-toggle-button {
        width: 48px;
        height: 48px;
    }

    .hero,
    .hero-inner {
        min-height: 560px;
    }

    .hero-inner {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .hero p {
        font-size: 18px;
        line-height: 1.48;
    }

    .hero-actions .btn {
        min-height: 54px;
    }
}

/* Mega menu desktop compacto - override final. */
@media screen and (min-width: 901px) {
    .desktop-mega-menu {
        left: 50%;
        right: auto;
        width: min(880px, calc(100vw - 48px));
        transform: translate(-50%, -6px);
        border-radius: 0 0 18px 18px;
    }

    .desktop-nav.is-mega-open .desktop-mega-menu,
    .desktop-nav.is-mega-open:focus-within .desktop-mega-menu {
        transform: translate(-50%, 0);
    }

    .desktop-mega-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.9fr);
        gap: 20px;
        width: 100%;
        min-height: 0;
        padding: 20px;
        overflow: visible;
    }

    .desktop-mega-column {
        display: none;
        min-width: 0;
        min-height: 0;
        padding: 26px 30px;
        border-left: 0;
    }

    .desktop-mega-column.is-mega-active {
        display: block;
        min-height: 286px;
        padding: 26px 30px;
    }

    .desktop-mega-column:first-child {
        padding-left: 30px;
    }

    .desktop-mega-links,
    .desktop-mega-column.is-mega-active .desktop-mega-links {
        min-height: 0;
        margin-bottom: 16px;
        padding-bottom: 18px;
    }

    .desktop-mega-column p {
        max-width: none;
        margin-bottom: 0;
    }

    .desktop-mega-ogmonet {
        min-width: 0;
        min-height: 286px;
        margin: 0;
        padding: 24px;
    }

    .desktop-ogmonet-list {
        gap: 10px;
    }

    .desktop-ogmonet-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        min-height: 60px;
        padding: 10px 12px 10px 16px;
    }

    .desktop-ogmonet-label {
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    .desktop-ogmonet-action {
        min-width: 72px;
        white-space: nowrap;
    }
}

/* Menu móvel alinhado abaixo do cabeçalho e com navegação compacta. */
@media screen and (max-width: 900px) {
    .header-main-row-inner {
        height: 124px;
        min-height: 124px;
        padding: 8px 20px;
        box-sizing: border-box;
    }

    .site-brand-logo {
        width: 132px;
        max-width: 132px;
        max-height: 108px;
        object-fit: contain;
    }

    .mobile-menu-shell {
        top: 124px;
        height: calc(100vh - 124px);
        height: calc(100dvh - 124px);
    }

    .mobile-menu-panel {
        height: 100%;
        min-height: 0;
        padding: 18px 24px 0;
        box-sizing: border-box;
    }

    .mobile-menu-parent,
    .mobile-menu-parent-direct {
        min-height: 64px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #ffffff;
        font-size: clamp(20px, 3vw, 24px);
        line-height: 1.1;
        text-decoration: none;
    }

    .mobile-menu-parent-label {
        gap: 16px;
    }

    .mobile-menu-parent-label i {
        width: 34px;
        font-size: 27px;
    }

    .mobile-menu-chevron {
        width: 13px;
        height: 13px;
        margin-right: 12px;
        border-width: 3px;
    }

    .mobile-menu-direct-icon {
        margin-right: 6px;
        font-size: 28px;
        font-weight: 300;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 50px;
        padding-left: 50px;
        padding-right: 16px;
        font-size: 17px;
    }

    .mobile-menu-group.is-open > .mobile-menu-submenu {
        margin-bottom: 12px;
    }

    .mobile-menu-footer-links {
        margin: 18px -24px 0;
    }

    .mobile-menu-footer-links a {
        min-height: 64px;
        gap: 10px;
        font-size: 17px;
    }
}

@media screen and (max-width: 480px) {
    .mobile-menu-panel {
        padding: 12px 16px 0;
    }

    .mobile-menu-parent,
    .mobile-menu-parent-direct {
        min-height: 56px;
        font-size: 20px;
    }

    .mobile-menu-parent-label {
        gap: 13px;
    }

    .mobile-menu-parent-label i {
        width: 30px;
        font-size: 24px;
    }

    .mobile-menu-chevron {
        width: 11px;
        height: 11px;
        margin-right: 9px;
    }

    .mobile-menu-direct-icon {
        margin-right: 3px;
        font-size: 24px;
    }

    .mobile-menu-item-link,
    .mobile-ogmonet-link {
        min-height: 46px;
        padding-left: 44px;
        padding-right: 14px;
        font-size: 16px;
    }

    .mobile-menu-footer-links {
        margin: 14px -16px 0;
    }

    .mobile-menu-footer-links a {
        min-height: 58px;
        font-size: 16px;
    }
}

/* Detalhes de notícias e publicações no layout público novo. */
.legacy-detail-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 0 72px;
}

.legacy-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #0757a6;
    font-weight: 700;
    text-decoration: none;
}

.legacy-detail-back:hover {
    text-decoration: underline;
}

.legacy-detail-page > header {
    padding: 32px;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%);
    box-shadow: 0 16px 38px rgba(8, 38, 74, 0.07);
}

.legacy-news-detail > header > span,
.legacy-news-detail > header > time {
    display: inline-block;
    margin-right: 12px;
    color: #54708e;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.legacy-detail-page h1 {
    max-width: 850px;
    margin: 14px 0 0;
    color: #072f5c;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.04;
}

.legacy-detail-cover {
    display: block;
    width: 100%;
    max-height: 540px;
    margin: 24px 0;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 14px 34px rgba(8, 38, 74, 0.10);
}

.legacy-detail-content {
    margin-top: 28px;
    padding: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #ffffff;
    color: #263c57;
    font-size: 17px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.legacy-detail-content img,
.legacy-detail-content video,
.legacy-detail-content iframe {
    max-width: 100%;
    height: auto;
}

.legacy-detail-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.legacy-detail-content p:first-child {
    margin-top: 0;
}

.legacy-detail-content p:last-child {
    margin-bottom: 0;
}

.legacy-publication-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.legacy-publication-detail-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: #e9eef5;
    color: #526278;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.legacy-publication-detail-meta span.is-open {
    background: #dcf7e8;
    color: #16704a;
}

.legacy-publication-detail-meta strong {
    color: #385574;
    font-size: 14px;
}

.legacy-publication-summary {
    margin-top: 18px;
    color: #425b76;
    font-size: 17px;
    line-height: 1.65;
}

.legacy-movements {
    margin-top: 26px;
    padding: 30px;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background: #ffffff;
}

.legacy-movements h2 {
    margin: 0 0 20px;
    color: #073663;
    font-size: 28px;
}

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

.legacy-movement-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
    background: #f8fafc;
}

.legacy-movement-item time {
    color: #58718d;
    font-size: 13px;
    font-weight: 700;
}

.legacy-movement-item strong {
    display: block;
    color: #193c62;
    line-height: 1.35;
}

.legacy-movement-item div span {
    display: inline-block;
    margin-top: 4px;
    color: #718096;
    font-size: 12px;
}

.legacy-movement-item > a,
.legacy-detail-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #0870dc;
    border-radius: 9px;
    color: #0757a6;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.legacy-movement-item > a:hover,
.legacy-detail-empty a:hover {
    background: #0757a6;
    color: #ffffff;
}

.legacy-movements-empty {
    margin: 0;
    color: #68778a;
}

.legacy-detail-empty {
    margin: 28px 0 70px;
}

@media screen and (max-width: 700px) {
    .legacy-detail-page {
        padding-top: 8px;
        padding-bottom: 48px;
    }

    .legacy-detail-page > header,
    .legacy-detail-content,
    .legacy-movements {
        padding: 22px;
        border-radius: 16px;
    }

    .legacy-detail-page h1 {
        font-size: 34px;
    }

    .legacy-detail-content {
        font-size: 16px;
    }

    .legacy-movement-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .legacy-movement-item > a {
        justify-self: start;
    }
}
