:root {
    --semed-navy-950: #07182e;
    --semed-navy-900: #10294f;
    --semed-navy-800: #173b6a;
    --semed-blue-700: #1f65b5;
    --semed-blue-600: #2477d0;
    --semed-blue-100: #eaf4ff;
    --semed-teal-700: #087c73;
    --semed-teal-600: #0f9d8b;
    --semed-teal-100: #e8faf6;
    --semed-gold-600: #d89819;
    --semed-gold-100: #fff6df;
    --semed-red-600: #d43b52;
    --semed-red-100: #fff0f3;
    --semed-green-600: #22885c;
    --semed-green-100: #edf9f2;
    --semed-title: #142a48;
    --semed-text: #2e4055;
    --semed-muted: #6c7a8b;
    --semed-border: #dce3ea;
    --semed-soft: #f5f8fb;
    --semed-white: #ffffff;
    --semed-shadow-sm: 0 10px 28px rgba(16, 41, 79, 0.08);
    --semed-shadow-md: 0 20px 54px rgba(16, 41, 79, 0.12);
    --semed-shadow-lg: 0 32px 84px rgba(7, 24, 46, 0.18);
    --semed-radius-sm: 12px;
    --semed-radius-md: 22px;
    --semed-radius-lg: 34px;
    --semed-container: 1280px;
    --semed-transition: 180ms ease;
    --semed-font-display: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--semed-text);
    background: var(--semed-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    padding-right: 0 !important;
}

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

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

a,
button,
input,
select,
textarea {
    transition:
        color var(--semed-transition),
        background-color var(--semed-transition),
        border-color var(--semed-transition),
        box-shadow var(--semed-transition),
        transform var(--semed-transition),
        opacity var(--semed-transition);
}

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

button {
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(36, 119, 208, 0.3);
    outline-offset: 3px;
}

::selection {
    color: #fff;
    background: var(--semed-blue-700);
}

.semed-container {
    width: min(calc(100% - 2rem), var(--semed-container));
    margin-inline: auto;
}

.semed-skip-link {
    position: fixed;
    z-index: 99999;
    top: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    color: #fff;
    background: var(--semed-navy-950);
    border-radius: 8px;
    transform: translateY(-180%);
}

.semed-skip-link:focus {
    transform: translateY(0);
}

/* =========================================================
   CABECALHO INSTITUCIONAL SEMED
   ULTRA PREMIUM MASTER
========================================================= */
.semed-site-header {
    --semed-header-navy-950: #041528;
    --semed-header-navy-900: #082440;
    --semed-header-navy-850: #0a2d4f;
    --semed-header-navy-800: #10385f;
    --semed-header-blue-700: #1769c2;
    --semed-header-blue-600: #2381e8;
    --semed-header-blue-100: #eaf4ff;
    --semed-header-teal-700: #087f78;
    --semed-header-teal-600: #0ca096;
    --semed-header-teal-100: #e8fbf8;
    --semed-header-gold: #ddb45d;
    --semed-header-success: #4ade80;
    --semed-header-title: #102a4d;
    --semed-header-text: #243b55;
    --semed-header-muted: #68788c;
    --semed-header-border: rgba(15, 43, 75, 0.12);
    --semed-header-border-light: rgba(255, 255, 255, 0.14);
    --semed-header-shadow: 0 22px 54px rgba(7, 31, 57, 0.13);

    position: relative;
    z-index: 1030;
    width: 100%;
    background: #fff;
    isolation: isolate;
}

.semed-site-header,
.semed-site-header *,
.semed-site-header *::before,
.semed-site-header *::after {
    box-sizing: border-box;
}

.semed-site-header a {
    text-decoration: none;
}

.semed-site-header button {
    font: inherit;
}

/* Barra institucional superior */
.semed-utility-bar {
    position: relative;
    min-height: 40px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
    background:
        radial-gradient(circle at 12% -40%, rgba(35, 129, 232, 0.35), transparent 42%),
        radial-gradient(circle at 90% 130%, rgba(12, 160, 150, 0.32), transparent 38%),
        linear-gradient(108deg, var(--semed-header-navy-950) 0%, var(--semed-header-navy-900) 52%, #0c3d59 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.semed-utility-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.semed-utility-decoration {
    position: absolute;
    border-radius: 999px;
    filter: blur(24px);
    pointer-events: none;
}

.semed-utility-decoration-one {
    top: -55px;
    left: 16%;
    width: 150px;
    height: 90px;
    background: rgba(35, 129, 232, 0.26);
}

.semed-utility-decoration-two {
    right: 11%;
    bottom: -65px;
    width: 170px;
    height: 100px;
    background: rgba(12, 160, 150, 0.22);
}

.semed-utility-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 40px;
}

.semed-utility-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    min-width: 0;
}

.semed-utility-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.66rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
}

.semed-utility-government {
    color: #fff;
    font-weight: 750;
}

.semed-utility-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #93c5fd;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.52rem;
}

.semed-utility-location .semed-utility-icon {
    color: #99f6e4;
}

.semed-utility-divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.18);
}

.semed-utility-status {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 24px;
    padding: 0.25rem 0.55rem;
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(20, 83, 45, 0.28);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.semed-utility-status-dot {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--semed-header-success);
    box-shadow:
        0 0 0 4px rgba(74, 222, 128, 0.1),
        0 0 12px rgba(74, 222, 128, 0.72);
}

.semed-utility-status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(74, 222, 128, 0.32);
    border-radius: inherit;
    animation: semedHeaderPulse 2.2s ease-out infinite;
}

/* Links da barra superior */
.semed-utility-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.18rem;
    flex: 0 0 auto;
}

.semed-utility-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 31px;
    padding: 0.38rem 0.58rem;
    border: 1px solid transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.semed-utility-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.semed-utility-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: #a7d0ff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.52rem;
}

.semed-utility-adm {
    appearance: none;
    border: 1px solid rgba(221, 180, 93, 0.22);
    color: #f8e7b9;
    background: rgba(221, 180, 93, 0.08);
}

.semed-utility-adm .semed-utility-link-icon {
    color: #f6d58c;
    background: rgba(221, 180, 93, 0.1);
}

.semed-utility-adm:hover {
    color: #fff8e7;
    border-color: rgba(221, 180, 93, 0.4);
    background: rgba(221, 180, 93, 0.15);
}

/* Barra principal da marca */
.semed-brand-bar {
    position: relative;
    min-height: 126px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 0%, rgba(35, 129, 232, 0.09), transparent 29%),
        radial-gradient(circle at 94% 18%, rgba(12, 160, 150, 0.1), transparent 27%),
        linear-gradient(105deg, #ffffff 0%, #f8fbff 58%, #f1fbfa 100%);
    border-bottom: 1px solid var(--semed-header-border);
    box-shadow: 0 13px 36px rgba(6, 31, 57, 0.07);
}

.semed-brand-grid {
    position: absolute;
    inset: 0;
    opacity: 0.38;
    background-image:
        linear-gradient(rgba(16, 56, 95, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 56, 95, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 46%, rgba(0, 0, 0, 0.28));
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 46%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

.semed-brand-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.semed-brand-shape-one {
    top: -145px;
    left: -75px;
    width: 310px;
    height: 310px;
    border: 1px solid rgba(35, 129, 232, 0.09);
    box-shadow:
        0 0 0 35px rgba(35, 129, 232, 0.025),
        0 0 0 70px rgba(35, 129, 232, 0.018);
}

.semed-brand-shape-two {
    right: -110px;
    bottom: -185px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(12, 160, 150, 0.11);
    box-shadow:
        0 0 0 38px rgba(12, 160, 150, 0.025),
        0 0 0 76px rgba(12, 160, 150, 0.016);
}

.semed-brand-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(205px, 245px) minmax(300px, 1fr) minmax(390px, auto);
    align-items: center;
    gap: clamp(1.3rem, 3vw, 2.75rem);
    min-height: 126px;
    padding-block: 1rem;
}

/* Painel da logomarca */
.semed-site-header .semed-brand {
    display: block;
    min-width: 0;
}

.semed-brand-logo-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 91px;
    padding: 0.8rem 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background:
        radial-gradient(circle at 18% 15%, rgba(35, 129, 232, 0.38), transparent 37%),
        radial-gradient(circle at 92% 90%, rgba(12, 160, 150, 0.28), transparent 40%),
        linear-gradient(135deg, var(--semed-header-navy-950), var(--semed-header-navy-850) 58%, #0d5062);
    box-shadow:
        0 17px 38px rgba(5, 26, 48, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.semed-brand:hover .semed-brand-logo-panel {
    transform: translateY(-2px);
    box-shadow:
        0 23px 48px rgba(5, 26, 48, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.semed-brand-logo-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.75), transparent 70%);
    mask-image: linear-gradient(120deg, rgba(0, 0, 0, 0.75), transparent 70%);
    pointer-events: none;
}

.semed-brand-logo-glow {
    position: absolute;
    top: -60%;
    left: -20%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(35, 129, 232, 0.24);
    filter: blur(25px);
    pointer-events: none;
}

.semed-brand-logo-line {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2381e8 28%, #2dd4bf 70%, transparent);
}

.semed-site-header .semed-brand-logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: 210px;
    height: 66px;
    max-height: 66px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.2));
}

/* Texto institucional */
.semed-brand-copy {
    min-width: 0;
}

.semed-brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    margin-bottom: 0.43rem;
    color: var(--semed-header-blue-700);
    font-size: 0.6rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.semed-brand-eyebrow i {
    color: var(--semed-header-teal-600);
    font-size: 0.57rem;
}

.semed-brand-eyebrow-line {
    width: 27px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--semed-header-blue-600), var(--semed-header-teal-600));
}

.semed-brand-title {
    display: block;
    margin: 0;
    color: var(--semed-header-title);
    font-family: var(--semed-font-display, Georgia, "Times New Roman", serif);
    font-size: clamp(1.42rem, 2.25vw, 2.08rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.semed-brand-title span {
    display: block;
    color: #163f6c;
}

.semed-brand-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.65rem;
    color: var(--semed-header-muted);
    font-size: 0.61rem;
    font-weight: 650;
    line-height: 1.45;
}

.semed-brand-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.semed-brand-meta i {
    color: var(--semed-header-teal-700);
    font-size: 0.55rem;
}

.semed-brand-meta-divider {
    width: 1px;
    height: 13px;
    background: rgba(16, 42, 77, 0.14);
}

/* Acoes principais do cabecalho */
.semed-brand-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 0.72rem;
    min-width: 0;
}

.semed-brand-action {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.68rem;
    min-width: 0;
    min-height: 72px;
    padding: 0.68rem 0.78rem;
    overflow: hidden;
    border: 1px solid var(--semed-header-border);
    border-radius: 14px;
    color: var(--semed-header-text);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
    box-shadow: 0 12px 28px rgba(8, 40, 73, 0.07);
    transition:
        transform 0.23s ease,
        border-color 0.23s ease,
        box-shadow 0.23s ease,
        background 0.23s ease;
}

.semed-brand-action::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--semed-header-blue-600), var(--semed-header-blue-700));
    transition: width 0.23s ease;
}

.semed-brand-action-calendar::before {
    background: linear-gradient(180deg, var(--semed-header-teal-600), var(--semed-header-teal-700));
}

.semed-brand-action:hover {
    color: var(--semed-header-text);
    border-color: rgba(35, 129, 232, 0.24);
    background: #fff;
    box-shadow: 0 19px 38px rgba(8, 40, 73, 0.12);
    transform: translateY(-3px);
}

.semed-brand-action:hover::before {
    width: 5px;
}

.semed-brand-action-calendar:hover {
    border-color: rgba(12, 160, 150, 0.25);
}

.semed-brand-action-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--semed-header-blue-700), var(--semed-header-blue-600));
    box-shadow: 0 10px 21px rgba(23, 105, 194, 0.22);
    font-size: 0.84rem;
    transition:
        transform 0.23s ease,
        box-shadow 0.23s ease;
}

.semed-brand-action-calendar .semed-brand-action-icon {
    background: linear-gradient(135deg, var(--semed-header-teal-700), var(--semed-header-teal-600));
    box-shadow: 0 10px 21px rgba(8, 127, 120, 0.22);
}

.semed-brand-action:hover .semed-brand-action-icon {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 14px 27px rgba(23, 105, 194, 0.27);
}

.semed-brand-action-calendar:hover .semed-brand-action-icon {
    box-shadow: 0 14px 27px rgba(8, 127, 120, 0.27);
}

.semed-brand-action-copy {
    min-width: 0;
}

.semed-brand-action-copy small,
.semed-brand-action-copy strong {
    display: block;
}

.semed-brand-action-copy small {
    margin-bottom: 0.15rem;
    color: var(--semed-header-muted);
    font-size: 0.47rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
}

.semed-brand-action-copy strong {
    overflow: hidden;
    color: var(--semed-header-title);
    font-size: 0.67rem;
    font-weight: 780;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.semed-brand-action-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(16, 42, 77, 0.1);
    border-radius: 50%;
    color: var(--semed-header-blue-700);
    background: #f5f9fe;
    font-size: 0.5rem;
    transition:
        color 0.23s ease,
        background 0.23s ease,
        transform 0.23s ease;
}

.semed-brand-action-calendar .semed-brand-action-arrow {
    color: var(--semed-header-teal-700);
    background: #effaf8;
}

.semed-brand-action:hover .semed-brand-action-arrow {
    color: #fff;
    background: var(--semed-header-blue-700);
    transform: translateX(2px);
}

.semed-brand-action-calendar:hover .semed-brand-action-arrow {
    background: var(--semed-header-teal-700);
}

/* Foco e acessibilidade do cabecalho */
.semed-site-header a:focus-visible,
.semed-site-header button:focus-visible {
    outline: 3px solid rgba(35, 129, 232, 0.34);
    outline-offset: 3px;
}

@keyframes semedHeaderPulse {
    0% {
        opacity: 0.85;
        transform: scale(0.85);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

/* =========================================================
   NAVEGAÇÃO PRINCIPAL INSTITUCIONAL
   ULTRA PREMIUM MASTER
========================================================= */

.semed-primary-nav {
    --semed-nav-height: 72px;
    --semed-nav-bg-start: #071a32;
    --semed-nav-bg-middle: #102f58;
    --semed-nav-bg-end: #0b5365;
    --semed-nav-border: rgba(255, 255, 255, 0.11);
    --semed-nav-text: rgba(255, 255, 255, 0.8);
    --semed-nav-text-strong: #ffffff;
    --semed-nav-blue: #47a1ff;
    --semed-nav-teal: #43d4c4;
    --semed-nav-gold: #f0c66d;

    position: sticky;
    z-index: 1040;
    top: 0;

    width: 100%;
    min-height: var(--semed-nav-height);
    padding: 0;

    overflow: visible;
    isolation: isolate;

    border: 0;
    border-bottom: 1px solid var(--semed-nav-border);

    background:
        radial-gradient(
            circle at 8% -55%,
            rgba(71, 161, 255, 0.42),
            transparent 38%
        ),
        radial-gradient(
            circle at 93% 155%,
            rgba(67, 212, 196, 0.32),
            transparent 38%
        ),
        linear-gradient(
            110deg,
            var(--semed-nav-bg-start) 0%,
            var(--semed-nav-bg-middle) 56%,
            var(--semed-nav-bg-end) 100%
        );

    box-shadow:
        0 14px 34px rgba(5, 23, 45, 0.17),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        min-height 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.semed-primary-nav.is-scrolled {
    --semed-nav-height: 64px;

    background:
        radial-gradient(
            circle at 90% 150%,
            rgba(67, 212, 196, 0.22),
            transparent 34%
        ),
        linear-gradient(
            110deg,
            rgba(5, 21, 41, 0.985),
            rgba(12, 43, 79, 0.985) 58%,
            rgba(7, 70, 83, 0.985)
        );

    box-shadow:
        0 20px 46px rgba(5, 23, 45, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.semed-nav-pattern {
    position: absolute;
    z-index: -2;
    inset: 0;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 38px 38px;

    mask-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.2) 52%,
            rgba(0, 0, 0, 0.7)
        );

    pointer-events: none;
}

.semed-nav-light {
    position: absolute;
    z-index: -1;

    border-radius: 999px;

    filter: blur(28px);

    pointer-events: none;
}

.semed-nav-light-one {
    top: -74px;
    left: 11%;

    width: 230px;
    height: 135px;

    background: rgba(38, 132, 234, 0.24);
}

.semed-nav-light-two {
    right: 9%;
    bottom: -90px;

    width: 245px;
    height: 145px;

    background: rgba(12, 160, 150, 0.22);
}

.semed-nav-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: stretch;

    min-height: var(--semed-nav-height);
    padding: 0;

    transition: min-height 0.22s ease;
}


/* =========================================================
   BOTÃO INÍCIO
========================================================= */

.semed-nav-home {
    position: relative;

    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;

    flex: 0 0 auto;

    min-width: 118px;
    min-height: var(--semed-nav-height);
    padding: 0 1rem;

    overflow: hidden;

    border-right: 1px solid rgba(255, 255, 255, 0.09);
    border-left: 1px solid rgba(255, 255, 255, 0.05);

    color: var(--semed-nav-text-strong);
    background: rgba(255, 255, 255, 0.045);

    transition:
        min-height 0.22s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.semed-nav-home::before {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--semed-nav-blue),
            var(--semed-nav-teal)
        );

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.22s ease;
}

.semed-nav-home:hover,
.semed-nav-home.active {
    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            rgba(71, 161, 255, 0.18),
            rgba(67, 212, 196, 0.11)
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.semed-nav-home:hover::before,
.semed-nav-home.active::before {
    transform: scaleX(1);
}

.semed-nav-home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(71, 161, 255, 0.34),
            rgba(67, 212, 196, 0.2)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.14);

    font-size: 0.72rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.semed-nav-home:hover .semed-nav-home-icon,
.semed-nav-home.active .semed-nav-home-icon {
    background:
        linear-gradient(
            135deg,
            #2477d0,
            #0f9d8b
        );

    transform: translateY(-1px) rotate(-2deg);
}

.semed-nav-home-copy {
    display: grid;
    min-width: 0;
    gap: 0.03rem;
}

.semed-nav-home-copy small,
.semed-nav-home-copy strong {
    display: block;
}

.semed-nav-home-copy small {
    color: rgba(255, 255, 255, 0.5);

    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.1;
    text-transform: uppercase;
}

.semed-nav-home-copy strong {
    color: #ffffff;

    font-size: 0.68rem;
    font-weight: 780;
    line-height: 1.2;
}


/* =========================================================
   ESTRUTURA DOS LINKS PRINCIPAIS
========================================================= */

.semed-nav-collapse {
    align-items: stretch;
    min-width: 0;
}

.semed-nav-list {
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.08rem;

    width: 100%;
    min-width: 0;
    margin: 0 0 0 auto;
}

.semed-primary-nav .nav-item {
    display: flex;
    align-items: stretch;

    min-width: 0;
}

.semed-primary-nav .nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    min-height: var(--semed-nav-height);
    padding: 0 clamp(0.58rem, 0.75vw, 0.92rem) !important;

    border: 0;
    border-radius: 0;

    color: var(--semed-nav-text) !important;
    background: transparent;

    font-family: inherit;
    font-size: clamp(0.66rem, 0.59vw, 0.75rem);
    font-weight: 720;
    letter-spacing: -0.008em;
    line-height: 1;
    white-space: nowrap;

    cursor: pointer;

    transition:
        min-height 0.22s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.semed-primary-nav .nav-link.dropdown-toggle::after {
    display: none;
}

.semed-primary-nav .nav-link::before {
    content: "";

    position: absolute;
    right: clamp(0.58rem, 0.75vw, 0.92rem);
    bottom: 0;
    left: clamp(0.58rem, 0.75vw, 0.92rem);

    height: 3px;

    border-radius: 999px 999px 0 0;

    background:
        linear-gradient(
            90deg,
            var(--semed-nav-blue),
            var(--semed-nav-teal)
        );

    box-shadow:
        0 -4px 14px rgba(67, 212, 196, 0.22);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.22s ease;
}

.semed-primary-nav .nav-link::after {
    content: "";

    position: absolute;
    inset: 10px 3px;
    z-index: -1;

    border: 1px solid transparent;
    border-radius: 10px;

    background: transparent;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.semed-primary-nav .nav-link:hover,
.semed-primary-nav .nav-link:focus-visible,
.semed-primary-nav .nav-link.active,
.semed-primary-nav .semed-nav-group.show > .nav-link,
.semed-primary-nav .semed-nav-group.is-open > .nav-link {
    color: var(--semed-nav-text-strong) !important;
}

.semed-primary-nav .nav-link:hover::before,
.semed-primary-nav .nav-link:focus-visible::before,
.semed-primary-nav .nav-link.active::before,
.semed-primary-nav .semed-nav-group.show > .nav-link::before,
.semed-primary-nav .semed-nav-group.is-open > .nav-link::before {
    transform: scaleX(1);
}

.semed-primary-nav .nav-link:hover::after,
.semed-primary-nav .nav-link:focus-visible::after,
.semed-primary-nav .nav-link.active::after,
.semed-primary-nav .semed-nav-group.show > .nav-link::after,
.semed-primary-nav .semed-nav-group.is-open > .nav-link::after {
    border-color: rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.055);
}

.semed-nav-link-label {
    position: relative;
    z-index: 1;
}

.semed-nav-link-chevron {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.055);

    font-size: 0.43rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.semed-nav-group.show .semed-nav-link-chevron,
.semed-nav-group.is-open .semed-nav-link-chevron,
.semed-nav-group > .nav-link[aria-expanded="true"] .semed-nav-link-chevron {
    color: #071a32;
    background: var(--semed-nav-teal);

    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWNS E MEGA MENUS
========================================================= */

.semed-nav-group {
    position: relative;
}

.semed-nav-group-mega {
    position: static !important;
}

.semed-primary-nav .semed-dropdown-menu {
    --semed-dropdown-radius: 22px;

    top: 100%;
    z-index: 1060;

    min-width: 360px;
    margin: 0;
    padding: 0.85rem;

    overflow: hidden;

    border: 1px solid rgba(19, 53, 88, 0.13);
    border-top: 0;
    border-radius: 0 0 var(--semed-dropdown-radius) var(--semed-dropdown-radius);

    color: var(--semed-text);

    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(15, 157, 139, 0.09),
            transparent 30%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(36, 119, 208, 0.08),
            transparent 31%
        ),
        rgba(255, 255, 255, 0.985);

    box-shadow:
        0 34px 78px rgba(5, 25, 48, 0.24),
        0 8px 24px rgba(16, 41, 79, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.semed-primary-nav .semed-dropdown-menu::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--semed-blue-600),
            var(--semed-teal-600),
            #55d7c8
        );
}

.semed-primary-nav .semed-dropdown-menu.show {
    display: grid;
    gap: 0.42rem;

    animation:
        semedDropdownReveal 0.2s cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.semed-dropdown-compact {
    width: 380px;
}

.semed-dropdown-wide {
    width: 455px;
}

.semed-primary-nav .semed-dropdown-mega {
    left: 50% !important;

    width: min(900px, calc(100vw - 2rem));
    min-width: 0;

    transform: translateX(-50%);
}

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

.semed-dropdown-heading {
    position: relative;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.78rem;

    grid-column: 1 / -1;

    min-width: 0;
    padding: 0.88rem 0.9rem 1rem;
    margin-bottom: 0.1rem;

    border-bottom: 1px solid rgba(20, 42, 72, 0.1);

    background:
        linear-gradient(
            135deg,
            rgba(234, 244, 255, 0.72),
            rgba(232, 250, 246, 0.65)
        );

    border-radius: 15px;
}

.semed-dropdown-heading::after {
    content: "";

    position: absolute;
    right: 0.9rem;
    bottom: -1px;

    width: 56px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--semed-blue-600),
            var(--semed-teal-600)
        );
}

.semed-dropdown-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--semed-navy-800),
            var(--semed-blue-700) 60%,
            var(--semed-teal-700)
        );

    box-shadow:
        0 12px 25px rgba(31, 101, 181, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);

    font-size: 0.9rem;
}

.semed-dropdown-heading > span:last-child {
    min-width: 0;
}

.semed-dropdown-heading small,
.semed-dropdown-heading strong,
.semed-dropdown-heading p {
    display: block;
}

.semed-dropdown-heading small {
    color: var(--semed-blue-700);

    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.semed-dropdown-heading strong {
    margin-top: 0.12rem;

    color: var(--semed-title);

    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.3;
}

.semed-dropdown-heading p {
    margin: 0.22rem 0 0;

    color: var(--semed-muted);

    font-size: 0.58rem;
    line-height: 1.48;
}

.semed-primary-nav .dropdown-item {
    position: relative;

    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.72rem;

    min-width: 0;
    min-height: 72px;
    padding: 0.68rem 0.72rem;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 14px;

    color: var(--semed-text);
    background: rgba(255, 255, 255, 0.54);

    white-space: normal;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.semed-primary-nav .dropdown-item::before {
    content: "";

    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;

    width: 3px;

    border-radius: 0 999px 999px 0;

    background: var(--semed-blue-700);

    opacity: 0;

    transform: scaleY(0.45);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.semed-primary-nav .dropdown-item:hover,
.semed-primary-nav .dropdown-item:focus-visible,
.semed-primary-nav .dropdown-item.active {
    color: var(--semed-text);

    border-color: rgba(31, 101, 181, 0.14);

    background:
        linear-gradient(
            135deg,
            rgba(234, 244, 255, 0.75),
            rgba(255, 255, 255, 0.94)
        );

    box-shadow:
        0 13px 28px rgba(16, 41, 79, 0.08);

    transform: translateY(-2px);
}

.semed-primary-nav .dropdown-item:hover::before,
.semed-primary-nav .dropdown-item:focus-visible::before,
.semed-primary-nav .dropdown-item.active::before {
    opacity: 1;
    transform: scaleY(1);
}

.semed-dropdown-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    border-radius: 13px;

    color: var(--semed-blue-700);
    background: var(--semed-blue-100);

    box-shadow:
        inset 0 0 0 1px rgba(31, 101, 181, 0.06);

    font-size: 0.82rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.semed-primary-nav .dropdown-item:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: var(--semed-blue-700);

    transform: scale(1.04) rotate(-2deg);
}

.semed-primary-nav .dropdown-item.is-teal::before,
.semed-primary-nav .dropdown-item.is-green::before {
    background: var(--semed-teal-700);
}

.semed-primary-nav .dropdown-item.is-teal .semed-dropdown-item-icon {
    color: var(--semed-teal-700);
    background: var(--semed-teal-100);
}

.semed-primary-nav .dropdown-item.is-teal:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-teal:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-teal.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: var(--semed-teal-700);
}

.semed-primary-nav .dropdown-item.is-green .semed-dropdown-item-icon {
    color: var(--semed-green-600);
    background: var(--semed-green-100);
}

.semed-primary-nav .dropdown-item.is-green:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-green:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-green.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: var(--semed-green-600);
}

.semed-primary-nav .dropdown-item.is-violet::before {
    background: #7652c5;
}

.semed-primary-nav .dropdown-item.is-violet .semed-dropdown-item-icon {
    color: #6842b3;
    background: #f2edff;
}

.semed-primary-nav .dropdown-item.is-violet:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-violet:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-violet.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: #6f4bb8;
}

.semed-primary-nav .dropdown-item.is-gold::before {
    background: var(--semed-gold-600);
}

.semed-primary-nav .dropdown-item.is-gold .semed-dropdown-item-icon {
    color: #a76c00;
    background: var(--semed-gold-100);
}

.semed-primary-nav .dropdown-item.is-gold:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-gold:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-gold.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: var(--semed-gold-600);
}

.semed-primary-nav .dropdown-item.is-red::before {
    background: var(--semed-red-600);
}

.semed-primary-nav .dropdown-item.is-red .semed-dropdown-item-icon {
    color: var(--semed-red-600);
    background: var(--semed-red-100);
}

.semed-primary-nav .dropdown-item.is-red:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-red:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-red.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: var(--semed-red-600);
}

.semed-primary-nav .dropdown-item.is-slate::before {
    background: #52667c;
}

.semed-primary-nav .dropdown-item.is-slate .semed-dropdown-item-icon {
    color: #43576d;
    background: #edf1f5;
}

.semed-primary-nav .dropdown-item.is-slate:hover .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-slate:focus-visible .semed-dropdown-item-icon,
.semed-primary-nav .dropdown-item.is-slate.active .semed-dropdown-item-icon {
    color: #ffffff;
    background: #52667c;
}

.semed-dropdown-item-copy {
    display: grid;
    min-width: 0;
    gap: 0.12rem;
}

.semed-dropdown-item-copy strong,
.semed-dropdown-item-copy small {
    display: block;
}

.semed-dropdown-item-copy strong {
    overflow-wrap: anywhere;

    color: var(--semed-title);

    font-size: 0.69rem;
    font-weight: 780;
    line-height: 1.28;
}

.semed-dropdown-item-copy small {
    overflow-wrap: anywhere;

    color: var(--semed-muted);

    font-size: 0.55rem;
    line-height: 1.42;
}

.semed-dropdown-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border: 1px solid rgba(20, 42, 72, 0.1);
    border-radius: 50%;

    color: var(--semed-blue-700);
    background: #ffffff;

    font-size: 0.46rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.semed-primary-nav .dropdown-item:hover .semed-dropdown-item-arrow,
.semed-primary-nav .dropdown-item:focus-visible .semed-dropdown-item-arrow,
.semed-primary-nav .dropdown-item.active .semed-dropdown-item-arrow {
    color: #ffffff;
    background: var(--semed-blue-700);

    transform: translateX(2px);
}

.semed-dropdown-external {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 23px;
    padding: 0.26rem 0.46rem;

    border: 1px solid rgba(82, 102, 124, 0.14);
    border-radius: 999px;

    color: #52667c;
    background: #f1f4f7;

    font-size: 0.43rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}


/* =========================================================
   BOTÃO DO MENU RESPONSIVO
========================================================= */

.semed-nav-mobile-brand,
.semed-nav-mobile-intro,
.semed-nav-mobile-footer {
    display: none;
}

.semed-nav-toggler {
    position: relative;

    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;

    width: auto;
    min-width: 88px;
    height: 46px;
    margin-block: auto;
    margin-left: auto;
    padding: 0.55rem 0.75rem;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;

    color: #ffffff;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.semed-nav-toggler:hover,
.semed-nav-toggler:focus-visible {
    border-color: rgba(67, 212, 196, 0.42);
    background: rgba(67, 212, 196, 0.13);
}

.semed-nav-toggler-lines {
    position: relative;

    display: grid;
    align-content: center;
    gap: 4px;

    width: 21px;
    height: 20px;
}

.semed-nav-toggler-lines > span {
    display: block;

    width: 100%;
    height: 2px;

    border-radius: 999px;

    background: #ffffff;

    transform-origin: center;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.semed-nav-toggler[aria-expanded="true"]
.semed-nav-toggler-lines > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.semed-nav-toggler[aria-expanded="true"]
.semed-nav-toggler-lines > span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.semed-nav-toggler[aria-expanded="true"]
.semed-nav-toggler-lines > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.semed-nav-toggler-label {
    color: #ffffff;

    font-size: 0.62rem;
    font-weight: 780;
    line-height: 1;
}

.semed-nav-adm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.52rem;

    width: 100%;
    min-height: 48px;
    padding: 0.68rem 0.85rem;

    border: 1px solid rgba(67, 212, 196, 0.3);
    border-radius: 12px;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            rgba(15, 157, 139, 0.94),
            rgba(31, 101, 181, 0.9)
        );

    box-shadow:
        0 12px 26px rgba(2, 35, 56, 0.2);

    font-size: 0.68rem;
    font-weight: 800;
}

.semed-nav-adm:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0f9d8b,
            #2477d0
        );

    transform: translateY(-1px);
}


/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes semedDropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes semedDropdownMegaReveal {
    from {
        opacity: 0;
        transform: translate(-50%, -7px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (min-width: 1200px) {
    .semed-primary-nav .semed-dropdown-mega.show {
        animation-name: semedDropdownMegaReveal;
    }
}


/* =========================================================
   DESKTOP COMPACTO
========================================================= */

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .semed-nav-home {
        min-width: 102px;
        padding-inline: 0.72rem;
    }

    .semed-nav-home-icon {
        width: 32px;
        height: 32px;
    }

    .semed-primary-nav .nav-link {
        padding-inline: 0.56rem !important;
        font-size: 0.66rem;
    }

    .semed-primary-nav .nav-link::before {
        right: 0.56rem;
        left: 0.56rem;
    }

    .semed-nav-link-chevron {
        width: 15px;
        height: 15px;
    }
}


/* =========================================================
   MENU RESPONSIVO
========================================================= */

@media (max-width: 1199.98px) {
    .semed-primary-nav,
    .semed-primary-nav.is-scrolled {
        --semed-nav-height: 64px;
    }

    .semed-nav-container {
        align-items: center;
        min-height: var(--semed-nav-height);
    }

    .semed-nav-home {
        min-width: 108px;
        min-height: var(--semed-nav-height);
        padding-inline: 0.72rem;
    }

    .semed-nav-home-icon {
        width: 33px;
        height: 33px;
    }

    .semed-nav-mobile-brand {
        display: grid;
        gap: 0.06rem;

        min-width: 0;
        margin-left: 0.8rem;
    }

    .semed-nav-mobile-brand small,
    .semed-nav-mobile-brand strong {
        display: block;
    }

    .semed-nav-mobile-brand small {
        color: rgba(255, 255, 255, 0.48);

        font-size: 0.43rem;
        font-weight: 850;
        letter-spacing: 0.08em;
        line-height: 1.1;
        text-transform: uppercase;
    }

    .semed-nav-mobile-brand strong {
        overflow: hidden;

        color: #ffffff;

        font-size: 0.67rem;
        font-weight: 760;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .semed-nav-toggler {
        display: inline-flex;
    }

    .semed-primary-nav .semed-nav-collapse {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1050;

        max-height: calc(100vh - var(--semed-nav-height) - 0.5rem);
        padding: 0.85rem max(1rem, calc((100vw - var(--semed-container)) / 2));

        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;

        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        background:
            radial-gradient(
                circle at 95% 0%,
                rgba(15, 157, 139, 0.2),
                transparent 30%
            ),
            linear-gradient(
                145deg,
                rgba(5, 20, 39, 0.995),
                rgba(13, 47, 84, 0.995) 62%,
                rgba(8, 74, 84, 0.995)
            );

        box-shadow:
            0 28px 64px rgba(4, 18, 35, 0.4);

        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
    }

    .semed-primary-nav .semed-nav-collapse.collapsing {
        overflow: hidden;
    }

    .semed-nav-mobile-intro {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.72rem;

        margin-bottom: 0.7rem;
        padding: 0.78rem;

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 15px;

        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.085),
                rgba(255, 255, 255, 0.035)
            );
    }

    .semed-nav-mobile-intro-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 39px;
        height: 39px;

        border-radius: 12px;

        color: #ffffff;
        background:
            linear-gradient(
                135deg,
                rgba(71, 161, 255, 0.75),
                rgba(67, 212, 196, 0.7)
            );

        font-size: 0.76rem;
    }

    .semed-nav-mobile-intro small,
    .semed-nav-mobile-intro strong {
        display: block;
    }

    .semed-nav-mobile-intro small {
        color: #9ee9dc;

        font-size: 0.45rem;
        font-weight: 850;
        letter-spacing: 0.08em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .semed-nav-mobile-intro strong {
        margin-top: 0.12rem;

        color: #ffffff;

        font-size: 0.65rem;
        font-weight: 720;
        line-height: 1.35;
    }

    .semed-nav-list {
        display: grid;
        align-items: stretch;
        gap: 0.18rem;

        width: 100%;
        margin: 0;
    }

    .semed-primary-nav .nav-item {
        display: block;
        width: 100%;
    }

    .semed-primary-nav .nav-link {
        justify-content: space-between;

        width: 100%;
        min-height: 51px;
        padding: 0.72rem 0.78rem !important;

        border: 1px solid transparent;
        border-radius: 12px;

        color: rgba(255, 255, 255, 0.82) !important;

        font-size: 0.72rem;
    }

    .semed-primary-nav .nav-link::before {
        top: 10px;
        right: auto;
        bottom: 10px;
        left: 0;

        width: 3px;
        height: auto;

        border-radius: 0 999px 999px 0;

        transform: scaleY(0);
    }

    .semed-primary-nav .nav-link::after {
        inset: 2px 0;
        border-radius: 12px;
    }

    .semed-primary-nav .nav-link:hover::before,
    .semed-primary-nav .nav-link:focus-visible::before,
    .semed-primary-nav .nav-link.active::before,
    .semed-primary-nav .semed-nav-group.show > .nav-link::before,
    .semed-primary-nav .semed-nav-group.is-open > .nav-link::before {
        transform: scaleY(1);
    }

    .semed-primary-nav .nav-link:hover::after,
    .semed-primary-nav .nav-link:focus-visible::after,
    .semed-primary-nav .nav-link.active::after,
    .semed-primary-nav .semed-nav-group.show > .nav-link::after,
    .semed-primary-nav .semed-nav-group.is-open > .nav-link::after {
        border-color: rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.075);
    }

    .semed-nav-mobile-link-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 31px;
        height: 31px;
        margin-right: 0.6rem;

        border-radius: 10px;

        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .semed-nav-direct {
        justify-content: flex-start !important;
    }

    .semed-nav-direct .semed-nav-link-label {
        margin-right: auto;
    }

    .semed-nav-group-mega {
        position: relative !important;
    }

    .semed-primary-nav .semed-dropdown-menu,
    .semed-primary-nav .semed-dropdown-mega {
        position: static !important;

        width: 100%;
        min-width: 0;
        margin: 0.35rem 0 0.62rem;
        padding: 0.62rem;

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 17px;

        transform: none !important;
    }

    .semed-primary-nav .semed-dropdown-menu.show {
        display: grid;
        animation-name: semedDropdownReveal;
    }

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

    .semed-dropdown-heading {
        padding: 0.78rem;
    }

    .semed-dropdown-heading-icon {
        width: 42px;
        height: 42px;
    }

    .semed-primary-nav .dropdown-item {
        min-height: 68px;
    }

    .semed-nav-mobile-footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(190px, 0.65fr);
        align-items: center;
        gap: 0.75rem;

        margin-top: 0.78rem;
        padding-top: 0.78rem;

        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .semed-nav-mobile-security {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.58rem;

        min-width: 0;
    }

    .semed-nav-mobile-security > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        width: 36px;
        height: 36px;

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 11px;

        color: var(--semed-nav-gold);
        background: rgba(255, 255, 255, 0.055);
    }

    .semed-nav-mobile-security small,
    .semed-nav-mobile-security strong {
        display: block;
    }

    .semed-nav-mobile-security small {
        color: rgba(255, 255, 255, 0.48);

        font-size: 0.43rem;
        font-weight: 850;
        letter-spacing: 0.07em;
        text-transform: uppercase;
    }

    .semed-nav-mobile-security strong {
        margin-top: 0.1rem;

        color: rgba(255, 255, 255, 0.83);

        font-size: 0.58rem;
        font-weight: 650;
        line-height: 1.35;
    }
}

@media (max-width: 767.98px) {
    .semed-nav-mobile-brand {
        display: none;
    }

    .semed-nav-home {
        min-width: 102px;
    }

    .semed-nav-toggler {
        min-width: 84px;
    }

    .semed-primary-nav .semed-nav-collapse {
        padding-right: 0.72rem;
        padding-left: 0.72rem;
    }

    .semed-dropdown-grid {
        grid-template-columns: 1fr;
    }

    .semed-dropdown-heading p {
        font-size: 0.56rem;
    }

    .semed-nav-mobile-footer {
        grid-template-columns: 1fr;
    }

    .semed-nav-mobile-security {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .semed-primary-nav,
    .semed-primary-nav.is-scrolled {
        --semed-nav-height: 60px;
    }

    .semed-nav-home {
        min-width: 91px;
        padding-inline: 0.55rem;
    }

    .semed-nav-home-icon {
        width: 31px;
        height: 31px;
        border-radius: 10px;
    }

    .semed-nav-home-copy small {
        display: none;
    }

    .semed-nav-home-copy strong {
        font-size: 0.65rem;
    }

    .semed-nav-toggler {
        min-width: 48px;
        width: 48px;
        height: 42px;
        padding: 0.5rem;
    }

    .semed-nav-toggler-label {
        display: none;
    }

    .semed-primary-nav .semed-nav-collapse {
        max-height: calc(100vh - 60px);
        padding-top: 0.65rem;
        padding-bottom: 0.75rem;
    }

    .semed-nav-mobile-intro {
        padding: 0.7rem;
    }

    .semed-nav-mobile-intro-icon {
        width: 36px;
        height: 36px;
    }

    .semed-primary-nav .nav-link {
        min-height: 49px;
        padding: 0.65rem 0.7rem !important;
    }

    .semed-primary-nav .semed-dropdown-menu,
    .semed-primary-nav .semed-dropdown-mega {
        padding: 0.5rem;
        border-radius: 15px;
    }

    .semed-dropdown-heading {
        grid-template-columns: 39px minmax(0, 1fr);
        gap: 0.62rem;
        padding: 0.7rem;
    }

    .semed-dropdown-heading-icon {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .semed-dropdown-heading strong {
        font-size: 0.84rem;
    }

    .semed-dropdown-heading p {
        display: none;
    }

    .semed-primary-nav .dropdown-item {
        grid-template-columns: 39px minmax(0, 1fr) auto;
        gap: 0.58rem;

        min-height: 63px;
        padding: 0.58rem;
    }

    .semed-dropdown-item-icon {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .semed-dropdown-item-copy strong {
        font-size: 0.65rem;
    }

    .semed-dropdown-item-copy small {
        font-size: 0.52rem;
    }

    .semed-dropdown-item-arrow {
        width: 24px;
        height: 24px;
    }

    .semed-dropdown-external {
        padding: 0.22rem 0.38rem;
        font-size: 0.39rem;
    }
}

@media (max-width: 374.98px) {
    .semed-nav-home {
        min-width: 52px;
        grid-template-columns: 1fr;
        padding-inline: 0.45rem;
    }

    .semed-nav-home-copy {
        display: none;
    }

    .semed-dropdown-item-arrow {
        display: none;
    }

    .semed-primary-nav .dropdown-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }
}

/* Section heading and shared buttons */
/* =========================================================
   TÍTULO EDITORIAL DAS SEÇÕES
   ULTRA PREMIUM MASTER SEMED
========================================================= */

.semed-section-heading {
    --section-accent: #2477d0;
    --section-accent-dark: #155ca7;
    --section-accent-soft: #eaf4ff;
    --section-accent-rgb: 36, 119, 208;

    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(1.5rem, 4vw, 4rem);

    width: 100%;
    margin-bottom: clamp(2.2rem, 5vw, 4rem);
    padding:
        clamp(1.2rem, 2.5vw, 1.8rem)
        0
        clamp(1.35rem, 2.8vw, 2rem);

    border-bottom:
        1px solid rgba(20, 54, 91, 0.12);
}

.semed-section-heading::before {
    content: "";

    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;

    width: min(420px, 44%);
    height: 100%;

    opacity: 0.55;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(var(--section-accent-rgb), 0.09),
            transparent 50%
        );

    pointer-events: none;
}


/* =========================================================
   DECORAÇÃO INFERIOR
========================================================= */

.semed-section-heading-decoration {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;

    display: flex;
    align-items: center;

    height: 3px;

    pointer-events: none;
}

.semed-section-heading-line {
    display: block;

    width: clamp(75px, 10vw, 140px);
    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--section-accent-dark),
            var(--section-accent)
        );

    box-shadow:
        0 4px 14px rgba(var(--section-accent-rgb), 0.24);
}

.semed-section-heading-dot {
    display: block;

    width: 7px;
    height: 7px;
    margin-left: 7px;

    border: 2px solid #ffffff;
    border-radius: 50%;

    background: var(--section-accent);

    box-shadow:
        0 0 0 4px rgba(var(--section-accent-rgb), 0.1),
        0 3px 12px rgba(var(--section-accent-rgb), 0.3);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.semed-section-heading-copy {
    min-width: 0;
    max-width: 860px;
}

.semed-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    min-height: 27px;
    margin-bottom: 0.7rem;
    padding: 0.35rem 0.65rem 0.35rem 0.45rem;

    border:
        1px solid rgba(var(--section-accent-rgb), 0.13);

    border-radius: 999px;

    color: var(--section-accent-dark);

    background:
        linear-gradient(
            105deg,
            rgba(var(--section-accent-rgb), 0.09),
            rgba(var(--section-accent-rgb), 0.03)
        );

    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.semed-section-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--section-accent-dark),
            var(--section-accent)
        );

    box-shadow:
        0 5px 12px rgba(var(--section-accent-rgb), 0.22);

    font-size: 0.3rem;
}

.semed-section-heading h2 {
    max-width: 860px;
    margin: 0;

    color: var(--semed-title);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(2rem, 4.3vw, 3.7rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.semed-section-heading h2::selection {
    color: #ffffff;
    background: var(--section-accent);
}

.semed-section-heading p {
    max-width: 760px;
    margin: 1rem 0 0;

    color: var(--semed-muted);

    font-size: clamp(0.8rem, 1.25vw, 0.94rem);
    font-weight: 450;
    line-height: 1.8;
    text-wrap: pretty;
}


/* =========================================================
   ÁREA DE AÇÃO
========================================================= */

.semed-section-heading-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    padding-bottom: 0.15rem;
}

.semed-section-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    min-width: 190px;
    min-height: 52px;
    padding: 0.55rem 0.6rem 0.55rem 1rem;

    overflow: hidden;

    border:
        1px solid rgba(var(--section-accent-rgb), 0.16);

    border-radius: 14px;

    color: var(--section-accent-dark);

    background:
        linear-gradient(
            105deg,
            rgba(var(--section-accent-rgb), 0.08),
            rgba(255, 255, 255, 0.98)
        );

    box-shadow:
        0 12px 28px rgba(10, 42, 75, 0.07);

    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1.3;

    transition:
        color 200ms ease,
        border-color 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.semed-section-link::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            105deg,
            var(--section-accent-dark),
            var(--section-accent)
        );

    transition:
        opacity 200ms ease;
}

.semed-section-link::after {
    content: "";

    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 0;

    width: 3px;

    border-radius: 0 999px 999px 0;

    background: var(--section-accent);

    transition:
        opacity 200ms ease;
}

.semed-section-link > span {
    position: relative;
    z-index: 2;
}

.semed-section-link:hover {
    color: #ffffff;

    border-color: transparent;

    box-shadow:
        0 18px 38px rgba(var(--section-accent-rgb), 0.2);

    transform: translateY(-3px);
}

.semed-section-link:hover::before {
    opacity: 1;
}

.semed-section-link:hover::after {
    opacity: 0;
}


/* =========================================================
   ÍCONE DA AÇÃO
========================================================= */

.semed-section-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 36px;
    height: 36px;

    border:
        1px solid rgba(var(--section-accent-rgb), 0.14);

    border-radius: 10px;

    color: var(--section-accent);

    background: #ffffff;

    box-shadow:
        0 6px 15px rgba(var(--section-accent-rgb), 0.09);

    font-size: 0.58rem;

    transition:
        color 200ms ease,
        background-color 200ms ease,
        transform 200ms ease;
}

.semed-section-link:hover
.semed-section-link-icon {
    color: var(--section-accent-dark);
    background: #ffffff;

    transform: translateX(3px);
}


/* =========================================================
   VARIAÇÕES DE COR
========================================================= */

.semed-section-heading.is-teal {
    --section-accent: #0f9d8b;
    --section-accent-dark: #087c73;
    --section-accent-soft: #e8faf6;
    --section-accent-rgb: 15, 157, 139;
}

.semed-section-heading.is-violet {
    --section-accent: #7651c7;
    --section-accent-dark: #5936a7;
    --section-accent-soft: #f1ecff;
    --section-accent-rgb: 118, 81, 199;
}

.semed-section-heading.is-gold {
    --section-accent: #d89819;
    --section-accent-dark: #a86e08;
    --section-accent-soft: #fff6df;
    --section-accent-rgb: 216, 152, 25;
}

.semed-section-heading.is-green {
    --section-accent: #268d60;
    --section-accent-dark: #176a46;
    --section-accent-soft: #edf9f2;
    --section-accent-rgb: 38, 141, 96;
}

.semed-section-heading.is-red {
    --section-accent: #d43b52;
    --section-accent-dark: #a5263a;
    --section-accent-soft: #fff0f3;
    --section-accent-rgb: 212, 59, 82;
}

.semed-section-heading.is-light {
    padding-inline: clamp(1rem, 3vw, 2rem);

    border:
        1px solid rgba(20, 54, 91, 0.1);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            rgba(var(--section-accent-rgb), 0.035)
        );

    box-shadow:
        0 16px 40px rgba(10, 42, 75, 0.06);
}


/* =========================================================
   VERSÃO ESCURA
========================================================= */

.semed-section-heading.is-dark {
    padding:
        clamp(1.5rem, 3.5vw, 2.5rem);

    border: 0;
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(var(--section-accent-rgb), 0.24),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #07182e,
            #10294f 60%,
            #0d485b
        );

    box-shadow:
        0 26px 60px rgba(7, 24, 46, 0.2);
}

.semed-section-heading.is-dark h2 {
    color: #ffffff;
}

.semed-section-heading.is-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.semed-section-heading.is-dark
.semed-section-eyebrow {
    color: #b8f5ea;

    border-color:
        rgba(255, 255, 255, 0.12);

    background:
        rgba(255, 255, 255, 0.07);
}

.semed-section-heading.is-dark
.semed-section-heading-decoration {
    right: clamp(1.5rem, 3.5vw, 2.5rem);
    left: clamp(1.5rem, 3.5vw, 2.5rem);
}

.semed-section-heading.is-dark
.semed-section-link {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.18);

    background:
        rgba(255, 255, 255, 0.07);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.16);
}

.semed-section-heading.is-dark
.semed-section-link::after {
    background: #91f1df;
}


/* =========================================================
   FOCO E ACESSIBILIDADE
========================================================= */

.semed-section-link:focus-visible {
    outline:
        3px solid rgba(var(--section-accent-rgb), 0.24);

    outline-offset: 4px;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 991.98px) {
    .semed-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1.35rem;
    }

    .semed-section-heading-action {
        justify-content: flex-start;
    }

    .semed-section-link {
        min-width: 210px;
    }
}


@media (max-width: 767.98px) {
    .semed-section-heading {
        margin-bottom: 2.5rem;
        padding-bottom: 1.5rem;
    }

    .semed-section-heading h2 {
        font-size: clamp(1.85rem, 8vw, 2.75rem);
    }

    .semed-section-heading p {
        margin-top: 0.8rem;
        line-height: 1.7;
    }

    .semed-section-heading.is-dark,
    .semed-section-heading.is-light {
        padding:
            1.4rem
            1.2rem
            1.6rem;
    }
}


@media (max-width: 575.98px) {
    .semed-section-eyebrow {
        max-width: 100%;

        font-size: 0.51rem;
        line-height: 1.35;
    }

    .semed-section-heading h2 {
        letter-spacing: -0.04em;
    }

    .semed-section-link {
        width: 100%;
        min-width: 0;
    }

    .semed-section-heading-decoration {
        right: 0;
    }

    .semed-section-heading.is-dark
    .semed-section-heading-decoration {
        right: 1.2rem;
        left: 1.2rem;
    }
}


/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .semed-section-link,
    .semed-section-link::before,
    .semed-section-link::after,
    .semed-section-link-icon {
        transition: none !important;
    }
}

.semed-section-link:hover,
.semed-text-link:hover {
    color: var(--semed-teal-700);
    transform: translateX(3px);
}

.semed-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 50px;
    padding: 0.75rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
}

.semed-button-primary {
    color: #fff;
    background: var(--semed-blue-700);
    box-shadow: 0 12px 28px rgba(31, 101, 181, 0.24);
}

.semed-button-primary:hover {
    color: #fff;
    background: var(--semed-navy-800);
    transform: translateY(-2px);
}

.semed-button-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.semed-button-outline-light:hover {
    color: var(--semed-navy-900);
    background: #fff;
    transform: translateY(-2px);
}

/* Service card component */
/* =========================================================
   COMPONENTE DE SERVIÇO INSTITUCIONAL
   ULTRA PREMIUM SEMED
========================================================= */

.semed-service-card {
    --service-accent: #2477d0;
    --service-accent-dark: #165da8;
    --service-accent-soft: #eaf4ff;
    --service-accent-rgb: 36, 119, 208;

    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 360px;
    padding: 1.45rem;

    overflow: hidden;

    border:
        1px solid rgba(20, 54, 91, 0.11);

    border-radius: 22px;

    color: var(--semed-text);

    background:
        linear-gradient(
            155deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(249, 252, 255, 0.98) 60%,
            rgba(var(--service-accent-rgb), 0.04) 100%
        );

    box-shadow:
        0 16px 42px rgba(10, 42, 75, 0.08),
        0 3px 10px rgba(10, 42, 75, 0.035);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        background-color 220ms ease;
}

.semed-service-card::before {
    content: "";

    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--service-accent-dark),
            var(--service-accent),
            rgba(var(--service-accent-rgb), 0.45)
        );
}

.semed-service-card::after {
    content: "";

    position: absolute;
    z-index: -1;
    right: -85px;
    bottom: -110px;

    width: 230px;
    height: 230px;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.09);

    border-radius: 50%;

    box-shadow:
        0 0 0 32px rgba(var(--service-accent-rgb), 0.025),
        0 0 0 64px rgba(var(--service-accent-rgb), 0.014);

    pointer-events: none;
}

.semed-service-card:hover {
    border-color:
        rgba(var(--service-accent-rgb), 0.24);

    background:
        linear-gradient(
            155deg,
            #ffffff 0%,
            #fbfdff 54%,
            rgba(var(--service-accent-rgb), 0.075) 100%
        );

    box-shadow:
        0 28px 64px rgba(10, 42, 75, 0.14),
        0 8px 20px rgba(10, 42, 75, 0.06);

    transform: translateY(-7px);
}


/* =========================================================
   ELEMENTOS DECORATIVOS
========================================================= */

.semed-service-card-decoration {
    position: absolute;
    z-index: -1;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.semed-service-card-orbit {
    position: absolute;
    top: -95px;
    right: -95px;

    width: 205px;
    height: 205px;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.08);

    border-radius: 50%;

    box-shadow:
        0 0 0 25px rgba(var(--service-accent-rgb), 0.02),
        0 0 0 50px rgba(var(--service-accent-rgb), 0.012);
}

.semed-service-card-glow {
    position: absolute;
    top: -80px;
    right: -60px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        rgba(var(--service-accent-rgb), 0.12);

    filter: blur(52px);
}


/* =========================================================
   CABEÇALHO DO CARD
========================================================= */

.semed-service-card-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;

    min-height: 64px;
}

.semed-service-card-icon {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 58px;
    height: 58px;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.16);

    border-radius: 17px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--service-accent-dark),
            var(--service-accent)
        );

    box-shadow:
        0 14px 30px rgba(var(--service-accent-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    font-size: 1.15rem;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}

.semed-service-card-icon::after {
    content: "";

    position: absolute;
    inset: 6px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 12px;

    pointer-events: none;
}

.semed-service-card:hover
.semed-service-card-icon {
    box-shadow:
        0 20px 38px rgba(var(--service-accent-rgb), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);

    transform:
        translateY(-3px)
        rotate(-2deg);
}


/* =========================================================
   SELO
========================================================= */

.semed-service-card-kicker {
    display: inline-flex;
    align-items: center;

    min-height: 29px;
    max-width: 65%;
    padding: 0.4rem 0.65rem;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.13);

    border-radius: 999px;

    color: var(--service-accent-dark);

    background:
        rgba(var(--service-accent-rgb), 0.075);

    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.085em;
    line-height: 1.25;
    text-align: right;
    text-transform: uppercase;
}


/* =========================================================
   CONTEÚDO
========================================================= */

.semed-service-card-content {
    position: relative;
    z-index: 2;

    margin-top: 1.7rem;
}

.semed-service-card-content h3 {
    margin: 0;

    color: var(--semed-title);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(1.4rem, 2vw, 1.75rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;

    transition:
        color 220ms ease;
}

.semed-service-card:hover
.semed-service-card-content h3 {
    color: var(--service-accent-dark);
}

.semed-service-card-content p {
    margin: 0.85rem 0 0;

    color: var(--semed-muted);

    font-size: 0.78rem;
    font-weight: 480;
    line-height: 1.78;
}


/* =========================================================
   RODAPÉ DO CARD
========================================================= */

.semed-service-card-footer {
    position: relative;
    z-index: 2;

    margin-top: auto;
    padding-top: 1.4rem;
}

.semed-service-card-footer::before {
    content: "";

    display: block;

    width: 100%;
    height: 1px;
    margin-bottom: 1rem;

    background:
        linear-gradient(
            90deg,
            rgba(20, 54, 91, 0.13),
            rgba(20, 54, 91, 0.04),
            transparent
        );
}


/* =========================================================
   LINK DE AÇÃO
========================================================= */

.semed-service-card-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;

    width: 100%;
    min-height: 48px;
    padding: 0.55rem 0.65rem 0.55rem 0.9rem;

    overflow: hidden;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.12);

    border-radius: 12px;

    color: var(--service-accent-dark);

    background:
        linear-gradient(
            105deg,
            rgba(var(--service-accent-rgb), 0.075),
            rgba(var(--service-accent-rgb), 0.025)
        );

    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.3;

    transition:
        color 200ms ease,
        border-color 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease,
        transform 200ms ease;
}

.semed-service-card-link::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            105deg,
            var(--service-accent-dark),
            var(--service-accent)
        );

    transition:
        opacity 200ms ease;
}

.semed-service-card-link > span {
    position: relative;
    z-index: 2;
}

.semed-service-card-link:hover {
    color: #ffffff;

    border-color: transparent;

    box-shadow:
        0 14px 28px rgba(var(--service-accent-rgb), 0.22);

    transform: translateY(-2px);
}

.semed-service-card-link:hover::before {
    opacity: 1;
}


/* =========================================================
   ÍCONE DA AÇÃO
========================================================= */

.semed-service-card-link-icon {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    border:
        1px solid rgba(var(--service-accent-rgb), 0.13);

    border-radius: 10px;

    color: var(--service-accent);

    background: #ffffff;

    box-shadow:
        0 5px 12px rgba(var(--service-accent-rgb), 0.08);

    font-size: 0.58rem;

    transition:
        color 200ms ease,
        background 200ms ease,
        transform 200ms ease;
}

.semed-service-card-link:hover
.semed-service-card-link-icon {
    color: var(--service-accent-dark);
    background: #ffffff;

    transform: translateX(3px);
}


/* =========================================================
   VARIAÇÕES DE COR
========================================================= */

.semed-service-card.is-teal {
    --service-accent: #0f9d8b;
    --service-accent-dark: #087c73;
    --service-accent-soft: #e8faf6;
    --service-accent-rgb: 15, 157, 139;
}

.semed-service-card.is-violet {
    --service-accent: #7651c7;
    --service-accent-dark: #5936a7;
    --service-accent-soft: #f1ecff;
    --service-accent-rgb: 118, 81, 199;
}

.semed-service-card.is-gold {
    --service-accent: #d89819;
    --service-accent-dark: #a86e08;
    --service-accent-soft: #fff6df;
    --service-accent-rgb: 216, 152, 25;
}

.semed-service-card.is-green {
    --service-accent: #268d60;
    --service-accent-dark: #176a46;
    --service-accent-soft: #edf9f2;
    --service-accent-rgb: 38, 141, 96;
}

.semed-service-card.is-red {
    --service-accent: #d43b52;
    --service-accent-dark: #a5263a;
    --service-accent-soft: #fff0f3;
    --service-accent-rgb: 212, 59, 82;
}


/* =========================================================
   ESTADO DESABILITADO
========================================================= */

.semed-service-card.is-disabled {
    opacity: 0.76;

    filter: saturate(0.72);
}

.semed-service-card.is-disabled:hover {
    border-color:
        rgba(20, 54, 91, 0.11);

    box-shadow:
        0 16px 42px rgba(10, 42, 75, 0.08);

    transform: none;
}

.semed-service-card-link.is-disabled {
    color: #8795a6;

    border-color:
        rgba(20, 54, 91, 0.09);

    background: #f2f5f8;

    cursor: not-allowed;
}

.semed-service-card-link.is-disabled::before {
    display: none;
}

.semed-service-card-link.is-disabled
.semed-service-card-link-icon {
    color: #8c99a7;
    background: #e5eaf0;
}


/* =========================================================
   FOCO E ACESSIBILIDADE
========================================================= */

.semed-service-card-link:focus-visible {
    outline:
        3px solid rgba(var(--service-accent-rgb), 0.23);

    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 991.98px) {
    .semed-service-card {
        min-height: 340px;
    }
}


@media (max-width: 767.98px) {
    .semed-service-card {
        min-height: 320px;
        padding: 1.25rem;

        border-radius: 19px;
    }

    .semed-service-card-content {
        margin-top: 1.4rem;
    }

    .semed-service-card-content h3 {
        font-size: 1.45rem;
    }
}


@media (max-width: 575.98px) {
    .semed-service-card {
        min-height: 0;
    }

    .semed-service-card-header {
        min-height: 54px;
    }

    .semed-service-card-icon {
        width: 52px;
        height: 52px;

        border-radius: 15px;

        font-size: 1rem;
    }

    .semed-service-card-kicker {
        max-width: 62%;

        font-size: 0.48rem;
        text-align: right;
    }

    .semed-service-card-content p {
        font-size: 0.75rem;
    }

    .semed-service-card-footer {
        margin-top: 1.5rem;
    }
}


/* =========================================================
   MOVIMENTO REDUZIDO
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .semed-service-card,
    .semed-service-card-icon,
    .semed-service-card-content h3,
    .semed-service-card-link,
    .semed-service-card-link::before,
    .semed-service-card-link-icon {
        transition: none !important;
    }
}

/* Messages */
.semed-global-messages {
    position: relative;
    z-index: 1000;
    padding: 0.75rem 0;
    background: #fff;
}

.semed-global-message {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-left: 4px solid var(--semed-blue-700);
    color: var(--semed-title);
    background: var(--semed-blue-100);
    font-size: 0.76rem;
    font-weight: 650;
}

.semed-global-message-success { border-color: var(--semed-green-600); background: var(--semed-green-100); }
.semed-global-message-error { border-color: var(--semed-red-600); background: var(--semed-red-100); }
.semed-global-message-warning { border-color: var(--semed-gold-600); background: var(--semed-gold-100); }

/* =========================================================
   RODAPÉ INSTITUCIONAL SEMED
   ULTRA PREMIUM MASTER
========================================================= */

.semed-footer {
    --footer-navy-1000: #03101f;
    --footer-navy-950: #05182d;
    --footer-navy-900: #08233f;
    --footer-navy-850: #0a3152;
    --footer-blue: #2381e8;
    --footer-blue-soft: #8fc8ff;
    --footer-teal: #0ba698;
    --footer-teal-soft: #91f1df;
    --footer-gold: #e3b85f;
    --footer-white: #ffffff;
    --footer-text: rgba(255, 255, 255, 0.76);
    --footer-muted: rgba(255, 255, 255, 0.55);
    --footer-border: rgba(255, 255, 255, 0.11);

    position: relative;
    isolation: isolate;

    overflow: hidden;

    color: var(--footer-text);

    background:
        linear-gradient(
            135deg,
            var(--footer-navy-1000),
            var(--footer-navy-950) 42%,
            var(--footer-navy-900) 73%,
            #0a4054
        );
}

.semed-footer,
.semed-footer *,
.semed-footer *::before,
.semed-footer *::after {
    box-sizing: border-box;
}

.semed-footer a {
    text-decoration: none;
}


/* =========================================================
   ELEMENTOS DECORATIVOS
========================================================= */

.semed-footer-visuals {
    position: absolute;
    z-index: -1;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.semed-footer-grid-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 46px 46px;

    mask-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.2)
        );
}

.semed-footer-orbit {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.semed-footer-orbit-one {
    top: 50px;
    left: -240px;

    width: 560px;
    height: 560px;

    box-shadow:
        0 0 0 55px rgba(35, 129, 232, 0.02),
        0 0 0 110px rgba(35, 129, 232, 0.012);
}

.semed-footer-orbit-two {
    right: -270px;
    bottom: -290px;

    width: 660px;
    height: 660px;

    border-color: rgba(11, 166, 152, 0.08);

    box-shadow:
        0 0 0 65px rgba(11, 166, 152, 0.018),
        0 0 0 130px rgba(11, 166, 152, 0.01);
}

.semed-footer-light {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);
}

.semed-footer-light-one {
    top: -180px;
    left: 12%;

    width: 430px;
    height: 350px;

    background: rgba(35, 129, 232, 0.18);
}

.semed-footer-light-two {
    right: 7%;
    bottom: -190px;

    width: 430px;
    height: 380px;

    background: rgba(11, 166, 152, 0.16);
}


/* =========================================================
   FAIXA SUPERIOR
========================================================= */

.semed-footer-highlight {
    position: relative;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);

    background:
        linear-gradient(
            90deg,
            rgba(35, 129, 232, 0.13),
            rgba(255, 255, 255, 0.035) 48%,
            rgba(11, 166, 152, 0.13)
        );

    backdrop-filter: blur(16px);
}

.semed-footer-highlight::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--footer-blue) 25%,
            var(--footer-teal) 72%,
            transparent
        );
}

.semed-footer-highlight-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    min-height: 94px;
    padding-block: 1rem;
}

.semed-footer-highlight-copy {
    display: flex;
    align-items: center;
    gap: 1rem;

    min-width: 0;
}

.semed-footer-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 50px;
    height: 50px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(35, 129, 232, 0.42),
            rgba(11, 166, 152, 0.38)
        );

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    font-size: 1rem;
}

.semed-footer-highlight-eyebrow {
    display: block;

    margin-bottom: 0.2rem;

    color: var(--footer-teal-soft);

    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.semed-footer-highlight-copy strong {
    display: block;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(1rem, 1.7vw, 1.3rem);
    font-weight: 600;
    line-height: 1.35;
}

.semed-footer-highlight-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    flex: 0 0 auto;

    padding: 0.55rem 0.8rem;

    border: 1px solid rgba(145, 241, 223, 0.17);
    border-radius: 999px;

    color: #d8fff7;

    background:
        rgba(11, 166, 152, 0.1);

    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.semed-footer-status-dot {
    position: relative;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #4ade80;

    box-shadow:
        0 0 0 4px rgba(74, 222, 128, 0.08),
        0 0 14px rgba(74, 222, 128, 0.7);
}

.semed-footer-status-dot::after {
    content: "";

    position: absolute;
    inset: -5px;

    border:
        1px solid rgba(74, 222, 128, 0.3);

    border-radius: inherit;

    animation:
        semedFooterStatusPulse 2.4s ease-out infinite;
}


/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.semed-footer-main {
    position: relative;

    padding:
        clamp(4rem, 7vw, 6.5rem)
        0
        clamp(3.8rem, 6vw, 5.5rem);
}

.semed-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.25fr)
        minmax(190px, 0.75fr)
        minmax(210px, 0.85fr)
        minmax(280px, 1.05fr);

    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
}


/* =========================================================
   IDENTIDADE INSTITUCIONAL
========================================================= */

.semed-footer-brand {
    min-width: 0;
}

.semed-footer-logo-link {
    display: inline-flex;

    max-width: 100%;
}

.semed-footer-logo-panel {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 310px);
    min-height: 120px;
    padding: 1rem 1.3rem;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(35, 129, 232, 0.32),
            transparent 36%
        ),
        radial-gradient(
            circle at 95% 100%,
            rgba(11, 166, 152, 0.28),
            transparent 42%
        ),
        rgba(255, 255, 255, 0.045);

    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(18px);

    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.semed-footer-logo-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.45;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );

    background-size: 24px 24px;

    pointer-events: none;
}

.semed-footer-logo-panel::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--footer-blue),
            var(--footer-teal),
            transparent
        );
}

.semed-footer-logo-glow {
    position: absolute;
    top: -70px;
    left: -60px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background:
        rgba(35, 129, 232, 0.22);

    filter: blur(35px);

    pointer-events: none;
}

.semed-footer-logo-link:hover
.semed-footer-logo-panel {
    border-color:
        rgba(145, 241, 223, 0.24);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    transform: translateY(-4px);
}

.semed-footer-logo {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    max-width: 245px;
    height: 86px;

    object-fit: contain;
    object-position: center;

    filter:
        drop-shadow(
            0 8px 15px rgba(0, 0, 0, 0.22)
        );
}

.semed-footer-brand-copy {
    margin-top: 1.55rem;
}

.semed-footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    color: var(--footer-teal-soft);

    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.semed-footer-eyebrow-line {
    width: 31px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--footer-blue),
            var(--footer-teal)
        );
}

.semed-footer-brand h2 {
    margin: 0.55rem 0 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(1.5rem, 2.4vw, 2.15rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.semed-footer-brand-copy > p {
    max-width: 470px;
    margin: 0.9rem 0 0;

    color: var(--footer-text);

    font-size: 0.76rem;
    line-height: 1.8;
}

.semed-footer-institutional-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    margin-top: 1.2rem;
}

.semed-footer-institutional-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;

    padding: 0.42rem 0.6rem;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;

    color: rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.045);

    font-size: 0.52rem;
    font-weight: 720;
    line-height: 1;
}

.semed-footer-institutional-tags i {
    color: var(--footer-teal-soft);
}


/* =========================================================
   TÍTULOS DAS COLUNAS
========================================================= */

.semed-footer-column,
.semed-footer-contact-section {
    min-width: 0;
}

.semed-footer-column-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;

    margin-bottom: 1.45rem;
    padding-bottom: 0.9rem;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.09);
}

.semed-footer-column-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(143, 200, 255, 0.16);
    border-radius: 12px;

    color: var(--footer-blue-soft);

    background:
        rgba(35, 129, 232, 0.11);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    font-size: 0.72rem;
}

.semed-footer-column-icon-teal {
    color: var(--footer-teal-soft);

    border-color:
        rgba(145, 241, 223, 0.16);

    background:
        rgba(11, 166, 152, 0.11);
}

.semed-footer-column-icon-gold {
    color: #f6dc9d;

    border-color:
        rgba(227, 184, 95, 0.17);

    background:
        rgba(227, 184, 95, 0.1);
}

.semed-footer-column-heading > div > span {
    display: block;

    margin-bottom: 0.18rem;

    color: var(--footer-muted);

    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.semed-footer-column-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
}


/* =========================================================
   LINKS
========================================================= */

.semed-footer-links {
    display: grid;
    gap: 0.35rem;
}

.semed-footer-links a {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;

    min-height: 39px;
    padding: 0.48rem 0.55rem;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 9px;

    color: rgba(255, 255, 255, 0.67);

    font-size: 0.64rem;
    font-weight: 620;
    line-height: 1.45;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.semed-footer-links a::before {
    content: "";

    position: absolute;
    top: 9px;
    bottom: 9px;
    left: 0;

    width: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            var(--footer-blue),
            var(--footer-teal)
        );

    opacity: 0;
    transform: scaleY(0.4);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.semed-footer-links a i {
    color: rgba(143, 200, 255, 0.7);

    font-size: 0.48rem;

    opacity: 0;
    transform: translateX(-5px);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.semed-footer-links a:hover {
    color: #ffffff;

    border-color:
        rgba(255, 255, 255, 0.08);

    background:
        rgba(255, 255, 255, 0.045);

    transform: translateX(3px);
}

.semed-footer-links a:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.semed-footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   CONTATOS
========================================================= */

.semed-footer-contact {
    display: grid;
    gap: 0.65rem;

    margin: 0;

    font-style: normal;
}

.semed-footer-contact-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;

    padding: 0.72rem;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;

    background:
        rgba(255, 255, 255, 0.035);

    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.semed-footer-contact-item:hover {
    border-color:
        rgba(145, 241, 223, 0.16);

    background:
        rgba(255, 255, 255, 0.055);

    transform: translateY(-2px);
}

.semed-footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(145, 241, 223, 0.13);
    border-radius: 10px;

    color: var(--footer-teal-soft);

    background:
        rgba(11, 166, 152, 0.09);

    font-size: 0.65rem;
}

.semed-footer-contact-item small {
    display: block;

    margin-bottom: 0.18rem;

    color: var(--footer-muted);

    font-size: 0.46rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-footer-contact-item p,
.semed-footer-contact-item a {
    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 0.6rem;
    font-weight: 570;
    line-height: 1.55;
}

.semed-footer-contact-item a {
    display: inline-block;

    max-width: 100%;

    overflow-wrap: anywhere;
}

.semed-footer-contact-item a:hover {
    color: #ffffff;
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

.semed-footer-social-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 1rem;
    padding-top: 1rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.semed-footer-social-label {
    color: var(--footer-muted);

    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-social-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    margin: 0;
}

.semed-social-links a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    color: rgba(255, 255, 255, 0.82);

    background:
        rgba(255, 255, 255, 0.045);

    font-size: 0.72rem;

    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.semed-social-links a::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            135deg,
            var(--footer-blue),
            var(--footer-teal)
        );

    transition:
        opacity 180ms ease;
}

.semed-social-links a i {
    position: relative;
    z-index: 2;
}

.semed-social-links a:hover {
    color: #ffffff;

    border-color: transparent;

    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.22);

    transform: translateY(-3px);
}

.semed-social-links a:hover::before {
    opacity: 1;
}


/* =========================================================
   FAIXA INFERIOR
========================================================= */

.semed-footer-bottom {
    position: relative;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    background:
        rgba(1, 10, 20, 0.62);

    backdrop-filter: blur(16px);
}

.semed-footer-bottom::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: min(560px, 80%);
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(35, 129, 232, 0.55),
            rgba(11, 166, 152, 0.55),
            transparent
        );

    transform: translateX(-50%);
}

.semed-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    min-height: 75px;
    padding-block: 0.85rem;
}

.semed-footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.7rem;

    min-width: 0;
}

.semed-footer-copyright-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 31px;
    height: 31px;

    border: 1px solid rgba(143, 200, 255, 0.12);
    border-radius: 9px;

    color: var(--footer-blue-soft);

    background:
        rgba(35, 129, 232, 0.08);

    font-size: 0.56rem;
}

.semed-footer-copyright p {
    margin: 0;

    color: rgba(255, 255, 255, 0.57);

    font-size: 0.55rem;
    font-weight: 570;
    line-height: 1.5;
}

.semed-footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;

    flex: 0 0 auto;

    color: rgba(255, 255, 255, 0.54);

    font-size: 0.54rem;
    font-weight: 650;
}

.semed-footer-siedge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.semed-footer-siedge-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--footer-teal);

    box-shadow:
        0 0 10px rgba(11, 166, 152, 0.7);
}

.semed-footer-bottom-divider {
    width: 1px;
    height: 13px;

    background:
        rgba(255, 255, 255, 0.13);
}

.semed-footer-bottom-links a {
    color: rgba(255, 255, 255, 0.64);

    transition:
        color 180ms ease;
}

.semed-footer-bottom-links a:hover {
    color: #ffffff;
}


/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes semedFooterStatusPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }

    70% {
        opacity: 0;
        transform: scale(1.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1199.98px) {
    .semed-footer-grid {
        grid-template-columns:
            minmax(250px, 1.15fr)
            repeat(2, minmax(190px, 0.8fr));
    }

    .semed-footer-contact-section {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns:
            minmax(210px, 0.7fr)
            minmax(0, 1.5fr);
        gap: 1.5rem;
    }

    .semed-footer-contact-section
    .semed-footer-column-heading {
        align-self: start;
    }

    .semed-footer-contact {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .semed-footer-social-area {
        grid-column: 1 / -1;
    }
}


@media (max-width: 991.98px) {
    .semed-footer-highlight-inner {
        align-items: flex-start;
    }

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

    .semed-footer-brand {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns:
            minmax(230px, 0.8fr)
            minmax(0, 1.2fr);
        align-items: center;
        gap: 1.7rem;
    }

    .semed-footer-brand-copy {
        margin-top: 0;
    }

    .semed-footer-contact-section {
        grid-template-columns: 1fr;
    }

    .semed-footer-contact {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 767.98px) {
    .semed-footer-highlight-inner {
        flex-direction: column;
        gap: 1rem;
    }

    .semed-footer-highlight-status {
        margin-left: 66px;
    }

    .semed-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .semed-footer-brand {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .semed-footer-logo-link {
        width: 100%;
    }

    .semed-footer-logo-panel {
        width: min(100%, 350px);
    }

    .semed-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    .semed-footer-bottom-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}


@media (max-width: 575.98px) {
    .semed-footer-highlight-copy {
        align-items: flex-start;
    }

    .semed-footer-highlight-icon {
        width: 44px;
        height: 44px;

        border-radius: 14px;
    }

    .semed-footer-highlight-status {
        width: 100%;
        margin-left: 0;

        justify-content: center;
    }

    .semed-footer-main {
        padding-top: 3.5rem;
    }

    .semed-footer-logo-panel {
        min-height: 108px;
    }

    .semed-footer-logo {
        max-width: 220px;
        height: 76px;
    }

    .semed-footer-brand h2 {
        font-size: 1.55rem;
    }

    .semed-footer-social-area {
        align-items: flex-start;
        flex-direction: column;
    }

    .semed-social-links {
        width: 100%;
    }

    .semed-social-links a {
        flex: 1;

        max-width: 52px;
    }

    .semed-footer-copyright {
        align-items: flex-start;
    }

    .semed-footer-bottom-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .semed-footer-bottom-divider {
        display: none;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

.semed-footer a:focus-visible {
    outline:
        3px solid rgba(143, 200, 255, 0.32);

    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .semed-footer *,
    .semed-footer *::before,
    .semed-footer *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

.semed-social-links {
    display: flex;
    gap: 0.55rem;
    margin-top: 1.2rem;
}

.semed-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.semed-social-links a:hover {
    border-color: var(--semed-teal-600);
    background: var(--semed-teal-700);
    transform: translateY(-2px);
}

.semed-footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #051221;
}

.semed-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.62rem;
}

.semed-footer-bottom p {
    margin: 0;
}

.semed-footer-bottom div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.semed-footer-bottom a:hover {
    color: #fff;
}

/* Back to top */
.semed-back-to-top {
    position: fixed;
    z-index: 1020;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #fff;
    background: var(--semed-blue-700);
    box-shadow: var(--semed-shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.semed-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.semed-back-to-top:hover {
    background: var(--semed-teal-700);
    transform: translateY(-2px);
}

/* =========================================================
   SISTEMA RESPONSIVO GLOBAL
========================================================= */
@media (max-width: 1199.98px) {
    /* Cabecalho */
    .semed-brand-inner {
        grid-template-columns: minmax(190px, 220px) minmax(270px, 1fr) minmax(345px, auto);
        gap: 1.3rem;
    }

    .semed-brand-actions {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    .semed-brand-action {
        padding-inline: 0.65rem;
    }

    .semed-brand-action-copy strong {
        font-size: 0.63rem;
    }


    /* Rodape */
    .semed-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    /* Cabecalho */
    .semed-utility-inner {
        gap: 0.8rem;
    }

    .semed-utility-location,
    .semed-utility-divider {
        display: none;
    }

    .semed-brand-inner {
        grid-template-columns: minmax(185px, 220px) minmax(0, 1fr);
        min-height: 0;
        padding-block: 1.1rem;
    }

    .semed-brand-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .semed-brand-action {
        min-height: 66px;
    }
}

@media (max-width: 767.98px) {
    /* Cabecalho */
    .semed-utility-inner {
        align-items: center;
        flex-direction: column;
        gap: 0.45rem;
        padding-block: 0.48rem;
    }

    .semed-utility-left,
    .semed-utility-links {
        justify-content: center;
        width: 100%;
    }

    .semed-utility-left {
        gap: 0.5rem;
    }

    .semed-utility-link {
        min-height: 30px;
    }

    .semed-brand-bar {
        min-height: 0;
    }

    .semed-brand-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-block: 1rem 1.25rem;
    }

    .semed-site-header .semed-brand {
        display: flex;
        justify-content: center;
    }

    .semed-brand-logo-panel {
        width: min(100%, 330px);
        min-height: 88px;
    }

    .semed-brand-copy {
        text-align: center;
    }

    .semed-brand-eyebrow,
    .semed-brand-meta {
        justify-content: center;
    }

    .semed-brand-title {
        font-size: clamp(1.55rem, 5vw, 2rem);
    }

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

    /* Componentes compartilhados */
    .semed-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Rodape */
    .semed-footer-grid {
        grid-template-columns: 1fr;
    }

    .semed-footer-brand img {
        width: 170px;
    }

    .semed-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .semed-container {
        width: min(calc(100% - 1.25rem), var(--semed-container));
    }

    /* Cabecalho */
    .semed-utility-government {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .semed-utility-status {
        display: none;
    }

    .semed-utility-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .semed-utility-link {
        width: 100%;
        padding-inline: 0.4rem;
    }

    .semed-utility-link-label {
        display: none;
    }

    .semed-utility-link-icon {
        width: 25px;
        height: 25px;
    }

    .semed-brand-logo-panel {
        width: min(100%, 290px);
        min-height: 82px;
        padding: 0.7rem 1rem;
    }

    .semed-site-header .semed-brand-logo {
        max-width: 190px;
        height: 58px;
        max-height: 58px;
    }

    .semed-brand-eyebrow-line {
        width: 20px;
    }

    .semed-brand-title {
        font-size: 1.48rem;
    }

    .semed-brand-meta {
        align-items: center;
        flex-direction: column;
        gap: 0.28rem;
    }

    .semed-brand-meta-divider {
        display: none;
    }

    .semed-brand-actions {
        grid-template-columns: 1fr;
    }

    .semed-brand-action {
        min-height: 64px;
    }

    .semed-brand-action-copy strong {
        font-size: 0.69rem;
    }


    /* Modal administrativo */
    .semed-adm-steps {
        grid-template-columns: 1fr;
    }

    .semed-adm-steps > i {
        display: none;
    }
}

@media (max-width: 374.98px) {
    .semed-brand-title {
        font-size: 1.3rem;
    }

    .semed-brand-action {
        grid-template-columns: 38px minmax(0, 1fr) 25px;
        gap: 0.5rem;
    }

    .semed-brand-action-icon {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* =========================================================
   CORREÇÃO DEFINITIVA DA NAVEGAÇÃO
   O Bootstrap passa a ser o único controlador dos dropdowns
========================================================= */

#semedMainNav {
    overflow: visible;
}

#semedMainNav .semed-nav-container,
#semedMainNav .navbar-collapse,
#semedMainNav .navbar-nav,
#semedMainNav .nav-item {
    overflow: visible;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) {

    /*
     * Impede que o hover antigo abra o menu sozinho.
     */
    #semedMainNav .dropdown:hover > .dropdown-menu:not(.show) {
        display: none !important;
    }

    #semedMainNav .dropdown-menu {
        position: absolute;

        min-width: 340px !important;
        width: 340px;

        margin-top: 0 !important;
        padding: 0.75rem;

        overflow: hidden;

        border: 1px solid rgba(16, 41, 79, 0.1);
        border-radius: 0 0 18px 18px;

        background: #ffffff;

        box-shadow:
            0 28px 70px rgba(7, 24, 46, 0.24);

        z-index: 1080;
    }

    /*
     * Menus comuns.
     */
    #semedMainNav
    .dropdown-menu.show:not(.semed-dropdown-grid) {
        display: block !important;
    }

    /*
     * Menus de duas colunas.
     */
    #semedMainNav .semed-dropdown-grid {
        display: none;

        width: min(
            680px,
            calc(100vw - 2rem)
        ) !important;

        min-width: 0 !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0.25rem;
    }

    #semedMainNav
    .semed-dropdown-grid.show {
        display: grid !important;
    }

    #semedMainNav .dropdown-item {
        width: 100%;
        min-width: 0;
    }

    #semedMainNav .dropdown-item > span {
        min-width: 0;
    }

    #semedMainNav .dropdown-item strong,
    #semedMainNav .dropdown-item small {
        overflow-wrap: anywhere;
    }

    /*
     * Evita que o menu Participação Social saia pela direita.
     */
    #semedNavParticipacao + .dropdown-menu {
        right: 0;
        left: auto;
    }
}


/* =========================================================
   TABLET E CELULAR
========================================================= */

@media (max-width: 1199.98px) {

    #semedMainNav .navbar-collapse {
        position: absolute;

        top: 100%;
        right: 0;
        left: 0;

        width: 100%;
        max-height: calc(100vh - 80px);

        padding: 0.85rem 1rem 1rem;

        overflow-x: hidden;
        overflow-y: auto;

        background: #10294f;

        box-shadow:
            0 26px 60px rgba(7, 24, 46, 0.32);
    }

    #semedMainNav .dropdown-menu {
        position: static !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0.35rem 0 0 !important;

        transform: none !important;

        border-radius: 12px;

        box-shadow: none;
    }

    #semedMainNav
    .dropdown-menu.show:not(.semed-dropdown-grid) {
        display: block !important;
    }

    #semedMainNav
    .semed-dropdown-grid.show {
        display: grid !important;

        grid-template-columns:
            1fr !important;
    }

    #semedMainNav
    .dropdown:hover > .dropdown-menu:not(.show) {
        display: none !important;
    }
}


/* =========================================================
   BLOQUEIO DA PÁGINA DURANTE MENU MOBILE
========================================================= */

body.semed-mobile-nav-open {
    overflow: hidden;
}

/* =========================================================
   DROPDOWNS PREMIUM DA NAVEGAÇÃO SEMED
   SOMENTE ESTILIZAÇÃO
   NÃO ALTERA O FUNCIONAMENTO DO MENU
========================================================= */

#semedMainNav {
    --nav-dropdown-bg: #ffffff;
    --nav-dropdown-title: #193454;
    --nav-dropdown-text: #64758a;
    --nav-dropdown-border: rgba(17, 52, 86, 0.11);
    --nav-dropdown-blue: #176fc1;
    --nav-dropdown-blue-soft: #edf6ff;
    --nav-dropdown-teal: #078d83;
    --nav-dropdown-teal-soft: #eafaf7;

    overflow: visible;
}

#semedMainNav .semed-nav-container,
#semedMainNav .navbar-collapse,
#semedMainNav .navbar-nav,
#semedMainNav .nav-item {
    overflow: visible;
}


/* =========================================================
   PAINEL DO DROPDOWN
========================================================= */

#semedMainNav .dropdown-menu {
    position: absolute;

    min-width: 390px;
    margin: 0 !important;
    padding: 1rem;

    overflow: hidden;

    border: 1px solid var(--nav-dropdown-border);
    border-top: 0;
    border-radius: 0 0 22px 22px;

    color: var(--nav-dropdown-title);

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(15, 157, 139, 0.07),
            transparent 34%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(36, 119, 208, 0.06),
            transparent 34%
        ),
        var(--nav-dropdown-bg);

    box-shadow:
        0 30px 80px rgba(5, 28, 55, 0.24),
        0 8px 22px rgba(5, 28, 55, 0.1);

    isolation: isolate;
}

#semedMainNav .dropdown-menu::before {
    content: "";

    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--nav-dropdown-blue),
            #1684dc 48%,
            var(--nav-dropdown-teal)
        );
}

#semedMainNav .dropdown-menu::after {
    content: "";

    position: absolute;
    z-index: -1;
    right: -80px;
    bottom: -100px;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(15, 157, 139, 0.09);
    border-radius: 50%;

    box-shadow:
        0 0 0 32px rgba(15, 157, 139, 0.025),
        0 0 0 64px rgba(15, 157, 139, 0.015);

    pointer-events: none;
}


/* =========================================================
   LISTA DO DROPDOWN
========================================================= */

#semedMainNav .dropdown-menu > li {
    position: relative;
    z-index: 3;

    min-width: 0;
    margin: 0;
    padding: 0;
}

#semedMainNav .dropdown-menu:not(.semed-dropdown-grid) > li + li {
    margin-top: 0.3rem;
}


/* =========================================================
   ITEM DO DROPDOWN
========================================================= */

#semedMainNav .dropdown-item {
    position: relative;

    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    gap: 0.9rem;

    width: 100%;
    min-width: 0;
    min-height: 78px;
    padding: 0.8rem 0.85rem;

    overflow: hidden;

    border: 1px solid transparent;
    border-radius: 14px;

    color: var(--nav-dropdown-title);
    background: transparent;

    white-space: normal;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

#semedMainNav .dropdown-item::before {
    content: "";

    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;

    width: 3px;

    border-radius: 0 999px 999px 0;

    background:
        linear-gradient(
            180deg,
            var(--nav-dropdown-blue),
            var(--nav-dropdown-teal)
        );

    opacity: 0;
    transform: scaleY(0.4);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}


/* =========================================================
   ÍCONE
========================================================= */

#semedMainNav .dropdown-item > i {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    margin: 0;

    border: 1px solid rgba(23, 111, 193, 0.1);
    border-radius: 13px;

    color: var(--nav-dropdown-blue);

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            var(--nav-dropdown-blue-soft)
        );

    box-shadow:
        0 8px 18px rgba(23, 111, 193, 0.09);

    font-size: 0.88rem;

    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}


/* =========================================================
   TEXTOS
========================================================= */

#semedMainNav .dropdown-item > span {
    position: relative;
    z-index: 2;

    display: grid;
    align-content: center;
    gap: 0.25rem;

    min-width: 0;
}

#semedMainNav .dropdown-item strong {
    display: block;

    margin: 0;

    color: var(--nav-dropdown-title);

    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.012em;

    overflow-wrap: anywhere;

    transition:
        color 180ms ease;
}

#semedMainNav .dropdown-item small {
    display: block;

    margin: 0;

    color: var(--nav-dropdown-text);

    font-size: 0.64rem;
    font-weight: 520;
    line-height: 1.55;

    overflow-wrap: anywhere;

    transition:
        color 180ms ease;
}


/* =========================================================
   HOVER E FOCO
========================================================= */

#semedMainNav .dropdown-item:hover,
#semedMainNav .dropdown-item:focus {
    color: var(--nav-dropdown-title);

    border-color: rgba(23, 111, 193, 0.13);

    background:
        linear-gradient(
            105deg,
            rgba(237, 246, 255, 0.94),
            rgba(234, 250, 247, 0.74)
        );

    box-shadow:
        0 12px 26px rgba(15, 52, 89, 0.08);

    transform: translateX(3px);
}

#semedMainNav .dropdown-item:hover::before,
#semedMainNav .dropdown-item:focus::before,
#semedMainNav .dropdown-item.active::before {
    opacity: 1;
    transform: scaleY(1);
}

#semedMainNav .dropdown-item:hover > i,
#semedMainNav .dropdown-item:focus > i {
    color: #ffffff;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--nav-dropdown-blue),
            var(--nav-dropdown-teal)
        );

    box-shadow:
        0 12px 25px rgba(16, 111, 158, 0.25);

    transform: translateY(-2px);
}

#semedMainNav .dropdown-item:hover strong,
#semedMainNav .dropdown-item:focus strong {
    color: #0e3158;
}

#semedMainNav .dropdown-item:hover small,
#semedMainNav .dropdown-item:focus small {
    color: #52677e;
}


/* =========================================================
   ITEM ATIVO
========================================================= */

#semedMainNav .dropdown-item.active,
#semedMainNav .dropdown-item:active {
    color: var(--nav-dropdown-title);

    border-color: rgba(7, 141, 131, 0.18);

    background:
        linear-gradient(
            105deg,
            var(--nav-dropdown-blue-soft),
            var(--nav-dropdown-teal-soft)
        );

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

#semedMainNav .dropdown-item.active > i {
    color: #ffffff;

    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            var(--nav-dropdown-blue),
            var(--nav-dropdown-teal)
        );
}


/* =========================================================
   MENU EM DUAS COLUNAS
   CONHEÇA A REDE E SERVIÇOS
========================================================= */

@media (min-width: 1200px) {
    #semedMainNav .semed-dropdown-grid {
        width: min(760px, calc(100vw - 3rem)) !important;
        min-width: 760px !important;
        padding: 1.1rem;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 0.65rem;
        row-gap: 0.35rem;
    }

    #semedMainNav .semed-dropdown-grid.show {
        display: grid !important;
    }

    #semedMainNav
    .semed-dropdown-grid
    .dropdown-item {
        min-height: 88px;
    }

    /*
     * Participação Social alinhada para dentro da tela.
     */
    #semedNavParticipacao + .dropdown-menu {
        right: 0;
        left: auto;

        width: 420px;
        min-width: 420px;
    }

    /*
     * Eventos e Institucional.
     */
    #semedNavInstitucional + .dropdown-menu,
    #semedNavEventos + .dropdown-menu {
        width: 390px;
        min-width: 390px;
    }
}


/* =========================================================
   DIVISÃO VISUAL DO MENU EM DUAS COLUNAS
========================================================= */

@media (min-width: 1200px) {
    #semedMainNav .semed-dropdown-grid::after {
        content: "";

        position: absolute;
        z-index: 1;
        top: 1.25rem;
        bottom: 1.25rem;
        left: 50%;

        width: 1px;

        background:
            linear-gradient(
                180deg,
                transparent,
                rgba(17, 52, 86, 0.1) 15%,
                rgba(17, 52, 86, 0.1) 85%,
                transparent
            );
    }
}


/* =========================================================
   SETA DO ITEM PRINCIPAL
========================================================= */

#semedMainNav .dropdown-toggle::after {
    width: 6px;
    height: 6px;
    margin-left: 0.55rem;

    border: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform:
        translateY(-2px)
        rotate(45deg);

    transition:
        transform 180ms ease;
}

#semedMainNav .dropdown-toggle.show::after,
#semedMainNav .dropdown-toggle[aria-expanded="true"]::after {
    transform:
        translateY(2px)
        rotate(225deg);
}


/* =========================================================
   ABERTURA SUAVE
========================================================= */

@media (min-width: 1200px) {
    #semedMainNav .dropdown-menu.show {
        animation:
            semedDropdownEntrance
            180ms ease-out both;
    }
}

@keyframes semedDropdownEntrance {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   TABLET E CELULAR
========================================================= */

@media (max-width: 1199.98px) {
    #semedMainNav .dropdown-menu {
        position: static !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        margin: 0.4rem 0 0 !important;
        padding: 0.65rem;

        transform: none !important;

        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 14px;

        background:
            rgba(255, 255, 255, 0.98);

        box-shadow:
            0 14px 30px rgba(4, 18, 38, 0.18);
    }

    #semedMainNav .semed-dropdown-grid.show {
        display: grid !important;
        grid-template-columns: 1fr;
    }

    #semedMainNav .dropdown-item {
        min-height: 68px;
        padding: 0.65rem;
    }

    #semedMainNav .dropdown-item > i {
        width: 40px;
        height: 40px;

        border-radius: 11px;

        font-size: 0.78rem;
    }

    #semedMainNav .dropdown-item strong {
        font-size: 0.74rem;
    }

    #semedMainNav .dropdown-item small {
        font-size: 0.61rem;
    }

    #semedMainNav .dropdown-item:hover,
    #semedMainNav .dropdown-item:focus {
        transform: none;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 575.98px) {
    #semedMainNav .dropdown-menu {
        padding: 0.5rem;
    }

    #semedMainNav .dropdown-item {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 0.7rem;

        min-height: 64px;
        padding: 0.55rem;
    }

    #semedMainNav .dropdown-item > i {
        width: 38px;
        height: 38px;
    }

    #semedMainNav .dropdown-item strong {
        font-size: 0.7rem;
    }

    #semedMainNav .dropdown-item small {
        font-size: 0.58rem;
        line-height: 1.45;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

#semedMainNav .dropdown-item:focus-visible {
    outline:
        3px solid rgba(36, 119, 208, 0.22);

    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    #semedMainNav .dropdown-menu.show {
        animation: none !important;
    }

    #semedMainNav .dropdown-item,
    #semedMainNav .dropdown-item::before,
    #semedMainNav .dropdown-item > i,
    #semedMainNav .dropdown-toggle::after {
        transition: none !important;
    }
}


/* ==========================================================
   ACESSO RÁPIDO AO CONSELHO MUNICIPAL DE EDUCAÇÃO
   Inserir em: static/assets/dist/css/semed-publico.css
========================================================== */

.semed-nav-cme {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: .62rem;
    margin-left: .55rem;
    padding: .42rem .72rem .42rem .46rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, .18),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #0b4f82 0%,
            #087f8c 58%,
            #16a085 100%
        );
    box-shadow:
        0 12px 26px rgba(4, 45, 74, .20),
        inset 0 1px 0 rgba(255, 255, 255, .14);
    text-decoration: none;
    isolation: isolate;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.semed-nav-cme::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .14),
            transparent 58%
        );
    transition: opacity .2s ease;
}

.semed-nav-cme:hover,
.semed-nav-cme:focus-visible,
.semed-nav-cme.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .34);
    box-shadow:
        0 16px 34px rgba(4, 45, 74, .28),
        0 0 0 4px rgba(32, 191, 212, .10);
    text-decoration: none;
    transform: translateY(-2px);
}

.semed-nav-cme:hover::before,
.semed-nav-cme:focus-visible::before,
.semed-nav-cme.active::before {
    opacity: 1;
}

.semed-nav-cme-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    color: #06375f;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #baf4ee
        );
    box-shadow:
        0 8px 18px rgba(0, 0, 0, .14);
    font-size: .92rem;
}

.semed-nav-cme-copy {
    min-width: 0;
    display: grid;
    line-height: 1.08;
}

.semed-nav-cme-copy small,
.semed-nav-cme-copy strong {
    display: block;
    white-space: nowrap;
}

.semed-nav-cme-copy small {
    margin-bottom: .18rem;
    color: rgba(255, 255, 255, .68);
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.semed-nav-cme-copy strong {
    color: #ffffff;
    font-size: .69rem;
    font-weight: 900;
}

.semed-nav-cme-arrow {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .72);
    font-size: .66rem;
    transition: transform .2s ease;
}

.semed-nav-cme:hover .semed-nav-cme-arrow,
.semed-nav-cme:focus-visible .semed-nav-cme-arrow {
    transform: translate(2px, -2px);
}

@media (max-width: 1399.98px) {
    .semed-nav-cme {
        padding-right: .58rem;
    }

    .semed-nav-cme-copy strong {
        font-size: .64rem;
    }
}

@media (max-width: 1199.98px) {
    .semed-nav-cme {
        margin-left: auto;
        margin-right: .55rem;
    }
}

@media (max-width: 575.98px) {
    .semed-nav-cme {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        justify-content: center;
        margin-left: auto;
        margin-right: .4rem;
        padding: 0;
        border-radius: 14px;
    }

    .semed-nav-cme-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .semed-nav-cme-copy,
    .semed-nav-cme-arrow {
        display: none;
    }
}

/* ==========================================================
   BOTÃO INÍCIO NO MESMO PADRÃO VISUAL DO ACESSO AO CME
========================================================== */

.semed-nav-home-premium {
    position: relative;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    gap: .62rem;
    padding: .42rem .72rem .42rem .46rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, .16),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #173f74 0%,
            #155f98 58%,
            #117fa6 100%
        );
    box-shadow:
        0 12px 26px rgba(3, 35, 67, .20),
        inset 0 1px 0 rgba(255, 255, 255, .14);
    text-decoration: none;
    isolation: isolate;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.semed-nav-home-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .14),
            transparent 58%
        );
    transition: opacity .2s ease;
}

.semed-nav-home-premium:hover,
.semed-nav-home-premium:focus-visible,
.semed-nav-home-premium.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .34);
    box-shadow:
        0 16px 34px rgba(3, 35, 67, .29),
        0 0 0 4px rgba(32, 191, 212, .09);
    text-decoration: none;
    transform: translateY(-2px);
}

.semed-nav-home-premium:hover::before,
.semed-nav-home-premium:focus-visible::before,
.semed-nav-home-premium.active::before {
    opacity: 1;
}

.semed-nav-home-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    color: #0a4777;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #cdeeff
        );
    box-shadow:
        0 8px 18px rgba(0, 0, 0, .14);
    font-size: .9rem;
}

.semed-nav-home-copy {
    min-width: 0;
    display: grid;
    line-height: 1.08;
}

.semed-nav-home-copy small,
.semed-nav-home-copy strong {
    display: block;
    white-space: nowrap;
}

.semed-nav-home-copy small {
    margin-bottom: .18rem;
    color: rgba(255, 255, 255, .68);
    font-size: .52rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.semed-nav-home-copy strong {
    color: #ffffff;
    font-size: .69rem;
    font-weight: 900;
}

.semed-nav-home-arrow {
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, .72);
    font-size: .61rem;
    transition: transform .2s ease;
}

.semed-nav-home-premium:hover .semed-nav-home-arrow,
.semed-nav-home-premium:focus-visible .semed-nav-home-arrow {
    transform: translateX(3px);
}

/* Mantém os dois acessos com a mesma presença e altura */
.semed-nav-home-premium,
.semed-nav-cme {
    align-self: center;
    flex: 0 0 auto;
}

@media (max-width: 1399.98px) {
    .semed-nav-home-premium {
        padding-right: .58rem;
    }

    .semed-nav-home-copy strong {
        font-size: .64rem;
    }
}

@media (max-width: 1199.98px) {
    .semed-nav-home-premium {
        margin-right: .35rem;
    }
}

@media (max-width: 575.98px) {
    .semed-nav-home-premium {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        justify-content: center;
        padding: 0;
        border-radius: 14px;
    }

    .semed-nav-home-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .semed-nav-home-copy,
    .semed-nav-home-arrow {
        display: none;
    }
}

/* ==========================================================
   NAVEGAÇÃO PRINCIPAL PREMIUM
   Institucional, Rede, Eventos, Serviços, Participação,
   Transparência e Fale Conosco
========================================================== */

.semed-primary-nav {
    --semed-nav-pill-bg: rgba(255, 255, 255, .045);
    --semed-nav-pill-border: rgba(255, 255, 255, .10);
    --semed-nav-pill-hover: rgba(255, 255, 255, .11);
    --semed-nav-pill-active: rgba(28, 205, 214, .16);
}

.semed-nav-list {
    align-items: center;
    gap: .24rem;
    margin-left: auto;
    padding: .38rem 0;
}

.semed-nav-list > .nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.semed-nav-list > .nav-item > .nav-link {
    position: relative;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .62rem .68rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 12px;
    color: rgba(255, 255, 255, .76);
    background: transparent;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: -.01em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    isolation: isolate;
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.semed-nav-list > .nav-item > .nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0;
    border-radius: inherit;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, .14),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            rgba(13, 81, 131, .78),
            rgba(10, 130, 145, .68)
        );
    transition: opacity .2s ease;
}

.semed-nav-list > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #67e8f9,
            #5eead4
        );
    box-shadow: 0 0 12px rgba(94, 234, 212, .55);
    transition:
        left .2s ease,
        right .2s ease;
}

.semed-nav-main-icon {
    width: 23px;
    height: 23px;
    min-width: 23px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .055);
    font-size: .61rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .07);
    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.semed-nav-list > .nav-item > .nav-link:hover,
.semed-nav-list > .nav-item > .nav-link:focus-visible,
.semed-nav-list > .nav-item > .nav-link.show,
.semed-nav-list > .nav-item > .nav-link.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .15);
    background: var(--semed-nav-pill-hover);
    box-shadow:
        0 10px 24px rgba(1, 25, 48, .17),
        inset 0 1px 0 rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}

.semed-nav-list > .nav-item > .nav-link:hover::before,
.semed-nav-list > .nav-item > .nav-link:focus-visible::before,
.semed-nav-list > .nav-item > .nav-link.show::before,
.semed-nav-list > .nav-item > .nav-link.active::before {
    opacity: 1;
}

.semed-nav-list > .nav-item > .nav-link:hover::after,
.semed-nav-list > .nav-item > .nav-link:focus-visible::after,
.semed-nav-list > .nav-item > .nav-link.show::after,
.semed-nav-list > .nav-item > .nav-link.active::after {
    left: 18%;
    right: 18%;
}

.semed-nav-list > .nav-item > .nav-link:hover .semed-nav-main-icon,
.semed-nav-list > .nav-item > .nav-link:focus-visible .semed-nav-main-icon,
.semed-nav-list > .nav-item > .nav-link.show .semed-nav-main-icon,
.semed-nav-list > .nav-item > .nav-link.active .semed-nav-main-icon {
    color: #083455;
    border-color: rgba(255, 255, 255, .30);
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #bff7f1
        );
    box-shadow:
        0 7px 16px rgba(0, 0, 0, .13);
    transform: translateY(-1px);
}

/* Pequena identidade para cada grupo, mantendo unidade visual */
.semed-nav-list > .nav-item:nth-child(2) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(2) > .nav-link.active::before,
.semed-nav-list > .nav-item:nth-child(2) > .nav-link.show::before {
    background:
        linear-gradient(
            135deg,
            rgba(19, 77, 128, .90),
            rgba(24, 120, 160, .78)
        );
}

.semed-nav-list > .nav-item:nth-child(3) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(3) > .nav-link.active::before,
.semed-nav-list > .nav-item:nth-child(3) > .nav-link.show::before {
    background:
        linear-gradient(
            135deg,
            rgba(16, 101, 141, .90),
            rgba(19, 144, 145, .78)
        );
}

.semed-nav-list > .nav-item:nth-child(4) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(4) > .nav-link.active::before,
.semed-nav-list > .nav-item:nth-child(4) > .nav-link.show::before {
    background:
        linear-gradient(
            135deg,
            rgba(95, 70, 170, .90),
            rgba(66, 116, 184, .78)
        );
}

.semed-nav-list > .nav-item:nth-child(5) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(5) > .nav-link.active::before,
.semed-nav-list > .nav-item:nth-child(5) > .nav-link.show::before {
    background:
        linear-gradient(
            135deg,
            rgba(19, 108, 123, .90),
            rgba(21, 155, 140, .78)
        );
}

.semed-nav-list > .nav-item:nth-child(6) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(6) > .nav-link.active::before,
.semed-nav-list > .nav-item:nth-child(6) > .nav-link.show::before {
    background:
        linear-gradient(
            135deg,
            rgba(21, 133, 128, .90),
            rgba(42, 170, 107, .78)
        );
}

.semed-nav-list > .nav-item:nth-child(7) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(7) > .nav-link.active::before {
    background:
        linear-gradient(
            135deg,
            rgba(16, 95, 145, .90),
            rgba(32, 191, 212, .75)
        );
}

.semed-nav-list > .nav-item:nth-child(8) > .nav-link:hover::before,
.semed-nav-list > .nav-item:nth-child(8) > .nav-link.active::before {
    background:
        linear-gradient(
            135deg,
            rgba(91, 72, 170, .90),
            rgba(20, 104, 182, .78)
        );
}

/* Remove a seta padrão excessiva e cria uma seta leve */
.semed-nav-list > .nav-item > .dropdown-toggle::after {
    width: 5px;
    height: 5px;
    margin-left: .08rem;
    border: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .68;
    transition: transform .2s ease;
}

.semed-nav-list > .nav-item > .dropdown-toggle.show::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

/* Links diretos recebem um detalhe um pouco mais nítido */
.semed-nav-direct {
    padding-inline: .72rem !important;
}

/* Dropdowns alinhados à nova linguagem visual */
.semed-nav-list .dropdown-menu {
    margin-top: .55rem;
    padding: .62rem;
    border: 1px solid rgba(38, 91, 137, .18);
    border-radius: 18px;
    background:
        radial-gradient(
            circle at top right,
            rgba(32, 191, 212, .08),
            transparent 32%
        ),
        rgba(255, 255, 255, .985);
    box-shadow:
        0 26px 70px rgba(3, 30, 58, .20);
    backdrop-filter: blur(18px);
}

.semed-nav-list .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 28px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(38, 91, 137, .18);
    border-left: 1px solid rgba(38, 91, 137, .18);
    background: #ffffff;
    transform: rotate(45deg);
}

.semed-nav-list .dropdown-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .68rem;
    align-items: center;
    padding: .72rem;
    border-radius: 13px;
    color: #173650;
    transition:
        background .18s ease,
        color .18s ease,
        transform .18s ease;
}

.semed-nav-list .dropdown-item:hover,
.semed-nav-list .dropdown-item:focus,
.semed-nav-list .dropdown-item.active {
    color: #0a4777;
    background:
        linear-gradient(
            135deg,
            rgba(20, 104, 182, .09),
            rgba(32, 191, 212, .08)
        );
    transform: translateX(3px);
}

.semed-nav-list .dropdown-item > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #1468b6,
            #159b8c
        );
    box-shadow:
        0 8px 18px rgba(10, 69, 113, .14);
}

.semed-nav-list .dropdown-item strong,
.semed-nav-list .dropdown-item small {
    display: block;
}

.semed-nav-list .dropdown-item strong {
    color: inherit;
    font-size: .73rem;
    font-weight: 900;
}

.semed-nav-list .dropdown-item small {
    margin-top: .17rem;
    color: #73889a;
    font-size: .61rem;
    line-height: 1.35;
}

/* Responsividade para notebooks */
@media (max-width: 1399.98px) {
    .semed-nav-list {
        gap: .10rem;
    }

    .semed-nav-list > .nav-item > .nav-link {
        gap: .30rem;
        padding-inline: .50rem;
        font-size: .61rem;
    }

    .semed-nav-main-icon {
        width: 21px;
        height: 21px;
        min-width: 21px;
        font-size: .56rem;
    }
}

@media (max-width: 1240px) and (min-width: 1200px) {
    .semed-nav-list > .nav-item > .nav-link {
        padding-inline: .40rem;
        font-size: .58rem;
    }

    .semed-nav-main-icon {
        display: none;
    }
}

/* Menu recolhido em tablets e celulares */
@media (max-width: 1199.98px) {
    .semed-nav-list {
        width: 100%;
        align-items: stretch;
        gap: .45rem;
        margin: .85rem 0 0;
        padding: .7rem;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 18px;
        background: rgba(4, 31, 59, .38);
    }

    .semed-nav-list > .nav-item {
        width: 100%;
        display: block;
    }

    .semed-nav-list > .nav-item > .nav-link {
        width: 100%;
        min-height: 48px;
        justify-content: flex-start;
        padding: .7rem .8rem;
        border-color: rgba(255, 255, 255, .08);
        background: rgba(255, 255, 255, .045);
        font-size: .72rem;
    }

    .semed-nav-list > .nav-item > .nav-link::after {
        display: none;
    }

    .semed-nav-list > .nav-item > .dropdown-toggle::after {
        margin-left: auto;
    }

    .semed-nav-main-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: .72rem;
    }

    .semed-nav-list .dropdown-menu {
        position: static !important;
        width: 100%;
        margin-top: .35rem;
        padding: .45rem;
        border-radius: 14px;
        transform: none !important;
    }

    .semed-nav-list .dropdown-menu::before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .semed-nav-list {
        padding: .5rem;
    }

    .semed-nav-list > .nav-item > .nav-link {
        min-height: 46px;
        padding: .65rem .7rem;
    }
}


/* ==========================================================
   CORREÇÃO RESPONSIVA DA NAVEGAÇÃO SEMED
   Inserir no final de:
   static/assets/dist/css/semed-publico.css
========================================================== */

.semed-nav-toggler {
    position: relative;
    min-width: 50px;
    min-height: 46px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .42rem .62rem;
    border: 2px solid rgba(255, 255, 255, .82) !important;
    border-radius: 14px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, .16),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #0d4d80,
            #087f8c
        );
    box-shadow:
        0 10px 24px rgba(1, 25, 48, .22),
        inset 0 1px 0 rgba(255, 255, 255, .16);
    outline: 0;
}

.semed-nav-toggler:hover,
.semed-nav-toggler:focus-visible,
.semed-nav-toggler[aria-expanded="true"] {
    color: #ffffff;
    border-color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(1, 25, 48, .30),
        0 0 0 4px rgba(94, 234, 212, .13);
}

.semed-nav-toggler-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 10px;
    color: #083455;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #bff7f1
        );
    font-size: .92rem;
}

.semed-nav-icon-open,
.semed-nav-icon-close {
    grid-area: 1 / 1;
    transition:
        opacity .18s ease,
        transform .18s ease;
}

.semed-nav-icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(.7);
}

.semed-nav-toggler[aria-expanded="true"]
.semed-nav-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(.7);
}

.semed-nav-toggler[aria-expanded="true"]
.semed-nav-icon-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.semed-nav-toggler-label {
    color: #ffffff;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .02em;
}

@media (max-width: 1199.98px) {
    .semed-primary-nav {
        overflow: visible !important;
    }

    .semed-nav-container {
        width: 100%;
        display: grid !important;
        grid-template-columns:
            auto
            auto
            minmax(0, 1fr)
            auto;
        align-items: center;
        gap: .45rem;
        padding-block: .5rem;
    }

    .semed-nav-home-premium,
    .semed-nav-cme {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 14px !important;
    }

    .semed-nav-home-copy,
    .semed-nav-home-arrow,
    .semed-nav-cme-copy,
    .semed-nav-cme-arrow {
        display: none !important;
    }

    .semed-nav-home-icon,
    .semed-nav-cme-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    .semed-nav-toggler {
        grid-column: 4;
        display: inline-flex;
        justify-self: end;
        margin: 0 !important;
    }

    #semedPrimaryNavigation {
        grid-column: 1 / -1;
        width: 100% !important;
        margin: .55rem 0 0 !important;
        padding: 0 !important;
        overflow: visible;
        border: 0;
    }

    #semedPrimaryNavigation.collapsing {
        overflow: hidden;
        transition: height .28s ease;
    }

    #semedPrimaryNavigation.show {
        max-height: calc(100dvh - 135px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color:
            rgba(124, 233, 224, .55)
            rgba(255, 255, 255, .06);
    }

    .semed-nav-list {
        width: 100% !important;
        max-width: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .48rem !important;
        margin: 0 !important;
        padding: .72rem !important;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 20px;
        background:
            radial-gradient(
                circle at top right,
                rgba(32, 191, 212, .10),
                transparent 38%
            ),
            rgba(5, 35, 68, .95);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .07),
            0 18px 48px rgba(1, 20, 40, .25);
    }

    .semed-nav-list > .nav-item {
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .semed-nav-list > .nav-item > .nav-link {
        width: 100% !important;
        min-height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: .62rem !important;
        margin: 0 !important;
        padding: .68rem .76rem !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        border-radius: 14px !important;
        color: rgba(255, 255, 255, .88) !important;
        background: rgba(255, 255, 255, .055) !important;
        text-align: left !important;
        font-size: .74rem !important;
        font-weight: 850 !important;
        white-space: normal !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .045);
    }

    .semed-nav-list >
    .nav-item >
    button.nav-link {
        appearance: none;
    }

    .semed-nav-list > .nav-item > .nav-link:hover,
    .semed-nav-list > .nav-item > .nav-link:focus-visible,
    .semed-nav-list > .nav-item > .nav-link.active,
    .semed-nav-list > .nav-item > .nav-link.show {
        color: #ffffff !important;
        border-color: rgba(124, 233, 224, .30) !important;
        background:
            linear-gradient(
                135deg,
                rgba(20, 104, 182, .40),
                rgba(21, 155, 140, .28)
            ) !important;
        box-shadow:
            0 10px 24px rgba(1, 20, 40, .18),
            inset 0 1px 0 rgba(255, 255, 255, .07);
        transform: none !important;
    }

    .semed-nav-main-icon {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 10px !important;
        font-size: .72rem !important;
    }

    .semed-nav-list >
    .nav-item >
    .dropdown-toggle::after {
        width: 7px !important;
        height: 7px !important;
        display: block !important;
        margin-left: auto !important;
        border: 0 !important;
        border-right: 2px solid currentColor !important;
        border-bottom: 2px solid currentColor !important;
        opacity: .75;
        transform: rotate(45deg) translateY(-2px) !important;
        transition: transform .2s ease;
    }

    .semed-nav-list >
    .nav-item >
    .dropdown-toggle.show::after {
        transform: rotate(225deg) translate(-1px, -1px) !important;
    }

    .semed-nav-list .dropdown-menu {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: .42rem 0 0 !important;
        padding: .5rem !important;
        transform: none !important;
        border: 1px solid rgba(124, 233, 224, .15) !important;
        border-radius: 14px !important;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .985),
                rgba(244, 249, 252, .985)
            ) !important;
        box-shadow:
            0 16px 34px rgba(1, 20, 40, .20) !important;
    }

    .semed-nav-list .dropdown-menu::before {
        display: none !important;
    }

    .semed-nav-list .dropdown-menu:not(.show) {
        display: none !important;
    }

    .semed-nav-list .dropdown-menu.show {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: .34rem !important;
    }

    .semed-nav-list .dropdown-menu > li {
        width: 100%;
        margin: 0;
    }

    .semed-nav-list .dropdown-item {
        width: 100% !important;
        min-height: 58px !important;
        display: grid !important;
        grid-template-columns:
            auto
            minmax(0, 1fr) !important;
        gap: .66rem !important;
        align-items: center !important;
        margin: 0 !important;
        padding: .7rem !important;
        border-radius: 12px !important;
        white-space: normal !important;
    }

    .semed-nav-list .dropdown-item > i {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        display: grid !important;
        place-items: center !important;
        border-radius: 10px !important;
    }

    .semed-nav-list .dropdown-item strong {
        font-size: .72rem !important;
    }

    .semed-nav-list .dropdown-item small {
        display: block !important;
        margin-top: .14rem !important;
        font-size: .61rem !important;
        line-height: 1.38 !important;
    }

    .semed-nav-adm {
        width: calc(100% - 1.44rem) !important;
        min-height: 48px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        margin: .55rem .72rem .72rem !important;
        border-radius: 13px;
    }
}

@media (max-width: 575.98px) {
    .semed-nav-container {
        grid-template-columns:
            46px
            46px
            minmax(0, 1fr)
            50px;
        gap: .4rem;
        padding-inline: .45rem;
    }

    .semed-nav-toggler {
        width: 50px;
        min-width: 50px;
        padding: .38rem;
    }

    .semed-nav-toggler-label {
        display: none;
    }

    #semedPrimaryNavigation.show {
        max-height: calc(100dvh - 120px);
    }

    .semed-nav-list {
        padding: .55rem !important;
        border-radius: 16px;
    }

    .semed-nav-list > .nav-item > .nav-link {
        min-height: 50px !important;
        padding: .62rem .68rem !important;
    }
}

/* =========================================================
   MODAL DE ACESSO ADMINISTRATIVO
   VERSÃO DEFINITIVA, RESPONSIVA E COMPATÍVEL COM A PROTEÇÃO
========================================================= */

:root {
    --adm-navy-950: #041426;
    --adm-navy-900: #082746;
    --adm-navy-800: #0d3b64;
    --adm-blue-700: #176fc1;
    --adm-blue-600: #2381e8;
    --adm-blue-100: #edf6ff;
    --adm-teal-700: #087f78;
    --adm-teal-600: #0ca096;
    --adm-teal-100: #e9faf7;
    --adm-green-600: #22885c;
    --adm-green-100: #edf9f2;
    --adm-red-600: #d43b52;
    --adm-red-100: #fff0f3;
    --adm-gold-500: #e3b85f;
    --adm-title: #153454;
    --adm-text: #38516b;
    --adm-muted: #6d7f91;
    --adm-border: rgba(20, 54, 91, 0.14);
    --adm-shadow: 0 38px 110px rgba(3, 24, 48, 0.36);
}

/* Camadas do Bootstrap e compatibilidade com a proteção. */
.modal-backdrop {
    z-index: 1060 !important;
}

#modalAcessoAdm.semed-adm-access-modal {
    z-index: 1090 !important;
    padding-right: 0 !important;
}

#modalAcessoAdm .modal-dialog {
    width: min(1060px, calc(100% - 1.5rem));
    max-width: 1060px;
    margin: 1.25rem auto;
    pointer-events: auto;
}

#modalAcessoAdm .modal-dialog-scrollable {
    height: calc(100% - 2.5rem);
}

#modalAcessoAdm .modal-content {
    max-height: 100%;
}

/* Estrutura principal */
#modalAcessoAdm .semed-adm-modal {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 30px;
    color: var(--adm-text);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(247, 251, 254, 1) 100%
        );
    box-shadow:
        var(--adm-shadow),
        0 0 0 1px rgba(6, 31, 57, 0.08);
}

/* Fundo decorativo */
#modalAcessoAdm .semed-adm-modal-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#modalAcessoAdm .semed-adm-modal-grid {
    position: absolute;
    inset: 0;
    opacity: 0.26;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );
    background-size: 30px 30px;
    -webkit-mask-image:
        linear-gradient(
            180deg,
            #000 0,
            rgba(0, 0, 0, 0.55) 190px,
            transparent 360px
        );
    mask-image:
        linear-gradient(
            180deg,
            #000 0,
            rgba(0, 0, 0, 0.55) 190px,
            transparent 360px
        );
}

#modalAcessoAdm .semed-adm-modal-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

#modalAcessoAdm .semed-adm-modal-orbit.is-one {
    top: -180px;
    right: -120px;
    width: 420px;
    height: 420px;
    box-shadow:
        0 0 0 48px rgba(35, 129, 232, 0.025),
        0 0 0 96px rgba(35, 129, 232, 0.015);
}

#modalAcessoAdm .semed-adm-modal-orbit.is-two {
    left: -180px;
    bottom: -270px;
    width: 520px;
    height: 520px;
    border-color: rgba(12, 160, 150, 0.08);
    box-shadow:
        0 0 0 58px rgba(12, 160, 150, 0.02),
        0 0 0 116px rgba(12, 160, 150, 0.012);
}

#modalAcessoAdm .semed-adm-modal-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(66px);
}

#modalAcessoAdm .semed-adm-modal-glow.is-blue {
    top: -150px;
    left: 8%;
    width: 310px;
    height: 250px;
    background: rgba(35, 129, 232, 0.24);
}

#modalAcessoAdm .semed-adm-modal-glow.is-teal {
    top: -140px;
    right: 4%;
    width: 280px;
    height: 240px;
    background: rgba(12, 160, 150, 0.22);
}

#modalAcessoAdm .semed-adm-modal-line {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--adm-blue-600) 27%,
            var(--adm-teal-600) 72%,
            transparent
        );
}

/* Cabeçalho */
#modalAcessoAdm .semed-adm-modal-header {
    position: relative;
    z-index: 2;
    min-height: 178px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.7rem 1.8rem 1.55rem;
    border: 0;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(123, 237, 224, 0.18),
            transparent 28%
        ),
        linear-gradient(
            128deg,
            var(--adm-navy-950) 0%,
            var(--adm-navy-900) 54%,
            #0a5362 100%
        );
}

#modalAcessoAdm .semed-adm-modal-title {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 1rem;
}

#modalAcessoAdm .semed-adm-modal-title-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 19px;
    color: #082846;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #bff7ef
        );
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    font-size: 1.28rem;
}

#modalAcessoAdm .semed-adm-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    color: #9ff2e4;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-modal-eyebrow > span {
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #61b7ff,
            #78eadc
        );
}

#modalAcessoAdm .semed-adm-modal-title h2 {
    margin: 0;
    color: #ffffff;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

#modalAcessoAdm .semed-adm-modal-title p {
    max-width: 630px;
    margin: 0.68rem 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.72rem;
    line-height: 1.68;
}

#modalAcessoAdm .semed-adm-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

#modalAcessoAdm .semed-adm-secure-badge {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.68rem;
    border: 1px solid rgba(145, 241, 223, 0.18);
    border-radius: 999px;
    color: #d7fff8;
    background: rgba(11, 166, 152, 0.10);
    font-size: 0.56rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-modal-close {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    background-size: 12px;
    opacity: 0.88;
}

#modalAcessoAdm .semed-adm-modal-close:hover,
#modalAcessoAdm .semed-adm-modal-close:focus-visible {
    background-color: rgba(255, 255, 255, 0.15);
    opacity: 1;
    transform: translateY(-1px);
}

/* Corpo */
#modalAcessoAdm .semed-adm-modal-body {
    position: relative;
    z-index: 3;
    padding: 1.5rem 1.7rem 1.6rem;
    background:
        radial-gradient(
            circle at 95% 3%,
            rgba(12, 160, 150, 0.055),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f6f9fc 100%
        );
}

/* Etapas */
#modalAcessoAdm .semed-adm-steps {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        80px
        minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
}

#modalAcessoAdm .semed-adm-step {
    min-width: 0;
    min-height: 80px;
    display: grid;
    grid-template-columns:
        auto
        auto
        minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    padding: 0.78rem;
    border: 1px solid var(--adm-border);
    border-radius: 16px;
    color: var(--adm-muted);
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f4f8fb
        );
    box-shadow:
        0 10px 24px rgba(7, 39, 72, 0.055);
}

#modalAcessoAdm .semed-adm-step.active {
    border-color: rgba(35, 129, 232, 0.25);
    background:
        linear-gradient(
            145deg,
            rgba(237, 246, 255, 0.98),
            rgba(233, 250, 247, 0.94)
        );
    box-shadow:
        0 14px 30px rgba(7, 39, 72, 0.09),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

#modalAcessoAdm .semed-adm-step-number {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--adm-muted);
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px var(--adm-border);
    font-size: 0.56rem;
    font-weight: 900;
}

#modalAcessoAdm .semed-adm-step.active
.semed-adm-step-number {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--adm-blue-700),
            var(--adm-teal-700)
        );
    box-shadow:
        0 8px 18px rgba(23, 111, 193, 0.20);
}

#modalAcessoAdm .semed-adm-step-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--adm-blue-700);
    background: var(--adm-blue-100);
    font-size: 0.72rem;
}

#modalAcessoAdm .semed-adm-step.active
.semed-adm-step-icon {
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--adm-blue-700),
            var(--adm-teal-700)
        );
}

#modalAcessoAdm .semed-adm-step small,
#modalAcessoAdm .semed-adm-step strong {
    display: block;
}

#modalAcessoAdm .semed-adm-step small {
    color: var(--adm-muted);
    font-size: 0.49rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-step strong {
    margin-top: 0.12rem;
    color: var(--adm-title);
    font-size: 0.7rem;
    font-weight: 850;
}

#modalAcessoAdm .semed-adm-step-connector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    color: var(--adm-blue-700);
}

#modalAcessoAdm .semed-adm-step-connector > span {
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(23, 111, 193, 0.10),
            rgba(12, 160, 150, 0.55)
        );
}

#modalAcessoAdm .semed-adm-step-connector i {
    font-size: 0.62rem;
}

/* Grade principal */
#modalAcessoAdm .semed-adm-content-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.18fr)
        minmax(310px, 0.82fr);
    gap: 1.05rem;
    align-items: stretch;
}

#modalAcessoAdm .semed-adm-form-panel,
#modalAcessoAdm .semed-adm-security-panel {
    min-width: 0;
    border: 1px solid var(--adm-border);
    border-radius: 22px;
    box-shadow:
        0 15px 38px rgba(6, 35, 66, 0.075);
}

#modalAcessoAdm .semed-adm-form-panel {
    padding: 1.2rem;
    background:
        linear-gradient(
            155deg,
            #ffffff 0%,
            #fbfdff 68%,
            rgba(35, 129, 232, 0.035) 100%
        );
}

/* Cabeçalho do formulário */
#modalAcessoAdm .semed-adm-form-heading {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 0.82rem;
    padding-bottom: 0.98rem;
    border-bottom: 1px solid rgba(20, 54, 91, 0.10);
}

#modalAcessoAdm .semed-adm-form-heading-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--adm-blue-700),
            var(--adm-teal-700)
        );
    box-shadow:
        0 12px 26px rgba(16, 111, 158, 0.20);
    font-size: 0.98rem;
}

#modalAcessoAdm .semed-adm-form-heading small {
    display: block;
    color: var(--adm-blue-700);
    font-size: 0.5rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-form-heading h3 {
    margin: 0.18rem 0 0;
    color: var(--adm-title);
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: 1.2rem;
    font-weight: 650;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

#modalAcessoAdm .semed-adm-form-heading p {
    margin: 0.36rem 0 0;
    color: var(--adm-muted);
    font-size: 0.66rem;
    line-height: 1.55;
}

/* Aviso de segurança */
#modalAcessoAdm .semed-adm-security-note {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    gap: 0.72rem;
    margin: 0.98rem 0;
    padding: 0.84rem;
    border: 1px solid rgba(12, 160, 150, 0.16);
    border-left: 4px solid var(--adm-teal-700);
    border-radius: 14px;
    background:
        linear-gradient(
            135deg,
            rgba(233, 250, 247, 0.96),
            rgba(255, 255, 255, 0.96)
        );
}

#modalAcessoAdm .semed-adm-security-note > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--adm-teal-700);
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(12, 160, 150, 0.12);
}

#modalAcessoAdm .semed-adm-security-note strong {
    display: block;
    color: var(--adm-title);
    font-size: 0.68rem;
    font-weight: 850;
}

#modalAcessoAdm .semed-adm-security-note p {
    margin: 0.2rem 0 0;
    color: var(--adm-muted);
    font-size: 0.6rem;
    line-height: 1.5;
}

/* Campo CPF */
#modalAcessoAdm .semed-adm-field {
    display: grid;
    gap: 0.42rem;
}

#modalAcessoAdm .semed-adm-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin: 0;
    color: var(--adm-title);
    font-size: 0.65rem;
    font-weight: 850;
}

#modalAcessoAdm .semed-adm-label > span {
    padding: 0.25rem 0.45rem;
    border: 1px solid rgba(212, 59, 82, 0.12);
    border-radius: 999px;
    color: var(--adm-red-600);
    background: var(--adm-red-100);
    font-size: 0.44rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-input {
    position: relative;
    display: grid;
    align-items: center;
}

#modalAcessoAdm .semed-adm-input-icon,
#modalAcessoAdm .semed-adm-input-security {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    pointer-events: none;
}

#modalAcessoAdm .semed-adm-input-icon {
    left: 0.72rem;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--adm-blue-700),
            var(--adm-teal-700)
        );
    box-shadow:
        0 8px 16px rgba(23, 111, 193, 0.16);
    font-size: 0.7rem;
}

#modalAcessoAdm .semed-adm-input-security {
    right: 0.9rem;
    color: var(--adm-teal-700);
    font-size: 0.65rem;
}

#modalAcessoAdm .semed-adm-input input {
    width: 100%;
    min-height: 56px;
    padding:
        0.75rem
        2.6rem
        0.75rem
        3.55rem;
    border: 1px solid rgba(20, 54, 91, 0.18);
    border-radius: 15px;
    outline: 0;
    color: var(--adm-title);
    background: #ffffff;
    box-shadow:
        inset 0 1px 2px rgba(7, 30, 54, 0.035);
    font-size: 0.83rem;
    font-weight: 720;
    letter-spacing: 0.04em;
}

#modalAcessoAdm .semed-adm-input input::placeholder {
    color: #a1adba;
    font-weight: 560;
}

#modalAcessoAdm .semed-adm-input input:focus {
    border-color: rgba(35, 129, 232, 0.62);
    box-shadow:
        0 0 0 4px rgba(35, 129, 232, 0.11),
        inset 0 1px 2px rgba(7, 30, 54, 0.03);
}

#modalAcessoAdm .semed-adm-field-help {
    color: var(--adm-muted);
    font-size: 0.56rem;
    line-height: 1.45;
}

/* Feedback */
#modalAcessoAdm .semed-adm-feedback {
    margin-top: 0.8rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(35, 129, 232, 0.14);
    border-left: 4px solid var(--adm-blue-700);
    border-radius: 12px;
    color: var(--adm-title);
    background: var(--adm-blue-100);
    font-size: 0.63rem;
    font-weight: 700;
    line-height: 1.5;
}

#modalAcessoAdm .semed-adm-feedback.success {
    color: #17653f;
    border-color: rgba(34, 136, 92, 0.18);
    border-left-color: var(--adm-green-600);
    background: var(--adm-green-100);
}

#modalAcessoAdm .semed-adm-feedback.error {
    color: #8d2f3e;
    border-color: rgba(212, 59, 82, 0.18);
    border-left-color: var(--adm-red-600);
    background: var(--adm-red-100);
}

/* Ações */
#modalAcessoAdm .semed-adm-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    margin-top: 1rem;
}

#modalAcessoAdm .semed-adm-verify,
#modalAcessoAdm .semed-adm-login {
    position: relative;
    min-width: 0;
    min-height: 58px;
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.58rem 0.7rem;
    border-radius: 14px;
    text-align: left;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
}

#modalAcessoAdm .semed-adm-verify {
    border: 1px solid transparent;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--adm-blue-700),
            var(--adm-teal-700)
        );
    box-shadow:
        0 14px 30px rgba(16, 111, 158, 0.22);
}

#modalAcessoAdm .semed-adm-verify:hover,
#modalAcessoAdm .semed-adm-verify:focus-visible {
    color: #ffffff;
    box-shadow:
        0 18px 36px rgba(16, 111, 158, 0.29);
    transform: translateY(-2px);
}

#modalAcessoAdm .semed-adm-login {
    border: 1px solid rgba(20, 54, 91, 0.16);
    color: var(--adm-title);
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f2f7fb
        );
    box-shadow:
        0 10px 24px rgba(6, 35, 66, 0.07);
}

#modalAcessoAdm .semed-adm-login:not(.disabled):hover,
#modalAcessoAdm .semed-adm-login:not(.disabled):focus-visible {
    color: #ffffff;
    border-color: transparent;
    background:
        linear-gradient(
            135deg,
            var(--adm-navy-900),
            var(--adm-blue-700)
        );
    box-shadow:
        0 16px 32px rgba(6, 35, 66, 0.18);
    transform: translateY(-2px);
}

#modalAcessoAdm .semed-adm-login.disabled {
    color: #98a5b2;
    border-color: rgba(20, 54, 91, 0.10);
    background: #eef2f5;
    box-shadow: none;
    pointer-events: none;
    opacity: 0.78;
}

#modalAcessoAdm .semed-adm-action-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: inherit;
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#modalAcessoAdm .semed-adm-login
.semed-adm-action-icon {
    color: var(--adm-blue-700);
    background: var(--adm-blue-100);
    box-shadow:
        inset 0 0 0 1px rgba(23, 111, 193, 0.08);
}

#modalAcessoAdm .semed-adm-login:not(.disabled):hover
.semed-adm-action-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

#modalAcessoAdm .semed-adm-action-content {
    min-width: 0;
}

#modalAcessoAdm .semed-adm-action-content small,
#modalAcessoAdm .semed-adm-action-content strong {
    display: block;
}

#modalAcessoAdm .semed-adm-action-content small {
    color: inherit;
    opacity: 0.66;
    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-action-content strong {
    margin-top: 0.1rem;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 900;
}

/* Painel de segurança */
#modalAcessoAdm .semed-adm-security-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    background:
        radial-gradient(
            circle at 90% 3%,
            rgba(90, 232, 213, 0.20),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--adm-navy-950),
            var(--adm-navy-900) 62%,
            #0a5260
        );
}

#modalAcessoAdm .semed-adm-security-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.30;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px
        );
    background-size: 28px 28px;
}

#modalAcessoAdm .semed-adm-security-panel-header {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

#modalAcessoAdm .semed-adm-security-panel-header > span {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(145, 241, 223, 0.15);
    border-radius: 13px;
    color: #c6fff5;
    background: rgba(11, 166, 152, 0.12);
}

#modalAcessoAdm .semed-adm-security-panel-header small,
#modalAcessoAdm .semed-adm-security-panel-header strong {
    display: block;
}

#modalAcessoAdm .semed-adm-security-panel-header small {
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.46rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-security-panel-header strong {
    margin-top: 0.12rem;
    color: #ffffff;
    font-size: 0.73rem;
    font-weight: 850;
}

#modalAcessoAdm .semed-adm-security-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

#modalAcessoAdm .semed-adm-security-list article {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
}

#modalAcessoAdm .semed-adm-security-list article > span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #bff7ef;
    background: rgba(12, 160, 150, 0.10);
    font-size: 0.7rem;
}

#modalAcessoAdm .semed-adm-security-list strong {
    display: block;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 820;
}

#modalAcessoAdm .semed-adm-security-list p {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.55rem;
    line-height: 1.45;
}

#modalAcessoAdm .semed-adm-security-status {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding: 0.72rem;
    border: 1px solid rgba(145, 241, 223, 0.14);
    border-radius: 14px;
    background: rgba(11, 166, 152, 0.09);
}

#modalAcessoAdm .semed-adm-security-status-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #083354;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #bff7ef
        );
}

#modalAcessoAdm .semed-adm-security-status small,
#modalAcessoAdm .semed-adm-security-status strong {
    display: block;
}

#modalAcessoAdm .semed-adm-security-status small {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.43rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-security-status strong {
    margin-top: 0.1rem;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 850;
}

#modalAcessoAdm .semed-adm-security-status-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.48rem;
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: 999px;
    color: #d1fae5;
    background: rgba(20, 83, 45, 0.24);
    font-size: 0.47rem;
    font-weight: 850;
    text-transform: uppercase;
}

#modalAcessoAdm .semed-adm-security-status-live > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow:
        0 0 0 4px rgba(74, 222, 128, 0.08),
        0 0 12px rgba(74, 222, 128, 0.65);
}

/* Rodapé */
#modalAcessoAdm .semed-adm-footnote {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(20, 54, 91, 0.10);
    border-radius: 14px;
    color: var(--adm-muted);
    background: rgba(255, 255, 255, 0.72);
}

#modalAcessoAdm .semed-adm-footnote > span:first-child {
    color: var(--adm-blue-700);
}

#modalAcessoAdm .semed-adm-footnote p {
    margin: 0;
    font-size: 0.56rem;
    line-height: 1.48;
}

#modalAcessoAdm .semed-adm-footnote-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--adm-title);
    font-size: 0.53rem;
    font-weight: 850;
    white-space: nowrap;
}

/* Proteção de conteúdo sem marca d'água visual */
.siedge-security-watermark,
body .siedge-security-watermark,
body.modal-open .siedge-security-watermark {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.siedge-screen-curtain-active
body.modal-open::after {
    display: none !important;
}

#modalAcessoAdm,
#modalAcessoAdm .modal-dialog,
#modalAcessoAdm .modal-content,
#modalAcessoAdm form,
#modalAcessoAdm button,
#modalAcessoAdm a,
#modalAcessoAdm input,
#modalAcessoAdm select,
#modalAcessoAdm textarea {
    pointer-events: auto !important;
}

.siedge-protection-strict
#modalAcessoAdm input,
.siedge-protection-strict
#modalAcessoAdm textarea,
.siedge-protection-strict
#modalAcessoAdm select,
.siedge-protection-strict
#modalAcessoAdm label {
    -webkit-user-select: text !important;
    user-select: text !important;
}

/* Responsividade */
@media (max-width: 991.98px) {
    #modalAcessoAdm .modal-dialog {
        width: min(780px, calc(100% - 1rem));
        max-width: 780px;
        margin: 0.5rem auto;
    }

    #modalAcessoAdm .modal-dialog-scrollable {
        height: calc(100% - 1rem);
    }

    #modalAcessoAdm .semed-adm-modal-header {
        min-height: auto;
        padding: 1.28rem;
    }

    #modalAcessoAdm .semed-adm-content-grid {
        grid-template-columns: 1fr;
    }

    #modalAcessoAdm .semed-adm-security-status {
        margin-top: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    #modalAcessoAdm .semed-adm-modal-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
    }

    #modalAcessoAdm .semed-adm-modal-header-actions {
        width: 100%;
        justify-content: space-between;
    }

    #modalAcessoAdm .semed-adm-steps {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    #modalAcessoAdm .semed-adm-step-connector {
        width: 32px;
        grid-template-columns: 1fr;
        justify-items: center;
        margin: -0.1rem auto;
    }

    #modalAcessoAdm .semed-adm-step-connector > span {
        width: 1px;
        height: 18px;
        background:
            linear-gradient(
                180deg,
                rgba(23, 111, 193, 0.16),
                rgba(12, 160, 150, 0.55)
            );
    }

    #modalAcessoAdm .semed-adm-step-connector i {
        transform: rotate(90deg);
    }

    #modalAcessoAdm .semed-adm-actions {
        grid-template-columns: 1fr;
    }

    #modalAcessoAdm .semed-adm-footnote {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }

    #modalAcessoAdm .semed-adm-footnote-brand {
        grid-column: 1 / -1;
        justify-self: start;
        padding-left: 1.35rem;
    }
}

@media (max-width: 575.98px) {
    #modalAcessoAdm .modal-dialog {
        width: calc(100% - 0.5rem);
        margin: 0.25rem auto;
    }

    #modalAcessoAdm .modal-dialog-scrollable {
        height: calc(100% - 0.5rem);
    }

    #modalAcessoAdm .semed-adm-modal {
        border-radius: 20px;
    }

    #modalAcessoAdm .semed-adm-modal-header {
        padding: 1rem;
    }

    #modalAcessoAdm .semed-adm-modal-title {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 0.75rem;
    }

    #modalAcessoAdm .semed-adm-modal-title-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 14px;
        font-size: 1rem;
    }

    #modalAcessoAdm .semed-adm-modal-eyebrow {
        font-size: 0.48rem;
    }

    #modalAcessoAdm .semed-adm-modal-title h2 {
        font-size: 1.45rem;
    }

    #modalAcessoAdm .semed-adm-modal-title p {
        font-size: 0.62rem;
    }

    #modalAcessoAdm .semed-adm-secure-badge {
        display: none;
    }

    #modalAcessoAdm .semed-adm-modal-body {
        padding: 0.85rem;
    }

    #modalAcessoAdm .semed-adm-step {
        min-height: 68px;
        grid-template-columns:
            29px
            34px
            minmax(0, 1fr);
        gap: 0.55rem;
        padding: 0.62rem;
    }

    #modalAcessoAdm .semed-adm-step-number {
        width: 29px;
        height: 29px;
    }

    #modalAcessoAdm .semed-adm-step-icon {
        width: 34px;
        height: 34px;
    }

    #modalAcessoAdm .semed-adm-form-panel,
    #modalAcessoAdm .semed-adm-security-panel {
        padding: 0.85rem;
        border-radius: 17px;
    }

    #modalAcessoAdm .semed-adm-form-heading-icon {
        width: 42px;
        height: 42px;
    }

    #modalAcessoAdm .semed-adm-form-heading h3 {
        font-size: 1rem;
    }

    #modalAcessoAdm .semed-adm-input input {
        min-height: 52px;
        padding-left: 3.35rem;
        font-size: 0.78rem;
    }

    #modalAcessoAdm .semed-adm-verify,
    #modalAcessoAdm .semed-adm-login {
        min-height: 55px;
    }

    #modalAcessoAdm .semed-adm-security-list article {
        padding: 0.65rem;
    }

    #modalAcessoAdm .semed-adm-security-status {
        grid-template-columns:
            auto
            minmax(0, 1fr);
    }

    #modalAcessoAdm .semed-adm-security-status-live {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #modalAcessoAdm *,
    #modalAcessoAdm *::before,
    #modalAcessoAdm *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =========================================================
   SIEDGE | REMOÇÃO DEFINITIVA DA MARCA D'ÁGUA VISÍVEL
   Mantém os demais controles de segurança.
========================================================= */

html .siedge-security-watermark,
body .siedge-security-watermark,
html .siedge-watermark,
body .siedge-watermark,
html .security-watermark,
body .security-watermark,
html .screen-watermark,
body .screen-watermark,
html [data-siedge-watermark],
body [data-siedge-watermark],
html [data-security-watermark],
body [data-security-watermark] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    content-visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(100%) !important;
}

html.siedge-protection-strict::before,
html.siedge-protection-strict::after,
body.siedge-protection-strict::before,
body.siedge-protection-strict::after,
html.siedge-screen-curtain-active body::before {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    background: none !important;
    background-image: none !important;
}

html:not(.siedge-screen-curtain-active) body::after {
    background-image: none !important;
}
