:root {
    --page-bg: #f5f9ff;
    --surface: #ffffff;
    --surface-soft: #eef5ff;
    --surface-muted: #f8fbff;
    --text: #1f2f45;
    --text-soft: #5f7088;
    --heading: #213043;
    --brand-1: #7ed7e5;
    --brand-2: #2b9be7;
    --brand-3: #0a57b8;
    --brand-4: #0d2f6f;
    --line: #d7e4f5;
    --shadow: 0 18px 42px rgba(15, 64, 132, .08);
    --shadow-lg: 0 22px 54px rgba(13, 58, 122, .14);
    --radius-card: 28px;
    --radius-soft: 22px;
    --radius-pill: 999px;
    --container: 1240px;
}

html, body { background: var(--page-bg); }
body { color: var(--text); }
main { overflow: clip; }
.label-code,
.eyebrow {
    margin: 0 0 14px;
    color: var(--brand-3);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow--light { color: rgba(255,255,255,.72); }
h1, h2, h3, h4 { color: var(--heading); letter-spacing: -.04em; }
h1 { font-size: clamp(2.35rem, 5vw, 4rem); line-height: 1.08; margin: 0 0 18px; }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); line-height: 1.12; margin: 0 0 14px; }
h3 { font-size: 1.2rem; line-height: 1.22; margin: 0 0 10px; }
p { color: var(--text-soft); }
.text-center { text-align: center; }
.section-space { padding: clamp(44px, 7vw, 88px) 0; }
.section-space--sm { padding-top: clamp(30px, 5vw, 58px); padding-bottom: clamp(30px, 5vw, 58px); }
.container { width: min(calc(100% - 40px), var(--container)); }

.no-js [data-clip-reveal], .no-js [data-image-shutter],
.js [data-clip-reveal], .js [data-image-shutter] { opacity: 1; transform: none; clip-path: none; }
.js [data-image-shutter]::after { display: none; }
.pointer-readout, .lab-ruler { display: none !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .98rem;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    box-shadow: 0 12px 28px rgba(10, 87, 184, .24);
}
.btn--ghost {
    color: var(--brand-3);
    background: #fff;
    border: 1px solid rgba(10, 87, 184, .18);
    box-shadow: inset 0 0 0 1px rgba(10, 87, 184, .04);
}
.btn--large { min-height: 58px; padding-inline: 30px; }
.text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    color: var(--brand-3);
}
.text-link::after { content: '→'; }
.text-link:hover { color: var(--brand-4); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.84);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(215,228,245,.75);
}
.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
    min-height: 82px;
}
.brand img { width: 190px; height: auto; }
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vw, 26px);
}
.main-nav a {
    color: #3f4e63;
    font-size: .94rem;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--brand-3); }
.main-nav a[aria-current="page"]::after, .main-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-flags { display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(16,40,82,.15) inset; display: inline-block; }
.flag--pt { background: linear-gradient(90deg, #198754 0 40%, #d63b3b 40%); }
.flag--tl { background: linear-gradient(135deg, #f6c32f 0 30%, #d23333 30% 70%, #000 70%); }
.flag--en { background: linear-gradient(90deg, #073ea4 0 50%, #d53d4f 50%); }
.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    font-size: .92rem;
    font-weight: 700;
}
.menu-toggle { display: none; }
.mobile-menu {
    padding: 16px 20px 24px;
    background: #fff;
    border-top: 1px solid var(--line);
}
.mobile-menu nav { display: grid; gap: 12px; margin: 12px 0 16px; }
.mobile-menu a { font-weight: 700; color: var(--heading); }
.mobile-menu__label { color: var(--brand-3); font-weight: 800; }
.mobile-menu__meta { display: grid; gap: 10px; color: var(--text-soft); }

.toast-wrap { position: fixed; top: 96px; right: 20px; z-index: 70; }
.toast {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 420px;
    padding: 14px 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}
.toast--success { border-left: 4px solid #1d8b59; }
.toast--error { border-left: 4px solid #c03e56; }
.toast button { border: 0; background: transparent; font-size: 1.3rem; cursor: pointer; }

.hero-home__grid,
.page-hero__grid,
.contact-page__grid,
.intro-panel__grid,
.services-overview__grid,
.split-story__grid { display: grid; gap: clamp(26px, 4vw, 54px); align-items: center; }
.hero-home__grid,
.page-hero__grid,
.contact-page__grid,
.intro-panel__grid,
.split-story__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 540px); }
.services-overview__grid { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); }

.hero-home { padding-top: clamp(40px, 6vw, 70px); }
.hero-home__lead, .page-hero__lead { max-width: 52ch; font-size: 1.03rem; margin-bottom: 26px; }
.hero-home h1 span,
.page-hero h1 span,
.intro-panel h2 span,
.split-story h2 span { color: var(--brand-3); }
.hero-home__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-home__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.hero-home__meta span { font-size: .82rem; color: var(--text-soft); }
.hero-home__meta b { display: block; color: var(--heading); font-size: .92rem; }
.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(180deg, #eef5ff, #ffffff);
    box-shadow: var(--shadow);
    border: 1px solid rgba(215,228,245,.85);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.media-card--hero { min-height: 530px; }
.media-card--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card--hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.02), rgba(10,87,184,.18));
}
.media-card__badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 16px 18px;
    border-radius: 18px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(7,73,161,.96), rgba(4,40,107,.96));
    box-shadow: var(--shadow-lg);
}

.intro-panel__grid {
    padding: clamp(24px, 3vw, 34px);
    background: rgba(255,255,255,.7);
    border-radius: 32px;
    border: 1px solid rgba(215,228,245,.85);
    box-shadow: var(--shadow);
}
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-grid img:first-child { grid-column: 1 / -1; height: 260px; }
.photo-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: 24px; }
.feature-list { display: grid; gap: 14px; margin: 24px 0; }
.feature-list li {
    list-style: none;
    display: grid;
    gap: 4px;
    padding-left: 18px;
    position: relative;
}
.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: .55rem;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
}
.feature-list strong { color: var(--heading); }
.feature-list span { color: var(--text-soft); }


.country-bridge {
    position: relative;
    min-height: 440px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(43,155,231,.18), transparent 32%),
        linear-gradient(135deg, rgba(10,47,111,.03), rgba(126,215,229,.12)),
        #ffffff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.country-bridge::before,
.country-bridge::after {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 28px;
    border: 1px solid rgba(43,155,231,.10);
    pointer-events: none;
}
.country-bridge::after {
    inset: 48px 70px;
    border-style: dashed;
    border-color: rgba(43,155,231,.14);
}
.country-bridge__card {
    position: absolute;
    z-index: 3;
    width: 180px;
    padding: 20px 18px 18px;
    display: grid;
    gap: 10px;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(126,215,229,.55);
    box-shadow: 0 18px 40px rgba(14,65,131,.12);
    backdrop-filter: blur(8px);
}
.country-bridge__card strong { color: var(--heading); font-size: 1.06rem; }
.country-bridge__card small { color: var(--text-soft); line-height: 1.55; }
.country-bridge__card--brazil { top: 42px; left: 34px; animation: countryFloat 8s ease-in-out infinite; }
.country-bridge__card--timor { right: 34px; bottom: 42px; animation: countryFloat 8s ease-in-out infinite reverse; }
.country-bridge__flag-wrap {
    display: inline-flex;
    width: 84px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(126,215,229,.18), rgba(43,155,231,.10));
}
.country-bridge__flag-wrap img {
    width: 58px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(7,32,86,.12);
}
.country-bridge__hub {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 210px;
    min-height: 210px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 34px 22px 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.96), rgba(238,245,255,.95));
    border: 1px solid rgba(43,155,231,.22);
    box-shadow: 0 22px 42px rgba(15,71,151,.16);
}
.country-bridge__hub strong { color: var(--brand-4); font-size: 1rem; }
.country-bridge__hub small { color: var(--text-soft); line-height: 1.45; max-width: 16ch; }
.country-bridge__hub-ring,
.country-bridge__hub-dot {
    position: absolute;
    border-radius: 50%;
}
.country-bridge__hub-ring {
    inset: 12px;
    border: 1px solid rgba(43,155,231,.20);
    animation: bridgePulse 5.5s ease-in-out infinite;
}
.country-bridge__hub-dot {
    top: 30px;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-3));
    box-shadow: 0 0 0 10px rgba(43,155,231,.10);
}
.country-bridge__stream {
    position: absolute;
    top: 50%;
    height: 2px;
    width: 170px;
    z-index: 2;
    background: linear-gradient(90deg, rgba(43,155,231,.12), rgba(43,155,231,.75), rgba(126,215,229,.12));
    transform-origin: center;
}
.country-bridge__stream--left {
    left: 168px;
    transform: translateY(-50%) rotate(20deg);
}
.country-bridge__stream--right {
    right: 168px;
    transform: translateY(-50%) rotate(20deg);
}
.country-bridge__stream::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 32px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0));
    transform: translateY(-50%);
    animation: bridgeFlow 4.8s linear infinite;
}
.country-bridge__orbit {
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: 50%;
    border: 1px solid rgba(43,155,231,.16);
    transform: translate(-50%, -50%);
}
.country-bridge__orbit--one { width: 300px; height: 300px; animation: spinSlow 18s linear infinite; }
.country-bridge__orbit--two { width: 380px; height: 380px; border-style: dashed; animation: spinSlowReverse 24s linear infinite; }
.country-bridge__node,
.country-bridge__signal {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
}
.country-bridge__node {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    box-shadow: 0 0 0 8px rgba(126,215,229,.12);
    animation: bridgeBlink 4s ease-in-out infinite;
}
.country-bridge__node--a { top: 95px; left: 250px; }
.country-bridge__node--b { top: 150px; right: 230px; animation-delay: .8s; }
.country-bridge__node--c { bottom: 105px; left: 210px; animation-delay: 1.6s; }
.country-bridge__node--d { bottom: 160px; right: 270px; animation-delay: 2.4s; }
.country-bridge__signal {
    width: 88px;
    height: 88px;
    border: 1px solid rgba(126,215,229,.26);
}
.country-bridge__signal--one { top: 74px; right: 120px; animation: bridgeSignal 6.5s ease-out infinite; }
.country-bridge__signal--two { bottom: 82px; left: 102px; animation: bridgeSignal 6.5s ease-out infinite 1.8s; }

@keyframes countryFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes bridgePulse {
    0%, 100% { transform: scale(1); opacity: .75; }
    50% { transform: scale(1.05); opacity: 1; }
}
@keyframes bridgeFlow {
    0% { left: 0; opacity: 0; }
    10% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: calc(100% - 32px); opacity: 0; }
}
@keyframes spinSlow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinSlowReverse { from { transform: translate(-50%, -50%) rotate(360deg); } to { transform: translate(-50%, -50%) rotate(0deg); } }
@keyframes bridgeBlink {
    0%, 100% { opacity: .55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.18); }
}
@keyframes bridgeSignal {
    0% { transform: scale(.72); opacity: 0; }
    25% { opacity: .7; }
    100% { transform: scale(1.36); opacity: 0; }
}

.services-overview__cards,
.card-grid,
.news-grid,
.timeline-gallery__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.services-overview__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-mini-card,
.catalog-card,
.post-card,
.timeline-gallery__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.service-mini-card {
    padding: 24px;
    min-height: 210px;
    display: grid;
    align-content: start;
    gap: 12px;
}
.service-mini-card__icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(126,215,229,.18), rgba(43,155,231,.16));
}
.service-mini-card__icon img { width: 38px; height: 38px; object-fit: contain; }
.service-mini-card--featured {
    color: #fff;
    background: linear-gradient(160deg, #2aa0ec 0%, #125fcb 58%, #0d3f93 100%);
}
.service-mini-card--featured h3,
.service-mini-card--featured p,
.service-mini-card--featured a { color: #fff; }
.service-mini-card a { margin-top: auto; color: var(--brand-3); font-weight: 700; }
.service-mini-card--featured .service-mini-card__icon { background: rgba(255,255,255,.16); }
.services-overview__intro { align-self: center; }

/* Home services: display all seven areas and balance the final odd card. */
.service-mini-card--wide {
    grid-column: 1 / -1;
    min-height: 190px;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 18px;
}
.service-mini-card--wide .service-mini-card__icon {
    grid-row: 1 / span 3;
}
.service-mini-card--wide h3,
.service-mini-card--wide p,
.service-mini-card--wide a {
    grid-column: 2;
}

.impact-band__shell {
    padding: 30px;
    border-radius: 32px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(126,215,229,.22), rgba(126,215,229,0) 22%),
        linear-gradient(135deg, #0c2f73 0%, #1153b8 50%, #2fa0eb 100%);
    box-shadow: var(--shadow-lg);
}
.impact-band__heading h2, .impact-band__heading p { color: #fff; }
.impact-band__stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}
.impact-band__stats article {
    padding: 18px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    text-align: center;
}
.impact-band__stats strong { display: block; font-size: 2rem; line-height: 1; margin-bottom: 8px; }
.impact-band__stats span { color: rgba(255,255,255,.82); font-size: .9rem; }

.partners-section__row {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.logo-wall span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    color: #7aa2d3;
    font-weight: 800;
    box-shadow: var(--shadow);
}
.testimonial-card {
    padding: 26px 28px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.testimonial-card__quote { font-size: 3rem; line-height: .8; color: var(--brand-2); }
.testimonial-card strong { display: block; margin-top: 16px; color: var(--brand-3); }
.testimonial-card span { color: var(--text-soft); font-size: .95rem; }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.post-card__image img,
.catalog-card__image img,
.article-page__cover img,
.timeline-gallery__card img { width: 100%; object-fit: cover; display: block; }
.post-card__image img { height: 220px; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__category { display: inline-block; margin-bottom: 10px; color: var(--brand-3); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.post-card h3, .post-card h2 { margin-bottom: 12px; }
.post-card p { margin-bottom: 14px; }
.post-card a { color: var(--brand-3); font-weight: 700; }
.post-card--large .post-card__image img { height: 240px; }

.faq-preview__shell,
.contact-band__shell,
.contact-page__grid,
.legal-page__shell {
    border-radius: 30px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.faq-preview__shell { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 30px; padding: 28px; }
.faq-preview__list { display: grid; gap: 14px; }
.faq-preview__list details {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px;
}
.faq-preview__list summary { cursor: pointer; font-weight: 700; color: var(--heading); }
.faq-preview__list p { margin-top: 10px; }

.contact-band__shell {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1.2fr);
    overflow: hidden;
    background: linear-gradient(135deg, #0e4dae, #3ba8ef);
}
.contact-band__info {
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, rgba(126,215,229,.12), rgba(255,255,255,.03));
}
.contact-band__info h2, .contact-band__info p, .contact-band__info li { color: #fff; }
.contact-band__info ul { list-style: none; display: grid; gap: 12px; margin: 22px 0 0; padding: 0; }
.contact-band__form {
    padding: 34px;
    background: rgba(255,255,255,.98);
    display: grid;
    gap: 16px;
}
.form-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.contact-band__form label,
.contact-form-card label { display: grid; gap: 8px; font-weight: 600; color: var(--heading); }
.contact-band__form label span,
.contact-form-card label span { font-size: .93rem; }
.contact-band__form input,
.contact-band__form textarea,
.contact-band__form select,
.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
    width: 100%;
    border: 1px solid #d5e2f2;
    background: #fff;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--text);
}
.contact-band__form textarea,
.contact-form-card textarea { min-height: 140px; resize: vertical; }
.consent-inline { display: flex !important; align-items: start; gap: 10px; font-weight: 400 !important; color: var(--text-soft) !important; }
.consent-inline input { width: 18px !important; min-height: 18px !important; margin-top: 3px; padding: 0 !important; }
.consent-inline a { color: var(--brand-3); }

.site-footer {
    margin-top: 30px;
    padding-bottom: 24px;
    background: linear-gradient(180deg, #0a2f72 0%, #072350 60%, #06193a 100%);
}
.footer-panel {
    display: grid;
    grid-template-columns: 1.25fr .95fr 1fr;
    gap: 26px;
    padding: 36px;
    color: rgba(255,255,255,.92);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(114,179,255,.03));
    border: 1px solid rgba(255,255,255,.14);
}
.footer-panel h3, .footer-panel p, .footer-panel li, .footer-panel a { color: rgba(255,255,255,.92); }
.footer-brand p { margin: 14px 0 18px; max-width: 36ch; }
.footer-contact-list { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; }
.footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.footer-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06); font-size: .82rem; font-weight: 800;
}
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.footer-links > div { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.82); font-size: .95rem; }
.footer-card {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(16,76,170,.85), rgba(26,128,224,.62));
    display: grid;
    gap: 14px;
}
.footer-card__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    background: #fff;
    color: var(--brand-3) !important;
    font-weight: 700;
    width: fit-content;
}
.footer-card__visual {
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
}
.footer-card__visual img { width: 100%; height: 170px; object-fit: cover; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    color: rgba(255,255,255,.75);
}
.footer-bottom a { color: rgba(255,255,255,.82); margin-left: 18px; }

.page-hero__media,
.page-hero__media--soft,
.contact-card,
.contact-form-card,
.article-page__shell,
.legal-page__shell,
.catalog-card__body,
.timeline-gallery__card div,
.timeline-gallery__card img,
.stack-media img,
.location-accordion details,
.article-page__cover,
.page-hero__media img { border-radius: 24px; }
.page-hero__media,
.page-hero__media--soft { overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-hero__media img { width: 100%; object-fit: cover; }
.page-hero__media--soft { background: linear-gradient(135deg, #eef5ff, #ffffff); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill-row span {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand-3);
    font-weight: 700;
}
.stack-media { position: relative; min-height: 480px; }
.stack-media img {
    position: absolute;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
    object-fit: cover;
}
.stack-media img:first-child { top: 0; left: 0; width: 62%; height: 250px; }
.stack-media img:last-child { right: 0; bottom: 0; width: 72%; height: 290px; }
.stack-media--portrait img:first-child { width: 48%; height: 240px; }
.stack-media--portrait img:last-child { width: 62%; height: 340px; }
.location-accordion { display: grid; gap: 14px; margin-top: 24px; }
.location-accordion details {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px 18px;
}
.location-accordion summary { cursor: pointer; color: var(--brand-3); font-weight: 700; }
.location-accordion p { margin-top: 8px; }
.timeline-gallery__card img { height: 210px; object-fit: cover; }
.timeline-gallery__card div { padding: 18px 20px 22px; }
.timeline-gallery__card strong { color: var(--brand-3); }

.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card__image img { height: 220px; background: linear-gradient(135deg, #ecf3ff, #fff); }
.catalog-card__body { padding: 22px; }
.catalog-card__icon {
    width: 64px; height: 64px; margin-top: -54px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.catalog-card__icon img { width: 34px; height: 34px; object-fit: contain; }
.catalog-card ul { display: grid; gap: 8px; padding-left: 18px; color: var(--text-soft); margin: 14px 0; }
.catalog-card a { color: var(--brand-3); font-weight: 700; }
.contact-cta-panel__shell {
    display: flex; justify-content: space-between; align-items: center; gap: 18px;
    padding: 28px 30px; border-radius: 28px; background: linear-gradient(135deg, #071d49, #0f4ba8); color: #fff;
}
.contact-cta-panel__shell h2, .contact-cta-panel__shell p { color: #fff; }

.contact-card--dark {
    padding: 34px;
    background: linear-gradient(135deg, #0c4aa7, #2ea3eb);
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.contact-card--dark h2, .contact-card--dark p, .contact-card--dark li { color: #fff; }
.contact-card ul { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; padding: 0; }
.contact-form-card {
    padding: 30px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid; gap: 16px;
}

.article-page__shell,
.legal-page__shell {
    padding: 30px;
    background: rgba(255,255,255,.86);
}
.article-page__meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--text-soft); margin-bottom: 18px; }
.article-page__cover { overflow: hidden; margin-bottom: 28px; }
.article-page__cover img { height: 360px; }
.article-page__content {
    max-width: 820px;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.75;
}
.article-page__content h2,
.article-page__content h3 { margin-top: 32px; }
.article-page__content p { margin: 0 0 16px; }
.legal-page__updated { margin-bottom: 24px; }
.legal-content { max-width: 920px; }
.legal-content h2 { margin-top: 28px; }
.legal-content p { margin-bottom: 14px; }

@media (max-width: 1120px) {
    .header-shell { grid-template-columns: auto 1fr auto; }
    .main-nav, .header-actions { display: none; }
    .menu-toggle {
        display: inline-flex; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
        align-items: center; justify-content: center; gap: 4px; background: #fff;
    }
    .menu-toggle i { width: 18px; height: 2px; display: block; background: var(--heading); }
    .hero-home__grid,
    .page-hero__grid,
    .intro-panel__grid,
    .contact-page__grid,
    .split-story__grid,
    .faq-preview__shell,
    .contact-band__shell,
    .partners-section__row,
    .services-overview__grid { grid-template-columns: 1fr; }
    .services-overview__cards,
    .card-grid--three,
    .news-grid,
    .timeline-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .impact-band__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 26px), var(--container)); }
    .site-header { position: sticky; }
    .header-shell { min-height: 74px; }
    .brand img { width: 164px; }
    .hero-home__meta,
    .impact-band__stats,
    .services-overview__cards,
    .card-grid--three,
    .news-grid,
    .timeline-gallery__grid,
    .footer-links,
    .logo-wall,
    .form-grid-two { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid img:first-child { grid-column: auto; height: 220px; }
    .photo-grid img { height: 180px; }
    .country-bridge { min-height: 520px; }
    .country-bridge::after { inset: 36px; }
    .country-bridge__card { width: calc(100% - 34px); max-width: 270px; }
    .country-bridge__card--brazil { top: 18px; left: 17px; }
    .country-bridge__card--timor { right: 17px; bottom: 18px; }
    .country-bridge__hub { width: 180px; min-height: 180px; padding-inline: 18px; }
    .country-bridge__stream { width: 88px; }
    .country-bridge__stream--left { left: 140px; transform: translateY(-50%) rotate(34deg); }
    .country-bridge__stream--right { right: 140px; transform: translateY(-50%) rotate(34deg); }
    .country-bridge__orbit--one { width: 220px; height: 220px; }
    .country-bridge__orbit--two { width: 300px; height: 300px; }
    .country-bridge__node--a { top: 122px; left: 42px; }
    .country-bridge__node--b { top: 88px; right: 48px; }
    .country-bridge__node--c { bottom: 124px; left: 72px; }
    .country-bridge__node--d { bottom: 94px; right: 72px; }
    .country-bridge__signal--one { top: 150px; right: 26px; }
    .country-bridge__signal--two { bottom: 146px; left: 24px; }
    .stack-media { min-height: auto; display: grid; gap: 14px; }
    .stack-media img { position: static; width: 100% !important; height: 220px !important; }
    .media-card--hero { min-height: 360px; }
    .impact-band__shell, .faq-preview__shell, .contact-band__info, .contact-band__form, .contact-form-card, .legal-page__shell, .article-page__shell, .footer-panel { padding: 22px; }
    .section-heading { align-items: start; flex-direction: column; }
    .contact-cta-panel__shell, .footer-bottom { flex-direction: column; align-items: start; }
    .footer-bottom a { margin: 0 14px 0 0; }
}

/* Página individual de serviço — v3.1.15 */
.service-detail-hero {
    position: relative;
    background:
        radial-gradient(circle at 76% 20%, rgba(126,215,229,.28), transparent 28%),
        linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
}
.service-detail-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10,87,184,.2), transparent);
}
.service-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(34px, 6vw, 82px);
}
.service-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--text-soft);
    font-size: .84rem;
}
.service-breadcrumb a { color: var(--brand-3); font-weight: 700; }
.service-detail-hero__copy h1 { max-width: 15ch; }
.service-detail-hero__lead {
    max-width: 62ch;
    margin-bottom: 28px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.service-detail-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.service-detail-hero__media {
    --service-parallax: 0px;
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 38px;
    background: #dcecff;
    border: 1px solid rgba(10,87,184,.12);
    box-shadow: 0 30px 70px rgba(11,66,139,.17);
}
.service-detail-hero__media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transform: translate3d(0, var(--service-parallax), 0) scale(1.07);
    transition: transform .16s linear;
}
.service-detail-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(3,29,73,.55));
    pointer-events: none;
}
.service-detail-hero__media figcaption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: 18px;
    color: #fff;
    background: rgba(5,42,101,.8);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    font-weight: 700;
}
.service-detail-hero__media figcaption span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
}
.service-overview__grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 90px);
    align-items: start;
}
.service-overview__text { display: grid; gap: 18px; }
.service-overview__text p { font-size: 1.05rem; line-height: 1.8; }
.service-scope { background: rgba(255,255,255,.6); }
.service-scope__heading { max-width: 760px; margin-bottom: 30px; }
.service-scope__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.service-scope-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-scope-card:hover {
    transform: translateY(-7px);
    border-color: rgba(10,87,184,.28);
    box-shadow: var(--shadow-lg);
}
.service-scope-card span,
.service-deliverables__cards span,
.related-service-card > div > span {
    display: block;
    margin-bottom: 28px;
    color: var(--brand-3);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.service-scope-card p { color: var(--heading); font-weight: 700; }
.service-audience__shell {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 6vw, 80px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 94% 12%, rgba(87,203,238,.35), transparent 32%),
        linear-gradient(135deg, #071d49, #0c4ca7 58%, #168fd9);
    box-shadow: var(--shadow-lg);
}
.service-audience__intro h2,
.service-audience__intro p { color: #fff; }
.service-audience__list { list-style: none; display: grid; gap: 12px; padding: 0; }
.service-audience__list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
}
.service-audience__list li span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255,255,255,.12);
    color: #aeeeff;
    font-size: .78rem;
    font-weight: 800;
}
.service-deliverables__grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 6vw, 82px);
    align-items: start;
}
.service-deliverables__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.service-deliverables__cards article {
    min-height: 176px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #eef6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-process { background: linear-gradient(180deg, #edf5ff, #f7fbff); }
.service-process__heading { max-width: 760px; margin-bottom: 34px; }
.service-process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.service-process__timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
}
.service-process__timeline article { position: relative; z-index: 1; }
.service-process__timeline article > span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    box-shadow: 0 12px 26px rgba(10,87,184,.22);
    font-size: .8rem;
    font-weight: 800;
}
.service-process__timeline article > div {
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-benefits__shell {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-benefits__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-benefits__grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface-soft);
}
.service-benefits__grid article span {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    font-weight: 900;
}
.service-benefits__grid p { color: var(--heading); font-weight: 700; }
.related-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.related-service-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.related-service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.related-service-card__image { display: block; overflow: hidden; }
.related-service-card__image img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s ease; }
.related-service-card:hover .related-service-card__image img { transform: scale(1.05); }
.related-service-card > div { padding: 22px; }
.related-service-card > div > span { margin-bottom: 12px; }
.related-service-card p { margin-bottom: 16px; }
.related-service-card > div > a { color: var(--brand-3); font-weight: 700; }

.js [data-service-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s var(--ease-out), transform .85s var(--ease-out);
}
.js [data-service-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
    .service-detail-hero__grid,
    .service-overview__grid,
    .service-audience__shell,
    .service-deliverables__grid,
    .service-benefits__shell { grid-template-columns: 1fr; }
    .service-scope__grid,
    .service-process__timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .service-process__timeline::before { display: none; }
    .related-services__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .service-detail-hero__media { min-height: 360px; border-radius: 28px; }
    .service-detail-hero__media img { height: 400px; }
    .service-detail-hero__actions { align-items: stretch; flex-direction: column; }
    .service-detail-hero__actions .btn { width: 100%; }
    .service-scope__grid,
    .service-deliverables__cards,
    .service-process__timeline,
    .service-benefits__grid,
    .related-services__grid { grid-template-columns: 1fr; }
    .service-audience__shell { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-service-reveal] { opacity: 1; transform: none; }
    .service-detail-hero__media img { transform: none !important; transition: none; }
}

/* TechCiência 3.1.15 — mega menu, carrossel de serviços e conteúdo institucional ampliado */
.main-nav__services {
    appearance: none;
    border: 0;
    background: transparent;
    color: #3f4e63;
    font-size: .94rem;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.main-nav__services > span {
    font-size: .8rem;
    transition: transform .28s ease;
}
.main-nav__services:hover,
.main-nav__services:focus-visible,
.main-nav__services.is-active,
.main-nav__services[aria-expanded="true"] { color: var(--brand-3); }
.main-nav__services.is-active::after,
.main-nav__services[aria-expanded="true"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
}
.main-nav__services[aria-expanded="true"] > span { transform: rotate(180deg); }

.services-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    background: rgba(247, 251, 255, .98);
    border-top: 1px solid rgba(215, 228, 245, .72);
    border-bottom: 1px solid rgba(169, 198, 232, .72);
    box-shadow: 0 26px 60px rgba(8, 46, 104, .16);
    transition: opacity .28s ease, visibility .28s ease, transform .38s cubic-bezier(.16, 1, .3, 1);
}
.services-mega.is-open,
.services-mega[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}
.services-mega__shell {
    display: grid;
    grid-template-columns: minmax(240px, .78fr) minmax(0, 2.2fr);
    gap: clamp(28px, 4vw, 58px);
    padding-top: 28px;
    padding-bottom: 30px;
}
.services-mega__intro {
    padding: 22px 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 10%, rgba(112, 221, 231, .18), transparent 42%),
        linear-gradient(145deg, #eef7ff, #fff);
    border: 1px solid var(--line);
}
.services-mega__intro h2 { font-size: clamp(1.45rem, 2vw, 2rem); }
.services-mega__intro p { font-size: .92rem; margin-bottom: 18px; }
.services-mega__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    align-content: center;
}
.services-mega__item {
    min-height: 84px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.services-mega__item:hover,
.services-mega__item:focus-visible {
    background: #fff;
    border-color: rgba(35, 143, 213, .2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 67, 143, .08);
}
.services-mega__item > span {
    color: var(--brand-2);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.services-mega__item strong { display: block; color: var(--heading); font-size: .96rem; }
.services-mega__item small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-soft);
    font-size: .76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.services-mega__item b { color: var(--brand-3); font-weight: 500; }

.mobile-services {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2px 0;
}
.mobile-services summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    color: var(--heading);
    font-weight: 700;
    list-style: none;
}
.mobile-services summary::-webkit-details-marker { display: none; }
.mobile-services summary span { color: var(--brand-3); transition: transform .25s ease; }
.mobile-services[open] summary span { transform: rotate(45deg); }
.mobile-services__list { display: grid; gap: 3px; padding: 2px 0 12px 10px; }
.mobile-services__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .9rem;
}
.mobile-services__list a span { min-width: 24px; color: var(--brand-2); font-size: .72rem; }

.hero-services-carousel {
    position: relative;
    min-width: 0;
    border-radius: 34px;
    background: #082c68;
    border: 1px solid rgba(27, 115, 199, .24);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
    touch-action: pan-y;
}
.hero-services-carousel:focus-visible { outline-offset: 6px; }
.hero-services-carousel__viewport { overflow: hidden; }
.hero-services-carousel__track {
    display: flex;
    width: 100%;
    transition: transform 1.05s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
.hero-service-slide {
    position: relative;
    min-width: 100%;
    height: clamp(500px, 47vw, 590px);
    overflow: hidden;
    isolation: isolate;
}
.hero-service-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    filter: saturate(.9) contrast(1.02);
    transition: transform 8.2s ease-out, filter 1.2s ease;
}
.hero-service-slide.is-active > img { transform: scale(1.095); filter: saturate(1.03) contrast(1.04); }
.hero-service-slide__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 23, 59, .08) 12%, rgba(5, 30, 75, .36) 52%, rgba(4, 27, 69, .96) 100%),
        linear-gradient(90deg, rgba(3, 29, 71, .72), transparent 70%);
}
.hero-service-slide__content {
    position: absolute;
    z-index: 2;
    left: clamp(22px, 4vw, 38px);
    right: clamp(22px, 4vw, 38px);
    bottom: 34px;
    color: #fff;
    transform: translate3d(0, 18px, 0);
    opacity: 0;
    transition: opacity .7s ease .18s, transform .8s cubic-bezier(.16, 1, .3, 1) .18s;
}
.hero-service-slide.is-active .hero-service-slide__content { opacity: 1; transform: translate3d(0, 0, 0); }
.hero-service-slide__content p {
    margin: 8px 0;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.hero-service-slide__content h2 {
    max-width: 16ch;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
}
.hero-service-slide__description {
    max-width: 48ch;
    margin-bottom: 18px;
    color: rgba(255,255,255,.8);
    font-size: .94rem;
    line-height: 1.55;
}
.hero-service-slide__content > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
}
.hero-service-slide__number {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    backdrop-filter: blur(8px);
}
.hero-services-carousel__controls {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 16px;
    background: rgba(4, 28, 68, .58);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
}
.hero-services-carousel__controls > button {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 11px;
    background: rgba(255,255,255,.11);
    color: #fff;
    cursor: pointer;
    transition: background .22s ease, transform .22s ease;
}
.hero-services-carousel__controls > button:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.hero-services-carousel__dots { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.hero-services-carousel__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
}
.hero-services-carousel__dots button.is-active { width: 28px; background: #79dbe7; }
.hero-services-carousel__counter { color: rgba(255,255,255,.6); font-size: .75rem; white-space: nowrap; }
.hero-services-carousel__counter b { color: #fff; }
.hero-services-carousel::after {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    background: linear-gradient(90deg, #75dce6, #2b9be7);
}
.hero-services-carousel.is-cycle-reset::after { animation: hero-carousel-cycle 8.2s linear infinite; }
.hero-services-carousel:hover::after,
.hero-services-carousel:focus-within::after { animation-play-state: paused; }
@keyframes hero-carousel-cycle { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.capability-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.capability-grid article {
    min-height: 230px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(239,247,255,.88));
    box-shadow: var(--shadow);
}
.capability-grid article > span {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--brand-2);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.capability-grid article:nth-child(2),
.capability-grid article:nth-child(5) {
    background: linear-gradient(150deg, #0c55b4, #238fdf);
}
.capability-grid article:nth-child(2) h3,
.capability-grid article:nth-child(2) p,
.capability-grid article:nth-child(5) h3,
.capability-grid article:nth-child(5) p { color: #fff; }
.capability-grid article:nth-child(2) > span,
.capability-grid article:nth-child(5) > span { color: #8be0e7; }

.institution-method__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}
.institution-method__visual {
    position: relative;
    min-height: 520px;
    overflow: visible;
    isolation: isolate;
}
.institution-method__steps { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.institution-method__steps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}
.institution-method__steps li > span {
    color: var(--brand-2);
    font-size: .78rem;
    font-weight: 800;
}
.institution-method__steps strong { color: var(--heading); }
.institution-method__steps p { margin-top: 3px; font-size: .92rem; }
.institution-method__orbit,
.institution-method__particle,
.method-orb { position: absolute; }
.institution-method__orbit {
    border: 1px solid rgba(38, 152, 224, .13);
    border-radius: 50%;
}
.institution-method__orbit--outer { width: 420px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.institution-method__orbit--mid { width: 284px; height: 284px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-style: dashed; }
.institution-method__orbit--inner { width: 144px; height: 144px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.method-orb {
    display: grid;
    place-items: center;
    width: 94px;
    height: 94px;
    border-radius: 50%;
    color: var(--brand-3);
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(237,247,255,.74));
    box-shadow: 0 20px 44px rgba(10, 62, 134, .12), inset 0 1px 0 rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    animation: methodFloat 8.8s ease-in-out infinite;
}
.method-orb::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(126, 215, 229, .22);
}
/* Os quatro elementos ficam ancorados sobre o perímetro da órbita externa. */
.method-orb--1 { left: calc(50% - 195px); top: calc(50% - 195px); animation-delay: -.4s; }
.method-orb--2 { left: calc(50% + 101px); top: calc(50% - 195px); animation-delay: -1.9s; }
.method-orb--3 { left: calc(50% - 195px); top: calc(50% + 101px); animation-delay: -3.1s; }
.method-orb--4 { left: calc(50% + 101px); top: calc(50% + 101px); animation-delay: -1.1s; }
.method-orb__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(126, 215, 229, .14), rgba(43, 155, 231, .10));
}
.method-orb__icon svg {
    width: 28px;
    height: 28px;
}
.institution-method__particle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9ae6ed, #2b9be7);
    box-shadow: 0 0 0 8px rgba(126, 215, 229, .08);
    animation: methodPulse 6.6s ease-in-out infinite;
}
.institution-method__particle--a { left: 132px; top: 146px; }
.institution-method__particle--b { right: 144px; top: 154px; animation-delay: -1.2s; }
.institution-method__particle--c { left: 158px; bottom: 132px; animation-delay: -2.4s; }
.institution-method__particle--d { right: 140px; bottom: 148px; animation-delay: -3.2s; }
@keyframes methodFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -14px, 0) rotate(.5deg); }
}
@keyframes methodPulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.2); opacity: 1; }
}

@media (max-width: 1120px) {
    .header-shell { grid-template-columns: auto 1fr auto; }
    .main-nav, .header-actions { display: none; }
    .menu-toggle {
        display: inline-flex; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
        align-items: center; justify-content: center; gap: 4px; background: #fff;
    }
    .menu-toggle i { width: 18px; height: 2px; display: block; background: var(--heading); }
    .hero-home__grid,
    .page-hero__grid,
    .intro-panel__grid,
    .contact-page__grid,
    .split-story__grid,
    .faq-preview__shell,
    .contact-band__shell,
    .partners-section__row,
    .services-overview__grid { grid-template-columns: 1fr; }
    .services-overview__cards,
    .card-grid--three,
    .news-grid,
    .timeline-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .impact-band__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 26px), var(--container)); }
    .site-header { position: sticky; }
    .header-shell { min-height: 74px; }
    .brand img { width: 164px; }
    .hero-home__meta,
    .impact-band__stats,
    .services-overview__cards,
    .card-grid--three,
    .news-grid,
    .timeline-gallery__grid,
    .footer-links,
    .logo-wall,
    .form-grid-two { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid img:first-child { grid-column: auto; height: 220px; }
    .photo-grid img { height: 180px; }
    .country-bridge { min-height: 520px; }
    .country-bridge::after { inset: 36px; }
    .country-bridge__card { width: calc(100% - 34px); max-width: 270px; }
    .country-bridge__card--brazil { top: 18px; left: 17px; }
    .country-bridge__card--timor { right: 17px; bottom: 18px; }
    .country-bridge__hub { width: 180px; min-height: 180px; padding-inline: 18px; }
    .country-bridge__stream { width: 88px; }
    .country-bridge__stream--left { left: 140px; transform: translateY(-50%) rotate(34deg); }
    .country-bridge__stream--right { right: 140px; transform: translateY(-50%) rotate(34deg); }
    .country-bridge__orbit--one { width: 220px; height: 220px; }
    .country-bridge__orbit--two { width: 300px; height: 300px; }
    .country-bridge__node--a { top: 122px; left: 42px; }
    .country-bridge__node--b { top: 88px; right: 48px; }
    .country-bridge__node--c { bottom: 124px; left: 72px; }
    .country-bridge__node--d { bottom: 94px; right: 72px; }
    .country-bridge__signal--one { top: 150px; right: 26px; }
    .country-bridge__signal--two { bottom: 146px; left: 24px; }
    .stack-media { min-height: auto; display: grid; gap: 14px; }
    .stack-media img { position: static; width: 100% !important; height: 220px !important; }
    .media-card--hero { min-height: 360px; }
    .impact-band__shell, .faq-preview__shell, .contact-band__info, .contact-band__form, .contact-form-card, .legal-page__shell, .article-page__shell, .footer-panel { padding: 22px; }
    .section-heading { align-items: start; flex-direction: column; }
    .contact-cta-panel__shell, .footer-bottom { flex-direction: column; align-items: start; }
    .footer-bottom a { margin: 0 14px 0 0; }
}

/* Página individual de serviço — v3.1.15 */
.service-detail-hero {
    position: relative;
    background:
        radial-gradient(circle at 76% 20%, rgba(126,215,229,.28), transparent 28%),
        linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
}
.service-detail-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10,87,184,.2), transparent);
}
.service-detail-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(34px, 6vw, 82px);
}
.service-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--text-soft);
    font-size: .84rem;
}
.service-breadcrumb a { color: var(--brand-3); font-weight: 700; }
.service-detail-hero__copy h1 { max-width: 15ch; }
.service-detail-hero__lead {
    max-width: 62ch;
    margin-bottom: 28px;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.service-detail-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.service-detail-hero__media {
    --service-parallax: 0px;
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 38px;
    background: #dcecff;
    border: 1px solid rgba(10,87,184,.12);
    box-shadow: 0 30px 70px rgba(11,66,139,.17);
}
.service-detail-hero__media img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    transform: translate3d(0, var(--service-parallax), 0) scale(1.07);
    transition: transform .16s linear;
}
.service-detail-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(3,29,73,.55));
    pointer-events: none;
}
.service-detail-hero__media figcaption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: 18px;
    color: #fff;
    background: rgba(5,42,101,.8);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
    font-weight: 700;
}
.service-detail-hero__media figcaption span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
}
.service-overview__grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 90px);
    align-items: start;
}
.service-overview__text { display: grid; gap: 18px; }
.service-overview__text p { font-size: 1.05rem; line-height: 1.8; }
.service-scope { background: rgba(255,255,255,.6); }
.service-scope__heading { max-width: 760px; margin-bottom: 30px; }
.service-scope__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.service-scope-card {
    min-height: 190px;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-scope-card:hover {
    transform: translateY(-7px);
    border-color: rgba(10,87,184,.28);
    box-shadow: var(--shadow-lg);
}
.service-scope-card span,
.service-deliverables__cards span,
.related-service-card > div > span {
    display: block;
    margin-bottom: 28px;
    color: var(--brand-3);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.service-scope-card p { color: var(--heading); font-weight: 700; }
.service-audience__shell {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: clamp(30px, 6vw, 80px);
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 94% 12%, rgba(87,203,238,.35), transparent 32%),
        linear-gradient(135deg, #071d49, #0c4ca7 58%, #168fd9);
    box-shadow: var(--shadow-lg);
}
.service-audience__intro h2,
.service-audience__intro p { color: #fff; }
.service-audience__list { list-style: none; display: grid; gap: 12px; padding: 0; }
.service-audience__list li {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.13);
}
.service-audience__list li span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255,255,255,.12);
    color: #aeeeff;
    font-size: .78rem;
    font-weight: 800;
}
.service-deliverables__grid {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 6vw, 82px);
    align-items: start;
}
.service-deliverables__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.service-deliverables__cards article {
    min-height: 176px;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #eef6ff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-process { background: linear-gradient(180deg, #edf5ff, #f7fbff); }
.service-process__heading { max-width: 760px; margin-bottom: 34px; }
.service-process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.service-process__timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
}
.service-process__timeline article { position: relative; z-index: 1; }
.service-process__timeline article > span {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    box-shadow: 0 12px 26px rgba(10,87,184,.22);
    font-size: .8rem;
    font-weight: 800;
}
.service-process__timeline article > div {
    min-height: 190px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-benefits__shell {
    display: grid;
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.service-benefits__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.service-benefits__grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 88px;
    padding: 16px;
    border-radius: 18px;
    background: var(--surface-soft);
}
.service-benefits__grid article span {
    display: inline-flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
    font-weight: 900;
}
.service-benefits__grid p { color: var(--heading); font-weight: 700; }
.related-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.related-service-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.related-service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.related-service-card__image { display: block; overflow: hidden; }
.related-service-card__image img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s ease; }
.related-service-card:hover .related-service-card__image img { transform: scale(1.05); }
.related-service-card > div { padding: 22px; }
.related-service-card > div > span { margin-bottom: 12px; }
.related-service-card p { margin-bottom: 16px; }
.related-service-card > div > a { color: var(--brand-3); font-weight: 700; }

.js [data-service-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .75s var(--ease-out), transform .85s var(--ease-out);
}
.js [data-service-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
    .service-detail-hero__grid,
    .service-overview__grid,
    .service-audience__shell,
    .service-deliverables__grid,
    .service-benefits__shell { grid-template-columns: 1fr; }
    .service-scope__grid,
    .service-process__timeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .service-process__timeline::before { display: none; }
    .related-services__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
    .service-detail-hero__media { min-height: 360px; border-radius: 28px; }
    .service-detail-hero__media img { height: 400px; }
    .service-detail-hero__actions { align-items: stretch; flex-direction: column; }
    .service-detail-hero__actions .btn { width: 100%; }
    .service-scope__grid,
    .service-deliverables__cards,
    .service-process__timeline,
    .service-benefits__grid,
    .related-services__grid { grid-template-columns: 1fr; }
    .service-audience__shell { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .js [data-service-reveal] { opacity: 1; transform: none; }
    .service-detail-hero__media img { transform: none !important; transition: none; }
}

/* TechCiência 3.1.15 — mega menu, carrossel de serviços e conteúdo institucional ampliado */
.main-nav__services {
    appearance: none;
    border: 0;
    background: transparent;
    color: #3f4e63;
    font-size: .94rem;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.main-nav__services > span {
    font-size: .8rem;
    transition: transform .28s ease;
}
.main-nav__services:hover,
.main-nav__services:focus-visible,
.main-nav__services.is-active,
.main-nav__services[aria-expanded="true"] { color: var(--brand-3); }
.main-nav__services.is-active::after,
.main-nav__services[aria-expanded="true"]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-3));
}
.main-nav__services[aria-expanded="true"] > span { transform: rotate(180deg); }

.services-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -10px, 0);
    background: rgba(247, 251, 255, .98);
    border-top: 1px solid rgba(215, 228, 245, .72);
    border-bottom: 1px solid rgba(169, 198, 232, .72);
    box-shadow: 0 26px 60px rgba(8, 46, 104, .16);
    transition: opacity .28s ease, visibility .28s ease, transform .38s cubic-bezier(.16, 1, .3, 1);
}
.services-mega.is-open,
.services-mega[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}
.services-mega__shell {
    display: grid;
    grid-template-columns: minmax(240px, .78fr) minmax(0, 2.2fr);
    gap: clamp(28px, 4vw, 58px);
    padding-top: 28px;
    padding-bottom: 30px;
}
.services-mega__intro {
    padding: 22px 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 10%, rgba(112, 221, 231, .18), transparent 42%),
        linear-gradient(145deg, #eef7ff, #fff);
    border: 1px solid var(--line);
}
.services-mega__intro h2 { font-size: clamp(1.45rem, 2vw, 2rem); }
.services-mega__intro p { font-size: .92rem; margin-bottom: 18px; }
.services-mega__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    align-content: center;
}
.services-mega__item {
    min-height: 84px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.services-mega__item:hover,
.services-mega__item:focus-visible {
    background: #fff;
    border-color: rgba(35, 143, 213, .2);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 67, 143, .08);
}
.services-mega__item > span {
    color: var(--brand-2);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.services-mega__item strong { display: block; color: var(--heading); font-size: .96rem; }
.services-mega__item small {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-soft);
    font-size: .76rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.services-mega__item b { color: var(--brand-3); font-weight: 500; }

.mobile-services {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 2px 0;
}
.mobile-services summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    color: var(--heading);
    font-weight: 700;
    list-style: none;
}
.mobile-services summary::-webkit-details-marker { display: none; }
.mobile-services summary span { color: var(--brand-3); transition: transform .25s ease; }
.mobile-services[open] summary span { transform: rotate(45deg); }
.mobile-services__list { display: grid; gap: 3px; padding: 2px 0 12px 10px; }
.mobile-services__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .9rem;
}
.mobile-services__list a span { min-width: 24px; color: var(--brand-2); font-size: .72rem; }

.hero-services-carousel {
    position: relative;
    min-width: 0;
    border-radius: 34px;
    background: #082c68;
    border: 1px solid rgba(27, 115, 199, .24);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    isolation: isolate;
    touch-action: pan-y;
}
.hero-services-carousel:focus-visible { outline-offset: 6px; }
.hero-services-carousel__viewport { overflow: hidden; }
.hero-services-carousel__track {
    display: flex;
    width: 100%;
    transition: transform 1.05s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
.hero-service-slide {
    position: relative;
    min-width: 100%;
    height: clamp(500px, 47vw, 590px);
    overflow: hidden;
    isolation: isolate;
}
.hero-service-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.035);
    filter: saturate(.9) contrast(1.02);
    transition: transform 8.2s ease-out, filter 1.2s ease;
}
.hero-service-slide.is-active > img { transform: scale(1.095); filter: saturate(1.03) contrast(1.04); }
.hero-service-slide__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(4, 23, 59, .08) 12%, rgba(5, 30, 75, .36) 52%, rgba(4, 27, 69, .96) 100%),
        linear-gradient(90deg, rgba(3, 29, 71, .72), transparent 70%);
}
.hero-service-slide__content {
    position: absolute;
    z-index: 2;
    left: clamp(22px, 4vw, 38px);
    right: clamp(22px, 4vw, 38px);
    bottom: 34px;
    color: #fff;
    transform: translate3d(0, 18px, 0);
    opacity: 0;
    transition: opacity .7s ease .18s, transform .8s cubic-bezier(.16, 1, .3, 1) .18s;
}
.hero-service-slide.is-active .hero-service-slide__content { opacity: 1; transform: translate3d(0, 0, 0); }
.hero-service-slide__content p {
    margin: 8px 0;
    color: rgba(255,255,255,.68);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
}
.hero-service-slide__content h2 {
    max-width: 16ch;
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
}
.hero-service-slide__description {
    max-width: 48ch;
    margin-bottom: 18px;
    color: rgba(255,255,255,.8);
    font-size: .94rem;
    line-height: 1.55;
}
.hero-service-slide__content > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
}
.hero-service-slide__number {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    backdrop-filter: blur(8px);
}
.hero-services-carousel__controls {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 16px;
    background: rgba(4, 28, 68, .58);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
}
.hero-services-carousel__controls > button {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 11px;
    background: rgba(255,255,255,.11);
    color: #fff;
    cursor: pointer;
    transition: background .22s ease, transform .22s ease;
}
.hero-services-carousel__controls > button:hover { background: rgba(255,255,255,.22); transform: translateY(-1px); }
.hero-services-carousel__dots { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
.hero-services-carousel__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: width .35s ease, background .35s ease;
}
.hero-services-carousel__dots button.is-active { width: 28px; background: #79dbe7; }
.hero-services-carousel__counter { color: rgba(255,255,255,.6); font-size: .75rem; white-space: nowrap; }
.hero-services-carousel__counter b { color: #fff; }
.hero-services-carousel::after {
    content: '';
    position: absolute;
    z-index: 5;
    left: 0;
    top: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    background: linear-gradient(90deg, #75dce6, #2b9be7);
}
.hero-services-carousel.is-cycle-reset::after { animation: hero-carousel-cycle 8.2s linear infinite; }
.hero-services-carousel:hover::after,
.hero-services-carousel:focus-within::after { animation-play-state: paused; }
@keyframes hero-carousel-cycle { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.capability-section__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 32px;
    align-items: end;
    margin-bottom: 28px;
}
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.capability-grid article {
    min-height: 230px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(239,247,255,.88));
    box-shadow: var(--shadow);
}
.capability-grid article > span {
    display: inline-flex;
    margin-bottom: 26px;
    color: var(--brand-2);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.capability-grid article:nth-child(2),
.capability-grid article:nth-child(5) {
    background: linear-gradient(150deg, #0c55b4, #238fdf);
}
.capability-grid article:nth-child(2) h3,
.capability-grid article:nth-child(2) p,
.capability-grid article:nth-child(5) h3,
.capability-grid article:nth-child(5) p { color: #fff; }
.capability-grid article:nth-child(2) > span,
.capability-grid article:nth-child(5) > span { color: #8be0e7; }

@media (max-width: 1120px) {
    .services-mega { display: none; }
    .main-nav__services { display: none; }
    .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .capability-section__heading,
    .institution-method__grid { grid-template-columns: 1fr; }
    .institution-method__visual { min-height: 460px; }
}

@media (max-width: 980px) {
    .institution-method__visual {
        min-height: 480px;
    }
    .method-orb { width: 88px; height: 88px; }
    .method-orb--1 { left: calc(50% - 192px); top: calc(50% - 192px); }
    .method-orb--2 { left: calc(50% + 104px); top: calc(50% - 192px); }
    .method-orb--3 { left: calc(50% - 192px); top: calc(50% + 104px); }
    .method-orb--4 { left: calc(50% + 104px); top: calc(50% + 104px); }
}

@media (max-width: 760px) {
    .hero-services-carousel { border-radius: 26px; }
    .hero-service-slide { height: 470px; }
    .hero-services-carousel__controls { top: 12px; left: 12px; right: 12px; }
    .hero-services-carousel__dots { gap: 4px; }
    .hero-services-carousel__dots button { width: 6px; height: 6px; }
    .hero-services-carousel__dots button.is-active { width: 20px; }
    .hero-service-slide__content { left: 20px; right: 20px; bottom: 24px; }
    .hero-service-slide__description { font-size: .88rem; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-grid article { min-height: auto; }
    .institution-method__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .institution-method__visual {
        min-height: 260px;
    }
    .institution-method__orbit--outer { width: 240px; height: 240px; }
    .institution-method__orbit--mid { width: 176px; height: 176px; }
    .institution-method__orbit--inner { width: 92px; height: 92px; }
    .method-orb { width: 68px; height: 68px; }
    .method-orb__icon { width: 40px; height: 40px; border-radius: 14px; }
    .method-orb__icon svg { width: 22px; height: 22px; }
    .method-orb--1 { left: calc(50% - 119px); top: calc(50% - 119px); }
    .method-orb--2 { left: calc(50% + 51px); top: calc(50% - 119px); }
    .method-orb--3 { left: calc(50% - 119px); top: calc(50% + 51px); }
    .method-orb--4 { left: calc(50% + 51px); top: calc(50% + 51px); }
    .institution-method__particle--a { left: 78px; top: 62px; }
    .institution-method__particle--b { right: 84px; top: 74px; }
    .institution-method__particle--c { left: 94px; bottom: 60px; }
    .institution-method__particle--d { right: 86px; bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .method-orb,
    .institution-method__particle { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-services-carousel__track,
    .hero-service-slide > img,
    .hero-service-slide__content { transition: none; }
    .hero-services-carousel::after { animation: none; display: none; }
}

/* TechCiência 3.1.15 — navegação limpa, idiomas reais e serviços móveis horizontais */
.main-nav a,
.main-nav a:last-child {
    border-left: 0 !important;
    border-right: 0 !important;
}

.header-flags {
    gap: 8px;
}
.language-flag {
    display: inline-flex;
    width: 25px;
    height: 17px;
    overflow: hidden;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(14, 49, 92, .16), 0 3px 8px rgba(11, 48, 103, .08);
}
.language-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-panel {
    grid-template-columns: minmax(300px, .9fr) minmax(420px, 1.35fr);
    align-items: start;
}
.footer-socials a {
    padding: 0;
}
.footer-socials img {
    width: 17px;
    height: 17px;
}

.mobile-menu__head,
.mobile-menu__section-head,
.mobile-menu__footer,
.mobile-menu__services,
.mobile-menu__languages {
    display: none;
}

@media (max-width: 1120px) {
    .footer-panel { grid-template-columns: 1fr; }
    .mobile-menu {
        position: fixed;
        z-index: 999;
        inset: var(--header-height) 0 0;
        padding: 0;
        overflow: hidden;
        background: rgba(5, 24, 57, .42);
        border: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s ease, visibility .28s ease;
        backdrop-filter: blur(6px);
    }
    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
    }
    .mobile-menu__inner {
        width: min(100%, 760px);
        height: 100%;
        margin-left: auto;
        padding: 22px clamp(18px, 4vw, 34px) max(28px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
        background:
            radial-gradient(circle at 100% 0, rgba(92, 208, 226, .14), transparent 30%),
            #f7fbff;
        box-shadow: -22px 0 60px rgba(2, 29, 73, .2);
        transform: translate3d(100%, 0, 0);
        transition: transform .36s cubic-bezier(.16, 1, .3, 1);
    }
    .mobile-menu.is-open .mobile-menu__inner {
        transform: translate3d(0, 0, 0);
    }
    .mobile-menu__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding-bottom: 18px;
        border-bottom: 1px solid var(--line);
    }
    .mobile-menu__head > div {
        display: grid;
        gap: 2px;
    }
    .mobile-menu__head span {
        color: var(--brand-3);
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .16em;
    }
    .mobile-menu__head strong {
        color: var(--heading);
        font-size: 1.15rem;
    }
    .mobile-menu__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        color: var(--heading);
        cursor: pointer;
    }
    .mobile-menu__close svg {
        width: 21px;
        height: 21px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
    }
    .mobile-menu__nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px !important;
        margin: 22px 0 28px !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .mobile-menu__nav > a {
        display: flex !important;
        min-height: 54px;
        align-items: center !important;
        justify-content: center;
        padding: 12px 14px !important;
        border: 1px solid var(--line) !important;
        border-radius: 16px;
        background: rgba(255,255,255,.86);
        color: var(--heading) !important;
        font-size: .98rem !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-align: center;
    }
    .mobile-menu__nav > a[aria-current="page"] {
        color: #fff !important;
        border-color: transparent !important;
        background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
        box-shadow: 0 10px 24px rgba(18, 102, 195, .2);
    }
    .mobile-menu__services {
        display: block;
        margin-inline: calc(clamp(18px, 4vw, 34px) * -1);
        padding: 22px 0 24px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        background: rgba(232, 244, 255, .72);
    }
    .mobile-menu__section-head {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 16px;
        padding-inline: clamp(18px, 4vw, 34px);
        margin-bottom: 16px;
    }
    .mobile-menu__section-head span {
        color: var(--brand-3);
        font-size: .68rem;
        font-weight: 800;
        letter-spacing: .14em;
    }
    .mobile-menu__section-head h2 {
        margin: 3px 0 0;
        font-size: 1.65rem;
    }
    .mobile-menu__section-head > a {
        color: var(--brand-3);
        font-size: .86rem;
        font-weight: 700;
        white-space: nowrap;
    }
    .mobile-services-scroll {
        display: flex;
        gap: 13px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        padding: 2px clamp(18px, 4vw, 34px) 8px;
    }
    .mobile-services-scroll::-webkit-scrollbar { display: none; }
    .mobile-service-card {
        flex: 0 0 min(76vw, 310px);
        min-height: 205px;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px !important;
        border: 1px solid rgba(143, 181, 222, .5);
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(8, 61, 132, .08);
        scroll-snap-align: start;
    }
    .mobile-service-card > span {
        display: inline-flex;
        margin-bottom: 17px;
        color: var(--brand-2);
        font-size: .76rem;
        font-weight: 800;
        letter-spacing: .1em;
    }
    .mobile-service-card strong {
        color: var(--heading);
        font-size: 1.15rem;
        line-height: 1.2;
    }
    .mobile-service-card small {
        display: -webkit-box;
        overflow: hidden;
        margin-top: 9px;
        color: var(--text-soft);
        font-size: .84rem;
        line-height: 1.45;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    .mobile-service-card b {
        margin-top: auto;
        padding-top: 16px;
        color: var(--brand-3);
        font-size: .82rem;
    }
    .mobile-menu__footer {
        display: grid;
        gap: 18px;
        padding-top: 22px;
    }
    .mobile-menu__languages {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
    }
    .mobile-menu__languages > a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        padding: 8px 10px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #fff;
        color: var(--heading);
        font-size: .78rem;
        font-weight: 700;
    }
    .mobile-menu__languages img {
        width: 23px;
        height: 15px;
        border-radius: 2px;
        object-fit: cover;
        box-shadow: 0 0 0 1px rgba(15, 45, 84, .12);
    }
    .mobile-menu__meta {
        display: grid !important;
        gap: 6px !important;
        margin: 0 !important;
        color: var(--text-soft) !important;
        font-size: .84rem !important;
    }
    .mobile-menu__meta a {
        width: auto !important;
        margin: 0 !important;
        color: var(--brand-3) !important;
        text-decoration: none !important;
    }
}

@media (max-width: 760px) {
    .footer-panel {
        grid-template-columns: 1fr;
    }
    .services-overview__cards,
    .services-catalog .card-grid {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        padding: 4px 3px 16px;
    }
    .services-overview__cards::-webkit-scrollbar,
    .services-catalog .card-grid::-webkit-scrollbar { display: none; }
    .services-overview__cards .service-mini-card {
        flex: 0 0 84%;
        grid-column: auto;
        grid-template-columns: 1fr;
        scroll-snap-align: start;
    }
    .services-overview__cards .service-mini-card--wide .service-mini-card__icon,
    .services-overview__cards .service-mini-card--wide h3,
    .services-overview__cards .service-mini-card--wide p,
    .services-overview__cards .service-mini-card--wide a {
        grid-column: auto;
        grid-row: auto;
    }
    .services-catalog .catalog-card {
        flex: 0 0 88%;
        scroll-snap-align: start;
    }
}

@media (max-width: 520px) {
    .mobile-menu__nav {
        grid-template-columns: 1fr;
    }
    .mobile-menu__nav > a {
        justify-content: flex-start;
        min-height: 50px;
        text-align: left;
    }
}

/* TechCiência 3.1.15 — multilingual public interface */
.language-flag.is-active {
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(11, 93, 187, .55);
}
.mobile-menu__languages .is-active {
    color: var(--brand-3);
    font-weight: 800;
    background: rgba(43, 155, 231, .1);
    border-color: rgba(11, 93, 187, .22);
}

.page-home .hero-home__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 580px);
    align-items: center;
}
.hero-services-carousel {
    width: 100%;
    max-width: 580px;
    min-height: 570px;
    aspect-ratio: 1 / 1.04;
    justify-self: end;
    align-self: center;
    transform: none !important;
}
.hero-services-carousel__viewport,
.hero-services-carousel__track { height: 100%; }
.hero-service-slide { height: 100%; min-height: 570px; }
.hero-service-slide__content {
    z-index: 4;
    bottom: 96px;
}
.hero-services-carousel__controls {
    z-index: 7;
    top: auto;
    bottom: 18px;
}
.hero-services-carousel::after {
    top: auto;
    bottom: 0;
    z-index: 8;
}
.hero-services-carousel.science-depth-card,
.hero-services-carousel.science-depth-card:hover {
    transform: none !important;
}
.hero-services-carousel.science-depth-card::after { display: none; }

.service-mini-card__icon,
.catalog-card__icon {
    overflow: hidden;
    background: linear-gradient(145deg, #f2fbfd, #dff4fb);
    border: 1px solid rgba(11, 93, 187, .1);
}
.service-mini-card__icon img,
.catalog-card__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.service-mini-card--featured .service-mini-card__icon {
    background: rgba(255,255,255,.94);
    border-color: rgba(255,255,255,.35);
}
.catalog-card__icon img { width: 40px; height: 40px; }

@media (max-width: 1120px) {
    .page-home .hero-home__grid { grid-template-columns: 1fr; }
    .hero-services-carousel { justify-self: center; max-width: 680px; min-height: 540px; aspect-ratio: 16 / 11; }
    .hero-service-slide { min-height: 540px; }
}

@media (max-width: 760px) {
    .hero-services-carousel {
        width: 100%;
        max-width: none;
        min-height: 440px;
        aspect-ratio: 4 / 5;
        border-radius: 24px;
    }
    .hero-service-slide { min-height: 440px; height: 100%; }
    .hero-service-slide__content { left: 20px; right: 20px; bottom: 78px; }
    .hero-service-slide__content h2 { font-size: clamp(1.45rem, 7vw, 2rem); }
    .hero-service-slide__description { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-services-carousel__controls { left: 12px; right: 12px; bottom: 12px; top: auto; }
}
.service-mini-card--featured a { color: #fff !important; }

/* TechCiência 3.1.15 — hero limpo e carrossel estabilizado */
.page-home .hero-home__grid {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 560px);
    align-items: start;
    gap: clamp(38px, 5vw, 72px);
}
.page-home .hero-home__copy {
    max-width: 650px;
    padding-top: 8px;
}
.page-home .hero-home__actions { margin-bottom: 0; }
.page-home .hero-home__meta { display: none !important; }

.page-home .hero-services-carousel {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: clamp(500px, 40vw, 560px);
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    justify-self: end;
    align-self: start;
    transform: none !important;
}
.page-home .hero-services-carousel__viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}
.page-home .hero-services-carousel__track {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: stretch;
}
.page-home .hero-service-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 0;
    background-image: var(--slide-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.page-home .hero-service-slide > img {
    z-index: 0;
    display: block;
    opacity: 1;
}
.page-home .hero-service-slide__shade { z-index: 1; }
.page-home .hero-service-slide__content {
    z-index: 3;
    bottom: 92px;
}
.page-home .hero-services-carousel__controls {
    z-index: 6;
    top: auto;
    right: 16px;
    bottom: 16px;
    left: 16px;
}
.page-home .hero-services-carousel::after {
    top: auto;
    bottom: 0;
    z-index: 7;
}

@media (max-width: 1120px) {
    .page-home .hero-home__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-home .hero-services-carousel {
        width: min(100%, 680px);
        max-width: 680px;
        height: clamp(480px, 68vw, 540px);
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .page-home .hero-home__copy { padding-top: 0; }
    .page-home .hero-services-carousel {
        width: 100%;
        max-width: none;
        height: clamp(430px, 118vw, 500px);
        min-height: 0;
        border-radius: 24px;
    }
    .page-home .hero-service-slide__content {
        right: 20px;
        bottom: 78px;
        left: 20px;
    }
    .page-home .hero-services-carousel__controls {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }
}

/* Carrossel em camadas: evita colapso ou deslocamento do trilho */
.page-home .hero-services-carousel__track {
    display: block;
    transform: none !important;
}
.page-home .hero-service-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .85s ease, visibility .85s ease;
}
.page-home .hero-service-slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__languages > a { text-decoration: none; }
.language-flag { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.language-flag:hover { transform: translateY(-1px); }

/* TechCiência 3.1.16 — official symbol grouped with translatable brand lockup */
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    min-width: 0;
    text-decoration: none;
}
.brand-lockup .brand-lockup__mark {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 0;
}
.brand-lockup__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}
.brand-lockup__name {
    display: block;
    color: #16304f;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.035em;
    white-space: nowrap;
}
.brand-lockup__tagline {
    display: block;
    margin-top: 5px;
    color: #60748c;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .13em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}
.footer-brand .brand-lockup--footer {
    margin-bottom: 16px;
}
.brand-lockup--footer .brand-lockup__mark {
    width: 50px;
    height: 50px;
    border-radius: 0;
}
.brand-lockup--footer .brand-lockup__name {
    color: #fff;
    font-size: 1.22rem;
}
.brand-lockup--footer .brand-lockup__tagline {
    color: rgba(255,255,255,.66);
}
@media (max-width: 760px) {
    .brand-lockup { gap: 8px; }
    .brand-lockup .brand-lockup__mark { width: 38px; height: 38px; border-radius: 0; }
    .brand-lockup__name { font-size: 1rem; }
    .brand-lockup__tagline { margin-top: 4px; font-size: .49rem; letter-spacing: .1em; }
    .brand-lockup--footer .brand-lockup__mark { width: 46px; height: 46px; }
    .brand-lockup--footer .brand-lockup__name { font-size: 1.12rem; }
}


/* TechCiência 3.1.26 — serviços e contato simplificados */
.page-services h2 {
    font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
    line-height: 1.18;
}

.page-contact .contact-simple {
    position: relative;
    background: transparent;
}
.page-contact .contact-simple__shell {
    width: min(calc(100% - 40px), 980px);
    margin-inline: auto;
}
.page-contact .contact-simple__intro {
    max-width: 760px;
    margin-bottom: clamp(34px, 5vw, 58px);
}
.page-contact .contact-simple__intro h1 {
    max-width: 14ch;
    margin-bottom: 18px;
}
.page-contact .contact-simple__intro h1 span {
    color: var(--brand-3);
}
.page-contact .contact-simple__intro > p:last-child {
    max-width: 62ch;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
}
.page-contact .contact-simple__form {
    display: grid;
    gap: 18px;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.page-contact .contact-simple__form label {
    display: grid;
    gap: 8px;
    color: var(--heading);
    font-weight: 600;
}
.page-contact .contact-simple__form label > span {
    font-size: .93rem;
}
.page-contact .contact-simple__form input,
.page-contact .contact-simple__form textarea,
.page-contact .contact-simple__form select {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid #cfdced;
    border-radius: 14px;
    outline: 0;
    color: var(--heading);
    background: rgba(255,255,255,.76);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.page-contact .contact-simple__form textarea {
    min-height: 170px;
    resize: vertical;
}
.page-contact .contact-simple__form input:focus,
.page-contact .contact-simple__form textarea:focus,
.page-contact .contact-simple__form select:focus {
    border-color: rgba(10,87,184,.5);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(43,155,231,.08);
}
.page-contact .contact-simple__form .consent-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}
.page-contact .contact-simple__form .consent-inline input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    flex: 0 0 18px;
    padding: 0;
    margin-top: 2px;
}
.page-contact .contact-simple__form .btn {
    justify-self: start;
    margin-top: 4px;
}
.page-contact .science-canvas {
    opacity: .42;
}
@media (max-width: 760px) {
    .page-contact .contact-simple__shell {
        width: min(calc(100% - 26px), 980px);
    }
    .page-contact .contact-simple__intro {
        margin-bottom: 30px;
    }
    .page-contact .contact-simple__intro h1 {
        max-width: none;
    }
}

/* TechCiência 3.1.29 — portfólio de sites, landing pages e sistemas SaaS */
.digital-portfolio-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(126, 215, 229, .12), transparent 24%),
        radial-gradient(circle at 82% 84%, rgba(43, 155, 231, .08), transparent 22%),
        var(--page-bg);
}
.digital-portfolio-showcase__heading {
    max-width: 820px;
    margin-bottom: clamp(28px, 4vw, 46px);
}
.digital-portfolio-showcase__heading h2 {
    max-width: 18ch;
}
.digital-portfolio-showcase__heading > p:last-child {
    max-width: 68ch;
    margin-bottom: 0;
}
.digital-showcase {
    --showcase-gap: 22px;
    --project-card-width: 330px;
    --project-window-height: 460px;
    position: relative;
    width: 100%;
    padding: 18px 0 30px;
    overflow: hidden;
}
.digital-showcase__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: digitalShowcaseLoop 48s linear infinite;
}
.digital-showcase:hover .digital-showcase__track,
.digital-showcase:focus-within .digital-showcase__track {
    animation-play-state: paused;
}
.digital-showcase__group {
    display: flex;
    align-items: center;
    gap: var(--showcase-gap);
    padding-right: var(--showcase-gap);
}
.digital-project-card {
    position: relative;
    display: block;
    flex: 0 0 var(--project-card-width);
    width: var(--project-card-width);
    overflow: hidden;
    border: 1px solid rgba(177, 205, 237, .78);
    border-radius: 26px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 22px 50px rgba(10, 60, 128, .10);
    color: var(--heading);
    text-decoration: none;
    transform: translateZ(0);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.digital-project-card:hover,
.digital-project-card:focus-visible {
    transform: translateY(-7px);
    border-color: rgba(43,155,231,.34);
    box-shadow: 0 30px 62px rgba(10, 60, 128, .16);
}
.digital-project-card.is-featured {
    --project-card-width: 382px;
    --project-window-height: 520px;
    border-color: rgba(43,155,231,.46);
    box-shadow: 0 30px 72px rgba(10, 87, 184, .18);
}
.digital-project-card__browser {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 15px;
    border-bottom: 1px solid rgba(177, 205, 237, .64);
    background: rgba(248,251,255,.96);
}
.digital-project-card__browser i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(28, 105, 190, .2);
}
.digital-project-card__browser i:nth-child(2) { background: rgba(43,155,231,.32); }
.digital-project-card__browser i:nth-child(3) { background: rgba(126,215,229,.62); }
.digital-project-card__image {
    display: block;
    height: var(--project-window-height);
    overflow: hidden;
    background: #eef5fb;
}
.digital-project-card__image img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 8s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
}
.digital-project-card:hover .digital-project-card__image img,
.digital-project-card:focus-visible .digital-project-card__image img {
    transform: translateY(calc(-100% + var(--project-window-height)));
}
.digital-project-card__meta {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 4px 14px;
    align-items: center;
    min-height: 76px;
    padding: 15px 17px 16px;
}
.digital-project-card__meta > span {
    color: var(--text-soft);
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.digital-project-card__meta strong {
    grid-column: 1;
    color: var(--brand-3);
    font-size: .83rem;
}
.digital-project-card__meta b {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--brand-3);
    font-size: .78rem;
    white-space: nowrap;
}
.digital-showcase__fade {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    width: clamp(22px, 8vw, 130px);
    pointer-events: none;
}
.digital-showcase__fade--left {
    left: 0;
    background: linear-gradient(90deg, var(--page-bg), rgba(245,249,255,0));
}
.digital-showcase__fade--right {
    right: 0;
    background: linear-gradient(270deg, var(--page-bg), rgba(245,249,255,0));
}
@keyframes digitalShowcaseLoop {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}

.saas-projects-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 22%, rgba(55, 180, 224, .18), transparent 24%),
        radial-gradient(circle at 12% 82%, rgba(22, 101, 194, .22), transparent 28%),
        #082c68;
}
.saas-projects-showcase__intro {
    max-width: 820px;
    margin-bottom: clamp(34px, 5vw, 62px);
}
.saas-projects-showcase__intro h2 {
    color: #fff;
}
.saas-projects-showcase__intro > p:not(.eyebrow) {
    max-width: 66ch;
    color: rgba(255,255,255,.72);
}
.saas-projects-showcase__list {
    display: grid;
    gap: clamp(54px, 8vw, 96px);
}
.saas-projects-showcase__item {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr);
    gap: clamp(34px, 6vw, 84px);
    align-items: center;
}
.saas-projects-showcase__item--reverse .saas-projects-showcase__copy {
    order: 2;
}
.saas-projects-showcase__item--reverse .saas-projects-showcase__preview {
    order: 1;
}
.saas-projects-showcase__copy h2,
.saas-projects-showcase__copy h3 {
    color: #fff;
}
.saas-projects-showcase__copy > p:not(.eyebrow) {
    max-width: 60ch;
    color: rgba(255,255,255,.72);
}
.saas-projects-showcase__project {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
    gap: 16px;
    margin: 30px 0 26px;
    padding: 21px 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.saas-projects-showcase__project > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(126,215,229,.4);
    border-radius: 50%;
    color: #90e1e9;
    font-size: .72rem;
    font-weight: 800;
}
.saas-projects-showcase__project h3 {
    margin-bottom: 7px;
    font-size: 1.15rem;
}
.saas-projects-showcase__project p {
    margin: 0;
    color: rgba(255,255,255,.64);
    font-size: .92rem;
}
.saas-projects-showcase__preview {
    --saas-preview-height: 620px;
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(126,215,229,.34);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 34px 80px rgba(0,13,44,.35);
    transform: rotate(.5deg);
    transition: transform .35s ease, box-shadow .35s ease;
}
.saas-projects-showcase__preview:hover,
.saas-projects-showcase__preview:focus-visible {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 42px 90px rgba(0,13,44,.44);
}
.saas-projects-showcase__browser {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(14,57,112,.12);
    background: #f8fbff;
}
.saas-projects-showcase__browser i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(13,63,143,.22);
}
.saas-projects-showcase__browser b {
    margin-left: 8px;
    color: #66778d;
    font-size: .7rem;
    font-weight: 600;
}
.saas-projects-showcase__screen {
    display: block;
    height: var(--saas-preview-height);
    overflow: hidden;
    background: #f5f2ef;
}
.saas-projects-showcase__screen img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-position: top center;
    transition: transform 11s cubic-bezier(.22,.7,.18,1);
    will-change: transform;
}
.saas-projects-showcase__preview:hover .saas-projects-showcase__screen img,
.saas-projects-showcase__preview:focus-visible .saas-projects-showcase__screen img {
    transform: translateY(calc(-100% + var(--saas-preview-height)));
}

@media (max-width: 980px) {
    .digital-showcase {
        --project-card-width: 300px;
        --project-window-height: 420px;
    }
    .digital-project-card.is-featured {
        --project-card-width: 340px;
        --project-window-height: 470px;
    }
    .saas-projects-showcase__item {
        grid-template-columns: 1fr;
    }
    .saas-projects-showcase__item--reverse .saas-projects-showcase__copy,
    .saas-projects-showcase__item--reverse .saas-projects-showcase__preview {
        order: initial;
    }
    .saas-projects-showcase__preview {
        --saas-preview-height: 560px;
        width: min(100%, 720px);
        margin-inline: auto;
    }
}

@media (max-width: 640px) {
    .digital-portfolio-showcase__heading {
        margin-bottom: 18px;
    }
    .digital-showcase {
        --showcase-gap: 14px;
        --project-card-width: min(78vw, 300px);
        --project-window-height: 410px;
        padding-block: 8px 18px;
    }
    .digital-project-card.is-featured {
        --project-card-width: min(84vw, 330px);
        --project-window-height: 450px;
    }
    .digital-showcase__track {
        animation-duration: 40s;
    }
    .digital-showcase__fade {
        width: 24px;
    }
    .digital-project-card {
        border-radius: 22px;
    }
    .digital-project-card__meta {
        min-height: 68px;
        padding: 13px 14px 14px;
    }
    .digital-project-card__meta b {
        display: none;
    }
    .saas-projects-showcase__list {
        gap: 54px;
    }
    .saas-projects-showcase__item {
        gap: 28px;
    }
    .saas-projects-showcase__preview {
        --saas-preview-height: 500px;
        border-radius: 22px;
        transform: none;
    }
    .saas-projects-showcase__project {
        grid-template-columns: 40px minmax(0,1fr);
        gap: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .digital-showcase {
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }
    .digital-showcase__track {
        animation: none;
    }
    .digital-showcase__group:nth-child(2) {
        display: none;
    }
    .digital-project-card {
        scroll-snap-align: center;
    }
    .digital-project-card__image img,
    .saas-projects-showcase__screen img {
        transition: none;
        transform: none !important;
    }
}

/* TechCiência 3.1.29 — segundo destaque SaaS: Meu Palcco */


/* TechCiência 3.1.29 — indicador SVG do mega menu */
.main-nav__services {
    gap: 8px;
}
.main-nav__services > .main-nav__mega-icon {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 7px;
    color: currentColor;
    background: rgba(10, 87, 184, .055);
    transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.main-nav__services > .main-nav__mega-icon svg {
    width: 17px;
    height: 17px;
    display: block;
}
.main-nav__services:hover > .main-nav__mega-icon,
.main-nav__services:focus-visible > .main-nav__mega-icon,
.main-nav__services[aria-expanded="true"] > .main-nav__mega-icon {
    background: rgba(10, 87, 184, .11);
    box-shadow: inset 0 0 0 1px rgba(10, 87, 184, .12);
}
.main-nav__services[aria-expanded="true"] > .main-nav__mega-icon {
    transform: rotate(180deg);
}
.main-nav__services > .main-nav__mega-icon + span {
    display: none;
}


/* TechCiência 3.1.30 — Meu Palcco como principal case SaaS */
.saas-projects-showcase__item--featured {
    position: relative;
    grid-template-columns: minmax(0, .72fr) minmax(440px, 1.28fr);
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(126,215,229,.28);
    border-radius: 34px;
    background:
        radial-gradient(circle at 82% 20%, rgba(126,215,229,.18), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
    box-shadow: 0 32px 82px rgba(0,12,42,.32), inset 0 1px 0 rgba(255,255,255,.08);
}
.saas-projects-showcase__featured-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    margin: 0 0 8px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(126,215,229,.14);
    border: 1px solid rgba(126,215,229,.34);
    color: #9ce6ec;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.saas-projects-showcase__item--featured .saas-projects-showcase__project h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.saas-projects-showcase__preview--featured {
    --saas-preview-height: 700px;
    border-color: rgba(126,215,229,.55);
    box-shadow: 0 42px 100px rgba(0,12,42,.48), 0 0 0 1px rgba(126,215,229,.08);
    transform: none;
}
.saas-projects-showcase__preview--featured:hover,
.saas-projects-showcase__preview--featured:focus-visible {
    transform: translateY(-8px) scale(1.006);
}
.saas-projects-showcase__item--secondary {
    width: min(100%, 1040px);
    margin-inline: auto;
    opacity: .93;
}
.saas-projects-showcase__preview--secondary {
    --saas-preview-height: 520px;
    width: min(100%, 590px);
    justify-self: center;
    box-shadow: 0 26px 64px rgba(0,13,44,.28);
}
.saas-projects-showcase__secondary-button {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.24);
}
.saas-projects-showcase__secondary-button:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}
@media (max-width: 980px) {
    .saas-projects-showcase__item--featured {
        grid-template-columns: 1fr;
        padding: 26px;
    }
    .saas-projects-showcase__preview--featured {
        --saas-preview-height: 620px;
        width: min(100%, 760px);
        margin-inline: auto;
    }
    .saas-projects-showcase__preview--secondary {
        --saas-preview-height: 500px;
    }
}
@media (max-width: 640px) {
    .saas-projects-showcase__item--featured {
        padding: 18px;
        border-radius: 26px;
    }
    .saas-projects-showcase__preview--featured {
        --saas-preview-height: 540px;
        border-radius: 22px;
    }
    .saas-projects-showcase__preview--secondary {
        --saas-preview-height: 430px;
    }
}

/* v3.1.32 — base técnica e científica por serviço */
.technical-basis { position: relative; }
.technical-basis__shell { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(28px,5vw,72px); align-items: start; }
.technical-basis__profile { display: grid; gap: 22px; position: sticky; top: 112px; }
.technical-basis__portrait { margin: 0; overflow: hidden; border-radius: 30px; min-height: 330px; background: #eaf4fb; box-shadow: 0 24px 55px rgba(17,74,150,.12); }
.technical-basis__portrait img { width: 100%; height: 100%; min-height: 330px; max-height: 470px; object-fit: cover; object-position: center; display: block; }
.technical-basis__portrait-inset { position: absolute; right: 18px; bottom: 18px; width: min(42%, 210px); aspect-ratio: 1.15; padding: 5px; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 18px 38px rgba(5,44,101,.22); }
.technical-basis__portrait { position: relative; }
.technical-basis__portrait-inset img { width: 100%; height: 100%; min-height: 0; max-height: none; border-radius: 15px; object-fit: cover; }
.technical-basis__identity h2 { margin: 8px 0 4px; }
.technical-basis__role { margin: 0 0 14px; color: var(--brand-3); font-weight: 800; }
.technical-basis__identity > p:last-of-type { max-width: 62ch; }
.technical-basis__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.technical-basis__links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-4); background: rgba(255,255,255,.78); font-size: .82rem; font-weight: 800; }
.technical-basis__links a:hover { border-color: rgba(43,155,231,.42); transform: translateY(-2px); }
.technical-basis__evidence { display: grid; gap: 18px; }
.technical-basis__evidence > article { padding: clamp(22px,3vw,32px); border-top: 1px solid var(--line); background: rgba(255,255,255,.46); }
.technical-basis__evidence h3 { margin: 0 0 18px; color: var(--heading); font-size: 1.18rem; }
.technical-basis__evidence ul,.technical-basis__evidence ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.technical-basis__evidence li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; }
.technical-basis__evidence li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--brand-3); background: rgba(126,215,229,.16); font-size: .68rem; font-weight: 900; }
.technical-basis__evidence li p { margin: 3px 0 0; color: var(--text); }
.technical-basis__note { margin: 0; padding: 16px 18px; border-left: 3px solid var(--brand-2); background: rgba(126,215,229,.09); color: var(--text-soft); font-size: .9rem; }
.research-case { background: linear-gradient(180deg, rgba(237,247,255,.72), rgba(255,255,255,.96)); }
.research-case__shell { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr); gap: clamp(30px,6vw,78px); align-items: center; }
.research-case__media { margin: 0; overflow: hidden; border-radius: 30px; box-shadow: 0 28px 62px rgba(8,53,119,.14); }
.research-case__media img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; }
.research-case__copy h2 { max-width: 14ch; }
.research-case__copy p { max-width: 58ch; }
.research-case__copy .btn { margin-top: 18px; }
@media (max-width: 980px) { .technical-basis__shell,.research-case__shell { grid-template-columns: 1fr; } .technical-basis__profile { position: static; } .technical-basis__portrait img { max-height: 520px; } }
@media (max-width: 760px) { .technical-basis__portrait { min-height: 260px; border-radius: 24px; } .technical-basis__portrait img { min-height: 260px; max-height: 360px; } .technical-basis__links { display: grid; } .technical-basis__links a { justify-content: space-between; } .technical-basis__evidence article { padding-inline: 0; background: transparent; } .research-case__media { border-radius: 24px; } }

/* TechCiência 3.1.33 — bases técnicas com referências verificáveis */
.technical-basis__experience { border-top-color: rgba(43,155,231,.28) !important; }
.technical-basis__publications { padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.technical-basis__publication-list { display: grid; gap: 14px; }
.technical-publication {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(39,96,157,.14);
}
.technical-publication:first-child { border-top: 0; padding-top: 2px; }
.technical-publication__index {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--brand-3);
    background: rgba(126,215,229,.14);
    font-size: .68rem; font-weight: 900;
}
.technical-publication__body { min-width: 0; }
.technical-publication__type {
    margin: 0 0 5px; color: var(--brand-3);
    font-size: .64rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .1em;
}
.technical-publication h4 {
    margin: 0; color: var(--heading);
    font-size: 1rem; line-height: 1.42;
}
.technical-publication__citation {
    margin: 7px 0 0; color: var(--text-soft);
    font-size: .78rem; line-height: 1.55;
}
.technical-publication__context {
    margin: 8px 0 0; color: var(--text);
    font-size: .88rem; line-height: 1.62;
}
.technical-publication a {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 10px; color: var(--brand-3);
    font-size: .8rem; font-weight: 900;
}
.technical-publication a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width:760px) {
    .technical-publication { grid-template-columns: 34px minmax(0,1fr); gap: 10px; }
    .technical-publication__index { width: 30px; height: 30px; }
    .technical-publication h4 { font-size: .94rem; }
}

/* TechCiência 3.1.36 — experiência abaixo dos links do perfil */
.technical-basis__experience {
    margin-top: 26px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(43,155,231,.28) !important;
    background: transparent !important;
}
.technical-basis__experience h3 {
    margin: 0 0 18px;
    color: var(--heading);
    font-size: 1.08rem;
    line-height: 1.35;
}
.technical-basis__experience ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.technical-basis__experience li {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 12px;
    align-items: start;
}
.technical-basis__experience li > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--brand-3);
    background: rgba(126,215,229,.16);
    font-size: .68rem;
    font-weight: 900;
}
.technical-basis__experience li p {
    margin: 3px 0 0;
    color: var(--text);
    line-height: 1.62;
}
@media (min-width: 981px) {
    .technical-basis__profile {
        position: static;
    }
    .technical-basis__evidence {
        padding-top: 0;
    }
}
@media (max-width: 760px) {
    .technical-basis__experience {
        margin-top: 22px;
        padding-top: 20px;
    }
}


/* TechCiência 3.1.36 — referências no fluxo normal, sem caixa ou rolagem interna */
.technical-basis__evidence {
    display: block;
    padding: 0;
    background: transparent;
}
.technical-basis__publications {
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.technical-basis__publications > h3 {
    margin: 0 0 20px;
}
.technical-basis__publication-list {
    display: grid;
    gap: 0;
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto;
    padding: 0 !important;
    margin: 0 !important;
    scrollbar-width: auto;
}
.technical-basis__publication-list::after { display: none !important; }
.technical-basis__publication-list::-webkit-scrollbar { display: none; }
.technical-publication {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(39,96,157,.16) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    scroll-snap-align: none !important;
    transform: none !important;
}
.technical-publication:first-child {
    border-top: 0 !important;
    padding-top: 0 !important;
}
.technical-publication:hover {
    box-shadow: none !important;
    transform: none !important;
}
@media (max-width: 760px) {
    .technical-basis__publication-list { overflow: visible !important; }
    .technical-publication { padding: 18px 0 !important; }
}

/* TechCiência 3.1.37 — Carreiras e navegação mobile lateral */
.menu-toggle__icon {
    width: 25px;
    height: 20px;
    display: block;
}

.page-careers .careers-page {
    min-height: calc(100vh - var(--header-height));
    background: #fff;
}
.careers-page__shell {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: clamp(44px, 7vw, 110px);
    align-items: start;
}
.careers-page__intro {
    position: sticky;
    top: calc(var(--header-height) + 42px);
    max-width: 510px;
}
.careers-page__intro h1 {
    margin-top: 16px;
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.055em;
}
.careers-page__intro h1 span {
    display: block;
    color: var(--brand-3);
}
.careers-page__intro > p:last-child {
    margin-top: 24px;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}
.careers-page__content {
    padding: clamp(26px, 4vw, 46px) 0 0;
    border-top: 1px solid var(--line);
}
.careers-page__form-head {
    max-width: 690px;
    margin-bottom: 28px;
}
.careers-page__form-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.careers-page__form-head p {
    margin-top: 10px;
    color: var(--text-soft);
}
.careers-form {
    display: grid;
    gap: 17px;
    max-width: 760px;
}
.careers-form label {
    display: grid;
    gap: 8px;
    color: var(--heading);
    font-size: .82rem;
    font-weight: 750;
}
.careers-form input,
.careers-form textarea,
.careers-form select {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(147, 177, 212, .65);
    border-radius: 14px;
    outline: 0;
    background: #fff;
    color: var(--heading);
    font: inherit;
    font-weight: 500;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.careers-form textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.55;
}
.careers-form input:focus,
.careers-form textarea:focus,
.careers-form select:focus {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(43,155,231,.09);
}
.career-file input[type="file"] {
    padding: 9px;
    background: rgba(239,247,255,.65);
}
.career-file input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    background: var(--brand-3);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}
.career-file > small:not(.field-error) {
    color: var(--text-soft);
    font-size: .75rem;
    font-weight: 500;
}
.careers-form .btn {
    justify-self: start;
    min-width: 210px;
    margin-top: 5px;
}

@media (max-width: 1120px) {
    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        color: var(--heading);
    }
    .menu-toggle i { display: none !important; }
    .mobile-menu__inner {
        width: min(88vw, 390px) !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding: 22px 22px max(28px, env(safe-area-inset-bottom)) !important;
        box-shadow: 22px 0 60px rgba(2, 29, 73, .2) !important;
        transform: translate3d(-100%, 0, 0) !important;
        background: #f8fbff !important;
    }
    .mobile-menu.is-open .mobile-menu__inner {
        transform: translate3d(0, 0, 0) !important;
    }
    .mobile-menu__nav {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        margin: 20px 0 0 !important;
    }
    .mobile-menu__nav > a {
        min-height: 58px !important;
        justify-content: space-between !important;
        padding: 14px 4px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--line) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: var(--heading) !important;
        text-align: left !important;
        box-shadow: none !important;
    }
    .mobile-menu__nav > a span {
        color: var(--brand-3);
        font-size: 1rem;
    }
    .mobile-menu__nav > a[aria-current="page"] {
        color: var(--brand-3) !important;
        font-weight: 800 !important;
    }
    .mobile-menu__footer {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--line);
    }
    .careers-page__shell {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .careers-page__intro {
        position: static;
        max-width: 720px;
    }
    .careers-page__content {
        padding-top: 28px;
    }
}

@media (max-width: 760px) {
    .careers-page {
        padding-top: 54px;
    }
    .careers-page__intro h1 {
        font-size: clamp(2.35rem, 11vw, 3.45rem);
    }
    .careers-form .form-grid-two {
        grid-template-columns: 1fr;
    }
    .careers-form .btn {
        width: 100%;
        justify-content: center;
    }
}

/* v3.1.53 — dados públicos configuráveis */
.footer-company-data {
    list-style: none;
    display: grid;
    gap: 6px;
    margin: 16px 0 0;
    padding: 0;
    max-width: 42ch;
    color: rgba(255,255,255,.76);
    font-size: .86rem;
    line-height: 1.55;
}
.footer-company-data li,
.footer-company-data a { color: inherit; }
.footer-company-data strong { color: #fff; font-weight: 750; }
