.elo-atp-page .page-header,
.elo-atp-page .entry-title {
    display: none;
}

.elo-atp-page .site-main,
.elo-atp-page .page-content,
.elo-atp-page .entry-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.elo-atp,
.elo-atp * {
    box-sizing: border-box;
}

.elo-atp {
    --atp-navy: #181d4e;
    --atp-deep: #10142f;
    --atp-ink: #20254e;
    --atp-muted: #6f7282;
    --atp-line: #dfe1e8;
    --atp-orange: #f9a03a;
    color: var(--atp-ink);
    overflow: hidden;
    background: #fff;
    font-family: "Outfit", sans-serif;
}

html:has(body.elo-atp-page) {
    scroll-behavior: smooth;
}

.elo-atp h1,
.elo-atp h2,
.elo-atp h3,
.elo-atp p {
    font-family: inherit;
}

.elo-atp p {
    text-align: left;
}

.elo-atp-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
}

.elo-atp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 690px;
    margin-top: -204px;
    padding: clamp(280px, 22vw, 310px) 0 clamp(112px, 10vw, 132px);
    overflow: hidden;
    color: #fff;
    background-color: var(--atp-deep);
    background-image: url("../images/atp-hero.webp");
    background-position: center 52%;
    background-repeat: no-repeat;
    background-size: cover;
}

.elo-atp-hero::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, rgba(8, 13, 39, 0.93) 0%, rgba(10, 16, 47, 0.84) 39%, rgba(11, 18, 50, 0.42) 67%, rgba(9, 14, 40, 0.14) 100%),
        linear-gradient(180deg, rgba(9, 14, 42, 0.2) 0%, rgba(9, 14, 42, 0.08) 60%, rgba(9, 14, 42, 0.55) 100%);
}

.elo-atp-hero__content {
    z-index: 2;
}

.elo-atp-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 7vw, 82px);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1;
}

.elo-atp-hero h1 span {
    color: var(--atp-orange);
    white-space: nowrap;
}

.elo-atp-hero__drawing {
    display: none;
}

.elo-atp-eyebrow {
    margin: 0 0 13px;
    color: var(--atp-orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

.elo-atp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    padding: 15px 26px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.elo-atp-button span {
    font-size: 24px;
    line-height: 1;
}

.elo-atp-button__whatsapp {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: currentColor;
}

.elo-atp-button--primary {
    color: #111633;
    background: var(--atp-orange);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.elo-atp-hero__scroll {
    position: absolute;
    z-index: 3;
    bottom: 30px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 50%;
    background: rgba(9, 14, 42, 0.18);
    backdrop-filter: blur(4px);
    text-decoration: none;
    transform: translateX(-50%);
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.elo-atp-hero__scroll svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.elo-atp-hero__scroll:hover,
.elo-atp-hero__scroll:focus-visible {
    color: #fff;
    border-color: #fff;
    background: rgba(9, 14, 42, 0.42);
    transform: translate(-50%, 3px);
}

.elo-atp-hero__scroll:focus-visible {
    outline: 3px solid var(--atp-orange);
    outline-offset: 4px;
}

.elo-atp-button--primary:hover,
.elo-atp-button--primary:focus-visible {
    color: #111633;
    background: #ffad4d;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.elo-atp-button:focus-visible,
.elo-atp-guidance a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.elo-atp-section {
    padding: clamp(75px, 9vw, 120px) 0;
}

.elo-atp-overview {
    padding-top: clamp(50px, 5vw, 68px);
}

.elo-atp-overview .elo-atp-heading {
    display: block;
}

.elo-atp-overview .elo-atp-eyebrow {
    margin-bottom: 13px;
    color: var(--atp-orange);
}

.elo-atp-overview__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.elo-atp-overview__title-row h2 {
    max-width: 780px;
}

.elo-atp-button--whatsapp {
    flex: 0 0 auto;
    min-height: 52px;
    color: #fff;
    border-radius: 5px;
    background: #00a337;
}

.elo-atp-button--whatsapp:hover,
.elo-atp-button--whatsapp:focus-visible {
    color: #fff;
    background: #008e30;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 115, 48, 0.2);
}

.elo-atp-overview .elo-atp-heading > p:not(.elo-atp-eyebrow) {
    max-width: 880px;
    margin: 20px 0 0;
    color: var(--atp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.elo-atp-overview .elo-atp-heading > p.elo-atp-overview__lead {
    margin-top: 24px;
    color: var(--atp-ink);
    font-size: clamp(17px, 1.7vw, 20px);
}

.elo-atp-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 54px;
}

.elo-atp-heading--stacked {
    display: block;
    margin-bottom: 42px;
}

.elo-atp-heading h2,
.elo-atp-final h2 {
    margin: 0;
    color: var(--atp-navy);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.elo-atp-heading > p,
.elo-atp-heading > div + p {
    max-width: 470px;
    margin: 0;
    color: var(--atp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.elo-atp-scope {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.elo-atp-scope__item {
    position: relative;
    min-height: 250px;
    padding: 31px;
    overflow: hidden;
    border: 1px solid var(--atp-line);
    border-top: 5px solid var(--atp-orange);
    background: #fff;
    box-shadow: 0 8px 24px rgba(24, 29, 78, 0.045);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.elo-atp-scope__item::after {
    position: absolute;
    top: -74px;
    right: -76px;
    width: 170px;
    height: 170px;
    content: "";
    border: 1px solid rgba(24, 29, 78, 0.07);
    border-radius: 50%;
    box-shadow: inset 0 0 0 40px rgba(24, 29, 78, 0.018);
}

.elo-atp-scope__item:hover {
    z-index: 1;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(24, 29, 78, 0.12);
}

.elo-atp-scope__item > span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 27px;
    border: 1px solid var(--atp-orange);
    border-radius: 7px;
    color: var(--atp-orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.elo-atp-scope__item h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 13px;
    color: var(--atp-navy);
    font-size: clamp(19px, 1.7vw, 23px);
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.elo-atp-scope__item p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--atp-muted);
    font-size: 15px;
    line-height: 1.7;
}

.elo-atp-classes {
    background: #f4f5f8;
}

.elo-atp-class-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.elo-atp-class-card {
    --cc-accent: var(--atp-orange);
    position: relative;
    isolation: isolate;
    min-height: 390px;
    padding: 31px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 5px solid var(--cc-accent);
    color: #fff;
    cursor: pointer;
    background:
        radial-gradient(circle at 92% 16%, color-mix(in srgb, var(--cc-accent) 13%, transparent), transparent 31%),
        linear-gradient(135deg, color-mix(in srgb, var(--cc-accent) 7%, transparent), transparent 58%),
        #10152f;
    box-shadow: 0 14px 34px rgba(15, 20, 48, 0.16);
    text-decoration: none;
    transition: transform 260ms cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 260ms ease;
}

.elo-atp-class-card:visited {
    color: #fff;
}

.elo-atp-class-card::before {
    position: absolute;
    right: -80px;
    bottom: -112px;
    width: 250px;
    height: 250px;
    content: "";
    border: 1px solid color-mix(in srgb, var(--cc-accent) 38%, transparent);
    border-radius: 50%;
    box-shadow:
        inset 0 0 0 43px color-mix(in srgb, var(--cc-accent) 4%, transparent),
        inset 0 0 0 86px color-mix(in srgb, var(--cc-accent) 3%, transparent);
    clip-path: inset(0 80px 112px 0);
}

/*
 * Indicador luminoso inspirado nos cards de Ensaios Tecnológicos.
 * O brilho herda a cor da classe e se projeta para fora da base do card.
 */
.elo-atp-class-card::after {
    position: absolute;
    top: calc(100% + 1px);
    right: 22%;
    bottom: auto;
    left: 22%;
    z-index: -1;
    height: 28px;
    content: "";
    pointer-events: none;
    border-radius: 0 0 50% 50%;
    opacity: 0.68;
    background: radial-gradient(
        ellipse at center top,
        color-mix(in srgb, var(--cc-accent) 78%, #fff 8%) 0%,
        color-mix(in srgb, var(--cc-accent) 40%, transparent) 42%,
        transparent 76%
    );
    filter: blur(8px);
    transform: scaleX(0.78) scaleY(0.54);
    transform-origin: center top;
    transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 260ms ease;
}

.elo-atp-class-card--cc1 { --cc-accent: #49a9f8; }
.elo-atp-class-card--cc2 { --cc-accent: #4eb787; }
.elo-atp-class-card--cc3 { --cc-accent: var(--atp-orange); }

.elo-atp-class-card:hover {
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 20, 48, 0.24);
}

.elo-atp-class-card:hover::after,
.elo-atp-class-card:focus-visible::after {
    opacity: 0.9;
    filter: blur(7px);
    transform: scaleX(1.06) scaleY(0.78);
}

.elo-atp-class-card:focus-visible {
    color: #fff;
    outline: 3px solid var(--cc-accent);
    outline-offset: 5px;
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 20, 48, 0.24);
}

.elo-atp-class-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 34px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.elo-atp-class-card__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 1px solid var(--cc-accent);
    border-radius: 7px;
    color: var(--cc-accent);
    font-size: 18px;
}

.elo-atp-class-card > p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.elo-atp-class-card > small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.elo-atp-guidance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 30px;
    padding: 17px 19px;
    border: 1px solid #e0e2e9;
    border-left: 3px solid var(--atp-orange);
    background: #f5f6f9;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.elo-atp-guidance:hover {
    border-color: color-mix(in srgb, var(--atp-orange) 48%, #e0e2e9);
    background: #eef0f5;
}

.elo-atp-guidance h3 {
    margin: 0 0 5px;
    color: var(--atp-navy);
    font-size: 16px;
}

.elo-atp-guidance p {
    margin: 0;
    color: #6f7282;
    font-size: 14px;
    line-height: 1.45;
}

.elo-atp-guidance a {
    flex: 0 0 auto;
    color: var(--atp-orange);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.elo-atp-guidance a span {
    display: inline-block;
    margin-left: 8px;
    font-size: 21px;
    transition: transform 180ms ease;
}

.elo-atp-guidance a:hover span {
    transform: translateX(5px);
}

.elo-atp-process-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.elo-atp-process-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 21px;
    min-height: 180px;
    padding: 31px 30px 31px 0;
    border-top: 1px solid #e0e2e9;
}

.elo-atp-process-list li + li {
    padding-left: 30px;
    border-left: 1px solid var(--atp-line);
}

.elo-atp-process-list > li > span {
    color: var(--atp-orange);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.elo-atp-process-list h3 {
    margin: -4px 0 8px;
    color: var(--atp-navy);
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 700;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.elo-atp-process-list p {
    margin: 0;
    color: var(--atp-muted);
    font-size: 15px;
    line-height: 1.7;
}

.elo-atp-final {
    padding: clamp(75px, 9vw, 110px) 0;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(57, 169, 255, 0.17), transparent 31%),
        linear-gradient(145deg, var(--atp-deep), var(--atp-navy));
}

.elo-atp-final__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.elo-atp-final h2 {
    max-width: 760px;
    color: #fff;
}

.elo-atp-final p:not(.elo-atp-eyebrow) {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.7;
}

.elo-atp-final .elo-atp-button {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .elo-atp-overview__title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .elo-atp-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .elo-atp-heading > p,
    .elo-atp-heading > div + p {
        max-width: 720px;
    }

    .elo-atp-scope {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elo-atp-class-grid {
        grid-template-columns: 1fr;
    }

    .elo-atp-class-card {
        min-height: 0;
    }

    .elo-atp-final__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 34px;
    }
}

@media (max-width: 720px) {
    .elo-atp-shell {
        width: min(100% - 36px, 620px);
    }

    .elo-atp-hero {
        min-height: 640px;
        margin-top: -120px;
        padding: 188px 0 116px;
        background-position: 61% center;
    }

    .elo-atp-hero::before {
        background:
            linear-gradient(90deg, rgba(8, 13, 39, 0.91) 0%, rgba(10, 16, 47, 0.79) 60%, rgba(9, 14, 40, 0.5) 100%),
            linear-gradient(180deg, rgba(9, 14, 42, 0.18) 0%, rgba(9, 14, 42, 0.32) 64%, rgba(9, 14, 42, 0.72) 100%);
    }

    .elo-atp-hero h1 {
        font-size: clamp(40px, 12vw, 54px);
    }

    .elo-atp-hero__scroll {
        bottom: 24px;
        width: 44px;
        height: 44px;
    }

    .elo-atp-page #pojo-a11y-toolbar {
        top: 8px !important;
    }

    .elo-atp-page #pojo-a11y-toolbar.pojo-a11y-toolbar-right:not(.pojo-a11y-toolbar-open) .pojo-a11y-toolbar-toggle {
        right: 244px;
    }

    .elo-atp-page #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
        padding: 8px;
    }

    .elo-atp-page #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg {
        width: 30px;
        height: 30px;
    }

    .elo-atp-button {
        width: 100%;
    }

    .elo-atp-section {
        padding: 64px 0;
    }

    .elo-atp-overview {
        padding-top: 52px;
    }

    .elo-atp-overview__title-row {
        gap: 20px;
    }

    .elo-atp-overview .elo-atp-heading > p:not(.elo-atp-eyebrow) {
        margin-top: 18px;
    }

    .elo-atp-heading,
    .elo-atp-heading--stacked {
        margin-bottom: 32px;
    }

    .elo-atp-heading h2,
    .elo-atp-final h2 {
        font-size: clamp(32px, 9vw, 42px);
    }

    .elo-atp-heading > p,
    .elo-atp-heading > div + p {
        font-size: 16px;
        line-height: 1.65;
    }

    .elo-atp-scope {
        grid-template-columns: 1fr;
    }

    .elo-atp-scope__item {
        min-height: 0;
        padding: 25px 23px;
    }

    .elo-atp-scope__item > span {
        margin-bottom: 18px;
    }

    .elo-atp-class-card {
        padding: 28px 24px 25px;
    }

    .elo-atp-class-card__top {
        align-items: center;
        gap: 15px;
        margin-bottom: 23px;
    }

    .elo-atp-class-card__code {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .elo-atp-guidance {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 25px 23px;
    }

    .elo-atp-process-list {
        grid-template-columns: 1fr;
    }

    .elo-atp-process-list li {
        grid-template-columns: 45px 1fr;
        min-height: 0;
        padding: 24px 0;
    }

    .elo-atp-process-list li + li {
        padding-left: 0;
        border-left: 0;
    }

    .elo-atp-final__inner {
        gap: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elo-atp *,
    .elo-atp *::before,
    .elo-atp *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
