/*********** SEGUNDO BLOCO *************/
section.segundo-bloco {
    display: flex;
    min-height: 70vh;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    section.segundo-bloco {
        min-height: 40vh;
    }
}

/********** LIDERES DO PROJETO ***********/

section.lideranca {
    background: linear-gradient(160deg, #211137, var(--bg));
    padding: 72px 6vw 84px;
    position: relative;
    overflow: hidden;
}

.lideranca-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.head-row {
    margin-bottom: 48px;
}

.lead-grid {
    display: flex;
    gap: 36px 28px;
}

.lead-card {
    text-decoration: none;
    color: #fff;
    display: block;
    transform: rotate(var(--tilt));
    transition: transform .22s ease;
    max-width: 300px;
    cursor: default;
}

.lead-card:nth-child(1) {
    --tilt: -3deg;
}

.lead-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 18px;
}

.photo-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    border: 5px solid var(--card-accent);
}

.lead-card:nth-child(1) .photo-frame img {
    --card-accent: var(--secondary-color);
}

.contact-pill {
    position: absolute;
    z-index: 2;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--secondary-color);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.lead-card:hover .contact-pill {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lead-name {
    font-weight: 800;
    font-size: 20px;
    margin: 0 0 3px;
    color: var(--secondary-color);
}

.lead-role {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    font-style: italic;
}

@media (max-width: 700px) {

    .lead-grid {
        justify-content: center;
        flex-direction: column;
    }

    .lead-card .contact-pill {
        opacity: 1;
    }
}

@media (max-width: 520px) {
    .lead-card {
        transform: none !important;
    }
}

/*************** RECURSOS ****************/

.recursos-educativos {
    overflow: hidden;
    --line: rgba(255, 255, 255, .07);
}

.recursos-educativos__cabecalho {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.recursos-educativos__intro {
    flex: 1;
    min-width: 220px;
}

.recursos-educativos__controlos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.recursos-educativos__nav {
    display: flex;
    gap: 8px;
}

.recursos-educativos__btn-nav {
    padding: 8px !important;
}

.recursos-educativos__btn-nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 4;
    fill: none;
}

.recursos-educativos__ver-todos {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: gap .2s;
    white-space: nowrap;
    color: var(--primary-color);
}

.recursos-educativos__ver-todos:hover {
    gap: 12px;
}

.recursos-educativos__ver-todos svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.recursos-educativos__carrossel {
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    cursor: grab;
}

.recursos-educativos__carrossel::-webkit-scrollbar {
    display: none;
}

.recursos-educativos__carrossel.a-arrastar {
    cursor: grabbing;
    user-select: none;
}

.recursos-educativos__lista {
    display: flex;
    gap: 24px;
    width: max-content;
}

.recursos-educativos__progresso {
    margin-top: 32px;
    height: 1px;
    background: var(--line);
    position: relative;
}

.recursos-educativos__progresso-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width .2s;
}

.recurso {
    width: 350px;
    flex-shrink: 0;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.recursos-educativos .knowMore {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--text-color);
}

.recurso:hover .knowMore::before {
    width: 100%;
}

.recurso__imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.38) saturate(.45);
    transition: filter .45s, transform .55s;
}

.recurso:hover .recurso__imagem {
    filter: brightness(.55) saturate(.7);
    transform: scale(1.05);
}

.recurso::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 4, 27, .95) 0%,
            rgba(0, 4, 27, .4) 45%,
            transparent 75%);
    pointer-events: none;
}

.recurso__conteudo {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 24px;
    padding-top: 100px;
    justify-content: space-between;
}

.recurso__tipologia {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.recurso__titulo {
    font-family: "Londrina Solid", sans-serif;
    font-size: 24px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.0;
    color: var(--text-color);
    transition: color .2s;
}

.recurso:hover .recurso__titulo {
    color: var(--primary-color);
}

.recurso__rodape {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recurso__rodape svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    stroke-width: 2;
    fill: none;
    transition: transform .2s;
}

.recurso:hover .recurso__rodape svg {
    transform: translateX(10px);
}

@media (max-width: 640px) {
    .recursos-educativos__cabecalho {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .recursos-educativos__controlos {
        width: 100%;
        justify-content: space-between;
    }
}

h2.intro-title {
    color: var(--bg);
}

.segundo-bloco p.intro,
section.segundo-bloco p,
section.bloco-eclipse27 p {
    color: #000;
}

a.btn-eclipse,
button.btn-eclipse:not(.nav-arrow) {
    margin: 1rem 0 !important;
}

/*********** SEGUNDO BLOCO *************/
section.segundo-bloco {
    background-color: #F7F2E9;
}

.img-eclipses {
    width: 100%;
    height: auto;
}

/*********** CARTÕES DOS TRÊS ECLIPSES *************/
section.bloco-3eclipses h2.intro-title,
section.bloco-explicacao h2.intro-title,
section.recursos-educativos h2.intro-title {
    color: var(--text-color);
}

.eclipse-years {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 2.5vw, 36px);
    padding: 60px 0;
}

.eclipse-years__scroll-indicator,
.eclipse-years__scroll-hint {
    display: none;
}

.eclipse-year {
    --card-rotation: -2deg;
    flex: 1 1 0;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    aspect-ratio: 1;
    min-width: 0;
    padding: clamp(24px, 2.5vw, 40px);
    background-color: #151329;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgb(217 201 236 / 16%), 0 6px 24px rgb(102 45 145 / 35%);
    transform: rotate(var(--card-rotation));
    transition: transform 350ms ease, box-shadow 350ms ease;
}

.eclipse-year--2026,
.eclipse-year--2027,
.eclipse-year--2028 {
    background-image: linear-gradient(rgb(0 0 0 / 65%), transparent 55%, rgb(0 0 0 / 65%)),
        var(--card-image);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto, cover;
}

.eclipse-year--2026 {
    --card-image: url("/assets/img/FazParte3.png");
}

.eclipse-year--2027 {
    --card-rotation: 1deg;
    --card-image: url("/assets/img/FazParte1.png");
}

.eclipse-year--2028 {
    --card-rotation: -1deg;
    --card-image: url("/assets/img/FazParte2.png");
}

.eclipse-year__year {
    font-family: "Londrina Solid", sans-serif;
    font-size: clamp(64px, 8vw, 124px);
    font-weight: 900;
    line-height: .95;
    letter-spacing: -.035em;
}

.eclipse-year__description {
    margin-top: 12px;
    padding-bottom: 42px;
    font-family: "Funnel Display", sans-serif;
    font-size: clamp(14px, 1.25vw, 19px);
    line-height: 1.35;
}

.eclipse-year__arrow {
    position: absolute;
    right: 8%;
    bottom: 10%;
    width: 32px;
    height: 32px;
}

.eclipse-year[aria-disabled="true"] {
    opacity: .6;
}

.eclipse-year[href]:hover,
.eclipse-year:focus-visible {
    z-index: 1;
    color: var(--text-color);
    text-decoration: none;
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 0 0 1px rgb(217 201 236 / 25%), 0 12px 32px rgb(102 45 145 / 45%);
}

.eclipse-year--2027[href]:hover,
.eclipse-year--2027:focus-visible {
    transform: translateY(-8px) rotate(-2deg);
}

.eclipse-year:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 6px;
}

@media (max-width: 991.98px) {
    .eclipse-years {
        justify-content: flex-start;
        gap: 24px;
        padding: 32px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 16px;
    }

    .eclipse-years__scroll-indicator:not([hidden]) {
        display: block;
        height: 4px;
        margin: 0 16px;
        border-radius: 999px;
        overflow: hidden;
        background: color-mix(in srgb, var(--text-color) 20%, transparent);
    }

    .eclipse-years__scroll-thumb {
        height: 100%;
        border-radius: inherit;
        background: var(--primary-color);
    }

    .eclipse-years__scroll-indicator:not([hidden])+.eclipse-years__scroll-hint {
        display: block;
        margin: 8px 16px 0;
        color: var(--text-color);
        font-size: 14px;
        text-align: right;
    }

    .eclipse-years__scroll-hint span {
        color: var(--primary-color);
    }

    .eclipse-year {
        flex: 0 0 min(82%, 360px);
        width: auto;
        padding: clamp(20px, 5vw, 32px);
        scroll-snap-align: start;
    }

    .eclipse-year__year {
        font-size: clamp(54px, 16vw, 90px);
    }

    .eclipse-year__description {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eclipse-year {
        transition: none;
    }

    .eclipse-year:hover,
    .eclipse-year:focus-visible {
        transform: rotate(var(--card-rotation));
    }
}

/*********** BLOCO DE DESTAQUES *************/
.bloco-destaques {
    background-color: color-mix(in srgb, var(--purple-deep) 22%, var(--bg));
    color: var(--text-color);
}

.bloco-destaques h2.intro-title {
    color: var(--primary-color);
    margin-bottom: 0;
}

.homepage-destaques__carrossel {
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    cursor: grab;
}

.homepage-destaques__carrossel::-webkit-scrollbar {
    display: none;
}

.homepage-destaques__carrossel.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.homepage-destaques__lista {
    display: flex;
    gap: 24px;
    padding: 12px 0 24px;
}

.bloco-destaques .homepage-destaques__card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    padding: 20px;
    background: color-mix(in srgb, var(--text-color) 5%, transparent);
    backdrop-filter: var(--glass-efect);
    border: 1px solid color-mix(in srgb, var(--text-color) 10%, transparent);
    color: inherit;
    scroll-snap-align: start;
    transition: background .3s, box-shadow .3s;
}

.homepage-destaques__card>a {
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.homepage-destaques__card .card-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.homepage-destaques__card:hover {
    background: color-mix(in srgb, var(--text-color) 10%, transparent);
    box-shadow: 0 20px 40px rgb(0 0 0 / 20%);
}

.homepage-destaques__card:hover .glow-wrapper {
    opacity: 1;
}

.homepage-destaques__card .destaques-carousel__item-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 24px;
}

.homepage-destaques__card .destaques-carousel__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.homepage-destaques__card:hover .destaques-carousel__item-img img {
    transform: scale(1.1);
}

.homepage-destaques__titulo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.homepage-destaques__titulo h3 {
    margin: 0;
}

.homepage-destaques__icone {
    width: auto;
    height: 45px;
}

.homepage-destaques__card .card-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.homepage-destaques__card .knowMore {
    margin-top: auto;
}

.bloco-destaques button:disabled {
    opacity: .4;
    cursor: default;
}

@media (max-width: 991px) {
    .bloco-destaques .homepage-destaques__card {
        flex-basis: calc((100% - 24px) / 2);
    }
}

@media (max-width: 575px) {
    .bloco-destaques .homepage-destaques__card {
        flex-basis: 88%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .homepage-destaques__card,
    .homepage-destaques__card img {
        transition: none;
    }
}

/*********** BLOCO DE 2027 *************/
section.bloco-eclipse27 {
    background-color: var(--bg);
}

a.btn-eclipse.black-yellow {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

a.btn-eclipse.black-yellow:hover {
    color: #000;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

section.bloco-eclipse27 a.btn-eclipse {
    color: var(--secondary-color);
    background-color: transparent;
    border-color: var(--secondary-color);
}

section.bloco-eclipse27 a.btn-eclipse:hover {
    color: var(--text-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/*********** Acesso às ações ***********/
.bloco-eclipse27 .eclipse27-acoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 3vw, 40px);
    background: var(--bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color .2s;
}

.eclipse27-acoes__texto {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.eclipse27-acoes__texto span:first-child {
    font-family: "Londrina Solid", sans-serif;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.1;
    color: var(--primary-color);
}

.eclipse27-acoes__link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.eclipse27-acoes__link svg {
    width: 32px;
    height: 32px;
}

.bloco-eclipse27 .eclipse27-acoes:hover {
    background: var(--purple-deep);
}

.eclipse27-acoes:hover .eclipse27-acoes__link,
.eclipse27-acoes:focus-visible .eclipse27-acoes__link {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.eclipse27-acoes:focus-visible {
    outline: 3px solid var(--bg);
    outline-offset: 5px;
}

@media (max-width: 575px) {
    .bloco-eclipse27 .eclipse27-acoes {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bloco-eclipse27 .eclipse27-acoes {
        transition: none;
    }
}

.recursos-educativos h2.intro-title span.primary-color {
    color: var(--primary-color);
}

/*********** OBSERVAÇÃO EM SEGURANÇA *************/
.bloco-seguranca {
    background: var(--bg);
    color: var(--text-color);
}

.seguranca-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4vw, 72px);
}

.bloco-seguranca h2.intro-title {
    --heading-size: clamp(48px, 6vw, 112px);
    --heading-line-height: 1;
    color: var(--text-color);
    margin: 0;
}

.bloco-seguranca h2.intro-title span {
    color: var(--secondary-color);
}

.seguranca-descricao {
    max-width: 620px;
}

.bloco-seguranca p {
    color: var(--text-color);
    line-height: 1.75;
}

.tl.seguranca-parceria {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--text-color) 20%, transparent);
}

.seguranca-parceria h3 {
    font-family: "Londrina Solid", sans-serif;
    font-size: 14px;
    color: var(--text-color);
    letter-spacing: 1px;
}

.seguranca-parceria p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: .65;
}

.seguranca-parceria__logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    object-position: left center;
}

.seguranca-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 2 / 1;
    display: grid;
    place-items: center;
    margin-top: 10%;

}

.seguranca-visual__img {
    width: 100%;
    height: 100%;
    box-shadow: 0 20px 40px rgb(0 0 0 / 20%);
}

@media (max-width: 991px) {
    .seguranca-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .seguranca-visual {
        width: 100%;
        max-width: 600px;
        justify-self: center;
    }

    .bloco-seguranca h2.intro-title {
        --heading-size: clamp(48px, 9vw, 90px);
    }
}

/*********** HERO *************/
.eclipses-hero {
    position: relative;
    isolation: isolate;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    color: var(--text-color);
    background: var(--bg);
}

.eclipses-hero [hidden] {
    display: none !important;
}

.eclipses-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .12;
    background-image: linear-gradient(var(--text-dim) 1px, transparent 1px), linear-gradient(90deg, var(--text-dim) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, transparent 20%, #000);
}

.eclipses-hero>div {
    height: 100%;
    position: relative;
}

.eclipses-hero__layout {
    height: 100%;
    display: flex;
    align-items: center;
    padding-block: 190px 85px;
}

.eclipses-hero__copy {
    width: 63%;
    position: relative;
    z-index: 3;
    pointer-events: none;
}

.eclipses-hero__eyebrow {
    font-size: 10px;
    color: var(--text-color);
    letter-spacing: .16em;
    margin-bottom: 18px;
}

.eclipses-hero h1 {
    color: var(--secondary-color);
    margin: 0;
}

.eclipses-hero h1 span {
    color: var(--text-color);
}

.eclipses-hero__date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px;
    margin: 24px 0 20px;
    transform: rotate(-2deg);
}

.eclipses-hero__countdown {
    display: flex;
    width: fit-content;
    gap: 24px;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.eclipses-hero__countdown div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.eclipses-hero__countdown strong {
    font-family: "Funnel Display", sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    color: var(--secondary-color);
    line-height: 1;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.eclipses-hero__countdown span {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-color);
}

.eclipses-hero__cta {
    gap: 16px;
    text-decoration: none;
    pointer-events: auto;
}

.eclipses-hero__cta:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 5px;
}

.eclipses-hero__media {
    position: absolute;
    width: 64%;
    right: -9%;
    top: 50%;
    transform: translateY(-45%);
}

.eclipses-hero__art {
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.eclipses-hero__art::before {
    content: '';
    position: absolute;
    width: 88%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--purple-deep);
    z-index: -1;
    opacity: var(--eclipse-art-background-opacity, 1);
}

.eclipses-hero__sun {
    width: 50%;
    height: auto;
    position: absolute;
    top: 8%;
}

.eclipses-hero__hands {
    position: absolute;
    width: 108%;
    max-width: none;
    height: auto;
    top: 49%;
    transform: rotate(-9deg);
}

.eclipses-hero__footer {
    position: absolute;
    bottom: 38px;
    right: 0;
    font-size: 8px;
    color: var(--text-color);
    letter-spacing: .1em;
}

.eclipses-hero__footer span:first-child {
    display: none;
}

.eclipses-hero__status {
    color: var(--primary-color);
    margin-block: 16px;
}

.eclipses-hero__live {
    padding: 16px;
    background: var(--bg);
}

.eclipses-hero__live-label {
    font-size: 12px;
    color: var(--primary-color);
}

.eclipses-hero__live-label span {
    color: var(--secondary-color);
}

.eclipses-hero__live>p:last-child {
    font-size: 11px;
    margin-top: 12px;
}

.eclipses-hero__player {
    aspect-ratio: 16 / 9;
}

.eclipses-hero__player iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.eclipses-hero.is-live h1 {
    --heading-size: clamp(70px, 6vw, 90px);
}

@media (max-width: 768px) {
    .eclipses-hero__layout {
        align-items: flex-start;
        padding-top: 155px;
    }

    .eclipses-hero__copy {
        width: 100%;
    }

    .eclipses-hero h1 {
        --heading-size: clamp(50px, min(10vw, 7svh), 72px);
    }

    .eclipses-hero__eyebrow {
        font-size: 8px;
        margin-bottom: 12px;
    }

    .eclipses-hero__date {
        font-size: 14px;
        margin: 16px 0;
    }

    .eclipses-hero__countdown {
        gap: 18px;
        padding: 12px 16px;
        margin-bottom: 15px;
    }

    .eclipses-hero__countdown strong {
        font-size: 24px;
    }

    .eclipses-hero__media {
        top: auto;
        bottom: 40px;
        right: -10%;
        width: min(58vw, 29svh);
        transform: none;
    }

    .eclipses-hero__footer {
        bottom: 30px;
        font-size: 7px;
    }
}

@media (max-height: 650px) {
    .eclipses-hero__layout {
        padding-top: 130px;
        padding-bottom: 65px;
    }

    .eclipses-hero h1 {
        --heading-size: 7svh;
    }

    .eclipses-hero__eyebrow {
        margin-bottom: 8px;
    }

    .eclipses-hero__date {
        margin: 12px 0;
    }

    .eclipses-hero__countdown {
        margin-bottom: 12px;
    }

    .eclipses-hero__footer {
        bottom: 24px;
    }
}

.eclipses-hero__description {
    max-width: 440px;
    margin: 22px 0 0;
    color: var(--text-color);
    font-size: clamp(13px, 1.1vw, 16px);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .eclipses-hero__description {
        max-width: 90%;
        font-size: 12px;
        line-height: 1.5;
        margin-top: 16px;
    }
}

@media (max-height: 650px) {
    .eclipses-hero__description {
        font-size: 11px;
        line-height: 1.4;
        margin-top: 12px;
    }
}

/* animação entrada*/
.eclipses-hero .eclipses-hero__years {
    position: absolute;
    top: 118px;
    bottom: auto;
    left: 0;
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 48px);
    z-index: 5;
    pointer-events: none;
}

.eclipses-hero__year {
    display: inline-block;
    font-family: "Londrina Solid", sans-serif;
    font-size: clamp(25px, 3vw, 44px);
    line-height: 1;
    color: var(--text-color);
    transform-origin: center;
}

.eclipses-hero__year:nth-child(2) {
    color: var(--secondary-color);
}

.eclipses-hero__year:nth-child(3) {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .eclipses-hero .eclipses-hero__years {
        top: 105px;
    }

    .eclipses-hero__year {
        font-size: 25px;
    }
}

@media (max-height: 650px) {
    .eclipses-hero .eclipses-hero__years {
        top: 90px;
    }

    .eclipses-hero__year {
        font-size: 22px;
    }
}

/* Transmissão*/
.eclipses-hero.is-live::before {
    opacity: 1;
    background:
        radial-gradient(ellipse at 90% 20%, color-mix(in srgb, var(--secondary-color) 40%, transparent), transparent 55%),
        radial-gradient(ellipse at 60% 85%, color-mix(in srgb, var(--third-color) 70%, transparent), transparent 65%),
        radial-gradient(ellipse at 5% 70%, color-mix(in srgb, var(--primary-color) 12%, transparent), transparent 45%);
    mask-image: none;
}

.eclipses-hero.is-live .eclipses-hero__live {
    box-sizing: border-box;
    max-width: 100%;
    padding: clamp(12px, 1.5vw, 22px);
    border: 2px solid transparent;
    border-radius: 12px;
    background: linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--third-color)) border-box;
    box-shadow: 0 20px 70px color-mix(in srgb, var(--secondary-color) 20%, transparent);
}

.eclipses-hero.is-live .eclipses-hero__live-label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 7px 12px;
    margin-bottom: 14px;
    border-radius: 30px;
    background: var(--secondary-color);
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: .06em;
}

.eclipses-hero.is-live .eclipses-hero__live-label span {
    color: var(--text-color);
    animation: eclipse-live-pulse 2.4s ease-in-out infinite;
}

.eclipses-hero.is-live .eclipses-hero__player {
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg);
}

.eclipses-hero.is-live .eclipses-hero__live>p:last-child {
    margin-bottom: 0;
    color: var(--text-color);
}

.eclipses-hero.is-live .eclipses-hero__status {
    display: inline-block;
    padding: 8px 12px;
    border-left: 3px solid var(--secondary-color);
    background: color-mix(in srgb, var(--secondary-color) 12%, var(--bg));
    color: var(--text-color);
}

@keyframes eclipse-live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eclipses-hero.is-live .eclipses-hero__live-label span {
        animation: none;
    }
}

.eclipses-hero.is-live .eclipses-hero__date {
    display: none;
}

.eclipses-hero.is-live .eclipses-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(20px, 3vw, 48px);
    align-items: center;
    box-sizing: border-box;
    min-width: 0;
}

.eclipses-hero.is-live .eclipses-hero__copy,
.eclipses-hero.is-live .eclipses-hero__media {
    width: 100%;
    min-width: 0;
}

.eclipses-hero.is-live .eclipses-hero__media {
    z-index: 4;
    position: relative;
    inset: auto;
    transform: none;
}

@media (max-width: 768px) {
    .eclipses-hero.is-live .eclipses-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        gap: 18px;
        padding-block: 150px 55px;
    }

    .eclipses-hero.is-live .eclipses-hero__description {
        max-width: 100%;
        margin-top: 12px;
        line-height: 1.4;
    }

    .eclipses-hero.is-live .eclipses-hero__eyebrow {
        margin-bottom: 8px;
    }

    .eclipses-hero.is-live .eclipses-hero__status {
        margin-block: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .eclipses-hero.is-live .eclipses-hero__cta {
        margin-block: 8px !important;
    }

    .eclipses-hero.is-live .eclipses-hero__media {
        max-width: min(100%, 48svh);
        justify-self: center;
    }

    .eclipses-hero.is-live .eclipses-hero__live-label {
        font-size: 10px;
        margin-bottom: 8px;
    }
}

@media (max-height: 700px) {
    .eclipses-hero.is-live {
        overflow-y: auto;
    }

    .eclipses-hero.is-live .eclipses-hero__layout {
        height: auto;
        min-height: 100%;
    }
}

/* Preparar a entrada antes da primeira apresentação do conteúdo. */
.eclipse-intro-pending .eclipses-hero>div {
    visibility: hidden;
}

/* Mobile: grafismo central integrado na composição, dentro do primeiro ecrã. */
@media (max-width: 768px) {
    .eclipses-hero:not(.is-live) .eclipses-hero__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
        gap: 12px;
        height: 100%;
        padding-block: 150px 25px;
        box-sizing: border-box;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__copy {
        width: 100%;
        text-align: center;
    }

    .eclipses-hero:not(.is-live) h1 {
        --heading-size: clamp(36px, min(20.5vw, 6.5svh), 68px);
        --heading-line-height: .95;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__description {
        max-width: 440px;
        margin: 12px auto 0;
        font-size: clamp(14px, 2.8vw, 16px);
        line-height: 1.45;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__date {
        font-size: 10px;
        margin: 14px 0 10px;
        padding: 6px 10px;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__countdown {
        justify-content: center;
        margin: 0 auto 8px;
        padding: 8px 14px;
        gap: clamp(18px, 6vw, 32px);
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__countdown strong {
        font-size: clamp(24px, 6vw, 32px);
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__cta {
        margin: 8px auto !important;
        font-size: 12px;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__media {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        height: 100%;
        min-height: 0;
        display: grid;
        place-items: center;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__art {
        width: min(82vw, 38svh);
        max-width: 100%;
        max-height: 100%;
        height: auto;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__hands {
        width: 120%;
        transform: rotate(-5deg);
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .eclipses-hero:not(.is-live) .eclipses-hero__layout {
        padding-top: 125px;
        gap: 6px;
    }

    .eclipses-hero:not(.is-live) h1 {
        --heading-size: 5.8svh;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__description {
        margin-top: 8px;
        font-size: 11px;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__date {
        margin-block: 9px 5px;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__countdown {
        padding-block: 4px;
        margin-bottom: 2px;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__art {
        width: min(75vw, 30svh);
    }
}

/* Comissário e entidades parceiras. */
.lideranca h2.intro-title {
    color: var(--text-color);
}

.bloco-parceiros {
    background-color: #F7F2E9;
    padding: 3rem 0 1rem;
}

.bloco-parceiros h2.intro-title {
    color: var(--bg);
}

.bloco-parceiros h2.intro-title span.primary-color {
    color: var(--primary-color);
}

.bloco-parceiros .grid-logosparceiro {
    padding: 20px;
}

.bloco-parceiros .grid-item-logosparceiro {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100px;
    padding: 10px;
}

.bloco-parceiros .grid-item-logosparceiro img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Evitar colisões entre texto e grafismo nos tamanhos intermédios. */
@media (min-width: 768.01px) and (max-width: 999.98px) {
    .eclipses-hero:not(.is-live) .eclipses-hero__layout {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: clamp(24px, 4vw, 64px);
        box-sizing: border-box;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__copy {
        width: 100%;
        min-width: 0;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__media {
        position: relative;
        inset: auto;
        width: 100%;
        min-width: 0;
        transform: none;
        display: grid;
        place-items: center;
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__art {
        width: 88%;
    }

    .eclipses-hero:not(.is-live) h1 {
        --heading-size: clamp(36px, min(5.4vw, 9svh), 90px);
    }

    .eclipses-hero:not(.is-live) .eclipses-hero__description {
        max-width: 100%;
    }
}

/* Fundos da homepage: abertura escura e contraste nos blocos de participação. */
section.segundo-bloco {
    background: #f7f2e9;
}

section.bloco-explicacao {
    background: var(--bg);
}

section.segundo-bloco h2.intro-title,
section.segundo-bloco p,
section.segundo-bloco p.intro {
    color: var(--bg);
}

.bloco-destaques {
    background: var(--purple-deep);
}

section.bloco-eclipse27 {
    background: #f7f2e9;
}

section.bloco-eclipse27 h2.intro-title,
section.bloco-eclipse27 p {
    color: var(--bg);
}

.bloco-seguranca {
    background: #f7f2e9;
    color: var(--bg);
}

.bloco-seguranca h2.intro-title,
.bloco-seguranca p,
.bloco-seguranca .seguranca-parceria h3 {
    color: var(--bg);
}

.bloco-seguranca h2.intro-title span {
    color: var(--secondary-color);
}

.bloco-seguranca .seguranca-parceria {
    border-top-color: color-mix(in srgb, var(--bg) 20%, transparent);
}
