/* ==========================================================================
   Landing pública do Treine Livre (templates/core/landing.html)
   - Escopo: tudo sob .tl-lp (navbar + página); só é carregado na landing.
   - Fonte: Manrope (a mesma do aplicativo), servida localmente (CSP 'self').
   - Cores: tokens oficiais da marca; verde só como destaque.
   ========================================================================== */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope/manrope-regular.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope/manrope-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope/manrope-bold.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/manrope/manrope-extrabold.woff2') format('woff2'); }

.tl-lp {
    --tl-purple: #2b1b4f;
    --tl-purple-dark: #211638;
    --tl-purple-2: #4a3175;
    --tl-purple-3: #7650ad;
    --tl-purple-soft: #eee9f8;
    --tl-lilac: #f0ecf8;
    --tl-green: #b2ff38;
    --tl-green-hover: #a7f32f;
    --tl-bg: #faf9fc;
    --tl-white: #ffffff;
    --tl-text: #281d40;
    --tl-muted: #6c6480;
    --tl-line: rgba(43, 27, 79, .12);
    --tl-line-soft: rgba(43, 27, 79, .07);

    --lp-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --lp-ease: cubic-bezier(.45, 0, .25, 1);
    --lp-gutter: clamp(18px, 4vw, 88px);
    --lp-section: clamp(56px, 6vw, 112px);

    font-family: var(--lp-font);
    color: var(--tl-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: #faf9fc; }

.tl-page {
    width: 100%;
    overflow-x: clip;
    background: var(--tl-bg);
}

.tl-lp :focus-visible {
    outline: 2px solid var(--tl-purple-3);
    outline-offset: 3px;
    border-radius: 6px;
}

.tl-content {
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--lp-gutter);
}

.lp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--tl-purple-3);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.lp-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--tl-green);
    border-radius: 2px;
}

.lp-h2 {
    margin: 0 0 22px;
    color: var(--tl-purple);
    font-size: clamp(2.05rem, 1.25rem + 3vw, 3.7rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.042em;
    text-wrap: balance;
}

.lp-lead {
    max-width: 34em;
    margin: 0;
    color: var(--tl-muted);
    font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
    line-height: 1.7;
}

.lp-note {
    color: var(--tl-muted);
    font-size: .82rem;
    line-height: 1.5;
}

/* ---------- Botões e links ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-family: var(--lp-font);
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s var(--lp-ease), background-color .25s var(--lp-ease), box-shadow .25s var(--lp-ease), color .25s var(--lp-ease);
}
.lp-btn i { font-size: 1.05em; transition: transform .25s var(--lp-ease); }
.lp-btn:hover { transform: translateY(-2px); }
.lp-btn:hover .bi-arrow-right { transform: translateX(3px); }

.lp-btn--green { background: var(--tl-green); color: var(--tl-purple); box-shadow: 0 10px 24px -12px rgba(120, 190, 20, .7); }
.lp-btn--green:hover { background: var(--tl-green-hover); color: var(--tl-purple); box-shadow: 0 16px 30px -14px rgba(120, 190, 20, .8); }

.lp-btn--dark { background: var(--tl-purple); color: #fff; }
.lp-btn--dark:hover { background: var(--tl-purple-dark); color: #fff; box-shadow: 0 16px 30px -16px rgba(33, 22, 56, .7); }

.lp-btn--line { border-color: var(--tl-line); color: var(--tl-purple); background: transparent; }
.lp-btn--line:hover { border-color: rgba(43, 27, 79, .3); color: var(--tl-purple); background: #fff; }

.lp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tl-purple);
    font-weight: 800;
    text-decoration: none;
    background-image: linear-gradient(var(--tl-green), var(--tl-green));
    background-size: 0 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    padding-bottom: 2px;
    transition: background-size .3s var(--lp-ease), color .25s var(--lp-ease);
}
.lp-link i { transition: transform .25s var(--lp-ease); }
.lp-link:hover { color: var(--tl-purple); background-size: 100% 2px; }
.lp-link:hover i { transform: translateX(3px); }

/* ---------- Selos das lojas ---------- */

.lp-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 14px;
}
.lp-store {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform .25s var(--lp-ease), opacity .25s var(--lp-ease);
}
.lp-store img { display: block; height: 48px; width: auto; }
a.lp-store:hover { transform: translateY(-2px); }
/* ---------- Mockup de smartphone (telas reais do app) ---------- */

.lp-phone {
    position: relative;
    width: var(--phone-w, 300px);
    padding: calc(var(--phone-w, 300px) * .032);
    border-radius: calc(var(--phone-w, 300px) * .165);
    background: #15111d;
    box-shadow:
        inset 0 0 0 1.5px #3b3449,
        inset 0 0 0 4px #0c0a10,
        0 50px 90px -30px rgba(33, 22, 56, .55),
        0 24px 40px -24px rgba(33, 22, 56, .45);
}
.lp-phone::before,
.lp-phone::after {
    content: "";
    position: absolute;
    width: 3px;
    border-radius: 2px;
    background: #2a2433;
}
.lp-phone::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 calc(var(--phone-w, 300px) * .2) 0 #2a2433; }
.lp-phone::after { right: -3px; top: 28%; height: 13%; }
.lp-phone img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1320 / 2868;
    border-radius: calc(var(--phone-w, 300px) * .135);
    background: #f3f1f8;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.tl-navbar.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 76px;
    padding: 0;
    background: rgba(250, 249, 252, .84);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease);
}
.tl-navbar.lp-nav.is-scrolled { border-bottom-color: var(--tl-line-soft); background: rgba(250, 249, 252, .94); }
.lp-nav .tl-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 76px; }

.tl-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tl-purple);
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.035em;
    text-decoration: none;
}
.tl-logo:hover { color: var(--tl-purple); }
.tl-logo-image { width: 38px; height: 38px; border-radius: 9px; display: block; flex-shrink: 0; }

.lp-nav .navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--tl-line) !important;
    border-radius: 12px;
}
.lp-nav .navbar-toggler { display: none; align-items: center; justify-content: center; color: var(--tl-purple); font-size: 1.5rem; }
.lp-nav .navbar-toggler .bi-x-lg { display: none; font-size: 1.15rem; }
.lp-nav .navbar-toggler[aria-expanded="true"] .bi-list { display: none; }
.lp-nav .navbar-toggler[aria-expanded="true"] .bi-x-lg { display: inline-block; }

.lp-nav-link {
    position: relative;
    padding: 10px 14px !important;
    color: #4e4664 !important;
    font-size: .92rem;
    font-weight: 700;
    transition: color .25s var(--lp-ease);
}
.lp-nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--tl-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--lp-ease);
}
.lp-nav-link:hover { color: var(--tl-purple) !important; }
.lp-nav-link:hover::after { transform: scaleX(1); }

.lp-nav-actions { display: flex; align-items: center; gap: 8px; }
.lp-nav-actions .lp-btn { min-height: 44px; padding: 0 18px; font-size: .9rem; border-radius: 12px; }
.lp-nav-entrar {
    padding: 10px 12px;
    color: var(--tl-purple);
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
}
.lp-nav-entrar:hover { color: var(--tl-purple-3); }

@media (min-width: 992px) {
    .lp-nav .tl-content { flex-wrap: nowrap; gap: 16px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lp-nav-link { padding: 10px 8px !important; font-size: .86rem; }
    .lp-nav-link::after { left: 8px; right: 8px; }
    .lp-nav-actions .lp-btn { padding: 0 14px; }
}
@media (max-width: 991.98px) {
    .lp-nav .navbar-toggler { display: inline-flex; }
    .lp-nav .navbar-collapse { flex-basis: 100%; }
    .lp-nav .navbar-nav { padding: 12px 0 6px; border-top: 1px solid var(--tl-line-soft); margin-top: 6px; }
    .lp-nav-link { padding: 13px 2px !important; font-size: 1.05rem; border-bottom: 1px solid var(--tl-line-soft); }
    .lp-nav-link::after { display: none; }
    .lp-nav-actions { padding: 16px 0 22px; }
    .lp-nav-actions .lp-btn { flex: 1; min-height: 50px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.lp-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(24px, 3vw, 48px) 0 clamp(40px, 4vw, 64px);
}

.lp-hero-media {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: clamp(40px, 4vw, 64px);
    width: 50vw;
    margin: 0;
    overflow: hidden;
    border-radius: 0 0 0 40px;
    background: #d9d3e6;
}
.lp-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 45%;
}
.lp-hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(to top, rgba(20, 13, 34, .55), rgba(20, 13, 34, 0));
    pointer-events: none;
}
.lp-hero-media figcaption {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 1;
    max-width: 18em;
    color: rgba(255, 255, 255, .86);
    font-size: .74rem;
    font-weight: 600;
    text-align: right;
    line-height: 1.45;
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: min(calc(100svh - 76px - 100px), 720px);
}

.lp-hero-copy { max-width: min(46vw, 900px); padding-right: clamp(16px, 3vw, 48px); padding-block: 24px; }

.tl-hero-title {
    margin: 0 0 26px;
    color: var(--tl-purple);
    font-size: clamp(2.65rem, 1.2rem + 4.3vw, 7rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.055em;
}
.tl-hero-title span {
    display: block;
    margin-top: .32em;
    color: var(--tl-purple-3);
    font-size: .52em;
    line-height: 1.05;
    letter-spacing: -.035em;
}
.tl-hero-title em {
    position: relative;
    font-style: normal;
    white-space: nowrap;
}
.tl-hero-title em::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -.04em;
    right: -.04em;
    bottom: .04em;
    height: .14em;
    border-radius: 999px;
    background: var(--tl-green);
}

.lp-hero-text { max-width: 30em; margin: 0 0 34px; color: var(--tl-muted); font-size: clamp(1.02rem, .9rem + .4vw, 1.4rem); line-height: 1.68; }

.lp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.lp-hero-actions .lp-store img { height: clamp(46px, 2.6vw, 60px); }

.lp-hero-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    max-width: 520px;
    padding-top: 22px;
    border-top: 1px solid var(--tl-line-soft);
}
.lp-hero-foot .lp-note { margin: 0; font-size: .88rem; }
.lp-hero-foot .lp-note strong { color: var(--tl-purple); }

.lp-hero-device {
    position: relative;
    margin: 0;
    justify-self: start;
    transform: translateX(-16%);
}
.lp-hero-device .lp-phone { --phone-w: clamp(250px, 21vw, 318px); transform: rotate(-4deg); transition: transform .6s var(--lp-ease); }
.lp-hero-device:hover .lp-phone { transform: rotate(-2deg) translateY(-6px); }

.lp-hero-chip {
    position: absolute;
    left: 78%;
    top: 16%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 172px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px -20px rgba(33, 22, 56, .45);
    color: var(--tl-purple);
}
.lp-hero-chip small { color: var(--tl-muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.lp-hero-chip strong { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }

/* Desktop: a foto ocupa a primeira dobra inteira (ponta a ponta, altura da
   janela) e o texto fica sobre um degradê roxo da marca. */
@media (min-width: 992px) {
    .lp-hero {
        display: flex;
        align-items: center;
        min-height: calc(100vh - 76px);
        min-height: calc(100svh - 76px);
        padding: 0;
        background: var(--tl-purple-dark);
    }
    .lp-hero-media { inset: 0; width: auto; bottom: 0; border-radius: 0; background: var(--tl-purple-dark); }
    .lp-hero-media img { object-position: 58% 40%; }
    .lp-hero-media::after {
        inset: 0;
        height: auto;
        background:
            linear-gradient(90deg, rgba(33, 22, 56, .95) 0%, rgba(33, 22, 56, .86) 30%, rgba(33, 22, 56, .32) 56%, rgba(33, 22, 56, 0) 74%),
            linear-gradient(to top, rgba(33, 22, 56, .6) 0%, rgba(33, 22, 56, 0) 34%);
    }
    .lp-hero-grid {
        width: 100%;
        min-height: 0;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        padding-block: clamp(40px, 5vw, 88px);
    }
    .tl-hero-title { color: #fff; }
    .tl-hero-title span { color: var(--tl-green); }
    .lp-hero-text { color: rgba(255, 255, 255, .8); }
    .lp-hero-foot { border-top-color: rgba(255, 255, 255, .16); }
    .lp-hero-foot .lp-note { color: rgba(255, 255, 255, .7); }
    .lp-hero-foot .lp-note strong { color: #fff; }
    .lp-hero .lp-link,
    .lp-hero .lp-link:hover { color: #fff; }
    .lp-hero .lp-btn--dark { background: var(--tl-green); color: var(--tl-purple); }
    .lp-hero .lp-btn--dark:hover { background: var(--tl-green-hover); color: var(--tl-purple); }
    .lp-hero .lp-store img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); border-radius: 9px; }
    .lp-hero-device { justify-self: end; transform: none; margin-right: clamp(0px, 4vw, 120px); }
    .lp-hero-chip { left: auto; right: 84%; top: 60%; }
}

@media (max-width: 991.98px) {
    .lp-hero { display: flex; flex-direction: column; padding-top: 28px; }
    .lp-hero-grid { display: contents; }
    .lp-hero-copy { order: 1; max-width: none; padding: 8px var(--lp-gutter) 0; }
    .lp-hero-media {
        position: relative;
        z-index: 0;
        width: auto;
        height: clamp(300px, 72vw, 460px);
        order: 2;
        margin: 44px var(--lp-gutter) 0;
        border-radius: 28px;
    }
    .lp-hero-media::after { inset: 0 0 auto 0; background: linear-gradient(to bottom, rgba(20, 13, 34, .5), rgba(20, 13, 34, 0)); }
    .lp-hero-media figcaption { top: 16px; bottom: auto; left: 18px; right: 18px; max-width: none; text-align: left; }
    .lp-hero-device {
        order: 3;
        align-self: center;
        transform: none;
        margin-top: clamp(-260px, -46vw, -170px);
        z-index: 1;
    }
    .lp-hero-device .lp-phone { --phone-w: clamp(210px, 58vw, 290px); transform: rotate(-3deg); }
    .lp-hero-chip { display: none; }
}

@media (max-width: 575.98px) {
    .lp-hero-actions { flex-direction: column; align-items: stretch; }
    .lp-hero-actions .lp-btn { width: 100%; }
    .lp-hero-actions .lp-link { align-self: center; }
    .lp-store img { height: 44px; }
}

/* ==========================================================================
   VALORES (faixa de benefícios)
   ========================================================================== */

.lp-values { padding-bottom: 0; }
.lp-values-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--tl-line);
}
.lp-values-list li {
    position: relative;
    padding: 30px 28px 6px 0;
}
.lp-values-list li + li { padding-left: 28px; border-left: 1px solid var(--tl-line-soft); }
.lp-values-list li::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--tl-green);
}
.lp-values-list li + li::before { left: 28px; }
.lp-values-list i { display: block; margin-bottom: 14px; color: var(--tl-purple-3); font-size: 1.3rem; }
.lp-values-list strong { display: block; margin-bottom: 6px; color: var(--tl-purple); font-size: 1.04rem; font-weight: 800; letter-spacing: -.02em; }
.lp-values-list span { display: block; color: var(--tl-muted); font-size: .92rem; line-height: 1.55; }

@media (max-width: 991.98px) {
    .lp-values-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-values-list li:nth-child(3) { padding-left: 0; border-left: 0; }
    .lp-values-list li:nth-child(3)::before { left: 0; }
    .lp-values-list li:nth-child(n+3) { border-top: 1px solid var(--tl-line-soft); }
}
@media (max-width: 575.98px) {
    .lp-values-list li { padding: 22px 14px 4px 0; }
    .lp-values-list li + li { padding-left: 14px; }
    .lp-values-list li + li::before { left: 14px; }
    .lp-values-list li:nth-child(3) { padding-left: 0; }
    .lp-values-list i { margin-bottom: 10px; font-size: 1.15rem; }
    .lp-values-list strong { font-size: .95rem; }
    .lp-values-list span { font-size: .84rem; }
}
@media (max-width: 359.98px) {
    .lp-values-list { grid-template-columns: 1fr; }
    .lp-values-list li,
    .lp-values-list li + li { padding: 24px 0 18px; border-left: 0; }
    .lp-values-list li + li { border-top: 1px solid var(--tl-line-soft); }
    .lp-values-list li + li::before { left: 0; }
    .lp-values-list i { display: inline-block; margin: 0 10px 0 0; vertical-align: -2px; }
    .lp-values-list strong { display: inline; }
    .lp-values-list span { margin-top: 6px; }
}

/* ==========================================================================
   MOMENTOS (situações de uso)
   ========================================================================== */

.lp-moments { padding: var(--lp-section) 0 calc(var(--lp-section) * .5); }
.lp-moments-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.lp-moments-head { position: sticky; top: 120px; }
.lp-moments-head .lp-h2 { font-size: clamp(2.05rem, 1.2rem + 3.3vw, 4rem); }

.lp-moments-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tl-line); }
.lp-moments-list li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--tl-line);
    transition: padding-left .35s var(--lp-ease);
}
.lp-moments-list li:hover { padding-left: 10px; }
.lp-moments-list .lp-num { color: var(--tl-purple-3); font-size: .84rem; font-weight: 800; letter-spacing: .08em; padding-top: 7px; }
.lp-moments-list h3 { margin: 0 0 8px; color: var(--tl-purple); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; }
.lp-moments-list p { margin: 0; color: var(--tl-muted); line-height: 1.6; }
.lp-moments-foot { margin: 28px 0 0; color: var(--tl-purple); font-weight: 700; }

@media (max-width: 991.98px) {
    .lp-moments-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp-moments-head { position: static; }
    .lp-moments-list li { grid-template-columns: 40px minmax(0, 1fr); padding: 24px 0; }
}

/* ==========================================================================
   COMO FUNCIONA
   ========================================================================== */

.lp-steps { padding: calc(var(--lp-section) * .5) 0 var(--lp-section); }
.lp-steps-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 60px;
    margin-bottom: clamp(32px, 3.5vw, 56px);
}
.lp-steps-head .lp-h2 { margin-bottom: 0; font-size: clamp(2.4rem, 1.3rem + 4.2vw, 5rem); }
.lp-steps-head .lp-h2 span { color: var(--tl-purple-3); }
.lp-steps-head .lp-lead { max-width: 24em; }

.lp-steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.4vw, 40px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-steps-list li { position: relative; }

/* Mídia de cada passo: pequena, cantos arredondados e animação na entrada.
   isolation + translateZ mantêm o arredondamento no Safari durante o zoom. */
.lp-step-media {
    position: relative;
    isolation: isolate;
    height: clamp(170px, 14vw, 230px);
    margin: 0 0 22px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--tl-lilac);
    transform: translateZ(0);
}
.lp-step-media--tela { display: flex; justify-content: center; }
.lp-step-media--tela .lp-phone {
    --phone-w: clamp(150px, 11vw, 190px);
    margin-top: 22px;
    box-shadow: inset 0 0 0 1.5px #3b3449, inset 0 0 0 4px #0c0a10, 0 24px 44px -24px rgba(33, 22, 56, .55);
    transition: transform .8s var(--lp-ease);
}
.lp-step-media--foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 45%;
    border-radius: inherit;
    transition: transform .9s var(--lp-ease);
}
.lp-step-media--foto figcaption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    color: var(--tl-purple);
    font-size: .78rem;
    font-weight: 800;
}
.lp-step-media--foto figcaption i { color: var(--tl-purple-3); }
.lp-steps-list li:hover .lp-step-media--tela .lp-phone { transform: translateY(-10px); }
.lp-steps-list li:hover .lp-step-media--foto img { transform: scale(1.06); }

/* Entrada: a mídia se abre (clip-path) e a imagem assenta (zoom → 1) */
html.lp-js .lp-steps-list .lp-step-media {
    clip-path: inset(10% 10% 10% 10% round 22px);
    transition: clip-path .9s var(--lp-ease);
    transition-delay: calc(var(--lp-delay, 0s) + .1s);
}
html.lp-js .lp-steps-list .lp-step-media--foto img { transform: scale(1.14); }
html.lp-js .lp-steps-list .lp-step-media--tela .lp-phone { transform: translateY(40px); }
html.lp-js .lp-steps-list li.is-visible .lp-step-media { clip-path: inset(0 0 0 0 round 22px); }
html.lp-js .lp-steps-list li.is-visible .lp-step-media--foto img,
html.lp-js .lp-steps-list li.is-visible .lp-step-media--tela .lp-phone { transform: none; }
html.lp-js .lp-steps-list li.is-visible:hover .lp-step-media--foto img { transform: scale(1.06); }
html.lp-js .lp-steps-list li.is-visible:hover .lp-step-media--tela .lp-phone { transform: translateY(-10px); }

.lp-step-num {
    display: block;
    margin-bottom: 8px;
    color: var(--tl-purple-3);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.lp-steps-list h3 { margin: 0 0 8px; color: var(--tl-purple); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 800; letter-spacing: -.03em; }
.lp-steps-list p { max-width: 30em; margin: 0; color: var(--tl-muted); line-height: 1.6; }

@media (max-width: 767.98px) {
    .lp-steps-list { grid-template-columns: 1fr; gap: 32px; }
    .lp-step-media { height: 190px; }
}

/* Destaque do "Treinar agora" (chegar, escanear, pagar e entrar) */
.lp-agora {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px clamp(18px, 2.4vw, 40px);
    margin-top: clamp(28px, 3vw, 48px);
    padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.8vw, 44px);
    border-radius: 26px;
    background: linear-gradient(100deg, var(--tl-purple-dark), var(--tl-purple));
    color: #fff;
}
.lp-agora-icone {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--tl-green);
    color: var(--tl-purple-dark);
    font-size: 1.5rem;
}
.lp-agora h3 { margin: 0 0 6px; color: #fff; font-size: clamp(1.2rem, 1rem + .7vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; }
.lp-agora p { max-width: 38em; margin: 0; color: rgba(255, 255, 255, .84); line-height: 1.55; }
.lp-agora strong { color: var(--tl-green); }
.lp-agora-fluxo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: agora;
}
.lp-agora-fluxo li {
    counter-increment: agora;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: .88rem;
    font-weight: 700;
    white-space: nowrap;
}
.lp-agora-fluxo li::before {
    content: counter(agora);
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tl-green);
    color: var(--tl-purple-dark);
    font-size: .75rem;
    font-weight: 800;
}
@media (max-width: 1199.98px) {
    .lp-agora { grid-template-columns: auto minmax(0, 1fr); }
    .lp-agora-fluxo { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .lp-agora { grid-template-columns: 1fr; border-radius: 22px; }
    .lp-agora-icone { width: 46px; height: 46px; font-size: 1.25rem; }
}

/* ==========================================================================
   APLICATIVO (bento escuro)
   ========================================================================== */

.lp-app {
    padding: var(--lp-section) 0;
    background: var(--tl-purple-dark);
    color: #fff;
}
.lp-app .lp-kicker { color: var(--tl-green); }
.lp-app .lp-h2 { color: #fff; }
.lp-app .lp-lead { color: rgba(255, 255, 255, .66); }

.lp-app-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.lp-app-head .lp-h2 { margin: 0; }

.lp-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
    gap: 16px;
}
.lp-tile {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 2.6vw, 36px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    background: rgba(255, 255, 255, .035);
    transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease);
}
.lp-tile:hover { border-color: rgba(178, 255, 56, .32); background: rgba(255, 255, 255, .05); }
.lp-tile > .bi { display: block; margin-bottom: 18px; color: var(--tl-green); font-size: 1.4rem; }
.lp-tile h3 { margin: 0 0 10px; color: #fff; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.lp-tile p { margin: 0; color: rgba(255, 255, 255, .64); line-height: 1.6; }
.lp-tile strong { color: #fff; }

.lp-tile--screens { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; padding-bottom: 0; background: #2b1b4f; }
.lp-tile--b { grid-column: span 5; }
.lp-tile--c { grid-column: span 5; }
.lp-tile--d,
.lp-tile--e,
.lp-tile--f { grid-column: span 4; }

.lp-screens {
    position: relative;
    margin: auto 0 -120px;
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 22px;
}
.lp-screens .lp-phone { --phone-w: clamp(200px, 17vw, 250px); box-shadow: inset 0 0 0 1.5px #3b3449, inset 0 0 0 4px #0c0a10, 0 40px 70px -30px rgba(0, 0, 0, .8); }
.lp-screens .lp-phone:first-child { transform: translateY(-36px); }
.lp-tile--screens:hover .lp-phone:first-child { transform: translateY(-46px); }
.lp-screens .lp-phone { transition: transform .5s var(--lp-ease); }
.lp-tile--screens .lp-tile-head { position: relative; z-index: 1; max-width: 26em; }

.lp-app-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .09);
}
.lp-app-foot-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px; }
.lp-app-foot .lp-note { color: rgba(255, 255, 255, .5); margin: 0; max-width: 26em; }

@media (max-width: 991.98px) {
    .lp-app-head { grid-template-columns: 1fr; }
    .lp-tile--screens,
    .lp-tile--b,
    .lp-tile--c,
    .lp-tile--d,
    .lp-tile--e,
    .lp-tile--f { grid-column: span 12; }
    .lp-tile--screens { grid-row: auto; }
    .lp-tile--b, .lp-tile--c { grid-column: span 6; }
}
@media (max-width: 575.98px) {
    .lp-tile--b, .lp-tile--c { grid-column: span 12; }
    .lp-screens { margin-bottom: -90px; gap: 12px; }
    .lp-screens .lp-phone { --phone-w: 46vw; }
    .lp-screens .lp-phone:first-child { transform: translateY(-24px); }
}

/* ==========================================================================
   ACADEMIAS PARCEIRAS
   ========================================================================== */

.lp-gyms { padding: var(--lp-section) 0 calc(var(--lp-section) * .6); }
.lp-gyms-grid {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(40px, 6vw, 104px);
    align-items: center;
}
.lp-gyms-photo {
    position: relative;
    margin: 0 0 0 calc(-1 * var(--lp-gutter));
    overflow: hidden;
    border-radius: 0 32px 32px 0;
    aspect-ratio: 4 / 3.6;
    background: #d9d3e6;
}
.lp-gyms-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 33% 50%; transition: transform 1.2s var(--lp-ease); }
.lp-gyms-photo:hover img { transform: scale(1.03); }
.lp-gyms-badge {
    position: absolute;
    left: calc(var(--lp-gutter) + 8px);
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--tl-purple);
    font-size: .88rem;
    font-weight: 800;
    box-shadow: 0 18px 36px -20px rgba(33, 22, 56, .5);
}
.lp-gyms-badge i { color: var(--tl-purple-3); }

.lp-gyms-copy .lp-h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.2rem); }
.lp-gyms-copy .lp-lead { margin-bottom: 30px; }
.lp-def { margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--tl-line); }
.lp-def li { padding: 20px 0; border-bottom: 1px solid var(--tl-line); }
.lp-def strong { display: block; margin-bottom: 4px; color: var(--tl-purple); font-weight: 800; letter-spacing: -.015em; }
.lp-def p { margin: 0; color: var(--tl-muted); font-size: .95rem; line-height: 1.62; }
.lp-def .lp-def-destaque { position: relative; padding-left: 18px; }
.lp-def .lp-def-destaque::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; border-radius: 3px; background: var(--tl-green); }
.lp-gyms-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.lp-gyms-cta .lp-note { margin: 0; }

@media (max-width: 991.98px) {
    .lp-gyms-grid { grid-template-columns: 1fr; }
    .lp-gyms-photo { margin: 0 calc(-1 * var(--lp-gutter)); border-radius: 0; aspect-ratio: 16 / 11; }
}

/* ==========================================================================
   COLABORADORES
   ========================================================================== */

.lp-collab { padding: 0 0 var(--lp-section); }
.lp-collab-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 5vw, 80px);
    padding: clamp(36px, 6vw, 88px);
    border-radius: 36px;
    background: var(--tl-lilac);
}

.lp-collab-title { margin: 0 0 22px; color: var(--tl-purple); font-size: clamp(1.9rem, 1.15rem + 2.7vw, 3.3rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.lp-collab-title span { color: var(--tl-purple-3); }
.lp-collab-box .lp-lead { margin-bottom: 30px; }
.lp-collab-list { position: relative; z-index: 1; align-self: center; margin: 0; padding: 0; list-style: none; }
.lp-collab-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(43, 27, 79, .12); color: var(--tl-purple); font-weight: 700; line-height: 1.45; }
.lp-collab-list li:last-child { border-bottom: 1px solid rgba(43, 27, 79, .12); }
.lp-collab-list i { color: var(--tl-purple-3); font-size: 1.15rem; }
.lp-collab .lp-btn { white-space: normal; text-align: left; line-height: 1.25; padding-block: 12px; }

@media (max-width: 991.98px) {
    .lp-collab-box { grid-template-columns: 1fr; border-radius: 28px; }
}
@media (max-width: 575.98px) {
    .lp-collab .lp-btn,
    .lp-gyms-cta .lp-btn { width: 100%; justify-content: space-between; }
    .lp-final-box { padding: 32px 22px 0; }
}

/* ==========================================================================
   PERGUNTAS FREQUENTES
   ========================================================================== */

.lp-faq { padding: var(--lp-section) 0; background: #fff; border-top: 1px solid var(--tl-line-soft); }
.lp-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.lp-faq-head { position: sticky; top: 120px; }
.lp-faq-head .lp-lead { margin-bottom: 22px; }

.lp-faq-list { border-top: 1px solid var(--tl-line); }
.lp-faq-item { border-bottom: 1px solid var(--tl-line); }
.lp-faq-item h3 { margin: 0; }
.lp-faq-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 26px 0;
    border: 0;
    background: none;
    color: var(--tl-purple);
    font-family: var(--lp-font);
    font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
    font-weight: 800;
    letter-spacing: -.02em;
    text-align: left;
    transition: color .25s var(--lp-ease);
}
.lp-faq-btn:hover { color: var(--tl-purple-3); }
.lp-faq-icon {
    position: relative;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--tl-line);
    border-radius: 50%;
    transition: background-color .3s var(--lp-ease), border-color .3s var(--lp-ease), transform .35s var(--lp-ease);
}
.lp-faq-icon::before,
.lp-faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: currentColor;
}
.lp-faq-icon::after { transform: rotate(90deg); }
.lp-faq-btn[aria-expanded="true"] .lp-faq-icon { transform: rotate(45deg); background: var(--tl-green); border-color: var(--tl-green); color: var(--tl-purple); }
.lp-faq-body { max-width: 40em; padding: 0 56px 28px 0; color: var(--tl-muted); line-height: 1.7; }

@media (max-width: 991.98px) {
    .lp-faq-grid { grid-template-columns: 1fr; }
    .lp-faq-head { position: static; }
    .lp-faq-body { padding-right: 0; }
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.tl-cta.lp-final { padding: var(--lp-section) 0; }
.lp-final-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 40px;
    min-height: 420px;
    padding: clamp(32px, 5vw, 72px);
    border-radius: 36px;
    background: var(--tl-green);
}
.tl-cta-title { margin: 0 0 22px; color: var(--tl-purple); font-size: clamp(2.2rem, 1.2rem + 3.9vw, 4.7rem); font-weight: 800; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.tl-cta-copy { max-width: 32em; margin: 0 0 32px; color: rgba(43, 27, 79, .78); font-size: 1.06rem; line-height: 1.65; }
.lp-final-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 20px; }
.lp-final-apoio { margin: 16px 0 0; color: rgba(43, 27, 79, .8); font-size: .92rem; }
.lp-final-apoio strong { color: var(--tl-purple); }
.lp-final-device { position: relative; align-self: end; justify-self: center; margin: 0 0 calc(-1 * clamp(32px, 5vw, 72px) - 190px); }
.lp-final-device .lp-phone { --phone-w: clamp(220px, 19vw, 280px); transform: rotate(5deg); }

@media (max-width: 991.98px) {
    .lp-final-box { grid-template-columns: 1fr; border-radius: 28px; padding-bottom: 0; min-height: 0; }
    .lp-final-device { margin-bottom: -300px; }
    .lp-final-device .lp-phone { --phone-w: clamp(200px, 56vw, 260px); }
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.tl-footer.lp-footer { padding: clamp(48px, 5vw, 80px) 0 28px; background: var(--tl-purple-dark); color: #fff; }
.lp-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px clamp(40px, 6vw, 96px);
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-footer .tl-logo { color: #fff; }
.lp-footer-tagline { max-width: 22em; margin: 18px 0 28px; color: rgba(255, 255, 255, .62); font-size: 1.02rem; line-height: 1.6; }
.lp-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lp-footer-cols h2 { margin: 0 0 18px; color: rgba(255, 255, 255, .45); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tl-footer-link {
    display: block;
    width: fit-content;
    margin-bottom: 11px;
    color: rgba(255, 255, 255, .78);
    font-size: .94rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .25s var(--lp-ease);
}
.tl-footer-link:hover { color: var(--tl-green); }
.tl-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    padding-top: 26px;
    color: rgba(255, 255, 255, .5);
    font-size: .84rem;
    line-height: 1.6;
}
.tl-footer-bottom .tl-footer-link { display: inline; margin: 0; font-size: inherit; }

@media (max-width: 991.98px) {
    .lp-footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .lp-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-footer-cols > div:last-child { grid-column: span 2; }
}

/* ==========================================================================
   MOVIMENTO (revelação ao rolar; desligado com prefers-reduced-motion)
   ========================================================================== */

html.lp-js .lp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--lp-ease), transform .7s var(--lp-ease);
    transition-delay: var(--lp-delay, 0s);
}
html.lp-js .lp-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .tl-lp *,
    .tl-lp *::before,
    .tl-lp *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    html.lp-js .lp-reveal { opacity: 1; transform: none; }
    .lp-hero-device .lp-phone,
    .lp-final-device .lp-phone { transform: none; }
}
