.hero {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.hero__texture {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 114px 114px;
    opacity: 0.35;
    mask-image: url("../assets/6b1910ccc47f400781e3b33eaa7263b5.svg");
    mask-size: 100%;
    mask-repeat: no-repeat;
    mask-position: 1px 0;
    -webkit-mask-image: url("../assets/6b1910ccc47f400781e3b33eaa7263b5.svg");
    -webkit-mask-size: 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 1px 0;
    pointer-events: none;
    background-color: #ffffff;
}

.hero__header {
    position: relative;
    z-index: 2;
}

.hero__header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(5, 50, 38, 0.15);
    z-index: 999;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 32px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero__logo img {
    height: 26px;
    filter: brightness(0) invert(1);
}

.hero__header.is-sticky .hero__logo img {
    filter: none;
}

.hero__nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* display: flex; */
    display: none;
    gap: 12px;
    align-items: center;
}

.hero__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    border-radius: 6px;
    color: #ffffff;
}

.hero__header.is-sticky .hero__nav-link {
    color: #1b4332;
}

.hero__nav-link--dropdown img {
    width: 12px;
    height: 12px;
}

.hero__header.is-sticky .hero__nav-link--dropdown img {
    filter: brightness(0);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__actions .btn {
    display: none;
}

.hero__menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.hero__menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero__header.is-sticky .hero__menu-toggle {
    border-color: rgba(27, 67, 50, 0.35);
}

.hero__header.is-sticky .hero__menu-toggle span {
    background: #1b4332;
}

.hero__mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1), 0 10px 40px rgba(0, 0, 0, 0.06);
    padding: 24px;
    z-index: 998;
}

.hero__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero__mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px 6px 6px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    color: #424242;
    background: transparent;
    width: 240px;
}

.hero__mobile-link--dropdown img {
    width: 12px;
    height: 12px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(45%);
    transform: rotate(-90deg);
}

.hero__mobile-link.is-active {
    background: transparent;
    color: #424242;
}

.hero__mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.hero__mobile-actions .btn {
    width: 100%;
    max-width: 414px;
    height: auto;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    justify-content: center;
}

.hero__mobile-actions .btn--ghost {
    color: #424242;
    filter: none;
}

.hero__mobile-actions .btn--ghost .btn__icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(24%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(45%);
}

/* Menu Mobile de Plataforma */
.hero__mobile-platform-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 1000;
    overflow-y: auto;
}

.hero__mobile-platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #11875c;
    position: sticky;
    top: 0;
    z-index: 2;
}

.hero__mobile-platform-back,
.hero__mobile-platform-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.hero__mobile-platform-back:hover,
.hero__mobile-platform-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero__mobile-platform-back svg,
.hero__mobile-platform-close svg {
    width: 20px;
    height: 20px;
}

.hero__mobile-platform-title {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #ffffff;
}

.hero__mobile-platform-content {
    padding: 24px;
}

.hero__mobile-platform-section {
    margin-bottom: 24px;
}

.hero__mobile-platform-section:last-child {
    margin-bottom: 0;
}

.hero__mobile-platform-section-header {
    margin-bottom: 16px;
}

.hero__mobile-platform-section-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: #242424;
}

.hero__mobile-platform-section-header p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
}

.hero__mobile-platform-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 24px 0;
}

.hero__mobile-platform-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__mobile-platform-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero__mobile-platform-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #242424;
}

.hero__mobile-platform-card-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__mobile-platform-card-icon img {
    width: 24px;
    height: 24px;
}

.hero__mobile-platform-card p {
    margin: 0;
    padding-left: 36px;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
}

.btn--primary {
    background: #11875c;
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    filter: brightness(0) invert(1);
}

.hero__header.is-sticky .btn--ghost {
    background: transparent;
    color: #424242;
    filter: none;
}

.hero__header.is-sticky .btn--primary {
    background: #0f6c4a;
}

.hero__header.is-sticky .btn--ghost .btn__icon {
    filter: brightness(0) saturate(100%) invert(26%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(27%);
}

.btn__icon {
    width: 16px;
    height: 14px;
}


.hero__content {
    justify-content: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 450px;
    padding: 0px 24px 0px;
    max-width: 1440px;
    width: 100%;
    margin: auto;
}

.hero__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: start;
}

.hero__tags {
    display: grid;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 18px;
    border-radius: 9999px;
    background: #f0fff7;
    color: #11875c;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.hero h1 {
    margin: 0;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
}

.hero__subtitle {
    margin: 0;
    max-width: 788px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

.hero__highlight {
    display: inline;
    font-weight: 600;
    color: #a7d4ff;
    margin-left: 4px;
}

.btn--cta {
    width: fit-content;
    height: 56px;
    padding-left: 12px;
    padding-top: 17px;
    padding-right: 12px;
    padding-bottom: 19px;
    border-radius: 12px;
    background: #11875c;
    font-size: 14px;
    line-height: 20px;
}

/* Imagem branca comportamento de invert*/
.btn--cta img {
    filter: brightness(0) invert(1);
}

.btn--cta:hover img,
.btn--cta:focus img {
    filter: none;
}

.btn--cta:hover,
.btn--cta:focus {
    border-radius: var(--Corner-radius-XX-Large, 12px);
    background: var(--Brand-Apoio2, #A7D4FF);
    color: #0F4C81;
}

.btn__chevron {
    width: 12px;
    height: 10px;
}

/* S (1024px) e XS (800px) ate M */
@media (max-width: 1439px) {
    .hero__mega-menu {
        display: none;
    }

    .hero__header.is-mobile-open .hero__mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .hero__header.is-mobile-open .hero__menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hero__header.is-mobile-open .hero__menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .hero__header.is-mobile-open .hero__menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero__header.is-platform-open .hero__mobile-menu {
        display: none;
    }

    .hero__header.is-platform-open .hero__mobile-platform-menu {
        display: block;
    }
}

/* XXS (320px) */
@media (max-width: 320px) {
    .hero__actions {
        gap: 0;
    }
}

@media (max-width: 800px) {
    .hero__tags {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1, 1fr);
    }

    .hero__tags .tag {
        font-size: 12px;
        line-height: 16px;
        padding: 0 12px;
    }

    .hero__tags .t2 {
        grid-row-start: 2;
    }

    .hero__tags .t3 {
        grid-row-start: 2;
    }
}

@media (min-width: 800px) {
    .hero__actions .btn {
        display: inherit;
    }

    .btn--cta {
        font-size: 16px;
        line-height: 22px;
        padding-left: 37px;
        padding-right: 37px;
    }

    .hero__tags {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .hero__tags .tag {
        grid-row-start: 1;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .hero__text {
        align-items: flex-start;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .btn--cta {
        align-self: center;
    }

    .hero__text {
        align-items: flex-start;
        text-align: left;
    }

    .hero__tags {
        justify-content: flex-start;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 52px;
    }

    .hero__subtitle {
        font-size: 20px;
        line-height: 32px;
    }

    .hero__content {
        justify-content: center;
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
        min-height: 450px;
        max-width: 1440px;
        width: 100%;
    }

    .hero__text {
        align-items: center;
    }

    .hero__subtitle {
        text-align: center;
    }
}

@media (min-width: 1440px) {
    .hero__nav {
        display: flex;
    }

    .hero__menu-toggle {
        display: none;
    }
}