/* Entrada leve — cartões de foto, um toque, uma palavra.
   Paleta do formulário (creme #f8f5ef, verde #1f3b2d), scoped em .vpl-wrap. */

.vpl-wrap {
	max-width: 760px;
	margin: 32px auto;
	padding: 28px 22px 26px;
	background: #f8f5ef;
	border: 1px solid #e3dacd;
	border-radius: 24px;
	color: #1f2a24;
}
.vpl-embed { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }

.vpl-topo h2, .vpl-resultado h2 { margin: 0 0 6px; font-size: 30px; line-height: 1.15; color: #1f3b2d; font-weight: 700; }
.vpl-intro { color: #5d5a54; font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.vpl-erro { background: #fdf0ee; border: 1px solid #e8c4bd; border-radius: 14px; padding: 12px 16px; margin: 0 0 18px; color: #8c3a2c; }
.vpl-erro p { margin: 0; }

.vpl-passo { margin: 0 0 30px; }
.vpl-conta { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #7d8a82; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.vpl-palavra { margin: 0 0 4px; font-size: 26px; line-height: 1.15; color: #1f3b2d; font-weight: 700; }
.vpl-pergunta { margin: 0 0 14px; font-size: 15px; color: #5d5a54; line-height: 1.5; }

.vpl-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) {
	.vpl-cards { grid-template-columns: repeat(3, 1fr); }
	.vpl-cards-4 { grid-template-columns: repeat(4, 1fr); }
}

.vpl-card {
	position: relative;
	display: block;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
	box-shadow: 0 1px 2px rgba(26,21,10,.05), 0 6px 18px rgba(26,21,10,.07);
	-webkit-tap-highlight-color: transparent;
}
.vpl-card:active { transform: scale(.98); }
.vpl-card input { position: absolute; opacity: 0; pointer-events: none; }
.vpl-foto {
	display: block;
	aspect-ratio: 3 / 2;
	background-size: cover;
	background-position: center;
	background-color: #e8e2d6;
}
.vpl-nome {
	display: block;
	padding: 9px 10px 11px;
	text-align: center;
	font-weight: 700;
	font-size: 15px;
	color: #1f3b2d;
	line-height: 1.2;
}
.vpl-card.is-sel { border-color: #1f3b2d; box-shadow: 0 0 0 3px rgba(31,59,45,.18), 0 8px 22px rgba(26,21,10,.10); }
.vpl-card.is-sel::after {
	content: "✓";
	position: absolute;
	top: 8px; right: 8px;
	width: 26px; height: 26px;
	border-radius: 999px;
	background: #1f3b2d;
	color: #f4efe6;
	font-size: 14px;
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.vpl-card:focus-within { outline: 2px solid #1f3b2d; outline-offset: 2px; }

/* --- botões e navegação --- */
.vpl-btn {
	display: inline-block;
	background: #1f3b2d;
	color: #f4efe6 !important;
	border: 0;
	border-radius: 999px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
}
.vpl-btn:disabled { opacity: .45; cursor: default; }
.vpl-btn[hidden], .vpl-avancar[hidden] { display: none !important; }
.vpl-nav { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.vpl-voltar { background: none; border: 0; color: #7d8a82; font-size: 14px; cursor: pointer; padding: 8px 0; }
.vpl-voltar:disabled { visibility: hidden; }
.vpl-pontos { flex: 1; display: flex; gap: 6px; justify-content: center; }
.vpl-pontos i { width: 8px; height: 8px; border-radius: 999px; background: #d9d1c2; display: inline-block; }
.vpl-pontos i.on { background: #1f3b2d; }
.vpl-pontos i.done { background: #9fbfab; }
.vpl-nav .vpl-btn { margin-left: auto; }

/* --- wizard: uma tela por vez --- */
.vpl-form.vpl-wizard .vpl-passo { display: none; }
.vpl-form.vpl-wizard .vpl-passo.is-atual { display: block; animation: vpl-in .28s ease; }
@keyframes vpl-in { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.vpl-form.vpl-wizard .vpl-passo.vpl-volta { animation-name: vpl-back; }
@keyframes vpl-back { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vpl-form.vpl-wizard .vpl-passo.is-atual { animation: none; } }

/* --- resultado --- */
.vpl-resumo { font-size: 17px; line-height: 1.65; color: #1f2a24; margin: 0 0 16px; }
.vpl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.vpl-tag { font-size: 12px; background: #fff; border: 1px solid #e3dacd; border-radius: 999px; padding: 4px 11px; color: #1f3b2d; }
.vpl-missao { background: #fff; border: 1px solid #e3dacd; border-radius: 18px; padding: 20px 22px; margin: 0 0 14px; }
.vpl-missao-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #7d8a82; margin: 0 0 4px; }
.vpl-missao h3 { margin: 0 0 6px; font-size: 21px; color: #1f3b2d; }
.vpl-missao p { margin: 0 0 14px; color: #5d5a54; line-height: 1.55; }
.vpl-bloqueado { background: #fdfaf3; border-color: #ecdcb8; }
.vpl-fase2 { font-size: 14px; color: #7d8a82; }
.vpl-refazer { display: inline-block; margin-top: 8px; font-size: 13px; color: #7d8a82; }
.vpl-contato { text-align: center; color: #7d8a82; font-size: 13px; margin-top: 14px; }


/* ══════════ tela cheia: só o tempo de terminar ══════════ */
body.vpl-full { background: #f8f5ef; }
body.vpl-full .ct-header, body.vpl-full header#header,
body.vpl-full .ct-footer, body.vpl-full footer#footer,
body.vpl-full .vpl-contato { display: none !important; }
body.vpl-full .vpl-topo { display: none; }
body.vpl-full .vpl-wrap {
	max-width: 820px;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0 auto;
	padding: 28px 22px 110px;
	border: 0;
	border-radius: 0;
	background: transparent;
	display: flex;
	flex-direction: column;
}
body.vpl-full .vpl-form { flex: 1; display: flex; flex-direction: column; }
body.vpl-full .vpl-form .vpl-passo.is-atual { flex: 1; }
body.vpl-full .vpl-palavra { font-size: 32px; }
body.vpl-full .vpl-pergunta { font-size: 17px; }
@media (min-width: 640px) { body.vpl-full .vpl-cards { gap: 14px; } body.vpl-full .vpl-nome { font-size: 16px; padding: 11px 10px 13px; } }

/* barra de navegação fixa embaixo, sempre à mão do polegar */
body.vpl-full .vpl-nav {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	margin: 0;
	padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
	background: rgba(248,245,239,.96);
	backdrop-filter: blur(6px);
	border-top: 1px solid #e3dacd;
	z-index: 50;
}
body.vpl-full .vpl-nav > * { max-width: 820px; }
body.vpl-full .vpl-nav .vpl-btn { padding: 13px 26px; font-size: 16px; }

/* ══════════ a última tela: colagem + botão grande ══════════ */
.vpl-fim { text-align: center; }
.vpl-fim .vpl-conta { color: #1f3b2d; font-size: 18px; letter-spacing: 0; }
.vpl-fim .vpl-palavra { font-size: 30px; }
.vpl-colagem {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 18px 0 26px;
}
@media (min-width: 640px) { .vpl-colagem { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.vpl-col-item {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(26,21,10,.10);
	animation: vpl-pop .35s ease both;
}
.vpl-col-item:nth-child(2) { animation-delay: .05s } .vpl-col-item:nth-child(3) { animation-delay: .1s }
.vpl-col-item:nth-child(4) { animation-delay: .15s } .vpl-col-item:nth-child(5) { animation-delay: .2s }
.vpl-col-item:nth-child(6) { animation-delay: .25s } .vpl-col-item:nth-child(7) { animation-delay: .3s }
.vpl-col-item:nth-child(n+8) { animation-delay: .35s }
@keyframes vpl-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vpl-col-item { animation: none; } }
.vpl-col-item b {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 14px 6px 6px;
	font-size: 11px;
	color: #f4efe6;
	background: linear-gradient(180deg, rgba(31,42,36,0), rgba(31,42,36,.78));
	text-align: center;
	line-height: 1.2;
}
.vpl-btn-grande { padding: 16px 34px; font-size: 17px; border-radius: 999px; }
.vpl-btn-grande:hover { filter: brightness(1.08); }

/* embutido na confirmação da adesão: sem capa de página, cartões menores */
.vpl-embed .vpl-palavra { font-size: 22px; }
.vpl-embed .vpl-cards { gap: 8px; }
.vpl-embed .vpl-nome { font-size: 13.5px; padding: 7px 8px 9px; }
