/* Teste grátis v2: perfil do Instagram do visitante num celular, post aberto com legenda, story e datas da cidade.
   Marca d'água discreta (só na tela) e sem download. */
.teste h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); line-height: 1.1; font-weight: 800; max-width: 780px; margin: 0 0 14px; }
.teste h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); line-height: 1.12; font-weight: 800; margin: 0 0 12px; }
.t-topo { padding-top: 120px; }
.t-sub { color: var(--s300); max-width: 640px; margin: 0 0 24px; }
.t-pequeno { color: var(--s400); font-size: .85rem; margin: 10px 0 0; }
body.travado { overflow: hidden; }

/* formulário */
.t-form { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 780px; background: linear-gradient(180deg, rgba(17,26,51,.9), rgba(11,16,32,.9)); border: 1px solid var(--borda-hover); border-radius: var(--r-painel); padding: 22px; box-shadow: var(--brilho-azul); }
@media (min-width: 700px) { .t-form { grid-template-columns: 1fr 1fr; padding: 30px; } .t-form .btn, .t-msg { grid-column: 1 / -1; } }
.t-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--s300); }
.t-form label[hidden] { display: none; }
.t-form input, .t-form select { min-height: 48px; border-radius: 12px; border: 1px solid var(--borda); background: var(--navy); color: var(--branco); padding: 0 14px; font: 500 1rem var(--fonte); width: 100%; }
.t-form input[type=color] { padding: 4px; cursor: pointer; }
.t-form input[type=file] { padding: 10px; font-size: .88rem; }
.t-form input:focus, .t-form select:focus { outline: 2px solid var(--azul-l); outline-offset: 1px; }
.t-form .btn { min-height: 56px; font-size: 1.05rem; }
.t-form .btn:disabled { opacity: .6; cursor: wait; }
.t-msg { margin: 0; color: #FCA5A5; min-height: 1.2em; }

/* montando */
.t-montando { padding: 30px 0; }
.t-mont-caixa { display: flex; gap: 22px; align-items: center; max-width: 560px; margin: 0 auto; padding: 26px; border-radius: var(--r-painel); background: rgba(15,23,42,.7); border: 1px solid var(--borda); }
.t-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(79,127,255,.25); border-top-color: var(--azul-l); animation: giro 0.9s linear infinite; flex: 0 0 auto; }
@keyframes giro { to { transform: rotate(360deg); } }
.t-mont-caixa ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.t-mont-caixa li { color: var(--s500); font-weight: 600; transition: color .3s; padding-left: 26px; position: relative; }
.t-mont-caixa li::before { content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--s700); }
.t-mont-caixa li.agora { color: var(--branco); }
.t-mont-caixa li.agora::before { border-color: var(--azul-l); background: rgba(79,127,255,.35); }
.t-mont-caixa li.feito { color: var(--s300); }
.t-mont-caixa li.feito::before { border-color: #22C55E; background: #22C55E; }

/* resultado: texto + celular */
.t-res { padding-top: 24px; }
.t-res-in { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .t-res-in { grid-template-columns: 1fr 400px; gap: 56px; } .t-cel { position: sticky; top: 90px; } }
.t-lista { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.t-lista li { padding-left: 28px; position: relative; color: var(--s300); }
.t-lista li::before { content: ''; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.t-lista b { color: var(--branco); }
.t-datas-box { margin: 0 0 24px; padding: 20px; border-radius: var(--r-card); background: rgba(15,23,42,.6); border: 1px solid var(--borda); }
.t-datas-box h3 { margin: 0 0 14px; font-size: 1.05rem; }
.t-datas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.t-datas li { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.t-datas b { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; border-radius: 12px; background: var(--navy); border: 1px solid var(--borda); font-size: 1.2rem; line-height: 1; }
.t-datas small { font-size: .7rem; color: var(--s400); text-transform: uppercase; margin-top: 3px; }
.t-datas span { font-weight: 600; }
.t-datas em { font-style: normal; font-size: .8rem; color: #4ADE80; }
.t-oferta { padding: 22px; border-radius: var(--r-card); background: radial-gradient(500px 200px at 0% 0%, rgba(79,127,255,.25), transparent 70%), rgba(15,23,42,.6); border: 1px solid var(--borda-hover); }
.t-oferta > p:first-child { margin: 0 0 16px; color: var(--s300); }
.t-oferta b { color: var(--branco); }
.t-cidades { color: var(--s400); margin: 16px 0 0; font-size: .9rem; }

/* celular com o perfil */
.t-cel { margin: 0 auto; width: 100%; max-width: 400px; }
.t-cel-tela { background: #fff; color: #111; border-radius: 34px; border: 10px solid #1E293B; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(148,163,184,.2); overflow: hidden; padding-bottom: 6px; font-family: -apple-system, "Segoe UI", Inter, sans-serif; }
.t-cel figcaption { text-align: center; color: var(--s400); font-size: .82rem; margin-top: 10px; }
.ig-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; font-weight: 700; font-size: 1rem; }
.ig-pontinhos { display: flex; gap: 3px; } .ig-pontinhos i { width: 4px; height: 4px; border-radius: 50%; background: #111; }
.ig-cab { display: flex; align-items: center; gap: 18px; padding: 4px 16px 10px; }
.ig-anel { flex: 0 0 auto; width: 86px; height: 86px; border-radius: 50%; padding: 3px; border: 0; cursor: pointer; background: conic-gradient(#F59E0B, #EF4444, #D946EF, #F59E0B); }
.ig-anel .ig-av-dono { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 3px solid #fff; }
.ig-nums { flex: 1; display: flex; justify-content: space-around; text-align: center; font-size: .72rem; color: #444; }
.ig-nums span { display: flex; flex-direction: column; } .ig-nums b { font-size: 1rem; color: #111; }
.ig-info { display: flex; flex-direction: column; padding: 0 16px; font-size: .84rem; line-height: 1.35; }
.ig-info span:nth-child(2) { color: #737373; }
.ig-botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 16px; }
.ig-botoes span { background: #EFEFEF; border-radius: 8px; text-align: center; font-size: .8rem; font-weight: 600; padding: 7px 0; }
.ig-botoes span:first-child { background: #0095F6; color: #fff; }
.ig-dest { display: flex; gap: 14px; padding: 4px 16px 12px; overflow: hidden; }
.dest { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .68rem; color: #111; background: none; border: 0; padding: 0; cursor: default; font-family: inherit; }
button.dest { cursor: pointer; }
.dest i { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #DBDBDB; display: grid; place-items: center; }
.dest svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ig-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig-post { position: relative; padding: 0; border: 0; background: #eee; cursor: pointer; aspect-ratio: 4 / 5; overflow: hidden; }
.ig-q { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ig-post:hover .ig-q, .ig-post:focus-visible .ig-q { filter: brightness(.88); }
.ig-multi svg { position: absolute; right: 6px; top: 6px; width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.ig-marca { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-28deg); font: 800 9px/1 var(--fonte); letter-spacing: .2em; color: rgba(255,255,255,.5); text-shadow: 0 1px 2px rgba(0,0,0,.5); pointer-events: none; }

/* post aberto e story */
.t-modal { position: fixed; inset: 0; z-index: 200; background: rgba(2,6,23,.82); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.t-modal[hidden] { display: none; }
.tp-caixa { width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: #111; border-radius: 16px; font-family: -apple-system, "Segoe UI", Inter, sans-serif; }
.tp-topo, .ts-topo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .9rem; }
.tp-av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; display: block; }
.tp-fechar { margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: inherit; border-radius: 50%; }
.tp-fechar:hover { background: rgba(0,0,0,.06); }
.tp-janela { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #111; touch-action: pan-y; }
.tp-trilho { display: flex; height: 100%; transition: transform .35s var(--ease); }
.tp-tela { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; }
.tp-marca { position: absolute; right: 10px; bottom: 10px; font: 700 11px/1 var(--fonte); letter-spacing: .12em; color: rgba(255,255,255,.75); background: rgba(0,0,0,.35); padding: 6px 9px; border-radius: 6px; pointer-events: none; z-index: 3; }
.tp-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #111; font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 4; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.tp-seta:disabled { opacity: 0; pointer-events: none; }
.tp-seta[hidden] { display: none; }
.tp-ant { left: 10px; } .tp-prox { right: 10px; }
.tp-pontos { display: flex; justify-content: center; gap: 5px; padding: 10px 0 0; min-height: 16px; }
.tp-pontos i { width: 6px; height: 6px; border-radius: 50%; background: #C7C7C7; } .tp-pontos i.on { background: #0095F6; }
.tp-quando { margin: 8px 14px 0; display: inline-block; font-size: .8rem; font-weight: 700; color: #065F46; background: #D1FAE5; padding: 6px 10px; border-radius: 8px; }
.tp-quando::before { content: '⏰ '; }
.tp-leg { margin: 10px 14px 18px; font-size: .9rem; line-height: 1.45; }
.tp-hash { color: #00376B; }
.ts-caixa { position: relative; width: min(380px, calc((100vh - 40px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #000; color: #fff; }
.ts-barra { position: absolute; left: 10px; right: 10px; top: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); z-index: 3; overflow: hidden; }
.ts-barra i { display: block; height: 100%; width: 0; background: #fff; }
.ts-topo { position: absolute; left: 0; right: 0; top: 14px; z-index: 3; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.ts-topo .tp-fechar { color: #fff; }
.ts-q { position: absolute; inset: 0; overflow: hidden; }

/* botão fixo no celular */
.t-fixo { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(8,11,18,.95) 35%); }
.t-fixo .btn { width: 100%; }
.t-fixo[hidden] { display: none; }
@media (min-width: 960px) { .t-fixo { display: none; } }
@media (max-width: 959px) { .t-res { padding-bottom: 90px; } }
