/* Provador de demonstração público (/teste-gratis). Complementa landing.css,
   reaproveitando a topbar (.lp-nav), os botões (.btn-lp) e o footer (.lp-footer). */

.lp-nav a.brand { color: #fff; display: flex; align-items: center; }

/* Hero compacto: o foco da página é o provador, não o texto. */
.tg-hero {
    background: radial-gradient(1000px 420px at 80% -20%, rgba(86,207,225,.25), transparent),
                linear-gradient(135deg, #0f172a 0%, #12294a 55%, #123f3e 100%);
    color: #fff; padding: 54px 6% 62px; text-align: center;
}
.tg-hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.tg-hero h1 span { color: #56cfe1; }
.tg-hero p { color: #cfd8ea; max-width: 620px; margin: 0 auto; font-size: clamp(.98rem, 2vw, 1.12rem); }

.tg-saldo {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
    background: rgba(86,207,225,.14); border: 1px solid rgba(86,207,225,.45);
    color: #bdf0f8; border-radius: 999px; padding: 9px 20px; font-size: .92rem; font-weight: 500;
}
.tg-saldo.esgotado { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #e6ebf3; }

/* Passos */
.tg-wrap { max-width: 940px; margin: -34px auto 0; padding: 0 5% 70px; }

.tg-passo {
    background: #fff; border: 1px solid #e6ebf3; border-radius: 16px;
    padding: 26px 26px 30px; margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(15,23,42,.07);
}
.tg-passo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tg-passo-head h2 { font-size: 1.15rem; font-weight: 600; margin: 0; flex: 1; }
.tg-passo-head .n {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
    background: #eef2f8; color: #6b7280; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.tg-passo.feito .tg-passo-head .n { background: #56cfe1; color: #06231f; }
.tg-check { color: #12b1a2; opacity: 0; transition: opacity .2s; }
.tg-passo.feito .tg-check { opacity: 1; }

/* Gênero */
/* Seletor de nível do modelo (Bronze/Prata/Ouro). Fica acima do gênero porque é a
   escolha que muda o resultado, não o catálogo. */
.tg-tiers { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 18px; }
.tg-tiers .rotulo { color: #6b7280; font-size: .82rem; }
.tg-tiers .opcoes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tg-tiers button {
    border: 1px solid #d8e0ec; background: #fff; color: #1a1f2b;
    padding: 7px 20px; border-radius: 999px; font-weight: 700; font-size: .86rem;
    cursor: pointer; transition: all .15s;
}
.tg-tiers button:hover { border-color: #56cfe1; }
.tg-tiers button.ativo { color: #fff; border-color: transparent; }
.tg-tiers button.ativo[data-tier="1"] { background: linear-gradient(135deg, #b87333, #8c5a24); }
.tg-tiers button.ativo[data-tier="2"] { background: linear-gradient(135deg, #a8b1bd, #7d8794); }
.tg-tiers button.ativo[data-tier="3"] { background: linear-gradient(135deg, #e0b73b, #b8912a); }
.tg-tiers .descricao { color: #6b7280; font-size: .84rem; text-align: center; min-height: 1.2em; }

.tg-generos { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.tg-generos button {
    border: 1px solid #d8e0ec; background: #fff; color: #1a1f2b;
    padding: 9px 26px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: all .15s;
}
.tg-generos button:hover { border-color: #56cfe1; }
.tg-generos button.ativo { background: #0f172a; border-color: #0f172a; color: #fff; }

/* Cards de produto */
.tg-produtos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tg-vazio { grid-column: 1/-1; text-align: center; color: #6b7280; margin: 10px 0; }

.tg-produto {
    border: 2px solid #e6ebf3; border-radius: 14px; background: #fbfcfe;
    padding: 12px; cursor: pointer; text-align: center; position: relative;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}
.tg-produto:hover { transform: translateY(-3px); border-color: #b9e8f1; box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.tg-produto img { width: 100%; height: 116px; object-fit: contain; display: block; margin-bottom: 8px; }
.tg-produto .cat { font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; color: #8b95a7; }
.tg-produto .nome { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.tg-produto.ativo { border-color: #12b1a2; background: #f2fdfb; box-shadow: 0 10px 24px rgba(18,177,162,.16); }
.tg-produto .marca {
    position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%;
    background: #12b1a2; color: #fff; font-size: .7rem; display: none; align-items: center; justify-content: center;
}
.tg-produto.ativo .marca { display: flex; }

/* Foto */
.tg-dica {
    background: #f3f8ff; border: 1px solid #dbe7f8; border-radius: 10px;
    padding: 10px 14px; font-size: .9rem; color: #3f5878; margin-bottom: 18px;
}
.tg-dica i { color: #f0a92b; margin-right: 4px; }

.tg-foto { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tg-foto-area {
    position: relative; border: 2px dashed #d8e0ec; border-radius: 14px; background: #fbfcfe;
    min-height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tg-foto-area video, .tg-foto-area img { max-width: 100%; max-height: 380px; display: block; }
.tg-foto-area video.espelhado { transform: scaleX(-1); }
.tg-foto-vazia { text-align: center; color: #9aa5b6; padding: 30px; }
.tg-foto-vazia i { font-size: 2.4rem; display: block; margin-bottom: 10px; opacity: .6; }
.tg-foto-vazia span { font-size: .92rem; }

.tg-foto-acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.tg-btn {
    border: 1px solid #d8e0ec; background: #fff; color: #1a1f2b; text-decoration: none;
    padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: .94rem;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .15s;
}
.tg-btn:hover { border-color: #56cfe1; background: #f6feff; color: #1a1f2b; }
.tg-btn.primario { background: #12b1a2; border-color: #12b1a2; color: #fff; }
.tg-btn.primario:hover { background: #0e9c8f; color: #fff; }
.tg-btn.sutil { border-color: transparent; color: #6b7280; }
.tg-btn.sutil:hover { background: #f1f4f9; }

.tg-lgpd { margin: 16px 0 0; font-size: .84rem; color: #8b95a7; text-align: center; }
.tg-lgpd i { margin-right: 4px; }

/* Ação principal */
.tg-provar {
    width: 100%; border: none; border-radius: 12px; cursor: pointer;
    background: linear-gradient(135deg, #12b1a2, #56cfe1); color: #04241f;
    font-size: 1.1rem; font-weight: 700; padding: 17px 20px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 10px 26px rgba(18,177,162,.28); transition: filter .15s, transform .15s;
}
.tg-provar:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-2px); }
.tg-provar:disabled { background: #e9edf4; color: #a2acbb; box-shadow: none; cursor: not-allowed; }
.tg-provar-aviso { text-align: center; color: #8b95a7; font-size: .86rem; margin: 10px 0 0; }

/* Resultado */
.tg-resultado { margin-top: 24px; }
.tg-comparacao { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tg-comparacao figure { margin: 0; text-align: center; }
.tg-comparacao img {
    width: 100%; border-radius: 12px; border: 1px solid #e6ebf3; background: #f7f9fc;
    aspect-ratio: 1/1; object-fit: contain;
}
.tg-comparacao figcaption { font-size: .82rem; color: #8b95a7; margin-top: 7px; }
.tg-comparacao .depois img { border-color: #12b1a2; box-shadow: 0 10px 26px rgba(18,177,162,.18); }
.tg-comparacao .depois figcaption { color: #12b1a2; font-weight: 600; }
.tg-resultado-acoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

.tg-carregando { text-align: center; padding: 34px 10px 10px; }
.tg-carregando .spinner-border { color: #12b1a2; width: 2.4rem; height: 2.4rem; }
.tg-carregando p { margin: 14px 0 2px; }
.tg-carregando small { color: #8b95a7; }

.tg-esgotado {
    margin-top: 22px; text-align: center; background: #f4f7fb;
    border: 1px solid #e0e7f1; border-radius: 14px; padding: 26px;
}
.tg-esgotado h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.tg-esgotado p { color: #6b7280; font-size: .95rem; }

/* CTA final */
.tg-final {
    text-align: center; background: linear-gradient(135deg, #0f172a, #123f3e);
    color: #fff; border-radius: 16px; padding: 40px 26px; margin-top: 26px;
}
.tg-final h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.tg-final p { color: #cfd8ea; max-width: 520px; margin: 0 auto 20px; }
.tg-final-acoes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Modal de contato */
.tg-modal { border: none; border-radius: 16px; }
.tg-modal .modal-body { padding: 28px; }
.tg-modal h4 { font-weight: 700; font-size: 1.25rem; margin-bottom: 6px; }
.tg-modal > .modal-body > p { color: #6b7280; font-size: .93rem; margin-bottom: 18px; }
.tg-modal .form-control { border-radius: 10px; padding: 11px 14px; }
.tg-modal-erro { color: #dc3545; font-size: .87rem; margin-bottom: 10px; }
.tg-modal-acoes { display: flex; gap: 8px; justify-content: flex-end; }

@media (max-width: 575px) {
    .tg-wrap { padding: 0 4% 50px; }
    .tg-passo { padding: 20px 16px 24px; border-radius: 14px; }
    .tg-produtos { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .tg-produto img { height: 92px; }
    .tg-foto-acoes .tg-btn { flex: 1 1 100%; justify-content: center; }
    .tg-comparacao { grid-template-columns: 1fr; }
}
