/* Paginas publicas (landing /conheca e tutoriais /ajuda). Tudo prefixado com site- ou lp-
   para nao vazar no catalogo: este arquivo e carregado em todas as paginas pelo App.razor.

   Cores: as do site (app.css) e o dourado do login (--brand). O titulo usa a Big Shoulders
   Display, vendorizada em wwwroot/fonts (OFL), como o resto das libs: nada de CDN. */

@font-face {
    font-family: "Big Shoulders Display";
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
    src: url("fonts/big-shoulders-display-latin.woff2") format("woff2");
}

.site {
    --site-band: #11141b;
    --site-gold: #f3c234;
    --site-gold-hover: #ffd558;
    --site-ink: #17130a;
    --site-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
    --site-gutter: clamp(16px, 4vw, 32px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    /* Os cartazes girados e o palco do hero passam da largura de proposito; a pagina nao
       pode ganhar barra horizontal por causa deles. */
    overflow-x: clip;
}

.site-main { flex: 1; }

.site-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--site-gutter);
}

/* O FocusOnNavigate do Routes poe o foco no h1 a cada navegacao; o contorno ali so
   atrapalha a leitura, e o h1 nao e alvo de teclado. */
.site h1:focus { outline: none; }

.site a:focus-visible,
.site summary:focus-visible {
    outline: 3px solid rgba(243, 194, 52, .6);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ───── Botoes ───── */

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .6rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 650;
    font-size: .95rem;
    line-height: 1.1;
    white-space: nowrap;
    transition: background-color .15s, border-color .15s, color .15s;
}

.site-btn--lg { min-height: 52px; padding: .8rem 1.6rem; font-size: 1rem; }

.site-btn--gold { background: var(--site-gold); color: var(--site-ink); }
.site-btn--gold:hover { background: var(--site-gold-hover); color: var(--site-ink); }

.site-btn--quiet { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.site-btn--quiet:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); color: var(--text); }

/* ───── Topo ───── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(13, 15, 20, .86);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.site-header-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 68px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--text);
    flex-shrink: 0;
}
.site-brand:hover { color: var(--text); }
.site-brand img { border-radius: 9px; }

.site-wordmark {
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .01em;
}
.site-wordmark span { color: var(--site-gold); }

.site-nav {
    display: flex;
    gap: 1.6rem;
    margin-inline: auto;
}
.site-nav a { color: var(--text-dim); font-size: .95rem; font-weight: 550; }
.site-nav a:hover { color: var(--text); }

.site-actions { display: flex; gap: .6rem; }

.site-menu { display: none; margin-left: auto; position: relative; }
.site-menu summary {
    list-style: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
}
.site-menu summary::-webkit-details-marker { display: none; }

.site-menu-bars,
.site-menu-bars::before,
.site-menu-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .2s, opacity .2s;
}
.site-menu-bars { position: relative; }
.site-menu-bars::before,
.site-menu-bars::after { content: ""; position: absolute; left: 0; }
.site-menu-bars::before { top: -7px; }
.site-menu-bars::after { top: 7px; }
.site-menu[open] .site-menu-bars { background: transparent; }
.site-menu[open] .site-menu-bars::before { transform: translateY(7px) rotate(45deg); }
.site-menu[open] .site-menu-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* absolute, e nao fixed: o backdrop-filter da barra prenderia um fixed dentro dela. */
.site-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(320px, calc(100vw - 2 * var(--site-gutter)));
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .75rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.site-menu-panel > a:not(.site-btn) {
    padding: .75rem .75rem;
    border-radius: 8px;
    color: var(--text);
    font-weight: 550;
}
.site-menu-panel > a:not(.site-btn):hover { background: var(--bg-hover); }
.site-menu-panel .site-btn { margin-top: .4rem; }

@media (max-width: 960px) {
    .site-nav, .site-actions { display: none; }
    .site-menu { display: block; }
}

/* ───── Tipografia comum ───── */

.lp-display {
    font-family: var(--site-display);
    font-weight: 800;
    font-size: clamp(2.7rem, 5.6vw, 4.75rem);
    line-height: .96;
    letter-spacing: -.005em;
    text-wrap: balance;
    margin: 0 0 1.25rem;
}

.lp-title {
    font-family: var(--site-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 3.8vw, 3.1rem);
    line-height: 1;
    letter-spacing: 0;
    text-wrap: balance;
    margin: 0 0 1rem;
}

.lp-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 34em;
    margin: 0 0 2rem;
}

.lp-section { padding-block: clamp(4rem, 9vw, 7rem); }

.lp-section--band {
    background: var(--site-band);
    border-block: 1px solid rgba(255, 255, 255, .05);
}

.lp-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.lp-head p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.6; margin: 0; }

/* ───── Hero ───── */

.lp-hero {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
    isolation: isolate;
}

/* O brilho dourado vem do canto, como no login: e a mesma marca. */
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Sem a mascara o brilho termina numa linha reta no fim da secao. */
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
    background:
        radial-gradient(800px 480px at 82% 20%, rgba(243, 194, 52, .16), transparent 70%),
        radial-gradient(600px 400px at 0% 100%, rgba(61, 139, 253, .08), transparent 70%);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.lp-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

.lp-hero-note { margin: 1.25rem 0 0; color: var(--text-dim); font-size: .9rem; }

@media (max-width: 900px) {
    .lp-hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ───── Palco: TV + celular desenhados em CSS ─────
   Tudo dentro do palco e medido em em, e o em do palco segue a largura dele (cqi): a TV
   encolhe inteira, como imagem, sem reflow no meio. */

.lp-stage {
    position: relative;
    container-type: inline-size;
    padding: 0 0 6% 7%;
}

/* Nos filhos, e nao no proprio palco: cqi no elemento que e o container mede o container
   de cima (aqui nenhum, e vira % da janela). */
.lp-stage > * { font-size: 9px; }
@supports (font-size: 1cqi) {
    .lp-stage > * { font-size: 1.55cqi; }
}

.lp-tv {
    position: relative;
    padding: 1.1em;
    background: #05060a;
    border-radius: 1.6em;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .07),
        0 4em 8em -2em rgba(0, 0, 0, .8),
        0 0 10em rgba(243, 194, 52, .08);
}

.lp-screen {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: .7em;
    padding: 1.6em 2em;
    background: linear-gradient(180deg, #121620, #0b0d12);
    display: flex;
    flex-direction: column;
}

.lp-tv-stand {
    width: 26%;
    height: 1.6em;
    margin: 0 auto;
    background: linear-gradient(180deg, #05060a, #1a1d25);
    clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.lp-ui-top {
    display: flex;
    align-items: baseline;
    gap: 2.2em;
    font-size: 1.3em;
    color: #8c93a5;
    margin-bottom: 1.4em;
}
.lp-ui-top .is-on { color: #fff; box-shadow: 0 .25em 0 -.1em var(--site-gold); }

.lp-ui-logo {
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 1.45em;
    color: #fff;
    margin-right: auto;
}
.lp-ui-logo b { color: var(--site-gold); font-weight: inherit; }

.lp-ui-hero {
    flex: 0 0 auto;
    height: 11em;
    border-radius: .8em;
    margin-bottom: 1.4em;
    background:
        linear-gradient(90deg, rgba(11, 13, 18, .95) 25%, rgba(11, 13, 18, .1) 70%),
        radial-gradient(40% 70% at 75% 40%, #d9893b 0%, transparent 70%),
        linear-gradient(135deg, #3b1d14, #7a3c1c 45%, #1b2a3c);
    display: flex;
    align-items: center;
    padding: 0 2.4em;
}

.lp-ui-hero-text { display: flex; flex-direction: column; gap: .7em; width: 38%; }

.lp-bar {
    display: block;
    height: .7em;
    border-radius: 1em;
    background: rgba(255, 255, 255, .22);
}
.lp-bar--title { height: 1.5em; width: 85%; background: rgba(255, 255, 255, .85); }
.lp-bar--short { width: 55%; }

.lp-ui-play {
    align-self: flex-start;
    margin-top: .5em;
    padding: .55em 1.4em;
    border-radius: 2em;
    background: var(--site-gold);
    color: var(--site-ink);
    font-size: 1.1em;
    font-weight: 700;
}

.lp-ui-label {
    margin: 0 0 .7em;
    font-size: 1.15em;
    font-weight: 650;
    color: #cfd4e0;
}

.lp-ui-row {
    display: flex;
    gap: 1em;
    margin-bottom: 1.4em;
    min-width: 0;
}
.lp-ui-row > * { flex: 0 0 auto; }

.lp-ui-row--wide > .lp-thumb { width: calc((100% - 3em) / 4); }

.lp-ui-row--drift { width: max-content; animation: lp-drift 38s linear infinite alternate; }
.lp-ui-row--drift > .lp-poster { width: 7.4em; }

@keyframes lp-drift {
    from { transform: translateX(0); }
    to { transform: translateX(-40%); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-ui-row--drift { animation: none; }
}

/* ───── Cartazes (so CSS) ───── */

.lp-poster,
.lp-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: .55em;
    background: linear-gradient(160deg, #3a3f4f, #11131a);
}
.lp-poster { aspect-ratio: 2 / 3; }
.lp-thumb { aspect-ratio: 16 / 9; }

/* Um "assunto" claro no alto e a faixa escura do titulo embaixo: o bastante para ler como
   capa sem desenhar capa nenhuma. */
.lp-poster::before,
.lp-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(55% 40% at 50% 34%, rgba(255, 255, 255, .28), transparent 70%);
}
.lp-poster::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 9%;
    height: 6%;
    border-radius: 1em;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 -1.6em 2em 1.2em rgba(0, 0, 0, .35);
}

.lp-thumb > b {
    position: absolute;
    left: 0;
    bottom: 0;
    height: .35em;
    background: var(--site-gold);
}

.p1 { background: linear-gradient(160deg, #8a3434, #1c0f12); }
.p2 { background: linear-gradient(160deg, #2f6187, #0e1622); }
.p3 { background: linear-gradient(160deg, #c8902e, #2a1a08); }
.p4 { background: linear-gradient(160deg, #437552, #0e1a12); }
.p5 { background: linear-gradient(160deg, #654186, #140e22); }
.p6 { background: linear-gradient(160deg, #a9592f, #1f0f08); }
.p7 { background: linear-gradient(160deg, #2f7a7e, #0b1819); }
.p8 { background: linear-gradient(160deg, #707588, #15171d); }

/* ───── Celular do hero ───── */

.lp-phone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24%;
    padding: .7em;
    background: #05060a;
    border-radius: 2.4em;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 3em 6em -1em rgba(0, 0, 0, .85);
}

.lp-phone-screen {
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border-radius: 1.8em;
    padding: 1.2em 1.1em;
    background: linear-gradient(180deg, #151a24, #0b0d12);
    display: flex;
    flex-direction: column;
    gap: .7em;
}

.lp-poster--big { width: 62%; align-self: center; margin-bottom: .4em; }

.lp-ep {
    display: flex;
    gap: .6em;
    align-items: center;
    padding: .4em;
    border-radius: .6em;
}
.lp-ep.is-on { background: rgba(243, 194, 52, .12); }
.lp-ep .lp-thumb { width: 45%; flex: 0 0 auto; }
.lp-ep > span { flex: 1; display: flex; flex-direction: column; gap: .4em; }

/* ───── Recursos ───── */

.lp-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}

.lp-feature h3 { font-size: 1.2rem; margin: 1.25rem 0 .6rem; }
.lp-feature p { color: var(--text-dim); line-height: 1.65; margin: 0 auto; max-width: 30ch; }

.lp-icon {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: #c4cad8;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.lp-icon .lp-icon-accent { stroke: var(--site-gold); }
.lp-icon .lp-icon-dot { fill: var(--site-gold); stroke: none; }

@media (max-width: 760px) {
    .lp-features { grid-template-columns: minmax(0, 1fr); }
}

/* ───── Secoes divididas (arte + texto) ───── */

.lp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.lp-split-copy > p { color: var(--text-dim); line-height: 1.7; margin: 0 0 1rem; max-width: 34em; }

@media (max-width: 900px) {
    .lp-split { grid-template-columns: minmax(0, 1fr); }
}

/* Tela deitada e girada, com o brilho dourado atras. */
.lp-split-art {
    container-type: inline-size;
    position: relative;
    padding: 6% 4%;
}
.lp-split-art > * { font-size: 10px; }
@supports (font-size: 1cqi) {
    .lp-split-art > * { font-size: 1.9cqi; }
}
.lp-split-art::before {
    content: "";
    position: absolute;
    inset: 8% 6% 0 0;
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
    background: radial-gradient(circle at 40% 45%, rgba(243, 194, 52, .55), rgba(243, 194, 52, .08) 65%, transparent 72%);
    filter: blur(2px);
}

.lp-slab {
    position: relative;
    padding: 1em;
    background: #05060a;
    border-radius: 1.4em;
    transform: perspective(90em) rotateY(16deg) rotateZ(-3deg);
    box-shadow: 0 3em 6em -1em rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
}

.lp-slab-screen {
    aspect-ratio: 16 / 10;
    border-radius: .7em;
    overflow: hidden;
    padding: 2.2em;
    display: flex;
    gap: 2.2em;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(11, 13, 18, .2), rgba(11, 13, 18, .92) 45%),
        linear-gradient(135deg, #16324a, #0b0d12);
}
.lp-slab-screen .lp-poster--big { width: 34%; margin: 0; flex: 0 0 auto; }
.lp-slab-info { flex: 1; display: flex; flex-direction: column; gap: .8em; }

.lp-store { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

.lp-store-btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 56px;
    padding: .55rem 1.3rem .55rem 1rem;
    border: 1px solid var(--site-gold);
    border-radius: 12px;
    color: var(--text);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.1;
}
.lp-store-btn:hover { background: rgba(243, 194, 52, .1); color: var(--text); }
.lp-store-btn small { display: block; font-size: .78rem; font-weight: 500; color: var(--text-dim); }
.lp-store-btn svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--site-gold);
    stroke-width: 1.8;
    stroke-linecap: round;
}

.lp-store-btn--solid { background: var(--site-gold); color: var(--site-ink); }
.lp-store-btn--solid:hover { background: var(--site-gold-hover); color: var(--site-ink); }
.lp-store-btn--solid small { color: rgba(23, 19, 10, .7); }
.lp-store-btn--solid svg { stroke: var(--site-ink); }

/* ───── Como comecar ───── */

.lp-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: .5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.lp-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 1.1rem;
}

/* Numero porque e sequencia de fato: cadastro, pagamento, liberacao. */
.lp-steps li::before {
    content: counter(step);
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(243, 194, 52, .45);
    background: rgba(243, 194, 52, .08);
    color: var(--site-gold);
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 1.7rem;
}

.lp-steps h3 { font-size: 1.15rem; margin: .35rem 0 .35rem; }
.lp-steps p { color: var(--text-dim); line-height: 1.6; margin: 0; }

/* Suporte para duvidas: o pagamento libera sozinho, mas a pessoa ainda pode perguntar. */
.lp-help {
    margin: -.5rem 0 1.75rem;
    padding: .85rem 1rem;
    border-left: 3px solid var(--site-gold);
    border-radius: 0 10px 10px 0;
    background: rgba(243, 194, 52, .06);
    color: var(--text-dim);
    line-height: 1.6;
}
.lp-help a { color: var(--site-gold); font-weight: 600; }

/* Conversa de exemplo, nas cores da tela /suporte. */
.lp-chat {
    max-width: 420px;
    width: 100%;
    justify-self: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .75);
}

.lp-chat-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--border);
}
.lp-chat-head b { display: block; font-size: .95rem; }
.lp-chat-head small { color: #46c37b; font-size: .8rem; }

.lp-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, #e8eaf0 0 22%, transparent 23%),
        radial-gradient(ellipse 60% 40% at 50% 92%, #e8eaf0 0 60%, transparent 61%),
        #2a3140;
    box-shadow: 0 0 0 2px var(--bg-elevated), 0 0 0 4px var(--site-gold);
}

.lp-chat-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; }

.lp-bubble {
    max-width: 82%;
    margin: 0;
    padding: .65rem .9rem;
    border-radius: 16px 16px 16px 4px;
    background: #222836;
    font-size: .92rem;
    line-height: 1.45;
}

.lp-bubble--me {
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    background: linear-gradient(135deg, #3d8bfd, #2f6fd6);
    color: #fff;
}

.lp-chat-composer {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 1.1rem 1.1rem;
    padding: .55rem .55rem .55rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-size: .9rem;
}
.lp-chat-composer span { flex: 1; }
.lp-chat-composer i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
}

/* ───── Por que ───── */

.lp-wall {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 18px;
    font-size: 10px;
}
.lp-wall::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 55%, var(--site-band)), linear-gradient(180deg, var(--site-band), transparent 22%, transparent 78%, var(--site-band));
}

.lp-wall-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    transform: translate(-50%, -50%) rotate(-10deg);
}

.lp-checks {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.lp-checks li {
    position: relative;
    padding-left: 2rem;
    line-height: 1.55;
}

.lp-checks li::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: .3em;
    width: .45rem;
    height: .8rem;
    border: solid var(--site-gold);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* ───── Duvidas ───── */

.lp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}
.lp-faq-aside p { color: var(--text-dim); line-height: 1.6; margin: 0 0 1.5rem; }

.lp-faq details { border-bottom: 1px solid var(--border); }
.lp-faq details:first-child { border-top: 1px solid var(--border); }

.lp-faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 650;
    font-size: 1.05rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }

.lp-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--site-gold);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
}
.lp-faq details[open] summary::after { content: "−"; border-color: rgba(243, 194, 52, .5); }

.lp-faq details p { margin: -.25rem 0 1.25rem; color: var(--text-dim); line-height: 1.65; max-width: 60ch; }

@media (max-width: 900px) {
    .lp-faq-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ───── Planos ───── */

.lp-refer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.4rem 1.75rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 50%, rgba(255, 255, 255, .35), transparent 40%),
        linear-gradient(100deg, #f3c234, #e9a91c);
    color: var(--site-ink);
}
.lp-refer:hover { color: var(--site-ink); }
.lp-refer:hover .lp-refer-cta { background: #000; }

.lp-refer-copy strong {
    display: block;
    font-family: var(--site-display);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.05;
    margin-bottom: .3rem;
}
.lp-refer-copy > span { font-size: .95rem; opacity: .85; }

.lp-refer-cta {
    flex: 0 0 auto;
    padding: .7rem 1.3rem;
    border-radius: 999px;
    background: var(--site-ink);
    color: var(--site-gold);
    font-weight: 700;
    transition: background-color .15s;
}

@media (max-width: 640px) {
    .lp-refer { flex-direction: column; align-items: flex-start; }
}

.lp-plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
}

.lp-plan--featured {
    border-color: var(--site-gold);
    background: linear-gradient(180deg, rgba(243, 194, 52, .09), var(--bg-elevated) 45%);
}

.lp-plan-flag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: .3rem .85rem;
    border-radius: 999px;
    background: var(--site-gold);
    color: var(--site-ink);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

.lp-plan h3 { font-size: 1.25rem; margin: 0 0 .75rem; }

.lp-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .25rem;
    margin: 0;
    color: var(--site-gold);
}
.lp-price-cur { font-weight: 650; font-size: 1rem; align-self: flex-start; margin-top: .55rem; }
.lp-price-num {
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 3.6rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lp-price-per { color: var(--text-dim); font-size: .9rem; }

.lp-plan-eq { margin: .5rem 0 1.25rem; color: var(--text-dim); font-size: .88rem; min-height: 1.3em; }

.lp-plan-list {
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 0 0 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: .65rem;
    text-align: left;
    font-size: .95rem;
}

.lp-plan-list li { position: relative; padding-left: 1.6rem; }
.lp-plan-list li::before {
    content: "";
    position: absolute;
    left: .3rem;
    top: .2em;
    width: .38rem;
    height: .7rem;
    border: solid var(--site-gold);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lp-plan-pay { margin: auto 0 1rem; color: var(--text-dim); font-size: .85rem; }

.lp-plan-btn { width: 100%; }
.lp-plan-btn.is-soon {
    border-color: var(--border);
    color: var(--text-dim);
    cursor: default;
}

@media (max-width: 1080px) {
    .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 560px) {
    .lp-plans { grid-template-columns: minmax(0, 1fr); }
}

/* ───── Tutoriais ───── */

.lp-posts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lp-post {
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    transition: border-color .15s;
}
.lp-post:hover { color: var(--text); border-color: rgba(243, 194, 52, .5); }

.lp-post-cover {
    display: flex;
    align-items: flex-end;
    aspect-ratio: 16 / 8;
    padding: 1.25rem;
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
}
.lp-post-cover--1 { background: radial-gradient(circle at 80% 20%, rgba(243, 194, 52, .5), transparent 55%), linear-gradient(135deg, #2b2410, #0d0f14); }
.lp-post-cover--2 { background: radial-gradient(circle at 80% 20%, rgba(61, 139, 253, .55), transparent 55%), linear-gradient(135deg, #10203a, #0d0f14); }
.lp-post-cover--3 { background: radial-gradient(circle at 80% 20%, rgba(70, 195, 123, .45), transparent 55%), linear-gradient(135deg, #0f2a1f, #0d0f14); }

.lp-post-body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    flex: 1;
    padding: 1.25rem 1.25rem 1.4rem;
}
.lp-post-body time { color: var(--text-dim); font-size: .82rem; }
.lp-post-body strong { font-size: 1.1rem; line-height: 1.3; }
.lp-post-body > span:not(.lp-post-more) { color: var(--text-dim); font-size: .93rem; line-height: 1.55; }
.lp-post-more { margin-top: auto; padding-top: .5rem; color: var(--site-gold); font-weight: 650; font-size: .92rem; }

@media (max-width: 900px) {
    .lp-posts { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
}

/* ───── Rodape ───── */

.site-footer {
    padding-top: clamp(3rem, 6vw, 4.5rem);
    background: var(--site-band);
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.site-footer-about p { color: var(--text-dim); line-height: 1.6; margin: 1rem 0 0; max-width: 30ch; }

.site-footer-col { display: flex; flex-direction: column; gap: .6rem; }
.site-footer-col h2 { font-size: .95rem; font-weight: 700; margin: 0 0 .4rem; color: var(--text); }
.site-footer-col a { color: var(--text-dim); font-size: .93rem; line-height: 1.4; }
.site-footer-col a:hover { color: var(--text); }

.site-footer-base {
    padding-block: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: var(--text-dim);
    font-size: .85rem;
}
.site-footer-base p { margin: 0; }

@media (max-width: 900px) {
    .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .site-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ───── Botao flutuante do suporte ───── */

.site-float {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2aabee;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.site-float:hover { color: #fff; background: #3cb6f2; }

/* ───── Tutorial ───── */

.help { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 6rem); }

.help-wrap { max-width: 800px; }

.help-back {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--text-dim);
    font-weight: 600;
}
.help-back::before { content: "‹ "; }
.help-back:hover { color: var(--text); }

.help-meta {
    display: flex;
    gap: 1rem;
    margin: 0 0 1rem;
    color: var(--site-gold);
    font-weight: 650;
    font-size: .9rem;
}
.help-meta time { color: var(--text-dim); font-weight: 500; }

.help-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.help-body { border-top: 1px solid var(--border); padding-top: 1rem; }
.help-body h2 { font-size: 1.35rem; margin: 2.25rem 0 .75rem; scroll-margin-top: 90px; }
.help-body p,
.help-body li { color: #c7ccd8; line-height: 1.75; font-size: 1.04rem; }
.help-body p { margin: 0 0 1rem; max-width: 68ch; }
.help-body ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.help-body li { margin-bottom: .4rem; }
.help-body a { color: var(--site-gold); text-decoration: underline; text-underline-offset: 3px; }

.help-table {
    list-style: none;
    padding: 0 !important;
    margin: 1.25rem 0 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}
.help-table li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1rem;
    margin: 0 !important;
    padding: .9rem 1.1rem;
    border-bottom: 1px solid var(--border);
}
.help-table li:last-child { border-bottom: 0; }
.help-table strong { color: var(--text); }

@media (max-width: 560px) {
    .help-table li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}

.help-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}
.help-cta p {
    margin: 0;
    font-family: var(--site-display);
    font-weight: 800;
    font-size: 1.9rem;
}

/* ───── /baixar: download dos apps ───── */

.dl-hero { text-align: center; }
.dl-hero-copy { max-width: 46rem; margin-inline: auto; }
.dl-hero-copy .lp-lead { margin-inline: auto; }
.dl-hero-copy .lp-hero-ctas { justify-content: center; }

.dl-eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: .3rem .8rem;
    border: 1px solid rgba(243, 194, 52, .4);
    border-radius: 999px;
    background: rgba(243, 194, 52, .08);
    color: var(--site-gold);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dl-hero-video {
    max-width: 960px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    border-radius: 18px;
    overflow: hidden;
    background: #05060a;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .08),
        0 40px 90px -30px rgba(0, 0, 0, .9),
        0 0 120px rgba(243, 194, 52, .1);
}
.dl-hero-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #05060a; }

.dl-notice {
    max-width: 40rem;
    margin: 0 auto 2rem;
    padding: .9rem 1.1rem;
    border: 1px solid rgba(245, 165, 36, .35);
    border-radius: 12px;
    background: rgba(245, 165, 36, .1);
    color: #f7c877;
    text-align: center;
}
.dl-notice a { color: inherit; text-decoration: underline; }

/* 5 cartoes em 3+2: a linha das TVs e a dos celulares. Em 5 colunas o endereco do
   Downloader nao cabe no cartao. Flex e nao grid para a ultima linha (3+2, 2+2+1) ficar
   centralizada em vez de sobrar um buraco a direita. --cols muda nos breakpoints. */
.dl-grid {
    --cols: 3;
    --gap: 1.25rem;
    max-width: 980px;
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
}
.dl-grid > .dl-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }

.dl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--bg-elevated);
    scroll-margin-top: 90px;
    transition: border-color .15s, transform .15s;
}
.dl-card:hover { border-color: rgba(243, 194, 52, .35); }
.dl-card:target,
.dl-card.is-recommended { border-color: rgba(243, 194, 52, .6); box-shadow: 0 0 0 1px rgba(243, 194, 52, .25); }

.dl-badge {
    position: absolute;
    top: -.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: .25rem .75rem;
    border-radius: 999px;
    background: var(--site-gold);
    color: var(--site-ink);
    font-size: .75rem;
    font-weight: 750;
    white-space: nowrap;
}

.dl-art {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    background: radial-gradient(70% 70% at 50% 40%, rgba(243, 194, 52, .1), transparent 70%), #0d1017;
}

.dl-icon {
    width: 72%;
    height: auto;
    fill: none;
    stroke: #c4cad8;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dl-icon .dl-icon-accent { stroke: var(--site-gold); }
.dl-icon .dl-icon-dot { fill: var(--site-gold); stroke: none; }

.dl-card h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.dl-brands { margin: 0; color: var(--text-dim); font-size: .92rem; }

.dl-hint {
    margin: .9rem 0 0;
    padding: .55rem .75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: var(--text-dim);
    font-size: .85rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.dl-hint code { color: var(--site-gold); font-size: .9em; font-weight: 650; }

.dl-actions {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    width: 100%;
    margin-top: auto;
    padding-top: 1.25rem;
}
.dl-actions .site-btn { width: 100%; }
.dl-actions small { font-size: .78rem; font-weight: 600; opacity: .7; }

.dl-hint strong { color: var(--text); font-weight: 650; }

.dl-after {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.dl-cta { flex-direction: column; align-items: flex-start; margin-top: 0; }

@media (max-width: 860px) {
    .dl-grid { --cols: 2; }
}

@media (max-width: 900px) {
    .dl-after { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    .dl-grid { --cols: 1; }
    /* Altura fixa: com aspect-ratio, o SVG de altura em % empurra a caixa para cima. */
    .dl-art { aspect-ratio: auto; height: 140px; }
    .dl-icon { width: auto; height: 112px; }
    .dl-hero-video { border-radius: 12px; margin-inline: calc(-1 * var(--site-gutter) / 2); }
}

/* Video do "Como instalar?". <dialog> nativo: Esc, foco preso e fundo de graca. */
.dl-modal {
    width: min(1040px, calc(100vw - 2 * var(--site-gutter, 16px)));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: #05060a;
    color: var(--text);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .8);
}
.dl-modal::backdrop { background: rgba(4, 5, 8, .82); backdrop-filter: blur(4px); }

.dl-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem .75rem .75rem 1.25rem;
}
.dl-modal-head h2 { margin: 0; font-size: 1.05rem; font-weight: 650; }

.dl-modal-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}
.dl-modal-close:hover { background: rgba(255, 255, 255, .08); }
.dl-modal-close svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.dl-modal-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
