/* Banner */
.banner {
    height: 1120px;
    width: 100%;
    background-image: url(/assets/images/home/banner.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    padding-top: 90px;
    position: relative;
}

.banner .container {
    text-align: center;
}

.banner h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 64px;
    color: #012169;
    margin-bottom: 16px;
}

.banner p {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    margin-bottom: 40px;
}

.banner .banner-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.banner .banner-arrow-animation {
    position: absolute;
    top: 166px;
    left: 66px;
    opacity: 0;
    animation: bannerArrowAnimation 5s ease-in-out infinite;
    will-change: opacity, transform;
}

@keyframes bannerArrowAnimation {
    0% {
        opacity: 0;
        transform: translateX(0);
    }

    8% {
        opacity: 0;
        transform: translateX(0);
    }

    14%,
    44% {
        opacity: 1;
        transform: translateX(0);
    }

    50% {
        opacity: 0;
    }

    56% {
        opacity: 1;
    }

    62% {
        opacity: 0;
    }

    68%,
    72% {
        opacity: 1;
        transform: translateX(0);
    }

    92% {
        opacity: 1;
        transform: translateX(160px);
    }

    96% {
        opacity: 1;
        transform: translateX(160px);
    }

    98% {
        opacity: 0;
        transform: translateX(160px);
    }

    100% {
        opacity: 0;
        transform: translateX(0);
    }
}

/* Hardware */
.hardware {
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
}

.hardware .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hardware h2 {
    font-size: 52px;
    font-weight: 700;
    line-height: 64px;
    color: #012169;
    text-align: center;
    max-width: 600px;
    margin-bottom: 16px;
}

.hardware h2 span {
    color: #E9501C;
}

.hardware .hardware-subtitle {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    text-align: center;
}

.hardware-circulos {
    width: 100%;
    height: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -45px;
    background-image: url(/assets/images/home/hardware-circulos.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hardware-circulos-logo {
    animation: pulse 2s ease-in-out infinite;
    transform-origin: center;
}

.hardware .hardware-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.hardware-item {
    position: absolute;
    width: 100%;
    max-width: 312px;
}

.hardware-item:nth-of-type(1) {
    top: 220px;
    left: 0;
}

.hardware-item:nth-of-type(2) {
    top: 220px;
    right: 0;
}

.hardware-item:nth-of-type(3) {
    bottom: 284px;
    left: 0;
}

.hardware-item:nth-of-type(4) {
    bottom: 284px;
    right: 0;
}

.hardware-item:hover .hardware-item-icon {
    transform: scale(1.1);
}

.hardware-item:hover img {
    transform: scale(1.1);
}

.hardware-item:hover p {
    color: #E9501C;
}

.hardware-item .hardware-item-icon {
    height: 72px;
    width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E9501C;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    transition: transform .5s;
}

.hardware-item .hardware-item-icon:hover {
    background-color: #9f2e09;
}

.hardware-item .hardware-item-icon img {
    transition: transform .4s;
}

.hardware-item p {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #012169;
    text-align: center;
    transition: color .2s;
}

.hardware-fundo-l {
    position: absolute;
    top: 90px;
    left: 25px;
}

.hardware-fundo-r {
    position: absolute;
    top: 100px;
    right: 10px;
}

/* Quem Somos */
.quem-somos {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.quem-somos .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-height: 100vh;
    justify-content: center;
    z-index: 2;
}

.quem-somos h2 {
    font-size: 100px;
    font-weight: 700;
    line-height: 100px;
    color: #012169;
    text-align: center;
    margin-bottom: 40px;
    z-index: 2;
}

.quem-somos h2 span {
    color: #E9501C;
}

.quem-somos .quem-somos-content {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    text-align: center;
    max-width: 587px;
    margin-bottom: 40px;
    z-index: 2;
}

.quem-somos-fundo-texto {
    font-size: clamp(84px, 12vw, 200px);
    font-weight: 800;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #EAF0F7;
    width: max-content;
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
    pointer-events: none;
    animation: quem-somos-fundo-marquee 36s linear infinite;
    will-change: transform;
}

.quem-somos-fundo-texto::after {
    content: attr(data-text);
}

@keyframes quem-somos-fundo-marquee {
    from {
        transform: translate3d(-50%, -50%, 0);
    }

    to {
        transform: translate3d(-100%, -50%, 0);
    }
}

.quem-somos-scroll {
    width: 100%;
    max-width: 1200px;
    margin-top: 100vh;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
}

.quem-somos-scroll .quem-somos-item {
    will-change: transform;
}

.quem-somos-item {
    width: 100%;
    max-width: 282px;
}

.quem-somos-item:nth-of-type(1) {
    margin-bottom: 112px;
}

.quem-somos-item:nth-of-type(2) {
    margin-left: auto;
    margin-bottom: 192px;
}

.quem-somos-item:nth-of-type(3) {
    margin-bottom: 311px;
}

.quem-somos-item:nth-of-type(4) {
    margin-left: auto;
}

.quem-somos-item img {
    margin-bottom: 24px;
    box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.2);
}

.quem-somos-item p {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    text-align: center;
}

.quem-somos-fundo-l {
    position: absolute;
    top: 228px;
    left: 0;
}

.quem-somos-fundo-r {
    position: absolute;
    top: 196px;
    right: 0;
}

@media (max-width: 768px) {
    .quem-somos {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .quem-somos .container {
        position: relative;
        top: auto;
        min-height: auto;
        justify-content: flex-start;
    }

    .quem-somos-fundo-texto {
        font-size: clamp(56px, 14vw, 120px);
        top: 28%;
        left: 50%;
        animation-duration: 48s;
    }

    .quem-somos-scroll {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        inset: auto;
        max-width: 100%;
        margin-top: 56px;
    }
}

/* Portfolio */
.portfolio {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.portfolio .container,
.portfolio-scroll,
.portfolio-carousel,
.portfolio-carousel-viewport,
.portfolio-list {
    position: relative;
    z-index: 2;
}

.portfolio h2 {
    font-size: 52px;
    line-height: 64px;
    color: #012169;
    text-align: center;
    max-width: 790px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.portfolio h2 span {
    color: #E9501C;
}

.portfolio-subtitle {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    text-align: center;
    margin-bottom: clamp(40px, 7vh, 80px);
}

.portfolio-scroll {
    box-sizing: border-box;
    padding-top: clamp(40px, 7vh, 80px);
    overflow: hidden;
}

.portfolio-carousel {
    --portfolio-arrow-size: 48px;
    --portfolio-viewport-width: 100%;
    box-sizing: border-box;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-inline: clamp(20px, 4vw, 72px);
}

.portfolio-carousel-viewport {
    width: 100%;
    margin-inline: auto;
    overflow: hidden;
}

.portfolio-list {
    display: flex;
    flex: 0 0 auto;
    gap: clamp(24px, 3vw, 48px);
    padding-inline: 0;
    transition: transform 0.6s ease;
    will-change: transform;
}

.portfolio-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: var(--portfolio-arrow-size);
    height: var(--portfolio-arrow-size);
    border: 0;
    border-radius: 50%;
    background-color: #E9501C;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.portfolio-carousel-arrow span {
    display: block;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-3px);
}

.portfolio-carousel-arrow-prev {
    left: calc((100% - var(--portfolio-viewport-width)) / 2 - (var(--portfolio-arrow-size) / 2));
}

.portfolio-carousel-arrow-next {
    right: calc((100% - var(--portfolio-viewport-width)) / 2 - (var(--portfolio-arrow-size) / 2));
}

.portfolio-carousel-arrow:hover,
.portfolio-carousel-arrow:focus-visible {
    background-color: #012169;
    color: #FFFFFF;
}

.portfolio-list-item {
    flex: 0 0 clamp(260px, calc((100vw - clamp(40px, 8vw, 144px) - clamp(72px, 9vw, 144px)) / 4), 400px);
    width: clamp(260px, calc((100vw - clamp(40px, 8vw, 144px) - clamp(72px, 9vw, 144px)) / 4), 400px);
    background-color: #FFFFFF;
    border: 1px solid rgba(1, 33, 105, 0.08);
    border-radius: 12px;
}

.portfolio-list-item-image {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-list-item-image img {
    transition: opacity 0.35s ease;
}

.portfolio-list-item-image img:last-of-type {
    opacity: 0;
    position: absolute;
}

.portfolio-list-item-content {
    padding: 40px;
}

.portfolio-list-item-content h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
    color: #012169;
}

.portfolio-list-item-content p {
    font-size: 16px;
    line-height: 28px;
    color: #61676C;
    margin-bottom: 24px;
}

.portfolio-list-item:hover .portfolio-list-item-image img:first-of-type {
    opacity: 0;
}

.portfolio-list-item:hover .portfolio-list-item-image img:last-of-type {
    opacity: 1;
}

.portfolio-list-item:hover .btn {
    background-color: #012169;
}

.portfolio-fundo-l {
    position: absolute;
    top: 144px;
    left: 26px;
    z-index: 1;
    pointer-events: none;
}

.portfolio-fundo-r {
    position: absolute;
    top: 7px;
    right: 0;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .portfolio {
        padding-top: 60px;
        padding-bottom: 60px;
        overflow: hidden;
    }

    .portfolio-subtitle {
        margin-bottom: 48px;
    }

    .portfolio-scroll {
        position: relative;
        top: auto;
        height: auto;
        display: block;
        padding-block: 0;
        overflow: hidden;
    }

    .portfolio-carousel {
        padding-inline: 58px;
    }

    .portfolio-list {
        gap: 24px;
    }

    .portfolio-list-item {
        flex-basis: min(320px, calc(100vw - 48px));
        width: min(320px, calc(100vw - 48px));
    }
}

/* Soluções */
.solucoes {
    position: relative;
    min-height: 100vh;
    height: var(--solucoes-height, auto);
    overflow: visible;
    isolation: isolate;
    background-color: #FFFFFF;
}

.solucoes-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 80px 0;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
}

.solucoes .container {
    position: relative;
    z-index: 5;
}

.solucoes h2 {
    font-size: 52px;
    line-height: 64px;
    color: #012169;
    text-align: center;
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.solucoes h2 span {
    color: #E9501C;
}

.solucoes-subtitle {
    font-size: 20px;
    line-height: 32px;
    color: #012169;
    text-align: center;
    margin-bottom: 115px;
}

.solucoes-stage {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: hidden;
    pointer-events: none;
}

.solucoes-fundo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(0.88);
    transform-origin: center center;
    clip-path: polygon(53% 53%, 53% 67%, 47% 67%, 47% 53%, 39% 53%, 39% 47%, 61% 47%, 61% 53%);
    z-index: 1;
    will-change: clip-path, transform;
}

.solucoes-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #E9501C;
    overflow: hidden;
    z-index: 10;
    isolation: isolate;
    box-shadow: -24px 0 64px rgba(1, 33, 105, 0.18);
    pointer-events: auto;
    visibility: hidden;
    will-change: transform;
}

.solucoes-content-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.solucoes-content-track {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 114px;
    will-change: transform;
}

.solucoes-content-item {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.solucoes-content-item-body {
    width: 100%;
    max-width: 308px;
    margin-left: 76px;
    margin-right: 42px;
}

.solucoes-content-item-body h4 {
    font-size: 32px;
    font-weight: 700;
    line-height: 46px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.solucoes-content-item-body p {
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
    margin-bottom: 74px;
}

@media (max-width: 768px) {
    .solucoes {
        padding: 60px 0 40px;
        height: auto;
        min-height: auto;
    }

    .solucoes-sticky {
        position: relative;
        top: auto;
        height: auto;
        padding: 0;
        overflow: visible;
    }

    .solucoes-subtitle {
        margin-bottom: 48px;
    }

    .solucoes-stage {
        position: relative;
        inset: auto;
        overflow: visible;
    }

    .solucoes-fundo {
        position: relative;
        inset: auto;
        width: 100%;
        height: 420px;
        transform: none;
        clip-path: none;
    }

    .solucoes-content {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        height: auto;
        box-shadow: none;
        visibility: visible;
        transform: none !important;
    }

    .solucoes-content-inner {
        position: relative;
        inset: auto;
        clip-path: none;
        transform: none !important;
    }

    .solucoes-content-track {
        transform: none !important;
    }

    .solucoes-content-item {
        min-height: auto;
        padding: 40px 24px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .solucoes-content-item-body {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .solucoes-content-item-body p {
        margin-bottom: 32px;
    }
}


/* Contact */
.contact {
    display: flex;
    min-height: 1034px;
    padding-top: 100px;
    background-image: url('/assets/images/home/contato-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.contact .container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-content h2 {
    font-size: 52px;
    font-weight: 700;
    line-height: 64px;
    color: #FFFFFF;
    max-width: 465px;
    margin-bottom: 22px;
}

.contact-content h2 span {
    color: #E9501C;
}

.contact-content p {
    font-size: 20px;
    line-height: 32px;
    color: #FFFFFF;
    max-width: 486px;
}

.contact-form {
    width: 100%;
    max-width: 486px;
    padding: 40px 38px;
    margin-left: auto;
    background-color: #FFFFFF;
    border: 1px solid #FFFFFF66;
    border-radius: 16px;
    z-index: 2;
    position: relative;
}

.contact-form > p {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    color: #012169;
    max-width: 390px;
    margin-bottom: 40px;
}

.contact-form form {
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    height: 50px;
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #E4E2DA;
    border-radius: 4px;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #45484C;
}

.contact-form input[type="submit"] {
    height: 44px;
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    width: 100%;
    color: #FFFFFF;
    background-color: #E9501C;
    border-radius: 4px;
    margin-bottom: 0;
    transition: all .2s;
}

.contact-form input[type="submit"]:hover {
    background-color: #9f2e09;
}

.contact-form input[type="submit"]:disabled {
    opacity: 0.75;
    cursor: wait;
}

.contact-form textarea {
    min-height: 130px;
}

.contact-form-feedback {
    display: none;
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #111111;
    text-align: left;
}

.contact-form-feedback.is-visible {
    display: block;
}

.contact-form-feedback.is-success {
    color: #0d6b2f;
}

.contact-form-feedback.is-error {
    color: #8f1d1d;
}

@media (max-width: 1320px) {
    .banner {
        height: 980px;
        background-position: bottom center;
    }

    .banner .banner-arrow-animation {
        left: 24px;
        max-width: 150px;
    }

    .portfolio-fundo-l,
    .portfolio-fundo-r {
        max-width: 180px;
    }

    .solucoes-content-track {
        padding-left: 72px;
    }

    .solucoes-content-item-body {
        margin-left: 48px;
        margin-right: 32px;
    }
}

@media (max-width: 1240px) {
    .banner {
        height: 860px;
        padding-top: 72px;
    }

    .banner h1,
    .portfolio h2,
    .solucoes h2,
    .contact-content h2 {
        font-size: 46px;
        line-height: 56px;
    }

    .quem-somos-scroll {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
        max-width: 1120px;
        margin-top: 56px;
        padding-inline: 24px;
        pointer-events: auto;
        transform: none !important;
    }

    .quem-somos-scroll .quem-somos-item {
        will-change: auto;
    }

    .quem-somos-item,
    .quem-somos-item:nth-of-type(1),
    .quem-somos-item:nth-of-type(2),
    .quem-somos-item:nth-of-type(3),
    .quem-somos-item:nth-of-type(4) {
        max-width: none;
        margin: 0;
    }

    .quem-somos-item img {
        aspect-ratio: 1 / 1.12;
        width: 100%;
        object-fit: cover;
        margin-bottom: 18px;
    }

    .quem-somos-item p {
        font-size: 16px;
        line-height: 24px;
    }

    .portfolio-list-item-image {
        height: 200px;
        padding: 10px;
    }
    
    .portfolio-list-item-image img {
        height: 100%;
    }

    .solucoes-content {
        width: 54%;
    }

    .solucoes-content-track {
        padding-left: 48px;
    }

    .solucoes-content-item > img:first-child {
        max-width: 82px;
    }

    .solucoes-content-item > img:last-child {
        max-width: 190px;
    }

    .solucoes-content-item-body {
        margin-left: 32px;
        margin-right: 24px;
    }
}

@media (max-width: 1024px) {
    .banner {
        height: 760px;
        padding-top: 56px;
        background-size: auto 100%;
    }

    .banner h1,
    .portfolio h2,
    .solucoes h2,
    .contact-content h2 {
        font-size: 40px;
        line-height: 50px;
    }

    .banner p,
    .portfolio-subtitle,
    .solucoes-subtitle,
    .contact-content p {
        font-size: 18px;
        line-height: 30px;
    }

    .banner .banner-arrow-animation {
        display: none;
    }

    .quem-somos-fundo-l,
    .quem-somos-fundo-r,
    .portfolio-fundo-l,
    .portfolio-fundo-r {
        opacity: 0.45;
        max-width: 140px;
    }

    .quem-somos h2 {
        font-size: 78px;
        line-height: 82px;
    }

    .quem-somos-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }

    .portfolio-list-item-content {
        padding: 30px;
    }

    .solucoes-sticky {
        padding-block: 64px;
    }

    .solucoes-content {
        width: 58%;
    }

    .solucoes-content-track {
        padding-left: 32px;
    }

    .solucoes-content-item-body h4 {
        font-size: 26px;
        line-height: 36px;
    }

    .solucoes-content-item-body p {
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 44px;
    }

    .solucoes-content-item > img:first-child {
        max-width: 70px;
    }

    .solucoes-content-item > img:last-child {
        max-width: 150px;
    }

    .contact {
        min-height: auto;
        padding: 80px 0;
    }

    .contact .container {
        align-items: stretch;
    }

    .contact-content,
    .contact-form {
        flex: 1 1 0;
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 680px;
        height: auto;
        padding-top: 52px;
        padding-bottom: 380px;
        background-size: auto 78%;
    }

    .banner h1,
    .portfolio h2,
    .solucoes h2,
    .contact-content h2 {
        font-size: 34px;
        line-height: 42px;
    }

    .banner p,
    .portfolio-subtitle,
    .solucoes-subtitle,
    .contact-content p,
    .quem-somos .quem-somos-content {
        font-size: 17px;
        line-height: 28px;
    }

    .banner .banner-cta {
        flex-direction: column;
        gap: 14px;
    }

    .banner .banner-cta .btn {
        width: min(100%, 320px);
    }

    .hardware {
        padding-top: 56px;
        padding-bottom: 56px;
        overflow: hidden;
    }

    .hardware h2 {
        font-size: 34px;
        line-height: 42px;
    }

    .hardware .hardware-subtitle {
        font-size: 17px;
        line-height: 28px;
    }

    .hardware-circulos {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 28px 20px;
        margin-top: 32px;
        padding-top: 170px;
        background-size: min(520px, 95vw);
        background-position: top center;
    }

    .hardware-circulos-logo {
        position: absolute;
        top: 42%;
        left: 0;
        right: 0;
        max-width: 132px;
        margin-inline: auto;
    }

    .hardware-item,
    .hardware-item:nth-of-type(1),
    .hardware-item:nth-of-type(2),
    .hardware-item:nth-of-type(3),
    .hardware-item:nth-of-type(4) {
        position: relative;
        inset: auto;
        max-width: none;
        z-index: 2;
    }

    .hardware-item .hardware-item-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }

    .hardware-item p {
        font-size: 17px;
        line-height: 26px;
    }

    .hardware .hardware-cta {
        gap: 14px;
        margin-top: 32px;
        z-index: 2;
    }

    .quem-somos-item p,
    .solucoes-content-item-body p {
        font-size: 17px;
        line-height: 28px;
    }

    .quem-somos-fundo-l,
    .quem-somos-fundo-r,
    .portfolio-fundo-l,
    .portfolio-fundo-r {
        display: none;
    }

    .quem-somos h2 {
        font-size: 54px;
        line-height: 58px;
        margin-bottom: 28px;
    }

    .quem-somos-scroll {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        padding-inline: 24px;
    }

    .quem-somos-item,
    .quem-somos-item:nth-of-type(1),
    .quem-somos-item:nth-of-type(2),
    .quem-somos-item:nth-of-type(3),
    .quem-somos-item:nth-of-type(4) {
        max-width: none;
        margin: 0;
    }

    .portfolio-list-item-content {
        padding: 24px;
    }

    .portfolio-scroll {
        overflow: visible;
        padding-bottom: 0;
    }

    .portfolio-list {
        width: 100%;
    }

    .hardware-fundo-r {
        display: none;
    }

    .solucoes-fundo {
        height: 340px;
        object-fit: cover;
    }

    .solucoes-content {
        width: 100%;
    }

    .solucoes-content-track {
        padding-left: 0;
    }

    .solucoes-content-item {
        flex-wrap: nowrap;
    }

    .solucoes,
    .solucoes-sticky {
        padding-bottom: 0;
    }

    .solucoes-content-item > img:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        max-height: 220px;
        width: auto;
    }

    .contact {
        padding: 64px 0;
        background-position: 35% center;
    }

    .contact .container {
        flex-direction: column;
        gap: 36px;
    }

    .contact-content h2,
    .contact-content p {
        max-width: 620px;
    }

    .contact-form {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 500px) {
    .banner {
        min-height: auto;
        padding-top: 35px;
        padding-bottom: 215px;
        background-image: url(/assets/images/home/banner-mobile.png);
        background-position: center bottom;
        background-size: 100% auto;
    }

    .banner h1 {
        font-size: 32px;
        line-height: 40px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio h2,
    .solucoes h2,
    .contact-content h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .banner p {
        margin-bottom: 28px;
    }

    .banner .banner-cta .btn {
        max-width: 220px;
    }

    .btn {
        width: 100%;
        min-height: 46px;
        padding-inline: 16px;
        text-align: center;
    }

    .hardware {
        padding-bottom: 48px;
    }

    .hardware h2 {
        font-size: 30px;
        line-height: 38px;
    }

    .hardware-circulos {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 300px;
        background-size: 300px;
    }

    .hardware-circulos-logo {
        top: 110px;
        max-width: 80px;
    }

    .hardware .hardware-cta {
        flex-direction: column;
    }

    .quem-somos {
        padding-top: 52px;
    }

    .quem-somos h2 {
        font-size: 42px;
        line-height: 46px;
    }

    .quem-somos-scroll {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-inline: 20px;
    }

    .quem-somos-item {
        max-width: 300px;
        justify-self: center;
    }

    .portfolio-list {
        gap: 18px;
    }

    .portfolio-carousel {
        padding-inline: 44px;
    }

    .portfolio-carousel-arrow {
        --portfolio-arrow-size: 48px;
    }

    .portfolio-list-item {
        flex-basis: calc(100vw - 88px);
        width: calc(100vw - 88px);
    }

    .portfolio-list-item-image {
        height: 240px;
    }

    .portfolio-list-item-content {
        padding: 22px 20px;
    }

    .solucoes-fundo {
        height: 260px;
    }

    .solucoes-content-item {
        flex-wrap: wrap;
        justify-content: center;
        grid-template-columns: 1fr;
        padding: 32px 20px;
        text-align: center;
    }

    .solucoes-content-item > img:first-child {
        display: none;
    }

    .solucoes-content-item-body p {
        margin-bottom: 24px;
    }

    .contact {
        padding: 52px 0;
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: 12px;
    }

    .contact-form > p {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 28px;
    }
}
