/* Correcoes de layout legado (seletores Vue sem espaco + conflitos app.css) */

.legacy-site-header {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
}

.legacy-site-header .mobile-nav,
.legacy-site-header nav.menu-items {
    display: none !important;
}

.legacy-site-header .mobile-nav.is-open {
    display: block !important;
}

.legacy-site-header .header-top-space {
    height: 18px;
    background: #fff;
}

#header-color-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 74px;
    z-index: 0;
    pointer-events: none;
}

#header-color-bg > .row {
    display: flex;
    height: 74px;
    margin: 0;
    width: 100%;
}

#header-color-bg .blue {
    flex: 0 0 70%;
    background-color: #053360;
    height: 74px;
}

#header-color-bg .yellow {
    flex: 0 0 30%;
    background-color: #eeb013;
    height: 54px;
    margin-top: 20px;
}

#header-color {
    position: relative;
    z-index: 1;
    height: 74px;
}

#header-color > .row.blue {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    height: 74px;
    margin: 0;
}

#header-color > .row.blue::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 90%;
    height: 100%;
    border-radius: 0 5px 5px 0;
    background-color: #053360;
    z-index: 0;
}

#header-color > .row.blue > * {
    position: relative;
    z-index: 1;
}

.legacy-site-header figure.logo {
    margin-top: -17px;
    margin-bottom: 0;
}

.legacy-site-header figure.logo img.logo {
    max-width: 100%;
    height: auto;
}

.legacy-site-header ul.menu-buttons-home {
    list-style: none;
    display: table;
    width: 100%;
    min-height: 74px;
    margin: 0;
    padding: 0;
    background-color: #053360;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.legacy-site-header ul.menu-buttons-home li {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 5px;
}

.legacy-site-header ul.menu-buttons-home li.separator {
    width: 1px;
    min-width: 1px;
    max-width: 1px;
    height: 42px;
    padding: 0 !important;
    background-color: rgba(255, 255, 255, 0.38);
}

.legacy-site-header ul.menu-buttons-home li a {
    text-decoration: none;
    color: #fff !important;
}

.legacy-site-header ul.menu-buttons-home li p {
    margin: 0 0 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.legacy-site-header ul.menu.yellow {
    list-style: none;
    background-color: #eeb013;
    height: 54px;
    border-radius: 5px 0 0 5px;
    margin-top: 20px;
    padding: 14px 18px 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legacy-site-header ul.menu.yellow li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legacy-site-header ul.menu.yellow a.border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 25px;
    margin: 0 !important;
    padding: 5px 12px;
    border: 0.5px solid #053360 !important;
    border-radius: 5px !important;
    background: #eeb013 !important;
    color: #053360 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.legacy-site-header .menu-btn.only-mobile {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    color: #fff;
}

.legacy-site-header .quick-nav {
    display: none !important;
}

body.is-home #header-color-bg {
    top: 18px;
}

body:not(.is-home) #header-color-bg {
    top: 0;
}

body:not(.is-home) .legacy-site-header .header-top-space {
    display: none;
}

.legacy-site-header .mobile-nav {
    background: #053360;
}

.legacy-site-header .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
}

.legacy-site-header .mobile-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 0.45rem 0;
}

.legacy-site-header .quick-nav-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    justify-content: center;
    padding: 0.55rem 1rem 0.75rem;
}

.legacy-site-header .quick-nav-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.85rem;
}

.legacy-site-header .quick-nav-label {
    font-weight: 800;
    color: #053360;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legacy-site-header .quick-nav a {
    text-decoration: none;
    color: #053360;
    font-weight: 600;
    font-size: 0.86rem;
}

.home-legacy-carousel .carousel-control {
    margin-top: 0 !important;
    border: 1px solid #e4d5c3 !important;
    border-radius: 999px !important;
    background: #fffdf8 !important;
    width: 40px;
    height: 40px;
    padding: 0;
}

.home-legacy-carousel .salesman-box.home-salesman-card .salesman-frame {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-legacy-carousel .salesman-box.home-salesman-card .user-img {
    max-width: 72px;
    max-height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.home-legacy-carousel .salesman-box.home-salesman-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
}

.home-legacy-carousel .salesman-box.home-salesman-card .summary {
    margin-bottom: 0;
}

.home-legacy-carousel .salesman-box.home-salesman-card .salesman-status {
    font-size: 0.8rem;
    font-weight: 700;
    margin: 8px 0 0;
}

.home-main.home-legacy .sac .icon-left {
    float: left;
    margin-right: 12px;
}


/* Home */
.home-main.home-legacy > section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.home-main.home-legacy > .home-hero-band,
.home-main.home-legacy > .register-your-team {
    padding-top: 0;
    padding-bottom: 0;
}

.home-hero-band {
    background-color: #f2f2f2;
    padding: 0 0 20px;
}

.home-main.home-legacy .banner {
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
}

.home-main.home-legacy .banner > img {
    width: 100%;
    height: auto;
    display: block;
}

.home-main.home-legacy .banner .banner-content-home {
    position: absolute;
    z-index: 2;
    top: 32%;
    left: 10%;
    max-width: 75%;
}

.home-main.home-legacy .banner .banner-content-home h2 {
    font-size: 21px;
    line-height: 1.25;
    margin: 0 0 12px;
    padding: 10px 12px;
    text-align: left;
    max-width: 520px;
}

.home-main.home-legacy .banner .banner-content-home h2.yellow {
    background-color: #eeb013;
    color: #053360;
}

.home-main.home-legacy .banner .banner-content-home h2.blue {
    background-color: #053360;
    color: #fff;
}

.home-main.home-legacy .banner .banner-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(5, 51, 96, 0.81);
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.home-main.home-legacy .banner .banner-bottom .items-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 24px;
    width: min(100%, 920px);
    padding: 16px;
}

.home-main.home-legacy .banner .banner-bottom .items-wrapper a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

.home-main.home-legacy .banner .banner-bottom .items-wrapper a.banner-plans-cta {
    background: #eeb013;
    color: #053360;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-main.home-legacy .banner .banner-bottom .items-wrapper a.banner-plans-cta:hover,
.home-main.home-legacy .banner .banner-bottom .items-wrapper a.banner-plans-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    color: #053360;
}

.home-main.home-legacy .banner .banner-bottom .items-wrapper .separator {
    width: 2px;
    height: 52px;
    background-color: rgba(255, 255, 255, 0.45);
}

.home-section-band {
    background-color: #f2f2f2;
    padding: 30px 0;
}

.home-main.home-legacy .h2-bigger {
    font-size: 30px;
    color: #053360;
}

.home-main.home-legacy .hr-yellow {
    background-color: #eeb013;
    width: 100%;
    height: 4px;
    border: 0;
    margin: 0;
}

.home-main.home-legacy .hr-yellow.hr-4 {
    width: 4%;
}

.home-main.home-legacy .hr-yellow.hr-45 {
    width: 45px;
}

.home-main.home-legacy .hr-yellow.center {
    margin-left: auto;
    margin-right: auto;
}

.home-main.home-legacy .hr-yellow-light {
    background-color: #eeb013;
    width: 100%;
    height: 2px;
    border: 0;
    margin: 0;
}

.home-main.home-legacy .hr-yellow-light.hr-4 {
    width: 4%;
}

.home-main.home-legacy .company-list-wrapper .title-wrapper,
.home-main.home-legacy .opportunity-list-wrapper .title-wrapper,
.home-main.home-legacy .product-list-wrapper .title-wrapper,
.home-main.home-legacy .salesman-list-wrapper .title-wrapper,
.home-main.home-legacy .training-list-wrapper .title-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.home-main.home-legacy .company-list-wrapper .title-wrapper > div,
.home-main.home-legacy .opportunity-list-wrapper .title-wrapper > div,
.home-main.home-legacy .product-list-wrapper .title-wrapper > div,
.home-main.home-legacy .salesman-list-wrapper .title-wrapper > div,
.home-main.home-legacy .training-list-wrapper .title-wrapper > div {
    flex: 1;
}

.home-main.home-legacy .benefits-home {
    padding: 30px 15px;
}

.home-main.home-legacy .benefits-home .benefits-item {
    position: relative;
    padding: 15px 15px 15px 55px;
}

.home-main.home-legacy .benefits-home .benefits-item img.icon-left {
    position: absolute;
    left: 0;
    top: 18px;
    float: none;
    margin: 0;
    width: 36px;
    height: auto;
}

.home-main.home-legacy .benefits-home .benefits-item h4 {
    font-size: 22px;
    margin: 0 0 8px;
}

.home-main.home-legacy .product-box {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 356px;
    margin-top: 9px;
    margin-bottom: 24px;
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.home-main.home-legacy .product-box .light-yellow-line {
    background-color: #eeb013;
    width: 20%;
    height: 2px;
    margin: 8px 0;
}

.home-main.home-legacy .product-box .product-name h3 {
    color: #053360;
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
    margin: 3px 0 0;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-main.home-legacy .product-box .product-category h4 {
    color: #efcb70;
    margin: 3px 0 0;
}

.home-main.home-legacy .product-box .product-call {
    color: #053360;
    font-size: 12px;
    line-height: 17px;
    margin-top: 20px;
}

.home-main.home-legacy .product-box .product-commission {
    color: #053360;
    font-size: 12px;
    line-height: 19px;
    margin-bottom: 12px;
}

.home-main.home-legacy .product-box .product-frame .hr-yellow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
}

.home-main.home-legacy .product-box .product-frame {
    position: relative;
    height: 165px;
    margin-top: 15px;
}

.home-main.home-legacy .product-box .product-frame img {
    max-width: 100%;
    max-height: 130px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.home-main.home-legacy .product-box .product-price {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eeb013;
    color: #053360;
    font-size: 15px;
    font-weight: 700;
    line-height: 23px;
}

.home-main.home-legacy .product-box .product-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f2f2f2;
    padding: 15px;
    min-height: 315px;
}

.home-main.home-legacy .product-box .product-infos .icon-left {
    float: left;
    margin-right: 6px;
    margin-top: 2px;
}

.home-main.home-legacy .register-your-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #053360;
    min-height: 230px;
    margin: 30px 0;
    padding: 0 16px;
}

.home-main.home-legacy .register-your-team h2 {
    color: #fff;
    margin: 55px 0 40px;
    text-align: center;
}

.home-main.home-legacy .register-your-team .home-section-cta.light {
    margin: 0;
    background: #fff !important;
    color: #053360 !important;
    border-radius: 5px;
    padding: 8px 28px;
    font-weight: 700;
}

.home-main.home-legacy .about-box {
    padding: 30px 0;
}

.home-main.home-legacy .about-box h2 {
    text-align: left;
    margin-bottom: 8px;
}

.home-main.home-legacy .about-box h2 span {
    color: #eeb013;
}

.home-main.home-legacy .about-box p {
    text-align: left;
    margin-top: 20px;
}

.home-main.home-legacy .about-box .light-grey-bg {
    background-color: #f2f2f2;
    padding: 0;
}

.home-main.home-legacy .be-a-teacher {
    background-color: #f2f2f2;
    padding: 30px 15px;
}

.home-main.home-legacy .be-a-teacher .teacher-photo {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.home-main.home-legacy .be-a-teacher .teacher-photo-wrap {
    min-height: 420px;
    background: #e8e8e8 center/cover no-repeat;
    border-radius: 4px;
}

.home-main.home-legacy .be-a-teacher .img-left {
    float: none;
    width: 100%;
    min-height: 420px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    border-radius: 4px;
    display: block;
}

.home-main.home-legacy .be-a-teacher .teacher-photo {
    width: 100%;
    height: auto;
    min-height: 420px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
    position: relative;
    z-index: 1;
}

.home-legacy-carousel .salesman-box.home-salesman-card {
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    overflow: hidden;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}

.home-legacy-carousel .salesman-box.home-salesman-card .row {
    margin: 0;
    height: 100%;
}

.home-legacy-carousel .salesman-box.home-salesman-card h3 {
    font-size: 21px;
    margin: 10px 0 12px;
}

.home-legacy-carousel .salesman-box.home-salesman-card p.title,
.home-legacy-carousel .salesman-box.home-salesman-card p.place {
    margin-top: 12px;
}

.home-legacy-carousel .salesman-box.home-salesman-card p.summary {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.home-main.home-legacy .home-legacy-carousel .training-item.training-item-hover {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    padding-top: 20px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.home-main.home-legacy .home-legacy-carousel .training-item .top-box {
    flex: 0 0 170px;
    height: 170px;
    width: 100%;
    border-radius: 11px;
    background-color: #e6dcdc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-main.home-legacy .home-legacy-carousel .training-item .top-box .training-image {
    width: 100%;
    height: 100%;
    max-height: 170px;
    object-fit: contain;
    border-radius: 11px;
    display: block;
}

.home-main.home-legacy .home-legacy-carousel .training-item .info-box {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-radius: 11px;
    padding: 20px 30px;
    margin-top: 8px;
    background-color: #f2f2f2;
    box-sizing: border-box;
}

.home-main.home-legacy .home-legacy-carousel .training-item .training-name {
    font-size: 18px;
    font-weight: 700;
    color: #053360;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.home-main.home-legacy .home-legacy-carousel .training-item .teacher,
.home-main.home-legacy .home-legacy-carousel .training-item .otherInfos {
    font-size: 13px;
    color: #053360;
    flex-shrink: 0;
}

.home-main.home-legacy .home-legacy-carousel .training-item .otherInfos {
    padding-top: 5px;
}

.home-main.home-legacy .home-legacy-carousel .training-item .description {
    padding-top: 10px;
    font-size: 13px;
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 0;
}

.home-main.home-legacy .home-legacy-carousel .training-item .training-action {
    flex-shrink: 0;
    text-align: center;
    margin-top: auto;
    padding-top: 12px;
}

.home-main.home-legacy .home-legacy-carousel .training-item .training-action a.border {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    height: 34px;
    width: 189px;
    max-width: 100%;
    border: 0.5px solid #053360 !important;
    border-radius: 5px;
    color: #053360;
    font-weight: 700;
    text-decoration: none;
    position: static;
    margin: 0 auto;
}

.home-main.home-legacy .home-section-cta.border {
    margin-top: 0;
    border: 0.5px solid #053360 !important;
    border-radius: 5px;
    padding: 6px 16px;
    color: #053360;
    font-weight: 700;
    background: transparent;
}

.home-main.home-legacy .row.home-carousel-grid {
    align-items: stretch;
}

.home-main.home-legacy .row.company-list.home-carousel-grid {
    display: grid !important;
    overflow: visible !important;
    white-space: normal !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.home-main.home-legacy .row.company-list.home-carousel-grid > .carousel-card,
.home-main.home-legacy .row.company-list.home-carousel-grid > .col-md-3 {
    flex: none !important;
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
}

.home-main.home-legacy .company-list-item.carousel-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px;
    min-height: 300px;
    box-sizing: border-box;
    overflow: hidden;
}

.home-main.home-legacy .company-list-item .home-gated-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-main.home-legacy .carousel-shell.home-legacy-carousel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.home-main.home-legacy .carousel-shell.home-legacy-carousel > .home-carousel-grid {
    min-width: 0;
}

.home-main.home-legacy .row.home-carousel-grid > .carousel-card {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1100px) {
    .home-main.home-legacy .row.home-carousel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    .home-main.home-legacy .banner {
        height: auto;
        margin-top: 13px;
        display: flex;
        flex-direction: column;
    }

    .home-main.home-legacy .banner > img {
        order: 1;
    }

    .home-main.home-legacy .banner .banner-content-home {
        order: 2;
        position: static;
        max-width: none;
        padding: 12px;
        background: #f2f2f2;
    }

    .home-main.home-legacy .banner .banner-content-home h2 {
        font-size: 17px;
        max-width: none;
        width: auto;
    }

    .home-main.home-legacy .banner .banner-bottom {
        order: 3;
        position: static;
        min-height: 0;
        height: auto;
        padding: 16px 0;
    }

    .home-main.home-legacy .banner .banner-bottom .items-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        width: 100%;
    }

    .home-main.home-legacy .banner .banner-bottom .items-wrapper a {
        white-space: normal;
        text-align: center;
    }

    .home-main.home-legacy .banner .banner-bottom .items-wrapper a.banner-plans-cta {
        max-width: none;
        width: 100%;
    }

    .home-main.home-legacy .banner .banner-bottom .items-wrapper .separator {
        display: none;
    }

    .home-main.home-legacy .row.home-carousel-grid {
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        margin: 0 !important;
        padding: 0 4px 8px !important;
        white-space: nowrap;
        grid-template-columns: none !important;
    }

    .home-main.home-legacy .row.home-carousel-grid > .carousel-card,
    .home-main.home-legacy .row.home-carousel-grid > .col-md-3 {
        flex: 0 0 85%;
        max-width: 85% !important;
        min-width: 0 !important;
        width: 85% !important;
        white-space: normal;
        scroll-snap-align: start;
        padding: 0 !important;
    }

    .home-main.home-legacy .carousel-shell.home-legacy-carousel {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        gap: 0.35rem;
    }

    .home-main.home-legacy .carousel-control {
        width: 28px;
        height: 28px;
    }

    .home-main.home-legacy .company-list-item.carousel-card {
        min-height: 260px;
    }

    .home-main.home-legacy .home-legacy-carousel .salesman-box.home-salesman-card,
    .home-main.home-legacy .home-legacy-carousel .training-item.training-item-hover {
        height: auto;
        min-height: 280px;
        max-height: none;
    }

    .home-main.home-legacy .title-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .home-main.home-legacy .title-wrapper .home-section-cta {
        white-space: normal;
        width: 100%;
        margin-top: 12px;
        text-align: center;
    }

    .home-main.home-legacy .company-list-wrapper,
    .home-main.home-legacy .opportunity-list-wrapper,
    .home-main.home-legacy .product-list-wrapper,
    .home-main.home-legacy .salesman-list-wrapper,
    .home-main.home-legacy .training-list-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .home-main.home-legacy .benefits-home {
        padding: 24px 15px;
    }

    .home-main.home-legacy .benefits-home .benefits-item {
        margin-bottom: 1.25rem;
    }

    .home-main.home-legacy > section:not(.register-your-team) {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .home-main.home-legacy > .register-your-team {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .home-main.home-legacy .home-section-band {
        padding: 8px 0;
    }

    .home-main.home-legacy .benefits-home br {
        display: none;
    }

    .home-main.home-legacy .register-your-team {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        margin: 12px 0 !important;
        padding: 24px 15px !important;
        gap: 14px;
    }

    .home-main.home-legacy .register-your-team h2 {
        font-size: 1.15rem;
        line-height: 1.35;
        margin: 0 !important;
    }

    .home-main.home-legacy .register-your-team .home-section-cta.light,
    .home-main.home-legacy .register-your-team a.border {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: auto;
        max-width: 100%;
        margin: 0 auto !important;
        padding: 8px 20px !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
        flex-shrink: 0;
    }

    .home-main.home-legacy .about-box {
        padding: 12px 15px;
        overflow: visible;
    }

    .home-main.home-legacy .about-box .row {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .home-main.home-legacy .about-box .col-md-6,
    .home-main.home-legacy .about-box .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        float: none !important;
        clear: both;
        position: static;
    }

    .home-main.home-legacy .about-box .light-grey-bg {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 14px;
        overflow: hidden;
        position: static;
    }

    .home-main.home-legacy .about-box video {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        display: block;
        position: static !important;
    }

    .home-main.home-legacy .about-box p {
        margin-top: 0;
        position: static;
        clear: both;
    }

    .home-main.home-legacy .be-a-teacher {
        padding: 15px;
        margin: 15px 0;
    }

    .home-main.home-legacy .be-a-teacher .row {
        display: flex;
        flex-direction: column;
    }

    .home-main.home-legacy .be-a-teacher .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .home-main.home-legacy .be-a-teacher .teacher-photo {
        min-height: 0 !important;
        max-height: 200px;
        margin-bottom: 14px;
        object-fit: cover;
    }

    .home-main.home-legacy .sac.section {
        padding: 24px 15px;
    }

    .home-main.home-legacy .h2-bigger {
        font-size: 1.35rem;
    }

    .legacy-site-header ul.menu-buttons-home li.separator {
        display: none;
    }

    body.is-home #header-color-bg {
        display: none !important;
    }

    body.is-home #header-color-bg > .row {
        height: 60px;
    }

    body.is-home #header-color {
        height: 60px;
        overflow: visible;
    }

    body.is-home #header-color > .row.blue {
        position: relative;
        min-height: 60px;
        height: 60px;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 48px 0 12px;
    }

    body.is-home #header-color > .row.blue::before {
        width: 100% !important;
        border-radius: 0 !important;
    }

    body.is-home .legacy-site-header figure.logo {
        margin-top: 0;
        margin-bottom: 0;
        max-width: fit-content;
    }

    body.is-home .legacy-site-header figure.logo img.logo {
        height: 48px;
        width: auto;
        max-width: 100%;
    }

    body.is-home .legacy-site-header .menu-btn.only-mobile {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        font-size: 1.25rem;
        line-height: 1;
        margin: 0;
        padding: 8px;
        width: 40px;
        height: 40px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    body.is-home .legacy-site-header #header-color > .row.blue > .col {
        flex: 1 1 auto;
        width: auto;
        max-width: calc(100% - 44px);
        padding: 0;
    }

    .legacy-site-header .menu-btn.only-mobile {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
    }

    .legacy-site-header #header-color > .row.blue {
        position: relative;
        align-items: center;
        min-height: 60px;
        padding-right: 48px;
    }
}

@media (max-width: 600px) {
    .home-main.home-legacy .banner .banner-content-home h2 {
        font-size: 14px;
        padding: 10px;
    }

    .register-your-team {
        height: auto !important;
        padding: 28px 15px !important;
    }

    .about-box .light-grey-bg {
        height: auto !important;
    }

    .home-main.home-legacy .register-your-team h2 {
        font-size: 1.05rem;
    }
}

/* Google Ads — 8 regioes na home */
.home-ad-slot {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 16px;
    box-sizing: border-box;
}

.home-ad-slot__unit {
    min-height: 90px;
}

.home-ad-slot__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 90px;
    padding: 16px;
    border: 1px dashed rgba(5, 51, 96, 0.28);
    border-radius: 6px;
    background: rgba(242, 242, 242, 0.65);
    color: #053360;
    text-align: center;
}

.home-ad-slot__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #eeb013;
}

.home-ad-slot__hint {
    font-size: 13px;
    line-height: 1.4;
    max-width: 520px;
}

.home-ad-slot__size {
    font-size: 11px;
    opacity: 0.55;
}

.home-ad-slot--leaderboard .home-ad-slot__unit,
.home-ad-slot--leaderboard .home-ad-slot__placeholder {
    min-height: 90px;
}

.home-ad-slot--rectangle .home-ad-slot__unit,
.home-ad-slot--rectangle .home-ad-slot__placeholder {
    min-height: 280px;
    max-width: 336px;
}

.home-ad-slot--in-feed .home-ad-slot__unit,
.home-ad-slot--in-feed .home-ad-slot__placeholder {
    min-height: 120px;
}

.home-ad-slot--footer .home-ad-slot__unit,
.home-ad-slot--footer .home-ad-slot__placeholder {
    min-height: 100px;
}

.home-ad-band {
    background: transparent;
}

.home-ad-band--muted {
    background: rgba(242, 242, 242, 0.45);
}

@media (max-width: 720px) {
    .home-ad-slot {
        padding: 10px 12px;
    }

    .home-ad-slot--rectangle .home-ad-slot__unit,
    .home-ad-slot--rectangle .home-ad-slot__placeholder {
        max-width: none;
        min-height: 250px;
    }
}

.legacy-site-header ul.menu.yellow.header-auth {
    min-width: 170px;
    list-style: none;
    margin: 20px 0 0;
    padding: 14px 18px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    height: 54px;
    background-color: #eeb013;
    border-radius: 5px 0 0 5px;
}

.legacy-site-header ul.menu.yellow.header-auth li {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.legacy-site-header .header-auth-greeting {
    line-height: 1.2;
}

.legacy-site-header a.header-auth-name {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.legacy-site-header a.header-auth-name:hover {
    color: #eeb013;
}

.legacy-site-header a.header-auth-logout {
    display: inline-block;
    min-width: 88px;
    text-align: center;
}

.mobile-nav .mobile-auth-greeting {
    display: block;
    padding: 10px 16px;
    color: #053360;
    font-weight: 700;
}

@media (max-width: 720px) {
    body:not(.cms-body) {
        overflow-x: hidden;
    }

    body.is-home main.home-page-wrap {
        max-width: none;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body:not(.cms-body):not(.is-home) main.page-wrap {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        box-sizing: border-box;
    }

    body:not(.cms-body) .portal-layout {
        min-width: 0;
        width: 100%;
    }

    body:not(.cms-body) .portal-content {
        overflow-x: hidden;
    }
}
