/* =========================================================
   PÁGINA INICIAL DA SEMED
========================================================= */
.semed-home-page {
    background: #fff;
}



/* =========================================================
   HERO INSTITUCIONAL SEMED
   ULTRA PREMIUM MASTER
========================================================= */

.semed-hero {
    --hero-navy-1000: #020c18;
    --hero-navy-950: #041426;
    --hero-navy-900: #07233f;
    --hero-navy-850: #0a3456;
    --hero-blue: #2d8cff;
    --hero-blue-light: #8cc8ff;
    --hero-teal: #18b8a3;
    --hero-teal-light: #9af1e3;
    --hero-gold: #eac36d;
    --hero-white: #ffffff;
    --hero-border: rgba(255, 255, 255, 0.12);
    --hero-muted: rgba(255, 255, 255, 0.7);

    position: relative;
    isolation: isolate;

    min-height: 790px;
    overflow: hidden;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 4% 3%,
            rgba(45, 140, 255, 0.36),
            transparent 28%
        ),
        radial-gradient(
            circle at 93% 16%,
            rgba(24, 184, 163, 0.3),
            transparent 28%
        ),
        radial-gradient(
            circle at 64% 100%,
            rgba(38, 126, 210, 0.19),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            var(--hero-navy-1000) 0%,
            var(--hero-navy-950) 22%,
            var(--hero-navy-900) 55%,
            var(--hero-navy-850) 77%,
            #08606a 100%
        );
}

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


/* =========================================================
   CAMADAS VISUAIS
========================================================= */

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

    overflow: hidden;

    pointer-events: none;
}

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

    opacity: 0.42;

    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: 52px 52px;

    mask-image:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.15)
        );
}

.semed-hero-orbit {
    position: absolute;

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

.semed-hero-orbit-one {
    top: -330px;
    left: -280px;

    width: 720px;
    height: 720px;

    box-shadow:
        0 0 0 60px rgba(45, 140, 255, 0.025),
        0 0 0 120px rgba(45, 140, 255, 0.014);
}

.semed-hero-orbit-two {
    right: -340px;
    bottom: -430px;

    width: 850px;
    height: 850px;

    border-color: rgba(154, 241, 227, 0.08);

    box-shadow:
        0 0 0 75px rgba(24, 184, 163, 0.022),
        0 0 0 150px rgba(24, 184, 163, 0.012);
}

.semed-hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);
}

.semed-hero-glow-one {
    top: -180px;
    left: 12%;

    width: 500px;
    height: 410px;

    background: rgba(45, 140, 255, 0.2);
}

.semed-hero-glow-two {
    right: 5%;
    bottom: -190px;

    width: 520px;
    height: 430px;

    background: rgba(24, 184, 163, 0.18);
}

.semed-hero-light-beam {
    position: absolute;
    top: -20%;
    left: 54%;

    width: 260px;
    height: 140%;

    opacity: 0.13;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.6),
            transparent
        );

    filter: blur(25px);

    transform: rotate(18deg);
}


/* =========================================================
   ESTRUTURA
========================================================= */

.semed-hero-shell {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    min-height: 790px;
}

.semed-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(540px, 1.12fr);

    align-items: center;
    gap: clamp(3rem, 6vw, 7rem);

    flex: 1;

    padding:
        clamp(4.5rem, 7vw, 7rem)
        0
        clamp(4rem, 6vw, 6rem);
}


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

.semed-hero-content {
    position: relative;

    min-width: 0;
    max-width: 680px;
}

.semed-hero-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;

    margin-bottom: 1.5rem;
}

.semed-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    min-height: 34px;
    padding:
        0.4rem
        0.8rem
        0.4rem
        0.42rem;

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

    color: var(--hero-teal-light);

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

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

    backdrop-filter: blur(14px);

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

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

    width: 24px;
    height: 24px;

    border-radius: 50%;

    color: #ffffff;

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

    box-shadow:
        0 7px 17px rgba(24, 184, 163, 0.27);

    font-size: 0.5rem;
}

.semed-hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;

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

    font-size: 0.52rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.semed-hero-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 15px rgba(74, 222, 128, 0.7);
}

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

    position: absolute;
    inset: -5px;

    border: 1px solid rgba(74, 222, 128, 0.33);
    border-radius: inherit;

    animation:
        semedHeroStatusPulse
        2.5s ease-out infinite;
}


/* =========================================================
   TÍTULO
========================================================= */

.semed-hero-heading {
    position: relative;
}

.semed-hero-heading-detail {
    display: block;

    margin-bottom: 0.7rem;

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

    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.semed-hero h1 {
    max-width: 700px;
    margin: 0;

    color: #ffffff;

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

    font-size:
        clamp(3.4rem, 5.7vw, 6rem);

    font-weight: 500;
    line-height: 0.93;
    letter-spacing: -0.065em;

    text-wrap: balance;
}

.semed-hero h1 > span {
    display: block;
}

.semed-hero h1 strong {
    position: relative;

    display: block;

    margin-top: 0.12em;

    color: transparent;

    background:
        linear-gradient(
            100deg,
            #ffffff 0%,
            var(--hero-blue-light) 30%,
            var(--hero-teal-light) 70%,
            #ffffff 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    font-weight: 600;

    filter:
        drop-shadow(
            0 12px 28px rgba(24, 184, 163, 0.12)
        );
}

.semed-hero h1 strong::after {
    content: "";

    position: absolute;
    right: 4%;
    bottom: -0.08em;
    left: 36%;

    height: 3px;

    border-radius: 999px;

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

    opacity: 0.65;
}


/* =========================================================
   TEXTO PRINCIPAL
========================================================= */

.semed-hero-lead {
    max-width: 620px;
    margin: 1.65rem 0 0;

    color: var(--hero-muted);

    font-size:
        clamp(0.94rem, 1.35vw, 1.08rem);

    font-weight: 420;
    line-height: 1.82;

    text-wrap: pretty;
}


/* =========================================================
   BOTÕES
========================================================= */

.semed-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;

    margin-top: 2rem;
}

.semed-hero-actions .semed-button {
    position: relative;

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

    min-width: 190px;
    min-height: 56px;
    padding:
        0.6rem
        0.65rem
        0.6rem
        1.15rem;

    overflow: hidden;

    border-radius: 15px;

    font-size: 0.7rem;
    font-weight: 820;

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

.semed-hero-primary-action {
    border: 1px solid transparent;

    color: #ffffff;

    background:
        linear-gradient(
            105deg,
            var(--hero-blue),
            var(--hero-teal)
        );

    box-shadow:
        0 18px 38px rgba(18, 126, 181, 0.28);
}

.semed-hero-primary-action::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        linear-gradient(
            105deg,
            var(--hero-teal),
            var(--hero-blue)
        );

    transition: opacity 220ms ease;
}

.semed-hero-secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.17);

    color: #ffffff;

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

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

    backdrop-filter: blur(13px);
}

.semed-hero-secondary-action::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

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

    transition: opacity 220ms ease;
}

.semed-hero-actions .semed-button > span {
    position: relative;
    z-index: 2;
}

.semed-hero-actions .semed-button:hover {
    color: #ffffff;

    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.25);

    transform: translateY(-4px);
}

.semed-hero-actions .semed-button:hover::before {
    opacity: 1;
}

.semed-hero-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 38px;
    height: 38px;

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

    color: var(--hero-navy-900);

    background: #ffffff;

    font-size: 0.6rem;

    transition: transform 220ms ease;
}

.semed-hero-actions .semed-button:hover
.semed-hero-action-icon {
    transform: translateX(3px);
}

.semed-hero-secondary-action:hover
.semed-hero-action-icon {
    transform: translateY(3px);
}


/* =========================================================
   INDICADORES
========================================================= */

.semed-hero-highlights {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0.7rem;

    margin-top: 2.3rem;
}

.semed-hero-highlight {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 0.65rem;

    min-width: 0;
    min-height: 83px;
    padding: 0.75rem;

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

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

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

    backdrop-filter: blur(13px);

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

.semed-hero-highlight:hover {
    border-color: rgba(154, 241, 227, 0.18);

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

    transform: translateY(-3px);
}

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

    width: 36px;
    height: 36px;

    border: 1px solid rgba(154, 241, 227, 0.13);
    border-radius: 11px;

    color: var(--hero-teal-light);

    background:
        rgba(24, 184, 163, 0.1);

    font-size: 0.65rem;
}

.semed-hero-highlight strong,
.semed-hero-highlight span {
    display: block;
}

.semed-hero-highlight strong {
    color: #ffffff;

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

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
}

.semed-hero-highlight div > span {
    margin-top: 0.25rem;

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

    font-size: 0.5rem;
    font-weight: 620;
    line-height: 1.4;
}


/* =========================================================
   ÁREA DO CARROSSEL
========================================================= */

.semed-hero-media {
    position: relative;

    min-width: 0;
    padding:
        0
        1.5rem
        1.8rem
        0;
}

.semed-hero-media-frame {
    position: relative;

    overflow: hidden;

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

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

    box-shadow:
        0 42px 100px rgba(0, 0, 0, 0.36),
        0 12px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    backdrop-filter: blur(16px);
}


/* =========================================================
   CABEÇALHO DO PAINEL VISUAL
========================================================= */

.semed-hero-media-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    min-height: 74px;
    padding: 0.85rem 1rem;

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

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.035)
        );
}

.semed-hero-media-label {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 0.7rem;
}

.semed-hero-media-label > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 39px;
    height: 39px;

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

    color: var(--hero-blue-light);

    background:
        rgba(45, 140, 255, 0.1);

    font-size: 0.7rem;
}

.semed-hero-media-label small,
.semed-hero-media-label strong {
    display: block;
}

.semed-hero-media-label small {
    color: var(--hero-teal-light);

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

.semed-hero-media-label strong {
    margin-top: 0.12rem;

    color: #ffffff;

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

.semed-hero-media-window-controls {
    display: flex;
    align-items: center;
    gap: 0.38rem;
}

.semed-hero-media-window-controls span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

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

.semed-hero-media-window-controls span:nth-child(1) {
    background: #ef6b6b;
}

.semed-hero-media-window-controls span:nth-child(2) {
    background: #eac36d;
}

.semed-hero-media-window-controls span:nth-child(3) {
    background: #58d59a;
}


/* =========================================================
   CARROSSEL
========================================================= */

.semed-hero-carousel {
    position: relative;

    overflow: hidden;
}

.semed-hero-carousel .carousel-item {
    position: relative;

    height: 535px;
    margin: 0;

    overflow: hidden;
}

.semed-hero-carousel .carousel-item::before {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3, 15, 29, 0.08) 0%,
            transparent 38%,
            rgba(3, 15, 29, 0.9) 100%
        );

    pointer-events: none;
}

.semed-hero-carousel .carousel-item::after {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

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

    pointer-events: none;
}

.semed-hero-carousel img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);

    transition:
        transform 8s ease;
}

.semed-hero-carousel
.carousel-item.active img {
    transform: scale(1.08);
}

.semed-hero-slide-number {
    position: absolute;
    z-index: 4;
    top: 1.3rem;
    right: 1.3rem;

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

    width: 45px;
    height: 45px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;

    color: #ffffff;

    background:
        rgba(4, 23, 43, 0.46);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(14px);

    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.07em;
}

.semed-hero-carousel figcaption {
    position: absolute;
    z-index: 4;
    right: 2rem;
    bottom: 2rem;
    left: 2rem;

    max-width: 620px;
}

.semed-hero-slide-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;

    min-height: 30px;
    padding: 0.4rem 0.7rem;

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

    color: var(--hero-teal-light);

    background:
        rgba(4, 30, 52, 0.46);

    backdrop-filter: blur(12px);

    font-size: 0.54rem !important;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-hero-carousel figcaption strong {
    display: block;

    max-width: 600px;
    margin-top: 0.8rem;

    color: #ffffff;

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

    font-size:
        clamp(1.6rem, 2.7vw, 2.25rem);

    font-weight: 600;
    line-height: 1.13;
    letter-spacing: -0.035em;

    text-shadow:
        0 8px 26px rgba(0, 0, 0, 0.4);
}

.semed-hero-carousel figcaption small {
    display: block;

    max-width: 530px;
    margin-top: 0.65rem;

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

    font-size: 0.67rem;
    line-height: 1.6;
}


/* =========================================================
   INDICADORES DO CARROSSEL
========================================================= */

.semed-hero-carousel .carousel-indicators {
    z-index: 5;

    right: 1.5rem;
    bottom: 1.2rem;
    left: auto;

    justify-content: flex-end;
    gap: 0.35rem;

    width: auto;
    margin: 0;
}

.semed-hero-carousel
.carousel-indicators button {
    width: 28px;
    height: 4px;
    margin: 0;

    border: 0;
    border-radius: 999px;

    opacity: 0.45;

    background: #ffffff;

    transition:
        width 220ms ease,
        opacity 220ms ease,
        background-color 220ms ease;
}

.semed-hero-carousel
.carousel-indicators button.active {
    width: 48px;

    opacity: 1;

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


/* =========================================================
   CONTROLES DO CARROSSEL
========================================================= */

.semed-hero-carousel
.carousel-control-prev,
.semed-hero-carousel
.carousel-control-next {
    z-index: 5;

    top: 50%;
    bottom: auto;

    width: auto;

    opacity: 1;

    transform: translateY(-50%);
}

.semed-hero-carousel
.carousel-control-prev {
    left: 1rem;
}

.semed-hero-carousel
.carousel-control-next {
    right: 1rem;
}

.semed-hero-carousel-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

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

    color: #ffffff;

    background:
        rgba(4, 25, 46, 0.52);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.2);

    backdrop-filter: blur(13px);

    font-size: 0.65rem;

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

.semed-hero-carousel-control:hover {
    border-color: transparent;

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

    transform: scale(1.08);
}


/* =========================================================
   CARD OFICIAL
========================================================= */

.semed-hero-official-card {
    position: absolute;
    z-index: 7;
    right: -0.2rem;
    bottom: -0.2rem;

    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;
    gap: 0.8rem;

    width: min(420px, 78%);
    min-height: 92px;
    padding: 0.85rem;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;

    color: #173252;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(242, 252, 250, 0.97)
        );

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.3),
        0 8px 20px rgba(0, 0, 0, 0.1);

    backdrop-filter: blur(18px);
}

.semed-hero-official-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 53px;
    height: 53px;

    border-radius: 16px;

    color: #ffffff;

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

    box-shadow:
        0 14px 28px rgba(18, 126, 181, 0.25);

    font-size: 1rem;
}

.semed-hero-official-card small,
.semed-hero-official-card strong {
    display: block;
}

.semed-hero-official-card small {
    color: #708096;

    font-size: 0.48rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-hero-official-card strong {
    margin-top: 0.22rem;

    color: #193858;

    font-size: 0.68rem;
    font-weight: 760;
    line-height: 1.45;
}

.semed-hero-official-check {
    color: var(--hero-teal);

    font-size: 1rem;
}


/* =========================================================
   CARD DE IMPACTO
========================================================= */

.semed-hero-impact-card {
    position: absolute;
    z-index: 6;
    top: 98px;
    left: -1.8rem;

    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 0.7rem;

    width: min(280px, 55%);
    padding: 0.75rem;

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

    color: #ffffff;

    background:
        rgba(5, 31, 54, 0.58);

    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.27);

    backdrop-filter: blur(18px);

    animation:
        semedHeroFloatingCard
        5s ease-in-out infinite;
}

.semed-hero-impact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

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

    color: #ffffff;

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

    font-size: 0.75rem;
}

.semed-hero-impact-card small,
.semed-hero-impact-card strong {
    display: block;
}

.semed-hero-impact-card small {
    color: var(--hero-teal-light);

    font-size: 0.45rem;
    font-weight: 820;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-hero-impact-card strong {
    margin-top: 0.14rem;

    color: #ffffff;

    font-size: 0.6rem;
    font-weight: 720;
    line-height: 1.4;
}


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

.semed-hero-footer-strip {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

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

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

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

.semed-hero-footer-strip > div {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 0.7rem;

    min-height: 80px;
    padding: 0.85rem 1rem;

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

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

.semed-hero-footer-strip > div > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 37px;
    height: 37px;

    border: 1px solid rgba(154, 241, 227, 0.12);
    border-radius: 11px;

    color: var(--hero-teal-light);

    background:
        rgba(24, 184, 163, 0.08);

    font-size: 0.65rem;
}

.semed-hero-footer-strip p {
    margin: 0;
}

.semed-hero-footer-strip small,
.semed-hero-footer-strip strong {
    display: block;
}

.semed-hero-footer-strip small {
    color: rgba(255, 255, 255, 0.43);

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

.semed-hero-footer-strip strong {
    margin-top: 0.15rem;

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

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


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

@keyframes semedHeroStatusPulse {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }

    70% {
        opacity: 0;
        transform: scale(1.8);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@keyframes semedHeroFloatingCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   NOTEBOOK
========================================================= */

@media (max-width: 1299.98px) {
    .semed-hero-grid {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(500px, 1.1fr);

        gap: 3.5rem;
    }

    .semed-hero h1 {
        font-size:
            clamp(3.2rem, 5.2vw, 5.3rem);
    }

    .semed-hero-carousel .carousel-item {
        height: 500px;
    }
}


/* =========================================================
   TABLET E NOTEBOOK MENOR
========================================================= */

@media (max-width: 1099.98px) {
    .semed-hero {
        min-height: 0;
    }

    .semed-hero-shell {
        min-height: 0;
    }

    .semed-hero-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;

        padding-bottom: 5rem;
    }

    .semed-hero-content {
        max-width: 820px;
    }

    .semed-hero-media {
        width: min(100%, 850px);
        margin-inline: auto;
    }

    .semed-hero-carousel .carousel-item {
        height: 540px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 767.98px) {
    .semed-hero-grid {
        padding:
            4rem
            0
            4.5rem;
    }

    .semed-hero h1 {
        font-size:
            clamp(2.9rem, 11vw, 4.4rem);
    }

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

    .semed-hero-media {
        padding:
            0
            0.7rem
            1.8rem
            0;
    }

    .semed-hero-media-frame {
        border-radius:
            22px
            22px
            70px
            22px;
    }

    .semed-hero-carousel .carousel-item {
        height: 460px;
    }

    .semed-hero-impact-card {
        top: 88px;
        left: -0.6rem;
    }

    .semed-hero-official-card {
        right: 0;
        bottom: 0;

        width: min(430px, 92%);
    }

    .semed-hero-footer-strip {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 575.98px) {
    .semed-hero-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .semed-hero-status {
        margin-left: 0.4rem;
    }

    .semed-hero-heading-detail {
        font-size: 0.54rem;
    }

    .semed-hero h1 {
        font-size:
            clamp(2.65rem, 13vw, 3.75rem);
    }

    .semed-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .semed-hero-actions .semed-button {
        width: 100%;
    }

    .semed-hero-carousel .carousel-item {
        height: 390px;
    }

    .semed-hero-media-header {
        min-height: 65px;
        padding: 0.7rem;
    }

    .semed-hero-media-label strong {
        font-size: 0.58rem;
    }

    .semed-hero-carousel figcaption {
        right: 1.15rem;
        bottom: 1.4rem;
        left: 1.15rem;
    }

    .semed-hero-carousel figcaption strong {
        font-size: 1.35rem;
    }

    .semed-hero-carousel figcaption small {
        display: none;
    }

    .semed-hero-slide-number {
        top: 0.9rem;
        right: 0.9rem;

        width: 40px;
        height: 40px;
    }

    .semed-hero-carousel
    .carousel-control-prev,
    .semed-hero-carousel
    .carousel-control-next {
        display: none;
    }

    .semed-hero-impact-card {
        display: none;
    }

    .semed-hero-official-card {
        position: relative;
        right: auto;
        bottom: auto;

        width: calc(100% - 1rem);
        margin:
            -1.3rem
            auto
            0;
    }
}


/* =========================================================
   CELULAR PEQUENO
========================================================= */

@media (max-width: 389.98px) {
    .semed-hero-eyebrow {
        font-size: 0.52rem;
    }

    .semed-hero-carousel .carousel-item {
        height: 340px;
    }

    .semed-hero-media-window-controls {
        display: none;
    }

    .semed-hero-official-card {
        grid-template-columns:
            auto minmax(0, 1fr);
    }

    .semed-hero-official-check {
        display: none;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

.semed-hero a:focus-visible,
.semed-hero button:focus-visible {
    outline:
        4px solid rgba(140, 200, 255, 0.36);

    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .semed-hero-status-dot::after,
    .semed-hero-impact-card {
        animation: none !important;
    }

    .semed-hero-carousel img,
    .semed-hero-actions .semed-button,
    .semed-hero-action-icon,
    .semed-hero-highlight,
    .semed-hero-carousel-control {
        transition: none !important;
    }

    .semed-hero-carousel
    .carousel-item.active img {
        transform: none;
    }
}




/* Quick access */
/* =========================================================
   ACESSOS RÁPIDOS DA PÁGINA INICIAL
   PAINEL INSTITUCIONAL PREMIUM SEMED
========================================================= */
.semed-quick-access {
    --quick-bg-start: #06172c;
    --quick-bg-middle: #0b2f52;
    --quick-bg-end: #086d72;
    --quick-white: #ffffff;
    --quick-text-soft: rgba(255, 255, 255, 0.72);
    --quick-line: rgba(255, 255, 255, 0.12);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 7.5rem) 0;
    color: var(--quick-white);
    background:
        radial-gradient(circle at 9% 8%, rgba(40, 132, 235, 0.38), transparent 29%),
        radial-gradient(circle at 91% 93%, rgba(16, 190, 166, 0.30), transparent 32%),
        radial-gradient(circle at 56% -12%, rgba(104, 168, 255, 0.15), transparent 30%),
        linear-gradient(132deg, var(--quick-bg-start) 0%, var(--quick-bg-middle) 53%, var(--quick-bg-end) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.semed-quick-access::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.30;
    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: 52px 52px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 65%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 65%, transparent 100%);
    pointer-events: none;
}

.semed-quick-access::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -180px;
    left: 50%;
    width: min(980px, 84vw);
    height: 330px;
    border-radius: 50%;
    background: rgba(78, 169, 255, 0.13);
    filter: blur(92px);
    transform: translateX(-50%);
    pointer-events: none;
}

.semed-quick-access-visuals {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.semed-quick-access-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 50%;
}

.semed-quick-access-orbit-one {
    top: -315px;
    left: -265px;
    width: 650px;
    height: 650px;
    box-shadow:
        0 0 0 58px rgba(47, 137, 235, 0.023),
        0 0 0 116px rgba(47, 137, 235, 0.012);
}

.semed-quick-access-orbit-two {
    right: -320px;
    bottom: -390px;
    width: 760px;
    height: 760px;
    border-color: rgba(121, 255, 232, 0.08);
    box-shadow:
        0 0 0 70px rgba(16, 190, 166, 0.022),
        0 0 0 140px rgba(16, 190, 166, 0.012);
}

.semed-quick-access-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.semed-quick-access-glow-one {
    top: -150px;
    left: 11%;
    width: 390px;
    height: 340px;
    background: rgba(47, 137, 235, 0.18);
}

.semed-quick-access-glow-two {
    right: 8%;
    bottom: -190px;
    width: 450px;
    height: 390px;
    background: rgba(16, 190, 166, 0.17);
}

.semed-quick-access-heading {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 450px);
    align-items: end;
    gap: clamp(2rem, 6vw, 6.5rem);
    margin-bottom: clamp(2.8rem, 5vw, 4.4rem);
    padding-bottom: 1.9rem;
    border-bottom: 1px solid var(--quick-line);
}

.semed-quick-access-heading::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: clamp(120px, 14vw, 190px);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4aa4ff, #2fdbc1);
    box-shadow: 0 5px 20px rgba(47, 219, 193, 0.30);
}

.semed-quick-access-heading-copy {
    min-width: 0;
}

.semed-quick-access-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.58rem;
    min-height: 34px;
    margin-bottom: 1rem;
    padding: 0.42rem 0.82rem 0.42rem 0.44rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #bff9ef;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.semed-quick-access-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #378cf0, #10aa95);
    box-shadow: 0 7px 18px rgba(15, 157, 139, 0.31);
    font-size: 0.52rem;
}

.semed-quick-access-heading h2 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 5.3vw, 4.9rem);
    font-weight: 500;
    line-height: 0.97;
    letter-spacing: -0.062em;
    text-wrap: balance;
}

.semed-quick-access-heading > p {
    max-width: 450px;
    margin: 0;
    color: var(--quick-text-soft);
    font-size: clamp(0.9rem, 1.35vw, 1.04rem);
    font-weight: 450;
    line-height: 1.85;
    text-wrap: pretty;
}

.semed-quick-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.1rem, 2vw, 1.55rem);
}

.semed-quick-access .semed-quick-card {
    --quick-accent: #2477d0;
    --quick-accent-dark: #145aa4;
    --quick-accent-rgb: 36, 119, 208;

    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(92px, 1fr);
    align-items: start;
    column-gap: 1rem;
    row-gap: 1.65rem;
    min-width: 0;
    min-height: 238px;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 28px;
    color: #263f5c;
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--quick-accent-rgb), 0.12), transparent 42%),
        linear-gradient(150deg, #ffffff 0%, #fbfdff 64%, rgba(var(--quick-accent-rgb), 0.065) 100%);
    box-shadow:
        0 28px 64px rgba(0, 12, 31, 0.22),
        0 8px 20px rgba(0, 12, 31, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transform: translateZ(0);
    transition:
        border-color 240ms ease,
        box-shadow 240ms ease,
        transform 240ms ease;
}

.semed-quick-access .semed-quick-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at 9% 7%, rgba(var(--quick-accent-rgb), 0.22), transparent 38%),
        linear-gradient(130deg, rgba(var(--quick-accent-rgb), 0.10), rgba(255, 255, 255, 0.98) 64%);
    transition: opacity 240ms ease;
}

.semed-quick-access .semed-quick-card::after {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--quick-accent-dark), var(--quick-accent), rgba(var(--quick-accent-rgb), 0.40));
}

.semed-quick-access .semed-quick-card:hover {
    color: #263f5c;
    border-color: rgba(var(--quick-accent-rgb), 0.34);
    box-shadow:
        0 42px 88px rgba(0, 12, 31, 0.30),
        0 14px 32px rgba(0, 12, 31, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-11px) scale(1.012);
}

.semed-quick-access .semed-quick-card:hover::before {
    opacity: 1;
}

.semed-quick-access .semed-quick-card-number {
    position: absolute;
    z-index: -1;
    right: 1rem;
    bottom: -1.2rem;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: rgba(var(--quick-accent-rgb), 0.075);
    background: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 7.35rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.09em;
    pointer-events: none;
    transition: color 240ms ease, transform 240ms ease;
}

.semed-quick-access .semed-quick-card:hover .semed-quick-card-number {
    color: rgba(var(--quick-accent-rgb), 0.125);
    transform: translateY(-6px) scale(1.045);
}

.semed-quick-access .semed-quick-card-icon {
    position: relative;
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border: 1px solid rgba(var(--quick-accent-rgb), 0.18);
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--quick-accent-dark), var(--quick-accent));
    box-shadow:
        0 18px 36px rgba(var(--quick-accent-rgb), 0.31),
        inset 0 1px 0 rgba(255, 255, 255, 0.23);
    font-size: 1.22rem;
    transition: box-shadow 240ms ease, transform 240ms ease;
}

.semed-quick-access .semed-quick-card-icon::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    pointer-events: none;
}

.semed-quick-access .semed-quick-card:hover .semed-quick-card-icon {
    box-shadow:
        0 25px 48px rgba(var(--quick-accent-rgb), 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    transform: translateY(-5px) rotate(-2deg);
}

.semed-quick-access .semed-quick-card-copy {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    padding-right: 2.8rem;
}

.semed-quick-access .semed-quick-card-copy small {
    display: block;
    margin: 0;
    color: var(--quick-accent-dark);
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.105em;
    line-height: 1.35;
    text-transform: uppercase;
}

.semed-quick-access .semed-quick-card-copy strong {
    display: block;
    margin: 0;
    overflow: visible;
    color: #153452;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.038em;
    white-space: normal;
    text-overflow: initial;
    transition: color 240ms ease;
}

.semed-quick-access .semed-quick-card:hover .semed-quick-card-copy strong {
    color: var(--quick-accent-dark);
}

.semed-quick-access .semed-quick-card-arrow {
    position: relative;
    z-index: 2;
    grid-column: 3;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(var(--quick-accent-rgb), 0.17);
    border-radius: 15px;
    color: var(--quick-accent-dark);
    background: rgba(var(--quick-accent-rgb), 0.08);
    box-shadow: 0 9px 20px rgba(var(--quick-accent-rgb), 0.11);
    font-size: 0.68rem;
    transition:
        color 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease,
        transform 220ms ease;
}

.semed-quick-access .semed-quick-card:hover .semed-quick-card-arrow {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--quick-accent-dark), var(--quick-accent));
    box-shadow: 0 14px 29px rgba(var(--quick-accent-rgb), 0.31);
    transform: translateX(5px) rotate(-2deg);
}

.semed-quick-access .semed-quick-card.is-blue {
    --quick-accent: #2477d0;
    --quick-accent-dark: #155ca7;
    --quick-accent-rgb: 36, 119, 208;
}

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

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

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

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

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

.semed-quick-access .semed-quick-card:focus-visible {
    outline: 4px solid rgba(var(--quick-accent-rgb), 0.34);
    outline-offset: 5px;
}

@media (min-width: 1400px) {
    .semed-quick-access .semed-quick-card {
        min-height: 248px;
        padding: 1.6rem;
    }

    .semed-quick-access .semed-quick-card-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 1199.98px) {
    .semed-quick-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .semed-quick-access .semed-quick-card {
        min-height: 220px;
    }
}

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

    .semed-quick-access-heading > p {
        max-width: 690px;
    }
}

@media (max-width: 767.98px) {
    .semed-quick-access {
        padding: 4.6rem 0;
    }

    .semed-quick-access-heading {
        margin-bottom: 2.4rem;
        padding-bottom: 1.5rem;
    }

    .semed-quick-access-heading h2 {
        font-size: clamp(2.35rem, 10vw, 3.5rem);
    }

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

    .semed-quick-access .semed-quick-card {
        min-height: 195px;
    }
}

@media (max-width: 575.98px) {
    .semed-quick-access .semed-quick-card {
        min-height: 184px;
        padding: 1.18rem;
        border-radius: 22px;
    }

    .semed-quick-access .semed-quick-card-icon {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .semed-quick-access .semed-quick-card-arrow {
        width: 41px;
        height: 41px;
        border-radius: 12px;
    }

    .semed-quick-access .semed-quick-card-copy {
        padding-right: 1rem;
    }

    .semed-quick-access .semed-quick-card-copy strong {
        font-size: 1.32rem;
    }

    .semed-quick-access .semed-quick-card-number {
        font-size: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .semed-quick-access .semed-quick-card,
    .semed-quick-access .semed-quick-card::before,
    .semed-quick-access .semed-quick-card-number,
    .semed-quick-access .semed-quick-card-icon,
    .semed-quick-access .semed-quick-card-copy strong,
    .semed-quick-access .semed-quick-card-arrow {
        transition: none !important;
    }
}


/* News */
.semed-news-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: var(--semed-soft);
}

.semed-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem;
}

.semed-news-featured {
    display: grid;
    grid-template-rows: 360px auto;
    overflow: hidden;
    border: 1px solid var(--semed-border);
    background: #fff;
    box-shadow: var(--semed-shadow-sm);
}

.semed-news-featured-media {
    position: relative;
    overflow: hidden;
}

.semed-news-featured-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 24, 46, 0.62), transparent 55%);
}

.semed-news-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.semed-news-featured:hover img {
    transform: scale(1.025);
}

.semed-news-featured-media > span {
    position: absolute;
    z-index: 2;
    bottom: 1.2rem;
    left: 1.2rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(15, 157, 139, 0.9);
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.semed-news-featured-content {
    padding: 1.4rem;
}

.semed-news-date {
    color: var(--semed-blue-700);
    font-size: 0.57rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-news-featured h3 {
    margin: 0.5rem 0 0;
    color: var(--semed-title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}

.semed-news-featured p {
    margin: 0.75rem 0 0;
    color: var(--semed-muted);
    font-size: 0.78rem;
    line-height: 1.75;
}

.semed-news-featured-content > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--semed-blue-700);
    font-size: 0.68rem;
    font-weight: 800;
}

.semed-news-featured-content > a:hover {
    color: var(--semed-teal-700);
    transform: translateX(3px);
}

.semed-news-list {
    display: grid;
    border-top: 1px solid var(--semed-border);
}

.semed-news-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 1rem;
    min-height: 145px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--semed-border);
}

.semed-news-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.semed-news-item > div > span:first-child {
    color: var(--semed-blue-700);
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.semed-news-item h3 {
    margin: 0.35rem 0 0;
    color: var(--semed-title);
    font-size: 0.91rem;
    font-weight: 750;
    line-height: 1.35;
}

.semed-news-item p {
    margin: 0.4rem 0 0;
    color: var(--semed-muted);
    font-size: 0.65rem;
    line-height: 1.55;
}

.semed-news-item a,
.semed-news-coming {
    display: inline-flex;
    margin-top: 0.55rem;
    color: var(--semed-blue-700);
    font-size: 0.58rem;
    font-weight: 800;
}

.semed-news-item a:hover {
    color: var(--semed-teal-700);
}

.semed-news-coming {
    color: var(--semed-gold-600);
}

/* Services */
.semed-services-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: #fff;
}

.semed-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

/* Numbers */
.semed-numbers-section {
    position: relative;
    padding: clamp(4rem, 7vw, 6rem) 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(36, 119, 208, 0.3), transparent 28%),
        radial-gradient(circle at 90% 15%, rgba(15, 157, 139, 0.24), transparent 24%),
        var(--semed-navy-950);
}

.semed-numbers-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.semed-numbers-heading .semed-section-eyebrow {
    color: #9ee9dc;
}

.semed-numbers-heading h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.045em;
}

.semed-numbers-heading p {
    margin: 0.85rem 0 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.75rem;
    line-height: 1.7;
}

.semed-numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.semed-numbers-grid article {
    min-height: 190px;
    padding: 1.2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.semed-numbers-grid article > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.semed-numbers-grid strong {
    display: block;
    margin-top: 1.1rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
}

.semed-numbers-grid p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.6rem;
    line-height: 1.45;
}

/* Planetarium */
.semed-planetarium-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: var(--semed-soft);
}

.semed-planetarium-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
}

.semed-planetarium-media {
    position: relative;
    min-height: 530px;
    margin: 0;
    overflow: hidden;
    border-radius: 6px 6px 120px 6px;
    box-shadow: var(--semed-shadow-md);
}

.semed-planetarium-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 24, 46, 0.9), transparent 56%);
}

.semed-planetarium-media img {
    width: 100%;
    height: 100%;
    min-height: 530px;
    object-fit: cover;
}

.semed-planetarium-media figcaption {
    position: absolute;
    z-index: 2;
    right: 2rem;
    bottom: 1.8rem;
    left: 2rem;
}

.semed-planetarium-media figcaption span,
.semed-planetarium-media figcaption strong {
    display: block;
}

.semed-planetarium-media figcaption span {
    color: #9ee9dc;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-planetarium-media figcaption strong {
    max-width: 520px;
    margin-top: 0.3rem;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
}

.semed-planetarium-content h2 {
    margin: 0;
    color: var(--semed-title);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.semed-planetarium-lead {
    margin: 1.1rem 0 0;
    color: var(--semed-text);
    font-size: 0.98rem;
    line-height: 1.8;
}

.semed-planetarium-content > p:not(.semed-planetarium-lead) {
    margin: 0.8rem 0 0;
    color: var(--semed-muted);
    font-size: 0.78rem;
    line-height: 1.75;
}

.semed-planetarium-features {
    display: grid;
    margin-top: 1.5rem;
    border-top: 1px solid var(--semed-border);
}

.semed-planetarium-features > div {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 74px;
    border-bottom: 1px solid var(--semed-border);
}

.semed-planetarium-features > div > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    background: var(--semed-teal-700);
}

.semed-planetarium-features strong,
.semed-planetarium-features small {
    display: block;
}

.semed-planetarium-features strong {
    color: var(--semed-title);
    font-size: 0.72rem;
}

.semed-planetarium-features small {
    margin-top: 0.1rem;
    color: var(--semed-muted);
    font-size: 0.58rem;
}

.semed-planetarium-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}





/* Network */


/* =========================================================
   REDE MUNICIPAL DE ENSINO
   ULTRA PREMIUM MASTER SEMED
========================================================= */

.semed-network-section {
    --network-blue: #2477d0;
    --network-blue-dark: #155ca7;
    --network-teal: #0f9d8b;
    --network-teal-dark: #087c73;
    --network-navy: #0a2849;
    --network-title: #142e4f;
    --network-muted: #68798c;

    position: relative;
    isolation: isolate;

    padding:
        clamp(5rem, 8vw, 8rem)
        0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 4% 5%,
            rgba(36, 119, 208, 0.09),
            transparent 28%
        ),
        radial-gradient(
            circle at 94% 92%,
            rgba(15, 157, 139, 0.09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fbff 48%,
            #f5faf9 100%
        );

    border-top:
        1px solid rgba(20, 54, 91, 0.07);

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


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

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

    position: absolute;
    z-index: -2;
    inset: 0;

    opacity: 0.42;

    background-image:
        linear-gradient(
            rgba(20, 54, 91, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(20, 54, 91, 0.025) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        linear-gradient(
            180deg,
            transparent,
            rgba(0, 0, 0, 0.7) 20%,
            rgba(0, 0, 0, 0.7) 80%,
            transparent
        );

    pointer-events: none;
}

.semed-network-background {
    position: absolute;
    z-index: -1;
    inset: 0;

    overflow: hidden;

    pointer-events: none;
}

.semed-network-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);
}

.semed-network-glow-one {
    top: -210px;
    left: 10%;

    width: 470px;
    height: 390px;

    background:
        rgba(36, 119, 208, 0.11);
}

.semed-network-glow-two {
    right: 5%;
    bottom: -220px;

    width: 490px;
    height: 410px;

    background:
        rgba(15, 157, 139, 0.1);
}

.semed-network-orbit {
    position: absolute;

    border:
        1px solid rgba(36, 119, 208, 0.07);

    border-radius: 50%;
}

.semed-network-orbit-one {
    top: -280px;
    left: -270px;

    width: 620px;
    height: 620px;

    box-shadow:
        0 0 0 55px rgba(36, 119, 208, 0.018),
        0 0 0 110px rgba(36, 119, 208, 0.01);
}

.semed-network-orbit-two {
    right: -310px;
    bottom: -360px;

    width: 720px;
    height: 720px;

    border-color:
        rgba(15, 157, 139, 0.07);

    box-shadow:
        0 0 0 65px rgba(15, 157, 139, 0.018),
        0 0 0 130px rgba(15, 157, 139, 0.01);
}


/* =========================================================
   GRID
========================================================= */

.semed-network-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        clamp(1.15rem, 2.4vw, 1.75rem);
}


/* =========================================================
   CARD DA UNIDADE
========================================================= */

.semed-network-section
.semed-network-card {
    --network-card-accent: #2477d0;
    --network-card-dark: #155ca7;
    --network-card-rgb: 36, 119, 208;

    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 470px;

    overflow: hidden;

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

    border-radius: 28px;

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

    box-shadow:
        0 22px 54px rgba(9, 38, 70, 0.1),
        0 5px 14px rgba(9, 38, 70, 0.04);

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

.semed-network-section
.semed-network-card::before {
    content: "";

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

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--network-card-dark),
            var(--network-card-accent),
            rgba(var(--network-card-rgb), 0.42)
        );
}

.semed-network-section
.semed-network-card::after {
    content: "";

    position: absolute;
    z-index: -1;
    right: -95px;
    bottom: -120px;

    width: 250px;
    height: 250px;

    border:
        1px solid rgba(var(--network-card-rgb), 0.08);

    border-radius: 50%;

    box-shadow:
        0 0 0 34px rgba(var(--network-card-rgb), 0.02),
        0 0 0 68px rgba(var(--network-card-rgb), 0.012);

    pointer-events: none;
}

.semed-network-section
.semed-network-card:hover {
    border-color:
        rgba(var(--network-card-rgb), 0.26);

    box-shadow:
        0 38px 82px rgba(9, 38, 70, 0.18),
        0 12px 30px rgba(9, 38, 70, 0.07);

    transform:
        translateY(-10px);
}


/* =========================================================
   VARIAÇÕES NEI E EMEB
========================================================= */

.semed-network-card.is-nei {
    --network-card-accent: #2477d0;
    --network-card-dark: #155ca7;
    --network-card-rgb: 36, 119, 208;
}

.semed-network-card.is-emeb {
    --network-card-accent: #0f9d8b;
    --network-card-dark: #087c73;
    --network-card-rgb: 15, 157, 139;
}


/* =========================================================
   IMAGEM
========================================================= */

.semed-network-card-media {
    position: relative;

    flex: 0 0 auto;

    height: 285px;
    margin: 0;

    overflow: hidden;

    background: #dce8f2;
}

.semed-network-card-media::before {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5, 20, 39, 0.12) 0%,
            transparent 38%,
            rgba(5, 20, 39, 0.82) 100%
        );

    pointer-events: none;
}

.semed-network-card-media::after {
    content: "";

    position: absolute;
    z-index: 2;
    inset: 0;

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

    pointer-events: none;
}

.semed-network-card-media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        filter 500ms ease,
        transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.semed-network-card:hover
.semed-network-card-media img {
    filter:
        saturate(1.08)
        contrast(1.03);

    transform:
        scale(1.065);
}


/* =========================================================
   ÍNDICE
========================================================= */

.semed-network-card-index {
    position: absolute;
    z-index: 3;
    top: 1.1rem;
    right: 1.1rem;

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

    width: 42px;
    height: 42px;

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

    border-radius: 13px;

    color: #ffffff;

    background:
        rgba(5, 27, 51, 0.48);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(13px);

    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.06em;
}


/* =========================================================
   CATEGORIA
========================================================= */

.semed-network-card-category {
    position: absolute;
    z-index: 3;
    bottom: 1.15rem;
    left: 1.15rem;

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

    min-height: 33px;
    padding:
        0.4rem
        0.72rem;

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

    border-radius: 999px;

    color: #ffffff;

    background:
        rgba(var(--network-card-rgb), 0.86);

    box-shadow:
        0 12px 27px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(12px);

    font-size: 0.56rem;
    font-weight: 820;
    letter-spacing: 0.065em;
    line-height: 1;
    text-transform: uppercase;
}

.semed-network-card-category i {
    font-size: 0.62rem;
}


/* =========================================================
   ÍCONE SOBRE A IMAGEM
========================================================= */

.semed-network-card-media-icon {
    position: absolute;
    z-index: 3;
    right: 1.15rem;
    bottom: -24px;

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

    width: 58px;
    height: 58px;

    border:
        5px solid #ffffff;

    border-radius: 18px;

    color: #ffffff;

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

    box-shadow:
        0 16px 34px rgba(var(--network-card-rgb), 0.28);

    font-size: 1rem;

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

.semed-network-card:hover
.semed-network-card-media-icon {
    box-shadow:
        0 22px 42px rgba(var(--network-card-rgb), 0.36);

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


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

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

    display: flex;
    flex: 1;
    flex-direction: column;

    min-width: 0;
    padding:
        2rem
        1.4rem
        1.4rem;
}

.semed-network-card-eyebrow {
    display: block;

    max-width: calc(100% - 55px);

    color: var(--network-card-dark);

    font-size: 0.54rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.semed-network-card-content h3 {
    margin:
        0.55rem
        0
        0;

    color: var(--network-title);

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

    font-size:
        clamp(1.25rem, 2vw, 1.62rem);

    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.035em;

    text-wrap: balance;

    transition:
        color 240ms ease;
}

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


/* =========================================================
   LOCALIZAÇÃO
========================================================= */

.semed-network-card-location {
    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr);

    align-items: center;
    gap: 0.7rem;

    margin-top: auto;
    padding-top: 1.15rem;

    border-top:
        1px solid rgba(20, 54, 91, 0.09);
}

.semed-network-card-location > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border:
        1px solid rgba(var(--network-card-rgb), 0.13);

    border-radius: 11px;

    color: var(--network-card-dark);

    background:
        rgba(var(--network-card-rgb), 0.07);

    font-size: 0.68rem;
}

.semed-network-card-location small,
.semed-network-card-location strong {
    display: block;
}

.semed-network-card-location small {
    margin-bottom: 0.1rem;

    color: var(--network-muted);

    font-size: 0.47rem;
    font-weight: 790;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.semed-network-card-location strong {
    color: #304965;

    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.4;
}


/* =========================================================
   CHAMADA FINAL
========================================================= */

.semed-network-callout {
    position: relative;
    isolation: isolate;

    display: grid;
    grid-template-columns:
        auto minmax(0, 1fr) auto;

    align-items: center;
    gap: clamp(1.4rem, 3vw, 2.5rem);

    margin-top:
        clamp(2rem, 4vw, 3rem);

    padding:
        clamp(1.4rem, 3vw, 2.2rem);

    overflow: hidden;

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

    border-radius: 28px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(36, 119, 208, 0.34),
            transparent 33%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(15, 157, 139, 0.3),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06182e,
            #0b2d50 56%,
            #0c5963
        );

    box-shadow:
        0 30px 72px rgba(7, 29, 54, 0.22);

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

.semed-network-callout::before {
    content: "";

    position: absolute;
    z-index: -1;
    inset: 0;

    opacity: 0.27;

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

    background-size: 33px 33px;

    pointer-events: none;
}

.semed-network-callout::after {
    content: "";

    position: absolute;
    z-index: -1;
    right: -90px;
    bottom: -120px;

    width: 300px;
    height: 300px;

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

    border-radius: 50%;

    box-shadow:
        0 0 0 40px rgba(255, 255, 255, 0.018),
        0 0 0 80px rgba(255, 255, 255, 0.01);

    pointer-events: none;
}

.semed-network-callout:hover {
    box-shadow:
        0 38px 86px rgba(7, 29, 54, 0.29);

    transform:
        translateY(-4px);
}


/* =========================================================
   VISUAL DA CHAMADA
========================================================= */

.semed-network-callout-visual {
    position: relative;

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

    width: 92px;
    height: 92px;

    flex: 0 0 auto;
}

.semed-network-callout-orbit {
    position: absolute;
    inset: 0;

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

    border-radius: 50%;

    box-shadow:
        inset 0 0 0 10px rgba(255, 255, 255, 0.025);
}

.semed-network-callout-icon {
    position: relative;
    z-index: 2;

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

    width: 62px;
    height: 62px;

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

    border-radius: 20px;

    color: #ffffff;

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

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    font-size: 1.25rem;
}


/* =========================================================
   TEXTO DA CHAMADA
========================================================= */

.semed-network-callout-content {
    min-width: 0;
}

.semed-network-callout-content > span {
    display: block;

    margin-bottom: 0.35rem;

    color: #9ee9dc;

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

.semed-network-callout-content h3 {
    margin: 0;

    color: #ffffff;

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

    font-size:
        clamp(1.35rem, 2.5vw, 2rem);

    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.semed-network-callout-content p {
    max-width: 720px;
    margin:
        0.6rem
        0
        0;

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

    font-size: 0.75rem;
    line-height: 1.7;
}


/* =========================================================
   BOTÃO DA CHAMADA
========================================================= */

.semed-network-callout-link {
    position: relative;

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

    min-width: 190px;
    min-height: 56px;
    padding:
        0.6rem
        0.65rem
        0.6rem
        1.1rem;

    overflow: hidden;

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

    border-radius: 15px;

    color: #ffffff;

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

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

    backdrop-filter: blur(12px);

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

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

.semed-network-callout-link::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

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

    transition:
        opacity 220ms ease;
}

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

.semed-network-callout-link > span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

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

    border-radius: 11px;

    color: var(--network-navy);

    background: #ffffff;

    font-size: 0.6rem;

    transition:
        transform 220ms ease;
}

.semed-network-callout-link:hover {
    color: #ffffff;

    border-color: transparent;

    box-shadow:
        0 17px 35px rgba(0, 0, 0, 0.22);

    transform:
        translateY(-2px);
}

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

.semed-network-callout-link:hover
> span:last-child {
    transform:
        translateX(3px);
}


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

@media (max-width: 1199.98px) {
    .semed-network-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .semed-network-section
    .semed-network-card {
        min-height: 455px;
    }
}


@media (max-width: 991.98px) {
    .semed-network-callout {
        grid-template-columns:
            auto minmax(0, 1fr);
    }

    .semed-network-callout-link {
        grid-column: 1 / -1;

        width: 100%;
    }
}


@media (max-width: 767.98px) {
    .semed-network-section {
        padding:
            4.5rem
            0;
    }

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

    .semed-network-section
    .semed-network-card {
        min-height: 0;
    }

    .semed-network-card-media {
        height: 310px;
    }
}


@media (max-width: 575.98px) {
    .semed-network-card-media {
        height: 250px;
    }

    .semed-network-card-content {
        padding:
            1.8rem
            1.15rem
            1.2rem;
    }

    .semed-network-section
    .semed-network-card {
        border-radius: 23px;
    }

    .semed-network-callout {
        grid-template-columns: 1fr;

        padding: 1.3rem;

        border-radius: 23px;
    }

    .semed-network-callout-visual {
        justify-self: start;

        width: 76px;
        height: 76px;
    }

    .semed-network-callout-icon {
        width: 54px;
        height: 54px;

        border-radius: 17px;
    }

    .semed-network-callout-content h3 {
        font-size: 1.5rem;
    }

    .semed-network-callout-link {
        min-width: 0;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

.semed-network-callout-link:focus-visible {
    outline:
        4px solid rgba(158, 233, 220, 0.32);

    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .semed-network-card,
    .semed-network-card-media img,
    .semed-network-card-media-icon,
    .semed-network-card-content h3,
    .semed-network-callout,
    .semed-network-callout-link,
    .semed-network-callout-link::before,
    .semed-network-callout-link > span:last-child {
        transition: none !important;
    }
}


/* TV */
.semed-tv-section {
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background: var(--semed-soft);
}

.semed-tv-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.semed-video-card {
    overflow: hidden;
    border: 1px solid var(--semed-border);
    background: #fff;
    box-shadow: var(--semed-shadow-sm);
}

.semed-video-card iframe {
    border: 0;
}

.semed-video-card > div:last-child {
    padding: 1rem;
}

.semed-video-card span {
    color: var(--semed-blue-700);
    font-size: 0.52rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.semed-video-card h3 {
    margin: 0.4rem 0 0;
    color: var(--semed-title);
    font-size: 0.88rem;
    font-weight: 750;
}

.semed-video-card p {
    margin: 0.45rem 0 0;
    color: var(--semed-muted);
    font-size: 0.63rem;
    line-height: 1.55;
}

.semed-tv-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.semed-tv-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: #d32f2f;
    font-size: 0.7rem;
    font-weight: 800;
}

.semed-tv-cta a:hover {
    color: #fff;
    background: #a91515;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .semed-hero-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
        gap: 3rem;
    }

    .semed-hero-carousel .carousel-item {
        height: 500px;
    }

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

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

@media (max-width: 991.98px) {
    .semed-hero {
        min-height: 0;
    }

    .semed-hero-grid,
    .semed-news-layout,
    .semed-numbers-layout,
    .semed-planetarium-grid {
        grid-template-columns: 1fr;
    }

    .semed-hero-grid {
        min-height: 0;
        padding-bottom: 5rem;
    }

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

    .semed-hero-carousel .carousel-item {
        height: 480px;
    }

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

    .semed-quick-access-heading {
        grid-template-columns: 1fr;
    }

    .semed-news-featured {
        grid-template-rows: 330px auto;
    }

    .semed-network-card {
        grid-template-rows: 230px auto;
    }

    .semed-network-card img {
        height: 230px;
    }
}

@media (max-width: 767.98px) {
    .semed-hero h1 {
        font-size: clamp(2.7rem, 11vw, 4.4rem);
    }

    .semed-hero-highlights,
    .semed-quick-access-grid,
    .semed-services-grid,
    .semed-network-grid,
    .semed-tv-grid {
        grid-template-columns: 1fr;
    }

    .semed-hero-carousel {
        border-radius: 6px 6px 80px 6px;
    }

    .semed-hero-carousel .carousel-item {
        height: 400px;
    }

    .semed-hero-official-card {
        right: 0.6rem;
        bottom: -1.1rem;
        width: calc(100% - 1.2rem);
    }

    .semed-news-item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .semed-news-item img {
        height: 108px;
    }

    .semed-planetarium-media {
        min-height: 420px;
        border-radius: 6px 6px 80px 6px;
    }

    .semed-planetarium-media img {
        min-height: 420px;
    }

    .semed-network-callout {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .semed-network-callout a {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 42px;
        background: rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 575.98px) {
    .semed-hero-grid {
        padding-top: 3rem;
    }

    .semed-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .semed-hero-actions .semed-button {
        width: 100%;
    }

    .semed-hero-carousel .carousel-item {
        height: 320px;
    }

    .semed-hero-carousel figcaption {
        right: 1.1rem;
        bottom: 1.2rem;
        left: 1.1rem;
    }

    .semed-hero-carousel figcaption strong {
        font-size: 1.05rem;
    }

    .semed-news-featured {
        grid-template-rows: 260px auto;
    }

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

    .semed-news-item img {
        height: 210px;
    }

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

    .semed-numbers-grid article {
        min-height: 150px;
    }

    .semed-planetarium-media {
        min-height: 330px;
    }

    .semed-planetarium-media img {
        min-height: 330px;
    }
}

/* =========================================================
   TV SEMED: expansão controlada
========================================================= */
.semed-tv-grid--more {
    margin-top: 1.15rem;
}

.semed-tv-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.semed-tv-toggle,
.semed-tv-channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.semed-tv-toggle {
    border: 1px solid var(--semed-navy-900);
    color: var(--semed-navy-900);
    background: #fff;
}

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

.semed-tv-channel {
    border: 1px solid #d32f2f;
    color: #fff;
    background: #d32f2f;
}

.semed-tv-channel:hover {
    color: #fff;
    border-color: #a91515;
    background: #a91515;
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .semed-tv-toggle,
    .semed-tv-channel {
        width: 100%;
    }
}

/* =========================================================
   MICROINTERAÇÕES DE ENTRADA
========================================================= */
[data-semed-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-semed-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-semed-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
