.produtos-hero {
    background: #0a0b35;
    padding: 48px 64px 48px;
    color: #ffffff;
}

.produtos-hero__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 73px;
}

.produtos-hero__content {
    flex: 1 1 0;
    max-width: 640px;
    margin-left: 6px;
}

.produtos-hero__title {
    margin: 0;
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: -4px;
    font-weight: 500;
    color: #ffffff;
}

.produtos-hero__description {
    margin: 24px 0 28px;
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 640px;
}

.produtos-hero .produtos-hero__cta {
    --solutions-btn-bg-image: url('../assets/img/produtos/btn-contato-hero-outline.svg');
    --solutions-btn-overlay-image: url('../assets/img/produtos/btn-contato-hero.svg');
    --solutions-btn-bg-size: 189px 40px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 189px;
    height: 40px;
    padding: 0;
    color: #0d0d0d;
    text-decoration: none;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17.2px;
    font-weight: 400;
    line-height: 1.5;
    border: none;
    background-color: transparent;
    background-image: var(--solutions-btn-bg-image);
    background-repeat: no-repeat;
    background-size: var(--solutions-btn-bg-size);
    background-position: var(--solutions-btn-bg-pos);
    overflow: visible;
    text-align: center;
    margin-top: 4px;
}

.produtos-hero .produtos-hero__cta--mobile {
    display: none;
}

.produtos-hero__cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--solutions-btn-overlay-image, var(--solutions-btn-bg-image));
    background-repeat: no-repeat;
    background-size: var(--solutions-btn-bg-size);
    background-position: var(--solutions-btn-bg-pos);
    transform: translate(0, 0);
    transition: transform 0.2s ease;
    pointer-events: none;
}

.produtos-hero__cta:hover,
.produtos-hero__cta:focus-visible {
    color: #0d0d0d;
}

.produtos-hero__cta-label {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.produtos-hero__cta:hover::after,
.produtos-hero__cta:focus-visible::after {
    transform: translate(4px, -4px);
}

.produtos-hero__cta:hover .produtos-hero__cta-label,
.produtos-hero__cta:focus-visible .produtos-hero__cta-label {
    transform: translate(4px, -4px);
}

.produtos-hero__media {
    position: relative;
    width: 550px;
    height: 436px;
    flex: 0 0 550px;
    --hero-skew: -12deg;
}

.produtos-hero__outline {
    position: absolute;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
    border-radius: 10px;
    pointer-events: none;
    transform: translate3d(0, 0, 0) skewX(var(--hero-skew));
    transition: transform 0.8s ease;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.produtos-hero__outline--top {
    width: 197px;
    height: 160px;
    top: 47px;
    right: -12px;
}

.produtos-hero__outline--bottom {
    width: 199px;
    height: 160px;
    left: 60px;
    bottom: 30px;
    z-index: 10;
}

.produtos-hero__media:hover .produtos-hero__outline--top,
.produtos-hero__media:focus-within .produtos-hero__outline--top,
.produtos-hero__media:hover .produtos-hero__outline--bottom,
.produtos-hero__media:focus-within .produtos-hero__outline--bottom {
    transform: translate3d(12px, -12px, 0) skewX(var(--hero-skew));
}

.produtos-hero__image-frame {
    position: absolute;
    right: 19px;
    top: 48px;
    width: 446px;
    height: 308px;
    border-radius: 12px;
    transition: transform 0.8s ease;
}

.produtos-hero__image {
    width: 500px;
    height: 367px;
    object-fit: cover;
}

.produtos-hero__media:hover .produtos-hero__image-frame,
.produtos-hero__media:focus-within .produtos-hero__image-frame {
    transform: translate(6px, -6px);
}

@media (max-width: 767px) {
    .produtos-hero {
        padding-left: 40px;
        padding-right: 40px;
    }

    .produtos-hero__container {
        gap: 44px;
    }

    .produtos-hero__title {
        font-size: 56px;
    }

    .produtos-hero__media {
        width: 470px;
        height: 360px;
        flex-basis: 470px;
    }

    .produtos-hero__image-frame {
        width: 360px;
        height: 225px;
        right: 32px;
        top: 40px;
    }
}

@media (max-width: 767px) {
    .produtos-hero {
        padding: 40px 12px 80px 12px;
    }

    .produtos-hero__container {
        flex-direction: column;
        align-items: flex-start;
        gap: 29px;
    }

    .produtos-hero__title {
        font-size: 32px;
        max-width: 12ch;
        letter-spacing: 0;
    }

    .produtos-hero__description {
        font-size: 18px;
        max-width: 100%;
        margin: 8px 0;
        line-height: 120%;
    }

    .produtos-hero .produtos-hero__cta--desktop {
        display: none;
    }

    .produtos-hero .produtos-hero__cta--mobile {
        background: none;
        display: inline-flex;
        width: 100%;
        height: 39px;
        margin-top: -6px;
        align-self: stretch;
        font-size: 17.299px;
        line-height: 1.5;
        overflow: visible;
        isolation: isolate;
    }

    .produtos-hero .produtos-hero__cta--mobile::before {
        content: '';
        position: absolute;
        inset: 0 7px;
        background: #ffb000;
        border-radius: 4px;
        transform: skewX(-18deg);
        transform-origin: center;
        z-index: 0;
    }

    .produtos-hero .produtos-hero__cta--mobile::after {
        content: none;
    }

    .produtos-hero__media {
        width: 100%;
        max-width: 343px;
        height: 258px;
        flex-basis: auto;
        align-self: center;
    }

    .produtos-hero__image-frame {
        top: 19px;
        left: 13px;
        width: 312px;
        height: 215px;
        right: auto;
        overflow: hidden;
    }

    .produtos-hero__image {
        width: 100%;
        height: 100%;
    }

    .produtos-hero__outline--top {
        width: 129px;
        height: 101px;
        top: 11px;
        right: 12px;
    }

    .produtos-hero__outline--bottom {
        width: 125px;
        height: 101px;
        left: 13px;
        bottom: 20px;
    }
}

.produtos-solutions {
    background: #ffffff;
    padding: 132px 64px 80px;
}

.produtos-solutions__container {
    max-width: 1280px;
    margin: 0 auto;
}

.produtos-solutions__title {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: #0d0d0d;
}

.produtos-solutions__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(var(--produtos-solutions-columns, 5), minmax(0, 1fr));
    gap: 16px;
}

.produtos-solutions__card {
    min-height: 306px;
    border-radius: 16px;
    border: 1px solid #f2f2f2;
    background: #f2f2f2;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

.produtos-solutions__card-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.produtos-solutions__icon {
    width: 40px;
    height: 40px;
}

.produtos-solutions__card-title {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.28px;
    color: #010101;
}

.produtos-solutions__card-text {
    margin: 0;
    max-height: 132px;
    overflow: hidden;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #555555;
    letter-spacing: -0.21px;
}

.produtos-solutions__card-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    color: #010101;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.produtos-solutions__card-link svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.produtos-solutions__card:hover .produtos-solutions__card-link,
.produtos-solutions__card:focus-visible .produtos-solutions__card-link {
    border-bottom-color: currentColor;
}

.produtos-solutions__card:hover .produtos-solutions__card-link svg,
.produtos-solutions__card:focus-visible .produtos-solutions__card-link svg {
    transform: translateX(3px);
}

.produtos-solutions__card:focus-visible {
    outline: 2px solid #0a0b35;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .produtos-page .home-hero-logos {
        display: block;
    }

    .produtos-solutions {
        padding: 32px 16px 64px 16px;
    }

    .produtos-solutions__container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .produtos-solutions__title {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .produtos-solutions__grid {
        margin-top: 0;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .produtos-solutions__card {
        min-height: 0;
        padding: 24px 16px;
        gap: 16px;
        justify-content: flex-start;
    }

    .produtos-solutions__card-content {
        gap: 16px;
    }

    .produtos-solutions__card-title {
        font-size: 18px;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .produtos-solutions__card-text {
        max-height: none;
        overflow: visible;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .produtos-solutions__card-link {
        gap: 0;
        font-size: 16px;
        line-height: 1.5;
    }
}

.produtos-why {
    background: #ffffff;
    padding: 80px 64px;
}

.produtos-why__container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
}

.produtos-why__visual {
    position: relative;
    min-height: 530px;
}

.produtos-why__bg {
    position: absolute;
    display: block;
    max-width: none;
}

.produtos-why__bg--shape-a {
    width: 499px;
    left: 0;
    top: 206px;
}

.produtos-why__bg--shape-b {
    width: 531px;
    left: 42px;
    top: 142px;
}

.produtos-why__photo {
    width: 629px;
}

.produtos-why__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.produtos-why__title {
    margin: 0;
    width: 100%;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: #0d0d0d;
}

.produtos-why__grid {
    width: 100%;
    max-width: 600px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
}

.produtos-why__card {
    min-height: 116px;
    border: 1px solid #f9fafb;
    border-radius: 16px;
    background: #f9fafb;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.produtos-why__icon {
    width: 40px;
    height: 40px;
}

.produtos-why__card-text {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #555555;
}

.produtos-why__cta {
    margin-top: 6px;
}

.produtos-why .produtos-hero__cta {
    --solutions-btn-bg-image: url('../assets/img/produtos/btn-abrir-conta-outline.svg');
    --solutions-btn-overlay-image: url('../assets/img/produtos/btn-abrir-conta.svg');
    --solutions-btn-bg-size: 200px 44px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 44px;
    padding: 0;
    color: #0d0d0d;
    text-decoration: none;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17.2px;
    font-weight: 400;
    line-height: 1.5;
    border: none;
    background-color: transparent;
    background-image: var(--solutions-btn-bg-image);
    background-repeat: no-repeat;
    background-size: var(--solutions-btn-bg-size);
    background-position: var(--solutions-btn-bg-pos);
    overflow: visible;
    text-align: center;
}

.produtos-why .produtos-hero__cta:hover::after,
.produtos-why .produtos-hero__cta:focus-visible::after {
    transform: translate(4px, -4px);
}

.produtos-why .produtos-hero__cta:hover .produtos-hero__cta-label,
.produtos-why .produtos-hero__cta:focus-visible .produtos-hero__cta-label {
    transform: translate(4px, -4px);
}

@media (max-width: 767px) {
    .produtos-why {
        padding: 72px 40px;
    }

    .produtos-why__container {
        gap: 48px;
    }

    .produtos-why__visual {
        min-height: 470px;
    }

    .produtos-why__bg--shape-a {
        width: 430px;
        top: 195px;
    }

    .produtos-why__bg--shape-b {
        width: 456px;
        left: 36px;
        top: 138px;
    }

    .produtos-why__photo {
        width: 410px;
        left: 66px;
    }

    .produtos-why__title {
        font-size: 40px;
    }

    .produtos-why__card-text {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .produtos-why {
        padding: 64px 16px 24px 16px;
    }

    .produtos-why__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .produtos-why__visual {
        min-height: 380px;
    }

    .produtos-why__bg--shape-a {
        width: 320px;
        top: 130px;
    }

    .produtos-why__bg--shape-b {
        width: 350px;
        left: 24px;
        top: 92px;
    }

    .produtos-why__photo {
        width: 320px;
        left: 44px;
    }

    .produtos-why__title {
        font-size: 36px;
    }

    .produtos-why__grid {
        max-width: none;
        grid-template-columns: 1fr;
    }

    .produtos-why__card-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .produtos-why {
        padding: 64px 16px 24px 16px;
    }

    .produtos-why__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .produtos-why__visual {
        min-height: 0;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .produtos-why__photo {
        display: block;
        width: min(343px, 100%);
        max-width: 100%;
        margin: 0 auto;
    }

    .produtos-why__content {
        width: 100%;
        align-items: stretch;
        gap: 24px;
    }

    .produtos-why__title {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .produtos-why__grid {
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .produtos-why__card {
        min-height: 217px;
        padding: 24px;
        gap: 21px;
        justify-content: flex-start;
    }

    .produtos-why__card-text {
        font-size: 18px;
        font-weight: 300;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .produtos-why__cta {
        margin-top: 0;
    }

    .produtos-why .produtos-hero__cta {
        width: 100%;
        height: 39px;
        font-size: 17.299px;
        line-height: 1.5;
        background: none;
        overflow: visible;
        isolation: isolate;
    }

    .produtos-why .produtos-hero__cta::before {
        content: '';
        position: absolute;
        inset: 0 7px;
        background: #ffb000;
        border-radius: 4px;
        transform: skewX(-18deg);
        transform-origin: center;
        z-index: 0;
    }

    .produtos-why .produtos-hero__cta::after {
        content: none;
    }
}

.produtos-stats {
    background: #f2f2f2;
    padding: 80px 64px;
}

.produtos-stats__container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.produtos-stats__head {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}

.produtos-stats__title {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: #0d0d0d;
    text-align: center;
}

.produtos-stats__description {
    display: none;
    margin: 0;
    max-width: 720px;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #0d0d0d;
    text-align: center;
}

.produtos-stats__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 72px;
}

.produtos-stats__item {
    border-left: 4px solid #ffb000;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.produtos-stats__value {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -4px;
    color: #0d0d0d;
}

.produtos-stats__label {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #0d0d0d;
}

.produtos-stats__item.is-pending {
    opacity: 0;
    transform: translateY(10px);
}

.produtos-stats__item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 767px) {
    .produtos-stats {
        padding: 72px 40px;
    }

    .produtos-stats__row {
        gap: 32px;
    }

    .produtos-stats__value {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .produtos-stats {
        padding: 32px 17px;
    }

    .produtos-stats__container {
        gap: 24px;
    }

    .produtos-stats__head {
        align-items: flex-start;
        gap: 24px;
    }

    .produtos-stats__title {
        font-size: 32px;
        font-weight: 500;
        line-height: 1.3;
        letter-spacing: -0.32px;
        text-align: left;
    }

    .produtos-stats__description {
        display: block;
        max-width: none;
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .produtos-stats__row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .produtos-stats__item {
        padding-left: 24px;
    }

    .produtos-stats__value {
        font-size: 40px;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -0.4px;
    }

    .produtos-stats__label {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.5;
    }
}
