.hero-home {
    position: relative;
    min-height: 810px;
    padding-top: 92px;
    overflow: hidden;
    background: linear-gradient(115deg, #075e89 0%, #1287bb 55%, #0c5c85 100%)
}

.hero-blueprint {
    position: absolute;
    inset: 0;
    background: url('../../images/layout/blueprint-lines.png') center/cover;
    opacity: .18
}

.hero-blueprint:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 59, 87, .38), transparent 68%)
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    min-height: 620px
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 80px 0 55px
}

.hero-copy h1 {
    max-width: 720px;
    margin-bottom: 28px;
    color: #fff;
    font-size: clamp(3.1rem, 5.6vw, 4.5rem);
    letter-spacing: -.045em
}

.hero-copy p {
    max-width: 640px;
    margin-bottom: 35px;
    color: #d7f0fa;
    font-size: 1.22rem
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap
}

.hero-building {
    position: absolute;
    z-index: 1;
    top: 60px;
    right: -10vw;
    bottom: 0;
    width: 58%;
    background: linear-gradient(90deg, #1287bb 0%, rgba(18, 135, 187, .1) 35%), url('../../images/servicos/home-fs-4.jpg') center/cover no-repeat;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%)
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    background: rgba(5, 48, 71, .45);
    backdrop-filter: blur(6px)
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}

.hero-stats>div {
    padding: 24px 32px;
    border-left: 1px solid rgba(255, 255, 255, .16)
}

.hero-stats>div:last-child {
    border-right: 1px solid rgba(255, 255, 255, .16)
}

.hero-stats strong,
.hero-stats span {
    display: block
}

.hero-stats strong {
    color: #fff;
    font-size: 1rem
}

.hero-stats span {
    color: #b8d7e4;
    font-size: .8rem
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center
}

.image-frame {
    position: relative;
    padding: 0 28px 28px 0
}

.image-frame img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    filter: saturate(.72)
}

.image-frame:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    background: var(--blue)
}

.image-accent {
    position: absolute;
    z-index: 3;
    top: -22px;
    left: -22px;
    width: 120px;
    height: 120px;
    border-left: 5px solid var(--blue);
    border-top: 5px solid var(--blue)
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 34px
}

.feature-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344c59;
    font-size: .94rem
}

.feature-list i {
    color: var(--blue);
    font-size: 1.2rem
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 5px 25px rgba(16, 44, 66, .06);
    transition: transform .28s, box-shadow .28s
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow)
}

.service-image {
    position: relative;
    display: block;
    height: 235px;
    overflow: hidden
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.65);
    transition: transform .5s
}

.service-card:hover .service-image img {
    transform: scale(1.05)
}

.service-icon {
    position: absolute;
    right: 22px;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    background: var(--blue);
    color: #fff;
    font-size: 1.7rem
}

.service-body {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 30px
}

.card-index {
    position: absolute;
    right: 24px;
    top: 19px;
    color: #dfe8ec;
    font-size: 2.4rem;
    font-weight: 700
}

.service-body h3 {
    position: relative;
    max-width: 100%;
    margin-bottom: 28px;
    font-size: 1.25rem
}

.service-body h3 a:hover {
    color: var(--blue)
}

.service-body p {
    min-height: 78px;
    font-size: .92rem
}

.service-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    flex-wrap: wrap
}

.process-section {
    position: relative;
    overflow: hidden;
    padding: 105px 0;
    background: var(--navy);
    color: #fff
}

.process-section:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 1340px);
    height: 90px;
    background: url('../../images/layout/apoio-de-base-com-tracejado.png') center bottom / 100% auto no-repeat;
    opacity: .24;
    pointer-events: none
}

.process-lines {
    position: absolute;
    inset: 0;
    background: url('../../images/layout/blueprint-lines.png') center/cover;
    opacity: .08
}

.process-heading {
    position: relative;
    max-width: 760px;
    margin-bottom: 50px
}

.process-heading h2 {
    color: #fff;
    font-size: clamp(2.3rem, 4vw, 3.8rem)
}

.process-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .22)
}

.process-grid article {
    position: relative;
    padding: 36px 32px 0 0
}

.process-grid article:before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--blue-light);
    border: 3px solid var(--navy);
    outline: 1px solid var(--blue-light);
    border-radius: 50%
}

.process-grid span {
    display: block;
    color: var(--blue-light);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em
}

.process-grid h3 {
    margin: 15px 0;
    color: #fff;
    font-size: 1.32rem
}

.process-grid p {
    color: #a8c0cc;
    font-size: .9rem
}

.clients-carousel {
    position: relative;
    max-width: 100%;
    min-width: 0;
    overflow: hidden
}

.clients-carousel-viewport {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none
}

.clients-carousel-viewport::-webkit-scrollbar {
    display: none
}

.clients-carousel-track {
    display: flex;
    width: 100%;
    gap: 14px
}

.client-logo {
    display: grid;
    place-items: center;
    flex: 0 0 calc((100% - 56px) / 5);
    min-height: 130px;
    margin: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    scroll-snap-align: start
}

.client-logo img {
    max-width: 145px;
    max-height: 76px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: .25s
}

.client-logo:hover img {
    filter: none;
    opacity: 1
}

.client-logo img[src*="logo-trabem"] {
    filter: brightness(0) grayscale(1);
    opacity: .5
}

.client-logo:hover img[src*="logo-trabem"] {
    filter: brightness(0) grayscale(1);
    opacity: .7
}

.clients-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 22px
}

.clients-carousel-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    font-size: 1.25rem;
    transition: .2s
}

.clients-carousel-controls button:hover,
.clients-carousel-controls button:focus-visible {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff
}

.clients-carousel-controls span {
    min-width: 58px;
    color: #607681;
    font-size: .82rem;
    text-align: center
}

@media(max-width:1000px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero-building {
        right: -18%;
        width: 72%;
        opacity: .38
    }

    .hero-copy {
        max-width: 720px
    }

    .split-grid {
        gap: 50px
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px
    }

    .client-logo {
        flex-basis: calc((100% - 42px) / 4)
    }
}

@media(max-width:760px) {
    .hero-home {
        isolation: isolate;
        min-height: 760px;
        padding-top: 76px
    }

    .hero-blueprint,
    .hero-building {
        pointer-events: none
    }

    .hero-actions {
        position: relative;
        z-index: 20;
        isolation: isolate
    }

    .hero-actions a {
        position: relative;
        z-index: 21;
        min-height: 44px;
        touch-action: manipulation
    }

    .home-page .site-header.is-sticky {
        animation: none
    }

    .hero-bottom {
        -webkit-backdrop-filter: none;
        backdrop-filter: none
    }

    .clients-preview .section-heading>.button {
        margin-top: 22px
    }

    .hero-grid {
        min-height: 620px
    }

    .hero-copy {
        padding-top: 50px
    }

    .hero-copy h1 {
        font-size: 3.15rem
    }

    .hero-building {
        top: 76px;
        right: -42%;
        width: 110%;
        opacity: .23
    }

    .hero-stats>div {
        padding: 17px 10px
    }

    .hero-stats span {
        display: none
    }

    .split-grid {
        grid-template-columns: 1fr
    }

    .image-frame img {
        height: 410px
    }

    .about-preview .image-frame {
        order: 2
    }

    .feature-list {
        grid-template-columns: 1fr
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        position: relative;
        isolation: isolate;
        transform: none !important
    }

    .service-card:hover {
        transform: none !important
    }

    .service-card:hover .service-image img {
        transform: none
    }

    .service-image,
    .service-body,
    .service-card-actions,
    .service-card a {
        position: relative
    }

    .service-image,
    .service-body {
        z-index: 1
    }

    .service-card-actions,
    .service-card a {
        z-index: 2
    }

    .service-card a {
        touch-action: manipulation
    }

    .service-card a img,
    .service-card a span,
    .service-card a i {
        pointer-events: none
    }

    .process-grid {
        grid-template-columns: 1fr;
        border-top: 0
    }

    .process-grid article {
        padding-left: 28px;
        border-left: 1px solid rgba(255, 255, 255, .22)
    }

    .process-grid article:before {
        top: 7px;
        left: -6px
    }

    .client-logo {
        flex-basis: calc((100% - 28px) / 3);
        min-height: 96px;
        padding: 10px 8px
    }

    .client-logo img {
        max-width: 100%;
        max-height: 50px
    }
}
