/* TechCiência | homepage editorial experience v3.2.0
   Isolated to the home page, no third-party motion dependencies. */
.page-home { --spotlight-teal: #79e7e1; --spotlight-navy: #051527; }
.page-home .spotlight-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(850px, max(690px, calc(100svh - var(--header-height))));
    min-height: 690px;
    color: #fff;
    background: #041829;
    overflow: clip;
    outline-offset: -4px;
}
.page-home .spotlight-hero::before {
    position: absolute; content: ''; z-index: 4; pointer-events: none;
    inset: 0 0 auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,231,230,.6), transparent);
}
.page-home .spotlight-hero__slides,
.page-home .spotlight-slide,
.page-home .spotlight-slide__media,
.page-home .spotlight-slide__veil { position: absolute; inset: 0; }
.page-home .spotlight-hero__slides { z-index: 0; }
.page-home .spotlight-slide {
    overflow: hidden; opacity: 0; visibility: hidden; z-index: 0;
    pointer-events: none;
    transition: opacity 1.05s cubic-bezier(.25,.8,.25,1), visibility 1.05s;
}
.page-home .spotlight-slide.is-active { z-index: 1; opacity: 1; visibility: visible; pointer-events: auto; }
.page-home .spotlight-slide__media { z-index: 0; overflow: hidden; }
.page-home .spotlight-slide__media::after {
    position: absolute; content: ''; inset: 0;
    background: linear-gradient(90deg, rgba(3,17,31,.16),transparent 80%);
}
.page-home .spotlight-slide__media img {
    display: block; height: 100%; width: 100%;
    object-fit: cover; object-position: 65% 48%;
    transform: scale(1.1) translate3d(0, var(--spotlight-parallax, 0px), 0);
    filter: saturate(.74) contrast(1.07);
    transition: transform 9s linear, filter 1.4s ease;
    will-change: transform;
}
.page-home .spotlight-slide.is-active .spotlight-slide__media img {
    transform: scale(1.02) translate3d(0, var(--spotlight-parallax, 0px), 0);
    filter: saturate(.86) contrast(1.04);
}
.page-home .spotlight-slide__veil {
    z-index: 1; pointer-events: none;
    background:
      linear-gradient(90deg, rgba(2,17,33,.98) 0%, rgba(2,20,37,.93) 21%, rgba(4,24,44,.76) 42%, rgba(5,30,51,.35) 69%, rgba(4,22,41,.25) 100%),
      linear-gradient(0deg, rgba(2,16,30,.96) 0%, rgba(2,16,30,.13) 35%, rgba(1,12,25,.12) 79%, rgba(1,15,29,.35) 100%);
}
.page-home .spotlight-slide__veil::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 75% 40%, rgba(58,217,226,.11), transparent 45%);
}
.page-home .spotlight-slide__content {
    position: relative; z-index: 5; height: 100%;
    display: flex; align-items: center;
    padding-top: 0; padding-bottom: 130px;
}
.page-home .spotlight-slide__editorial { position: relative; max-width: min(810px, 65%); padding: 20px 0 0; }
.page-home .spotlight-slide__eyebrow {
    display: flex; align-items: center; gap: 15px; margin: 0 0 26px;
    color: #8debe9; font-size: clamp(.66rem,.85vw,.77rem);
    font-weight: 750; letter-spacing: .24em; line-height: 1.65; text-transform: uppercase;
}
.page-home .spotlight-slide__eyebrow-line { width: 32px; height: 1px; flex: 0 0 32px; background: #81e9e7; box-shadow: 0 0 17px rgba(119,225,226,.5); }
.page-home .spotlight-slide__eyebrow-index { padding: 3px 7px; border: 1px solid rgba(163,241,244,.28); color: #fff; letter-spacing: .1em; white-space: nowrap; }
.page-home .spotlight-slide h1,
.page-home .spotlight-slide h2 {
    max-width: 890px; margin: 0;
    color: white; font-family: var(--font-sans); font-weight: 750;
    line-height: 1.035; letter-spacing: -.061em; text-wrap: balance;
    text-shadow: 0 10px 60px rgba(1,9,20,.19);
}
.page-home .spotlight-slide h1 { font-size: clamp(2.15rem, 5.3vw, 4rem); }
.page-home .spotlight-slide h2 { font-size: clamp(2.15rem, 6.5vw, 4rem); max-width: 780px; }
.page-home .spotlight-slide h1 em { color: #80e6e4; font-style: normal; }
.page-home .spotlight-slide__lead {
    max-width: 620px; margin: 25px 0 30px;
    font-size: clamp(.99rem, 1.22vw, 1.2rem); line-height: 1.74;
    color: rgba(238,252,255,.82); text-wrap: pretty;
}
.page-home .spotlight-slide__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.page-home .spotlight-link {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 51px; padding: 13px 21px;
    border: 1px solid transparent; border-radius: 5px;
    font-size: .83rem; font-weight: 750; text-decoration: none; line-height: 1.2;
    transition: background .3s, color .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.page-home .spotlight-link span { font-size: 1.12rem; font-weight: 400; transition: transform .3s; }
.page-home .spotlight-link:hover { transform: translateY(-3px); }
.page-home .spotlight-link:hover span { transform: translate(3px,-3px); }
.page-home .spotlight-link--primary { color: #06243a; background: #8debe8; box-shadow: 0 7px 35px rgba(20,197,200,.17); }
.page-home .spotlight-link--primary:hover { color: #06243a; background: #b1fcf7; box-shadow: 0 12px 45px rgba(20,197,200,.26); }
.page-home .spotlight-link--secondary { border-color: rgba(220,247,251,.3); color: #fff; background: rgba(255,255,255,.045); backdrop-filter: blur(9px); }
.page-home .spotlight-link--secondary:hover { color: #fff; border-color: rgba(181,255,253,.68); background: rgba(255,255,255,.14); }
.page-home .spotlight-slide__side-note {
    display: flex; position: absolute; right: var(--gutter); top: 47%;
    align-items: center; gap: 12px; color: rgba(224,250,255,.78);
    font-size: .67rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
    writing-mode: vertical-rl;
}
.page-home .spotlight-slide__side-note b { color: #89e8e6; font-weight: 650; }
.page-home .spotlight-slide__side-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #80ebea; box-shadow: 0 0 20px #3cc7c4; }
.page-home .spotlight-hero__mesh {
    position: absolute; z-index: 2; pointer-events: none; inset: 0; opacity: .27;
    background-image: linear-gradient(rgba(117,204,221,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(117,204,221,.12) 1px,transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.25),transparent 60%);
}
.page-home .spotlight-hero__accent {
    position: absolute; z-index: 3; pointer-events: none;
    border: 1px solid rgba(155,244,246,.16); border-radius: 50%;
    box-shadow: inset 0 0 0 24px rgba(96,212,218,.025),0 0 90px rgba(82,200,222,.06);
    animation: spotlight-orbit 18s ease-in-out infinite alternate;
}
.page-home .spotlight-hero__accent--one { width: 550px; aspect-ratio:1; right: -135px; top: -200px; }
.page-home .spotlight-hero__accent--two { width: 230px; aspect-ratio:1; right: 27%; bottom: 23%; opacity: .42; animation-delay: -8s; }
@keyframes spotlight-orbit { from { transform: translate3d(0,0,0) rotate(0); } to { transform: translate3d(-20px,18px,0) rotate(24deg); } }
.page-home .spotlight-hero__bottom {
    position: absolute; z-index: 8; inset: auto 0 0;
    min-height: 117px;
    background: linear-gradient(90deg,rgba(2,18,31,.95),rgba(4,28,44,.86));
    border-top: 1px solid rgba(168,238,242,.17);
    box-shadow: 0 -20px 80px rgba(0,0,0,.08);
    backdrop-filter: blur(22px);
}
.page-home .spotlight-hero__bottom-inner {
    display: grid; grid-template-columns: 112px minmax(0,1fr) 104px;
    align-items: stretch; gap: 22px; min-height: 117px;
}
.page-home .spotlight-hero__meta {
    display: flex; flex-direction: column; justify-content: center;
    align-self: stretch; padding: 18px 0; gap: 8px;
}
.page-home .spotlight-hero__meta-label { color: #8be2e4; letter-spacing: .14em; font-weight: 800; font-size: .58rem; white-space: nowrap; }
.page-home .spotlight-hero__meta-row { display: flex; gap: 8px; align-items: baseline; color: rgba(242,252,255,.45); font-size: .76rem; font-weight: 700; letter-spacing: .07em; }
.page-home .spotlight-hero__meta-row strong { font-size: 1.5rem; color: #fff; font-weight: 750; letter-spacing: -.06em; }
.page-home .spotlight-hero__timer { display: block; height: 2px; width: 80px; overflow: hidden; background: rgba(255,255,255,.17); }
.page-home .spotlight-hero__timer span { display: block; height: 100%; width: 0%; background: #8bece7; box-shadow: 0 0 9px rgba(90,236,232,.75); }
/* Chapter container is a fixed viewport; the arrow hints at items offscreen. */
.page-home .spotlight-hero__chapters-wrap { min-width: 0; position: relative; display: flex; align-items: stretch; }
.page-home .spotlight-hero__chapters-cue { display: none; }
.page-home .spotlight-hero__chapters {
    width: 100%;
    display: flex; align-items: stretch; min-width: 0;
    overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
    scrollbar-color: transparent transparent;
}
.page-home .spotlight-hero__chapters::-webkit-scrollbar { display: none; }
.page-home .spotlight-chapter {
    position: relative; display: flex; flex: 1 0 0; min-width: 96px;
    flex-direction: column; justify-content: center; gap: 8px;
    padding: 13px 9px 15px; text-align: left;
    border: 0; border-left: 1px solid rgba(159,229,238,.14);
    background: transparent; color: rgba(220,243,249,.62); cursor: pointer;
    transition: background .3s, color .3s;
}
.page-home .spotlight-chapter::before {
    position: absolute; content: ''; top: 0; left: 0; height: 2px; width: 100%;
    background: #8ceae9; transform-origin: left; transform: scaleX(0);
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.page-home .spotlight-chapter:hover,.page-home .spotlight-chapter.is-active { color: #fff; background: rgba(111,229,238,.065); }
.page-home .spotlight-chapter.is-active::before { transform: scaleX(1); }
.page-home .spotlight-chapter__index { font-size: .63rem; font-weight: 800; letter-spacing: .18em; color: #80dfdd; }
.page-home .spotlight-chapter__title { font-size: clamp(.63rem,.72vw,.74rem); line-height: 1.35; font-weight: 680; }
.page-home .spotlight-hero__arrows { display: flex; gap: 8px; align-items: center; justify-content: end; }
.page-home .spotlight-hero__arrows button {
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 1px solid rgba(219,250,252,.34); color: #fff;
    border-radius: 50%; background: rgba(255,255,255,.05);
    font-size: 1.2rem; cursor: pointer;
    transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.page-home .spotlight-hero__arrows button:hover { color: #03202f; background: #8ceae9; border-color: #8ceae9; transform: translateY(-2px); }
.page-home .spotlight-hero :is(a,button):focus-visible { outline: 3px solid #acf8f3; outline-offset: 4px; }
/* Cascade the slide copy, not the whole slide — avoids layout shifts on transition. */
.page-home .spotlight-slide__editorial > * { opacity: 0; transform: translate3d(0,26px,0); transition: opacity .8s ease,transform 1.05s cubic-bezier(.16,1,.3,1); }
.page-home .spotlight-slide.is-active .spotlight-slide__editorial > * { opacity: 1; transform: translate3d(0,0,0); }
.page-home .spotlight-slide.is-active .spotlight-slide__editorial > :nth-child(1) { transition-delay: .16s; }
.page-home .spotlight-slide.is-active .spotlight-slide__editorial > :nth-child(2) { transition-delay: .27s; }
.page-home .spotlight-slide.is-active .spotlight-slide__editorial > :nth-child(3) { transition-delay: .4s; }
.page-home .spotlight-slide.is-active .spotlight-slide__editorial > :nth-child(4) { transition-delay: .53s; }
/* Fine-tuning the sections below the hero without rewriting shared styles. */
.page-home .intro-panel { background: #f7fbfe; }
.page-home .intro-panel__media { transition: transform .5s ease; transform: translate3d(0,var(--home-depth-y,0px),0); }
.page-home .intro-panel__copy .eyebrow,
.page-home .services-overview__intro .eyebrow,
.page-home .impact-band__heading .eyebrow,
.page-home .faq-preview__intro .eyebrow { letter-spacing: .17em; }
.page-home .services-overview { background: linear-gradient(160deg,#fff 40%,#eff9fc 100%); }
.page-home .service-mini-card { transition: transform .5s cubic-bezier(.16,1,.3,1),box-shadow .5s ease,border-color .35s ease,background .35s ease; }
.page-home .service-mini-card:hover { transform: translateY(-9px); box-shadow: 0 25px 65px rgba(4,62,101,.1); }
.page-home .service-mini-card__icon img { transition: transform .65s cubic-bezier(.16,1,.3,1); }
.page-home .service-mini-card:hover .service-mini-card__icon img { transform: rotate(-5deg) scale(1.1); }
.page-home .impact-band__shell { position: relative; overflow: hidden; }
.page-home .impact-band__shell::before { content: ''; position: absolute; width: 490px; height: 490px; border: 1px solid rgba(151,232,242,.14); border-radius: 50%; right: -130px; top: -240px; pointer-events: none; }
.page-home .faq-preview__list details { transition: border-color .3s, box-shadow .3s, background .3s, transform .35s; }
.page-home .faq-preview__list details:hover { transform: translateY(-2px); }
@media (min-width: 1550px) {
    .page-home .spotlight-hero { max-height: 900px; }
    .page-home .spotlight-chapter { padding-inline: 14px; }
}
@media (max-width: 1180px) {
    .page-home .spotlight-slide__editorial { max-width: min(740px,82%); }
    .page-home .spotlight-slide h1 { font-size: clamp(2.15rem, 6vw, 4rem); }
    .page-home .spotlight-hero__bottom-inner { grid-template-columns: 100px minmax(0,1fr) 95px; gap: 15px; }
    .page-home .spotlight-chapter { min-width: 112px; flex: 0 0 112px; }
}
@media (max-width: 760px) {
    .page-home .spotlight-hero { height: min(830px,max(690px,calc(100svh - var(--header-height)))); min-height: 690px; }
    .page-home .spotlight-slide__media img { object-position: 65% 30%; }
    .page-home .spotlight-slide__veil { background: linear-gradient(90deg,rgba(3,19,33,.91),rgba(3,24,40,.65) 80%,rgba(3,24,40,.5)),linear-gradient(0deg,rgba(3,19,32,.96) 0%,rgba(3,21,38,.45) 52%,rgba(3,19,33,.5) 100%); }
    .page-home .spotlight-slide__content { padding-top: 0; padding-bottom: 148px; align-items: center; }
    .page-home .spotlight-slide__editorial { max-width: 100%; padding-top: 8px; }
    .page-home .spotlight-slide__eyebrow { font-size: .63rem; letter-spacing: .13em; gap: 9px; margin-bottom: 21px; }
    .page-home .spotlight-slide__eyebrow-line { width: 21px; flex-basis: 21px; }
    .page-home .spotlight-slide h1 { max-width: 650px; font-size: clamp(2.15rem, 8.8vw, 4rem); letter-spacing: -.055em; }
    .page-home .spotlight-slide h2 { font-size: clamp(2.15rem, 10vw, 4rem); letter-spacing: -.057em; }
    .page-home .spotlight-slide__lead { margin: 21px 0 26px; max-width: 510px; font-size: .95rem; line-height: 1.62; }
    .page-home .spotlight-slide__side-note { display: none; }
    .page-home .spotlight-hero__bottom { min-height: 126px; }
    .page-home .spotlight-hero__bottom-inner { min-height: 126px; grid-template-columns: 63px minmax(0,1fr) 88px; gap: 10px; }
    .page-home .spotlight-hero__meta-label { font-size: .5rem; letter-spacing: .08em; }
    .page-home .spotlight-hero__meta-row strong { font-size: 1.2rem; }
    .page-home .spotlight-hero__timer { width: 50px; }
    .page-home .spotlight-chapter { flex: 0 0 127px; min-width: 127px; padding: 15px 10px; }
    .page-home .spotlight-hero__chapters {
        scroll-snap-type: x proximity;
        -webkit-mask-image: linear-gradient(to right,#000 0%,#000 80%,transparent 100%);
        mask-image: linear-gradient(to right,#000 0%,#000 80%,transparent 100%);
    }
    .page-home .spotlight-chapter { scroll-snap-align: center; }
    .page-home .spotlight-hero__chapters-cue {
        display: grid; place-items: center; position: absolute; right: 0; top: 50%;
        width: 22px; height: 29px; transform: translateY(-50%);
        color: #a1f7f1; font-size: 1.3rem; font-weight: 700; pointer-events: none;
        text-shadow: 0 0 13px rgba(54,224,225,.45);
    }
    .page-home .spotlight-chapter__title { font-size: .67rem; }
    .page-home .spotlight-hero__arrows { position: absolute; left: var(--gutter); right: auto; bottom: calc(100% + 16px); z-index: 9; gap: 7px; }
    .page-home .spotlight-hero__arrows button { width: 39px; height: 39px; }
    .page-home .spotlight-hero__accent--one { width: 340px; right: -120px; top: -100px; }
    .page-home .spotlight-hero__accent--two { display: none; }
}
@media (max-width: 440px) {
    .page-home .spotlight-hero { height: min(785px,max(675px,calc(100svh - var(--header-height)))); min-height: 675px; }
    .page-home .spotlight-slide__content { padding-bottom: 119px; }
    .page-home .spotlight-slide h1 { font-size: clamp(2.13rem,9.2vw,2.8rem); }
    .page-home .spotlight-slide h2 { font-size: clamp(2.6rem,10.6vw,3.5rem); }
    .page-home .spotlight-slide__eyebrow { font-size: .56rem; }
    .page-home .spotlight-slide__lead { font-size: .87rem; line-height: 1.56; margin: 18px 0 20px; }
    .page-home .spotlight-link { min-height: 44px; padding: 10px 13px; font-size: .74rem; gap: 10px; }
    .page-home .spotlight-slide__actions { gap: 8px; }
    .page-home .spotlight-hero__bottom { min-height: 105px; }
    .page-home .spotlight-hero__bottom-inner { min-height: 105px; grid-template-columns: 56px minmax(0,1fr) 76px; gap: 5px; }
    .page-home .spotlight-chapter { flex-basis: 106px; min-width: 106px; padding: 10px 8px; }
    .page-home .spotlight-chapter__title { font-size: .62rem; }
    .page-home .spotlight-hero__arrows button { width: 35px; height: 35px; }
    .page-home .spotlight-hero__arrows { gap: 4px; }
    .page-home .spotlight-hero__meta-label { font-size: .44rem; }
    .page-home .spotlight-hero__meta-row { gap: 3px; white-space: nowrap; }
    .page-home .spotlight-hero__meta-row strong { font-size: 1.12rem; }
    .page-home .spotlight-hero__meta-row span { font-size: .66rem; }
    .page-home .spotlight-hero__timer { width: 40px; }
}
@media (max-height: 690px) and (min-width: 761px) {
    .page-home .spotlight-hero { height: 650px; min-height: 650px; }
    .page-home .spotlight-slide h1 { font-size: clamp(2.15rem, 4.7vw, 4rem); }
    .page-home .spotlight-slide h2 { font-size: clamp(2.15rem, 5vw, 4rem); }
    .page-home .spotlight-slide__lead { margin: 16px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home .spotlight-slide,
    .page-home .spotlight-slide__media img,
    .page-home .spotlight-slide__editorial > *,
    .page-home .service-mini-card,
    .page-home .service-mini-card__icon img,
    .page-home .spotlight-link { transition: none !important; animation: none !important; }
    .page-home .spotlight-slide__editorial > * { opacity: 1; transform: none; }
    .page-home .spotlight-slide__media img,.page-home .spotlight-slide.is-active .spotlight-slide__media img { transform: none; }
    .page-home .spotlight-hero__accent { animation: none; }
    .page-home .intro-panel__media { transform: none; }
}
