.cpv {
	--cpv-papel: #FBF6EC;
	--cpv-borda: #E6D6BD;
	--cpv-tinta: #4A3A2E;
	--cpv-tinta-suave: #7A6656;
	--cpv-tijolo: #C97B6B;
	--cpv-tijolo-escuro: #A65C4E;
	--cpv-salvia: #7E9A78;
	--cpv-salvia-clara: #EEF3EA;
	--cpv-salvia-borda: #C9D8C3;
	--cpv-manteiga: #F3DE9C;
	box-sizing: border-box;
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
	width: 100%;
	min-height: 640px;
	padding: clamp(12px, 3vw, 28px);
	background-color: #E9EEF6;
	background-image: var(--cpv-fundo);
	background-size: 560px auto;
	background-repeat: repeat;
	border-radius: 20px;
	font-family: "Nunito", "Trebuchet MS", system-ui, sans-serif;
	color: var(--cpv-tinta);
	line-height: 1.45;
	-webkit-tap-highlight-color: transparent;
}
.cpv *, .cpv *::before, .cpv *::after { box-sizing: border-box; }

.cpv--tablet {
	position: fixed;
	inset: 0;
	z-index: 999999;
	min-height: 0;
	height: 100vh;
	height: 100dvh;
	border-radius: 0;
	overflow-y: auto;
	padding-top: max(clamp(12px, 3vw, 28px), env(safe-area-inset-top, 0px));
	padding-bottom: max(clamp(12px, 3vw, 28px), env(safe-area-inset-bottom, 0px));
}
body.cpv-tela-cheia { overflow: hidden; }
.cpv--tablet { align-items: flex-start; }
.cpv--tablet .cpv-moldura { min-height: 100%; }

.cpv-moldura {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1060px;
	padding: clamp(20px, 4vw, 48px);
	background: var(--cpv-papel);
	border-radius: 18px;
	box-shadow: inset 0 0 0 8px var(--cpv-papel), inset 0 0 0 9px var(--cpv-borda), 0 10px 30px rgba(40, 50, 80, .25);
}

.cpv-selo {
	position: absolute;
	top: 18px;
	right: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: 0;
	transition: opacity .4s;
	pointer-events: none;
}
.cpv-selo.on { opacity: 1; }
.cpv-selo-img {
	width: 62px;
	height: 62px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	background: var(--cpv-manteiga);
}
.cpv-selo-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.3);
	transition: filter .9s ease;
}
.cpv-selo-txt { font-size: 12px; font-weight: 700; color: var(--cpv-tinta-suave); }

.cpv-palco {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cpv-tela {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
	animation: cpv-entra .45s ease both;
}
@keyframes cpv-entra {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: none; }
}

.cpv .cpv-titulo {
	margin: 0;
	max-width: 22ch;
	font-family: "Young Serif", Georgia, "Times New Roman", serif;
	font-weight: 400;
	font-size: clamp(26px, 3.6vw, 42px);
	line-height: 1.15;
	color: var(--cpv-tinta);
	letter-spacing: 0;
	text-transform: none;
}
.cpv .cpv-titulo--menor { font-size: clamp(22px, 3vw, 34px); max-width: 30ch; }
.cpv .cpv-sub { margin: 0; font-size: clamp(17px, 2vw, 21px); color: var(--cpv-tinta-suave); max-width: 40ch; }
.cpv .cpv-mini { margin: 0; font-size: 13px; color: var(--cpv-tinta-suave); max-width: 50ch; }

.cpv-capa {
	display: block;
	width: 100%;
	max-width: 820px;
	max-height: 44vh;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 0 0 1px var(--cpv-borda);
}

.cpv .cpv-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	min-height: 58px;
	padding: 14px 40px;
	font-family: inherit;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: #fff;
	background: var(--cpv-tijolo);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 5px 0 var(--cpv-tijolo-escuro);
	cursor: pointer;
	transition: transform .08s, box-shadow .08s;
	touch-action: manipulation;
}
.cpv .cpv-btn:hover { background: #C27060; color: #fff; }
.cpv .cpv-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cpv-tijolo-escuro); }
.cpv .cpv-btn--claro {
	color: var(--cpv-tijolo-escuro);
	background: #fff;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 5px 0 var(--cpv-borda);
}
.cpv .cpv-btn--claro:hover { background: #FFF8F0; color: var(--cpv-tijolo-escuro); }
.cpv .cpv-btn--claro:active { box-shadow: 0 0 0 2px var(--cpv-borda), 0 1px 0 var(--cpv-borda); }
.cpv button:focus-visible { outline: 3px solid #2E5A9A; outline-offset: 3px; }

.cpv-idades {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
	max-width: 900px;
}
.cpv-idades--kids { grid-template-columns: repeat(2, minmax(0, 190px)); justify-content: center; }
@media (max-width: 760px) {
	.cpv-selo { position: static; flex-direction: row; align-self: flex-end; gap: 8px; margin: -6px -4px 10px 0; }
	.cpv-selo-img { width: 40px; height: 40px; }
	.cpv-idades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cpv-idades:not(.cpv-idades--kids) .cpv-idade:last-child { grid-column: 1 / -1; }
	.cpv-idades--kids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cpv .cpv-idade {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	margin: 0;
	min-height: 104px;
	padding: 16px 8px;
	font-family: inherit;
	color: var(--cpv-tinta);
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 16px;
	box-shadow: 0 5px 0 var(--cpv-borda);
	cursor: pointer;
	transition: transform .08s, box-shadow .08s, border-color .15s;
	touch-action: manipulation;
}
.cpv .cpv-idade:hover { border-color: var(--cpv-tijolo); background: #FFFDF8; color: var(--cpv-tinta); }
.cpv .cpv-idade:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cpv-borda); }
.cpv-idade-num { font-family: "Young Serif", Georgia, serif; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; }
.cpv-idade-anos { font-size: 15px; font-weight: 700; color: var(--cpv-tinta-suave); }
.cpv .cpv-idade--kids { background: var(--cpv-salvia-clara); border-color: var(--cpv-salvia-borda); box-shadow: 0 5px 0 var(--cpv-salvia-borda); min-height: 84px; }
.cpv .cpv-idade--kids:hover { border-color: var(--cpv-salvia); background: var(--cpv-salvia-clara); }
.cpv .cpv-idade--kids:active { box-shadow: 0 1px 0 var(--cpv-salvia-borda); }
.cpv .cpv-rotulo-kids { margin: 10px 0 -6px; font-size: 15px; font-weight: 800; color: var(--cpv-salvia); }

.cpv-cartao { width: min(430px, 100%); perspective: 1400px; }
.cpv-cartao-inner {
	display: grid;
	transform-style: preserve-3d;
	transition: transform .9s cubic-bezier(.3, 1.4, .5, 1);
}
.cpv-cartao.virado .cpv-cartao-inner { transform: rotateY(180deg); }
.cpv-face {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 380px;
	padding: 24px 24px 28px;
	border-radius: 20px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.cpv-frente {
	background: var(--cpv-tijolo);
	color: #fff;
	box-shadow: inset 0 0 0 8px var(--cpv-tijolo), inset 0 0 0 10px rgba(255, 255, 255, .45);
}
.cpv-frente-idade { font-family: "Young Serif", Georgia, serif; font-size: 40px; line-height: 1.1; }
.cpv-frente-txt { font-size: 18px; font-weight: 700; opacity: .92; }
.cpv-verso {
	transform: rotateY(180deg);
	background: #fff;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 8px 0 var(--cpv-borda);
}
.cpv-verso img { width: min(240px, 70%); height: auto; display: block; }
.cpv .cpv-frase {
	margin: 0;
	font-family: "Young Serif", Georgia, serif;
	font-size: clamp(19px, 2.2vw, 23px);
	line-height: 1.3;
	color: var(--cpv-tinta);
}

.cpv-aparece { opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s, transform .35s; }
.cpv-aparece.on { opacity: 1; transform: none; pointer-events: auto; }
.cpv-botoes { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.cpv-ilustra { width: min(260px, 60%); height: auto; display: block; }

.cpv-carimbo {
	display: inline-block;
	padding: 6px 16px;
	font-size: 15px;
	font-weight: 800;
	color: #6B5413;
	background: var(--cpv-manteiga);
	border-radius: 999px;
	transform: rotate(-2deg);
	animation: cpv-carimbo .6s cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes cpv-carimbo {
	from { opacity: 0; transform: scale(1.8) rotate(-8deg); }
	to { opacity: 1; transform: scale(1) rotate(-2deg); }
}
.cpv .cpv-contagem { margin: 0; font-size: 13px; color: var(--cpv-tinta-suave); }

@media (prefers-reduced-motion: reduce) {
	.cpv-tela, .cpv-carimbo { animation: none; }
	.cpv-cartao-inner, .cpv-aparece, .cpv-selo-img img { transition: none; }
}

/* ---------- botão menor ---------- */
.cpv .cpv-btn--p { min-height: 50px; padding: 10px 24px; font-size: 17px; }

/* ---------- origem ---------- */
.cpv-busca { position: relative; width: 100%; max-width: 560px; }
.cpv .cpv-input {
	display: block;
	width: 100%;
	height: 64px;
	margin: 0;
	padding: 0 22px;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	color: var(--cpv-tinta);
	background: #fff;
	border: 2px solid var(--cpv-borda);
	border-radius: 16px;
	box-shadow: 0 4px 0 var(--cpv-borda);
	outline: none;
}
.cpv .cpv-input:focus { border-color: var(--cpv-tijolo); }
.cpv .cpv-input::placeholder { color: #B9A792; font-weight: 600; }
.cpv .cpv-sugestoes {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 5;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 12px 24px rgba(74, 58, 46, .18);
	overflow: hidden;
	text-align: left;
}
.cpv .cpv-sugestoes:empty { display: none; }
.cpv .cpv-sugestoes li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 20px;
	font-size: 19px;
	cursor: pointer;
	border-top: 1px solid #F1E7D6;
}
.cpv .cpv-sugestoes li:first-child { border-top: 0; }
.cpv .cpv-sugestoes li.ativo, .cpv .cpv-sugestoes li:hover { background: #FFF4EA; }
.cpv-sug-nome { font-weight: 700; }
.cpv-sug-uf { font-size: 14px; font-weight: 800; color: var(--cpv-tijolo-escuro); background: #F8E6DE; border-radius: 6px; padding: 2px 8px; }
.cpv .cpv-aviso { min-height: 1.4em; }

.cpv-origem-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(16px, 3vw, 36px);
	align-items: center;
	width: 100%;
}
@media (max-width: 760px) { .cpv-origem-grid { grid-template-columns: 1fr; } }
.cpv-mapa {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 16px;
	overflow: hidden;
	background: #DCE9EC;
	box-shadow: 0 0 0 2px var(--cpv-borda);
}
.cpv-mapa svg { display: block; width: 100%; height: 100%; }
.cpv-mapa .cpv-ilustra { margin: 20% auto 0; }
.cpv-mar { fill: #DCE9EC; }
.cpv-uf { fill: #F5ECD8; stroke: #C9B38C; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cpv-uf--pr { fill: #F2DCC0; }
.cpv-rota { fill: none; stroke: var(--cpv-tijolo); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cpv-ponto { fill: var(--cpv-salvia); stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cpv-mapa { position: relative; }
.cpv-rotulo {
	position: absolute;
	z-index: 2;
	width: max-content;
	max-width: 40%;
	padding: 2px 10px;
	font-size: clamp(13px, 1.7vw, 16px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0;
	text-align: center;
	color: var(--cpv-tinta);
	white-space: normal;
	overflow-wrap: break-word;
	background: rgba(255, 253, 248, .94);
	border-radius: 12px;
	box-shadow: 0 0 0 1.5px var(--cpv-borda);
	pointer-events: none;
}
.cpv-rotulo--baixo { transform: translate(-50%, 0); }
.cpv-rotulo--cima { transform: translate(-50%, -100%); }
.cpv-rotulo--c { color: var(--cpv-tijolo-escuro); }
.cpv-origem-info { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cpv .cpv-km {
	margin: 0;
	font-family: "Young Serif", Georgia, serif;
	font-size: clamp(44px, 6vw, 68px);
	line-height: 1;
	color: var(--cpv-tijolo-escuro);
}
.cpv-km-num { font-variant-numeric: tabular-nums; }
.cpv-comparacao { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 18px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 2px var(--cpv-borda); }
.cpv-comparacao img { width: 120px; height: auto; display: block; }
.cpv-comparacao .cpv-frase { font-size: clamp(17px, 2vw, 21px); }

/* ---------- jogos das crianças ---------- */
.cpv .cpv-jogo-dica { margin: 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; color: var(--cpv-tinta); }
.cpv-jogo-cont { display: inline-block; margin-left: 8px; padding: 2px 12px; font-size: .85em; background: var(--cpv-salvia-clara); color: #4F6A4A; border-radius: 999px; }
.cpv-jogo {
	position: relative;
	width: 100%;
	max-width: 920px;
	aspect-ratio: 1196 / 780;
	overflow: hidden;
	overflow: clip;
	border-radius: 16px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	cursor: pointer;
}
.cpv-jogo img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.cpv-jogo-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.cpv-moinho { position: absolute; right: 5%; bottom: 30%; width: 15%; aspect-ratio: .68; }
.cpv-moinho-corpo { position: absolute; inset: 0; width: 100%; height: 100%; }
.cpv-moinho-pas {
	position: absolute;
	width: 130%;
	left: -16.45%;
	top: -32.5%;
	animation: cpv-gira 9s linear infinite;
}
.cpv-moinho.girando .cpv-moinho-pas { animation-duration: 1.1s; }
@keyframes cpv-gira { to { transform: rotate(360deg); } }

.cpv-canteiro { position: absolute; inset: 0; z-index: 1; }
.cpv-tulipa {
	position: absolute;
	height: auto;
	transform: translate(-50%, -100%);
	transform-origin: 50% 100%;
	animation: cpv-brota .5s cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes cpv-brota {
	from { transform: translate(-50%, -100%) scale(0); }
	to { transform: translate(-50%, -100%) scale(1); }
}

.cpv-hud { position: absolute; top: 3%; left: 3%; right: 3%; display: flex; justify-content: space-between; z-index: 3; pointer-events: none; }
.cpv-hud span { padding: 6px 14px; font-size: clamp(16px, 2vw, 22px); font-weight: 800; background: rgba(255, 253, 248, .92); border-radius: 999px; box-shadow: 0 0 0 2px var(--cpv-borda); font-variant-numeric: tabular-nums; }
.cpv-queijos { position: absolute; inset: 0; }
.cpv-queijo { position: absolute; width: 8.5%; height: auto; transform: translate(-50%, -50%); }
.cpv-cesta { position: absolute; bottom: 2%; width: 17%; height: auto; transform: translateX(-50%); z-index: 2; }
.cpv-cesta.pulo { animation: cpv-pulo .25s ease; }
@keyframes cpv-pulo { 50% { transform: translateX(-50%) translateY(-6%) scale(1.06); } }

.cpv-jogo-final {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5%;
	background: rgba(74, 58, 46, .25);
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s;
	cursor: default;
}
.cpv-jogo-final.on { opacity: 1; pointer-events: auto; }
.cpv-jogo-cartao {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 520px;
	padding: 24px 28px;
	text-align: center;
	background: var(--cpv-papel);
	border-radius: 18px;
	box-shadow: inset 0 0 0 6px var(--cpv-papel), inset 0 0 0 7px var(--cpv-borda), 0 10px 30px rgba(40, 30, 20, .25);
}

@media (prefers-reduced-motion: reduce) {
	.cpv-tulipa, .cpv-cesta.pulo { animation: none; }
	.cpv-moinho-pas { animation-duration: 30s; }
}

/* ---------- grupo ---------- */
.cpv-grupo-grid {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(18px, 3vw, 28px);
	width: 100%;
}
.cpv-polaroid {
	width: min(100%, 540px, 66vh);
	padding: 14px 14px 6px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 0 0 1px #EADFCB, 0 10px 24px rgba(74, 58, 46, .18);
	transform: rotate(-1.5deg);
}
.cpv-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #DCE9EC; }
.cpv-foto-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.cpv-foto-onibus {
	position: absolute;
	right: 2%;
	bottom: 14%;
	width: 50%;
	height: auto;
	opacity: 0;
	transform: translateX(30%);
	transition: opacity .4s, transform .5s cubic-bezier(.3, 1.3, .5, 1);
}
.cpv-foto.com-onibus .cpv-foto-onibus { opacity: 1; transform: none; }
.cpv-foto-pessoas { position: absolute; inset: 0; }
.cpv-foto-pessoa { position: absolute; width: auto; transform: translateX(-50%); transition: left .3s ease, height .3s ease, bottom .3s ease; }
.cpv-foto-pessoa.novo { animation: cpv-entra-foto .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes cpv-entra-foto {
	from { transform: translateX(-50%) translateY(20%) scale(.4); opacity: 0; }
	to { transform: translateX(-50%); opacity: 1; }
}
.cpv-foto-mais { position: absolute; right: 4%; top: 5%; font-weight: 800; font-size: 18px; color: #fff; background: var(--cpv-tijolo); border-radius: 999px; padding: 2px 12px; }
.cpv-foto-mais:empty { display: none; }
.cpv-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.cpv-foto.flash .cpv-flash { animation: cpv-flash .7s ease-out; }
@keyframes cpv-flash { 0% { opacity: 0; } 10% { opacity: .95; } 100% { opacity: 0; } }
.cpv .cpv-polaroid-legenda { margin: 8px 0 4px; font-family: "Young Serif", Georgia, serif; font-size: 18px; color: var(--cpv-tinta-suave); text-align: center; }

.cpv-grupo-ctl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 900px; }
.cpv-grupo-ctl .cpv-toggle { grid-column: 1 / -1; justify-self: center; min-width: min(100%, 320px); }
@media (max-width: 600px) { .cpv-grupo-ctl { grid-template-columns: 1fr; } }
.cpv-pessoa {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	grid-template-areas: "img txt" "img ctl";
	align-items: center;
	gap: 6px 12px;
	padding: 8px 10px 8px 12px;
	text-align: left;
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 14px;
	box-shadow: 0 4px 0 var(--cpv-borda);
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
	-webkit-user-select: none;
}
.cpv-pessoa:focus-visible { outline: 3px solid #2E5A9A; outline-offset: 3px; }
.cpv-pessoa.ativo { border-color: var(--cpv-tijolo); }
.cpv-pessoa img { grid-area: img; width: 56px; height: 72px; object-fit: contain; }
.cpv-pessoa .cpv-pessoa-txt { grid-area: txt; align-self: end; }
.cpv-pessoa .cpv-contador { grid-area: ctl; align-self: start; }
.cpv-pessoa-txt strong, .cpv-pessoa-txt small, .cpv-motivo-txt strong, .cpv-motivo-txt small { overflow-wrap: break-word; }

.cpv-pessoa-txt, .cpv-motivo-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cpv-pessoa-txt strong, .cpv-motivo-txt strong { font-size: 17px; line-height: 1.2; color: var(--cpv-tinta); }
.cpv-pessoa-txt small, .cpv-motivo-txt small { font-size: 13.5px; line-height: 1.3; color: var(--cpv-tinta-suave); }
.cpv-contador { display: inline-flex; align-items: center; gap: 6px; }
.cpv .cpv-contador button {
	appearance: none;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	color: var(--cpv-tijolo-escuro);
	background: #fff;
	border: 2px solid var(--cpv-borda);
	border-radius: 50%;
	cursor: pointer;
	touch-action: manipulation;
}
.cpv .cpv-contador .cpv-mais { color: #fff; background: var(--cpv-tijolo); border-color: var(--cpv-tijolo); }
.cpv-qtd { min-width: 22px; text-align: center; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cpv .cpv-toggle {
	appearance: none;
	margin: 4px 0 0;
	min-height: 52px;
	padding: 10px 16px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 800;
	color: var(--cpv-tinta);
	background: #fff;
	border: 2px dashed var(--cpv-borda);
	border-radius: 14px;
	cursor: pointer;
}
.cpv .cpv-toggle[aria-pressed="true"] { background: var(--cpv-manteiga); border-style: solid; border-color: #D9BE6A; }

/* ---------- motivo / máquina de garra ---------- */
.cpv-tela--rel { position: relative; }
.cpv-maquina { position: relative; width: min(100%, 620px, 62vh); aspect-ratio: 1; margin: 0; user-select: none; }
.cpv .cpv-motivo-status { margin: 0; min-height: 1.5em; font-size: 16px; font-weight: 700; color: var(--cpv-tinta-suave); }
.cpv-maquina img { -webkit-user-drag: none; pointer-events: none; }
.cpv-maq-corpo { position: absolute; inset: 0; width: 100%; height: 100%; }
.cpv-maq-topo { position: absolute; left: 0; top: 6.25%; width: 100%; height: auto; z-index: 3; }
.cpv-maq-clip { position: absolute; left: 9.47%; top: 8.2%; width: 83.6%; height: 54.3%; overflow: hidden; z-index: 2; }
.cpv-premio { position: absolute; left: 0; top: 0; will-change: transform; }
.cpv-garra-pos { position: absolute; left: 0; top: 0; z-index: 4; will-change: transform; }
.cpv-garra { display: block; width: 100%; height: 100%; transform-origin: 50% 85%; transition: transform .25s ease; }
.cpv-garra.fechada { transform: scaleX(.8); }

.cpv-motivos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; width: 100%; max-width: 960px; }
@media (max-width: 600px) { .cpv-motivos { grid-template-columns: 1fr; } }
.cpv .cpv-motivo {
	position: relative;
	appearance: none;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 8px 14px 8px 10px;
	font-family: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cpv-tinta);
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 14px;
	box-shadow: 0 4px 0 var(--cpv-borda);
	cursor: pointer;
	touch-action: manipulation;
	transition: transform .08s, box-shadow .08s, opacity .25s, border-color .15s;
}
.cpv .cpv-motivo:hover { border-color: var(--cpv-tijolo); background: #FFFDF8; color: var(--cpv-tinta); }
.cpv .cpv-motivo:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cpv-borda); }
.cpv .cpv-motivo img { width: 48px; height: 48px; object-fit: contain; }
.cpv-motivos.travado .cpv-motivo { pointer-events: none; opacity: .5; }
.cpv .cpv-motivo.escolhido, .cpv-motivos.travado .cpv-motivo.escolhido { pointer-events: none; opacity: 1; border-color: var(--cpv-tijolo); background: #FFF4EA; }
.cpv-motivo-ordem {
	position: absolute;
	top: -10px;
	right: -8px;
	display: none;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	background: var(--cpv-tijolo);
	border-radius: 999px;
	box-shadow: 0 0 0 3px var(--cpv-papel);
}
.cpv-motivo.escolhido .cpv-motivo-ordem { display: inline-flex; animation: cpv-carimbo .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.cpv .cpv-btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: 0 5px 0 var(--cpv-tijolo-escuro); }
.cpv-pegou-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.cpv-pegou-lista li { display: grid; grid-template-columns: 36px 56px 1fr; align-items: center; gap: 10px; margin: 0; padding: 6px 12px; text-align: left; background: #FFFDF8; border-radius: 12px; box-shadow: 0 0 0 2px var(--cpv-borda); }
.cpv-pegou-lista img { width: 56px; height: 48px; object-fit: contain; }
.cpv-pegou-lista strong { font-size: 17px; }
.cpv-pegou-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-weight: 800; color: #fff; background: var(--cpv-tijolo); border-radius: 50%; }

.cpv-pegou {
	position: absolute;
	inset: -8px;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(251, 246, 236, .82);
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s;
}
.cpv-pegou.on { opacity: 1; pointer-events: auto; }
@media (max-width: 760px) {
	.cpv-pegou { position: fixed; inset: 0; z-index: 1000000; padding: 16px; overflow-y: auto; align-items: flex-start; }
	.cpv-pegou-cartao { margin: auto 0; padding: 20px 18px; gap: 10px; }
}
.cpv-pegou-cartao {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: min(480px, 100%);
	padding: 26px 28px;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 14px 34px rgba(74, 58, 46, .22);
	animation: cpv-entra .4s ease both;
}

.cpv .cpv-input--p { height: 54px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) {
	.cpv-foto-pessoa.novo, .cpv-foto.flash .cpv-flash, .cpv-pegou-cartao { animation: none; }
	.cpv-foto-pessoa, .cpv-foto-onibus, .cpv-garra { transition: none; }
}

/* ---------- como conheceu ---------- */
.cpv-segredos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 1000px;
	padding-top: 34px;
}
@media (max-width: 900px) { .cpv-segredos { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; } }
@media (max-width: 560px) {
	.cpv-segredos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cpv-segredo:last-child { grid-column: 1 / -1; }
}
.cpv .cpv-segredo {
	position: relative;
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 22px 10px 14px;
	font-family: inherit;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cpv-tinta);
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 16px;
	box-shadow: 0 5px 0 var(--cpv-borda);
	cursor: pointer;
	touch-action: manipulation;
	transition: transform .08s, box-shadow .08s, border-color .15s;
}
.cpv .cpv-segredo:hover { border-color: var(--cpv-tijolo); background: #FFFDF8; color: var(--cpv-tinta); }
.cpv .cpv-segredo:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cpv-borda); }
.cpv .cpv-segredo.escolhido { border-color: var(--cpv-tijolo); background: #FFF4EA; }
.cpv-segredo-img { display: flex; align-items: flex-end; justify-content: center; height: 110px; width: 100%; }
.cpv-segredo-img img { max-width: 100%; max-height: 110px; width: auto; height: auto; }
.cpv-segredo strong { font-size: 16px; line-height: 1.2; }
.cpv-segredo small { font-size: 13px; line-height: 1.3; color: var(--cpv-tinta-suave); }
.cpv-balao {
	position: absolute;
	left: 50%;
	bottom: calc(100% - 14px);
	z-index: 2;
	max-width: 180px;
	padding: 5px 12px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--cpv-tinta-suave);
	white-space: nowrap;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	transform: translateX(-50%);
	animation: cpv-cochicho 2.4s ease-in-out infinite;
}
.cpv-balao::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 10px;
	height: 10px;
	background: #fff;
	box-shadow: 2px 2px 0 0 var(--cpv-borda);
	transform: translate(-50%, -5px) rotate(45deg);
}
.cpv-segredo:nth-child(2) .cpv-balao { animation-delay: .4s; }
.cpv-segredo:nth-child(3) .cpv-balao { animation-delay: .8s; }
.cpv-segredo:nth-child(4) .cpv-balao { animation-delay: 1.2s; }
.cpv-segredo:nth-child(5) .cpv-balao { animation-delay: 1.6s; }
.cpv-segredo.escolhido .cpv-balao {
	white-space: normal;
	width: max-content;
	max-width: min(220px, calc(100% + 16px));
	color: #fff;
	background: var(--cpv-tijolo);
	box-shadow: none;
	animation: cpv-carimbo-balao .45s cubic-bezier(.3, 1.6, .5, 1) both;
}
.cpv-segredo.escolhido .cpv-balao::after { background: var(--cpv-tijolo); box-shadow: none; }
@keyframes cpv-cochicho {
	0%, 70%, 100% { transform: translateX(-50%) rotate(0); }
	78% { transform: translateX(-50%) rotate(-5deg); }
	86% { transform: translateX(-50%) rotate(5deg); }
}
@keyframes cpv-carimbo-balao {
	from { transform: translateX(-50%) scale(.5); opacity: 0; }
	to { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* ---------- transporte ---------- */
.cpv-pista {
	position: relative;
	width: min(100%, 860px);
	aspect-ratio: 1196 / 600;
	overflow: hidden;
	overflow: clip;
	border-radius: 16px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
}
.cpv-pista-fundo { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: 50% 100%; }
.cpv-pista-vazia {
	position: absolute;
	left: 50%;
	top: 50%;
	padding: 10px 18px;
	font-size: clamp(16px, 2vw, 20px);
	font-weight: 800;
	background: rgba(255, 253, 248, .92);
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	transform: translate(-50%, -50%);
	transition: opacity .3s;
}
.cpv-pista.com-veiculo .cpv-pista-vazia { opacity: 0; }
.cpv-veiculo { position: absolute; left: 50%; bottom: 9%; width: 44%; transform: translateX(-50%); }
.cpv-veiculo img { display: block; width: 100%; height: auto; animation: cpv-motor .35s ease-in-out infinite alternate; }
.cpv-veiculo.voando img { animation: cpv-voo 1.6s ease-in-out infinite alternate; }
.cpv-veiculo.entra { animation: cpv-entra-dir .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.cpv-veiculo.entra-esq { animation: cpv-entra-esq .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.cpv-veiculo.sai { animation: cpv-arranca 1.1s cubic-bezier(.6, 0, .9, .4) both; }
@keyframes cpv-motor { from { transform: translateY(0); } to { transform: translateY(-1.5%); } }
@keyframes cpv-voo { from { transform: translateY(0) rotate(-1deg); } to { transform: translateY(-8%) rotate(2deg); } }
@keyframes cpv-entra-dir { from { transform: translateX(-160%); } to { transform: translateX(-50%); } }
@keyframes cpv-entra-esq { from { transform: translateX(80%); } to { transform: translateX(-50%); } }
@keyframes cpv-arranca {
	0% { transform: translateX(-50%); }
	20% { transform: translateX(-56%) skewX(6deg); }
	100% { transform: translateX(170%) skewX(-12deg); }
}
.cpv-pista.acelerando::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(90deg, transparent 0 30px, rgba(255, 255, 255, .55) 30px 70px);
	background-size: 200% 100%;
	opacity: 0;
	animation: cpv-vento .9s linear .15s both;
	pointer-events: none;
}
@keyframes cpv-vento { 0% { opacity: 0; background-position: 0 0; } 30% { opacity: .5; } 100% { opacity: 0; background-position: -400px 0; } }
.cpv .cpv-seta {
	position: absolute;
	top: 50%;
	z-index: 2;
	appearance: none;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0 0 4px;
	font-family: inherit;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	color: var(--cpv-tijolo-escuro);
	background: rgba(255, 253, 248, .95);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 4px 0 var(--cpv-borda);
	transform: translateY(-50%);
	cursor: pointer;
	touch-action: manipulation;
}
.cpv-seta--esq { left: 3%; }
.cpv-seta--dir { right: 3%; }
.cpv .cpv-pista-nome {
	position: absolute;
	left: 50%;
	top: 6%;
	margin: 0;
	padding: 6px 18px;
	font-family: "Young Serif", Georgia, serif;
	font-size: clamp(18px, 2.4vw, 26px);
	background: rgba(255, 253, 248, .94);
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	transform: translateX(-50%);
	white-space: nowrap;
}
.cpv .cpv-pista-nome:empty { display: none; }

.cpv-garagem { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 860px; }
@media (max-width: 560px) { .cpv-garagem { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cpv .cpv-vaga {
	appearance: none;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 12px 8px 8px;
	font-family: inherit;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cpv-tinta);
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 14px;
	box-shadow: 0 4px 0 var(--cpv-borda);
	cursor: pointer;
	touch-action: manipulation;
}
.cpv .cpv-vaga:hover { border-color: var(--cpv-tijolo); background: #FFFDF8; color: var(--cpv-tinta); }
.cpv .cpv-vaga.escolhido { border-color: var(--cpv-tijolo); background: #FFF4EA; }
.cpv-vaga img { width: 64px; height: 40px; object-fit: contain; }
.cpv-vaga span { display: flex; flex-direction: column; min-width: 0; }
.cpv-vaga strong { font-size: 15.5px; line-height: 1.2; }
.cpv-vaga small { font-size: 12.5px; line-height: 1.25; color: var(--cpv-tinta-suave); }

@media (prefers-reduced-motion: reduce) {
	.cpv-balao, .cpv-veiculo img, .cpv-veiculo.entra, .cpv-veiculo.entra-esq, .cpv-veiculo.sai, .cpv-pista.acelerando::after { animation: none; }
}

/* ---------- resultado ---------- */
.cpv-perfil {
	width: min(100%, 760px);
	overflow: hidden;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 0 0 2px var(--cpv-borda), 0 14px 34px rgba(74, 58, 46, .16);
}
.cpv-perfil-img { position: relative; aspect-ratio: 1264 / 848; overflow: hidden; background: var(--cpv-papel); }
.cpv-perfil-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(18px);
	transform: scale(1.08);
	transition: filter 1.4s ease, transform 1.6s ease;
}
.cpv-perfil.revelado .cpv-perfil-img img { filter: none; transform: none; }
.cpv .cpv-perfil-nome {
	position: absolute;
	left: 50%;
	top: 5%;
	width: 92%;
	max-width: none;
	font-size: clamp(24px, 4vw, 40px);
	text-shadow: 0 0 2px #FBF3E4, 0 0 12px #FBF3E4, 0 0 22px #FBF3E4;
	opacity: 0;
	transform: translate(-50%, -12px);
	transition: opacity .6s ease .9s, transform .6s ease .9s;
}
.cpv-perfil.revelado .cpv-perfil-nome { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) {
	.cpv-perfil { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); width: min(100%, 1000px); }
	.cpv-perfil-img { aspect-ratio: auto; min-height: 100%; }
	.cpv-perfil-img img { position: absolute; inset: 0; }
	.cpv-perfil-txt { justify-content: center; }
}
.cpv-perfil-txt { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px clamp(18px, 4vw, 36px) 24px; }
.cpv .cpv-perfil-variante {
	margin: -4px 0 0;
	padding: 3px 14px;
	font-size: 15px;
	font-weight: 800;
	color: var(--cpv-tijolo-escuro);
	background: #F8E6DE;
	border-radius: 999px;
}
.cpv-perfil-txt .cpv-frase { font-size: clamp(20px, 2.6vw, 26px); }
.cpv .cpv-perfil-dicas-tit { margin: 6px 0 0; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--cpv-salvia); }
.cpv .cpv-dicas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 520px; text-align: left; }
.cpv .cpv-dicas li {
	position: relative;
	margin: 0;
	padding: 8px 12px 8px 40px;
	font-size: 16.5px;
	line-height: 1.35;
	background: var(--cpv-papel);
	border-radius: 12px;
}
.cpv .cpv-dicas li::before {
	content: "🌷";
	position: absolute;
	left: 12px;
	top: 8px;
}
.cpv .cpv-link-site { margin-top: 4px; font-weight: 800; color: var(--cpv-tijolo-escuro); text-decoration: underline; text-underline-offset: 3px; }
.cpv-resultado-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.cpv-qr { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 2px var(--cpv-borda); text-align: left; }
.cpv-qr-cod { width: 120px; height: 120px; }
.cpv-qr-cod svg { display: block; width: 100%; height: 100%; }
.cpv-qr p { margin: 0; max-width: 200px; font-size: 15px; font-weight: 700; }
.cpv .cpv-aviso-copia { margin: 0; font-size: 14px; font-weight: 700; color: var(--cpv-salvia); }
.cpv .cpv-aviso-copia:empty { display: none; }
@media (prefers-reduced-motion: reduce) {
	.cpv-perfil-img img, .cpv-perfil-nome { transition: none; }
}


/* ---------- pernoite ---------- */
.cpv-noite {
	position: relative;
	width: min(100%, 960px);
	padding: 17% 2% 2.5%;
	overflow: hidden;
	overflow: clip;
	background: #1D2F55;
	border-radius: 16px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	user-select: none;
	-webkit-user-select: none;
}
.cpv-noite-ceu { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; pointer-events: none; }
.cpv-noite::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(22, 34, 68, 0) 12%, rgba(22, 34, 68, .78) 46%, rgba(22, 34, 68, .9) 100%);
	pointer-events: none;
}
.cpv-casas { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5%; align-items: end; }
@media (max-width: 700px) {
	.cpv-noite { padding-top: 30%; }
	.cpv-casas { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
}
.cpv .cpv-casa {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	font-family: inherit;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cpv-tinta);
	background: none;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	cursor: pointer;
	touch-action: manipulation;
}
.cpv .cpv-casa:hover, .cpv .cpv-casa:focus { background: none; color: var(--cpv-tinta); }
.cpv-casa img {
	display: block;
	width: 86%;
	max-width: 150px;
	height: auto;
	pointer-events: none;
	filter: hue-rotate(var(--cpv-matiz, 0deg));
	transition: transform .25s cubic-bezier(.3, 1.5, .5, 1), filter .25s;
}
.cpv-casa[data-dormir="castro"] { --cpv-matiz: 38deg; }
.cpv-casa[data-dormir="curitiba"] { --cpv-matiz: 175deg; }
.cpv-casa[data-dormir="outra"] { --cpv-matiz: 255deg; }
.cpv-casa.alvo img, .cpv-casa.escolhido img {
	transform: scale(1.08);
	filter: hue-rotate(var(--cpv-matiz, 0deg)) drop-shadow(0 0 10px rgba(255, 224, 140, .95));
}
.cpv-casa-txt {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 3.1em;
	padding: 4px 6px;
	background: rgba(255, 253, 248, .95);
	border: 2px solid transparent;
	border-radius: 10px;
}
.cpv-casa-txt strong { font-size: clamp(12.5px, 1.5vw, 15.5px); line-height: 1.2; }
.cpv-casa-txt small { font-size: clamp(11px, 1.2vw, 12.5px); line-height: 1.2; color: var(--cpv-tinta-suave); }
.cpv-casa.escolhido .cpv-casa-txt { background: var(--cpv-manteiga); border-color: #D9BE6A; }
.cpv-travesseiro {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 5;
	width: clamp(64px, 12%, 112px);
	cursor: grab;
	touch-action: none;
	transition: transform .5s cubic-bezier(.3, 1.3, .5, 1);
	will-change: transform;
}
.cpv-travesseiro.sem-transicao { transition: none; }
.cpv-travesseiro img {
	display: block;
	width: 100%;
	height: auto;
	pointer-events: none;
	filter: drop-shadow(0 4px 6px rgba(10, 16, 40, .5));
	animation: cpv-flutua 1.8s ease-in-out infinite alternate;
}
.cpv-travesseiro.pousado img { animation: none; transform: rotate(-8deg) scale(.82); }
.cpv-travesseiro.arrastando { cursor: grabbing; }
.cpv-travesseiro.arrastando img { animation: none; transform: rotate(6deg) scale(1.12); }
@keyframes cpv-flutua { from { transform: translateY(-6%) rotate(-4deg); } to { transform: translateY(6%) rotate(4deg); } }

.cpv-pernoite-extra { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; animation: cpv-entra .4s ease both; }
.cpv-pernoite-extra[hidden], .cpv-pernoite-dorme[hidden], .cpv-pernoite-msg[hidden] { display: none; }
.cpv-pernoite-dorme { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.cpv .cpv-pernoite-msg { margin: 0; font-family: "Young Serif", Georgia, serif; font-size: clamp(19px, 2.4vw, 24px); }
.cpv .cpv-subtitulo {
	margin: 6px 0 0;
	font-family: "Young Serif", Georgia, serif;
	font-weight: 400;
	font-size: clamp(19px, 2.4vw, 24px);
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	color: var(--cpv-tinta);
}
.cpv-camas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 860px; }
@media (max-width: 600px) { .cpv-camas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cpv .cpv-cama {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 10px 8px 12px;
	font-family: inherit;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	color: var(--cpv-tinta);
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 14px;
	box-shadow: 0 4px 0 var(--cpv-borda);
	cursor: pointer;
	touch-action: manipulation;
}
.cpv .cpv-cama:hover { border-color: var(--cpv-tijolo); background: #FFFDF8; color: var(--cpv-tinta); }
.cpv .cpv-cama.escolhido { border-color: var(--cpv-tijolo); background: #FFF4EA; }
.cpv-cama img { width: 100%; max-width: 130px; height: 96px; object-fit: contain; }
.cpv-cama strong { font-size: 16px; line-height: 1.2; }
.cpv-cama small { font-size: 13px; line-height: 1.25; color: var(--cpv-tinta-suave); }

.cpv-luas { position: relative; width: 100%; max-width: 860px; overflow: hidden; background: #1D2F55; border-radius: 16px; box-shadow: 0 0 0 2px var(--cpv-borda); }
.cpv-luas-ceu { position: absolute; left: 0; top: 0; width: 100%; height: 300%; object-fit: cover; object-position: 50% 0; pointer-events: none; }
.cpv-luas-linha { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 12px 10px 8px; }
.cpv .cpv-lua {
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 4px 2px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	color: rgba(255, 255, 255, .6);
	background: none;
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	cursor: pointer;
	touch-action: manipulation;
}
.cpv .cpv-lua:hover, .cpv .cpv-lua:focus { background: none; color: #fff; }
.cpv-lua img {
	width: 100%;
	max-width: 64px;
	height: auto;
	opacity: .28;
	filter: grayscale(1);
	transform: scale(.82);
	transition: opacity .25s, filter .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.cpv-lua.acesa { color: #FFE9A8; }
.cpv-lua.acesa img { opacity: 1; filter: drop-shadow(0 0 8px rgba(255, 224, 140, .9)); transform: none; }
.cpv .cpv-luas-txt { margin: 0; min-height: 1.5em; font-size: 16px; font-weight: 800; color: var(--cpv-tinta-suave); }
@media (prefers-reduced-motion: reduce) {
	.cpv-travesseiro, .cpv-casa img, .cpv-lua img { transition: none; }
	.cpv-travesseiro img, .cpv-pernoite-extra { animation: none; }
}


/* ---------- gastos ---------- */
.cpv-gastos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 940px; }
.cpv-gastos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1000px) {
	.cpv-gastos--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1040px; }
	.cpv-gastos--4 .cpv-gasto-cena, .cpv-gastos--3 .cpv-gasto-cena { aspect-ratio: 3 / 2; }
	.cpv-gastos--4 .cpv-gasto { padding: 12px 12px; }
	.cpv-gastos--4 .cpv-gasto-nome { display: flex; align-items: center; justify-content: center; min-height: 2.7em; font-size: 15.5px; line-height: 1.3; }
}
@media (max-width: 860px) { .cpv-gastos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cpv-gastos--3 .cpv-gasto:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 6px); } }
@media (max-width: 600px) { .cpv-gastos, .cpv-gastos--3 { grid-template-columns: 1fr; } .cpv-gastos--3 .cpv-gasto:last-child { width: 100%; } }
.cpv-gasto {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding: 12px 16px 12px;
	background: #FFFDF8;
	border: 2px solid var(--cpv-borda);
	border-radius: 16px;
	box-shadow: 0 4px 0 var(--cpv-borda);
}
.cpv-gasto.respondido { border-color: var(--cpv-salvia-borda); }
.cpv .cpv-gasto-nome { margin: 0; font-size: 17px; font-weight: 800; color: var(--cpv-tinta); }
.cpv-gasto-cena { position: relative; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: var(--cpv-papel); border-radius: 12px; user-select: none; }
.cpv-gasto-cena img { position: absolute; height: auto; pointer-events: none; -webkit-user-drag: none; }
.cpv-peca-fantasma { opacity: .22; filter: grayscale(1); transition: opacity .25s; }
.cpv-gasto.respondido .cpv-peca-fantasma { opacity: .12; }
.cpv-peca {
	opacity: 0;
	transform: translateY(-14%) scale(.5) rotate(var(--giro, 0deg));
	transition: opacity .22s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.cpv-peca.on { opacity: 1; transform: rotate(var(--giro, 0deg)); }
.cpv-regua { padding: 14px 18px 10px; cursor: pointer; touch-action: pan-y; border-radius: 12px; }
.cpv-regua:focus-visible { outline: 3px solid #2E5A9A; outline-offset: 2px; }
.cpv-regua-trilho { position: relative; height: 12px; background: #EFE3CF; border-radius: 999px; }
.cpv-regua-cheio { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--cpv-tijolo); border-radius: 999px; }
.cpv-regua-ponto { position: absolute; top: 50%; width: 10px; height: 10px; background: #fff; border: 2px solid #D9C7A8; border-radius: 50%; transform: translate(-50%, -50%); }
.cpv-regua-pino {
	position: absolute;
	top: 50%;
	left: 0;
	width: 34px;
	height: 34px;
	background: #fff;
	border: 4px solid var(--cpv-tijolo);
	border-radius: 50%;
	box-shadow: 0 3px 0 var(--cpv-tijolo-escuro);
	transform: translate(-50%, -50%) scale(0);
	transition: left .18s ease, transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.cpv-gasto.respondido .cpv-regua-pino { transform: translate(-50%, -50%) scale(1); }
.cpv-regua-cheio { transition: width .18s ease; }
.cpv-regua-pontas { display: flex; justify-content: space-between; gap: 8px; margin-top: -4px; font-size: 12.5px; font-weight: 700; color: var(--cpv-tinta-suave); }
.cpv .cpv-gasto-valor { margin: 0; text-align: center; font-size: 15px; font-weight: 700; color: var(--cpv-tinta-suave); }
.cpv .cpv-gasto.respondido .cpv-gasto-valor { font-family: "Young Serif", Georgia, serif; font-size: 21px; font-weight: 400; color: var(--cpv-tijolo-escuro); }
@media (prefers-reduced-motion: reduce) {
	.cpv-peca, .cpv-regua-pino, .cpv-regua-cheio { transition: none; }
}


/* ---------- avaliação da cidade ---------- */
.cpv-aval { display: flex; flex-direction: column; gap: 6px; width: min(100%, 760px); }
.cpv-aval-cena {
	position: relative;
	width: 100%;
	max-height: 52vh;
	aspect-ratio: 1150 / 715;
	margin: 0 auto;
	overflow: hidden;
	overflow: clip;
	background: var(--cpv-papel);
	border-radius: 16px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	user-select: none;
}
.cpv-aval-cena img { position: absolute; height: auto; pointer-events: none; -webkit-user-drag: none; }
.cpv .cpv-aval-cena .cpv-aval-fundo { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, filter .3s; }
.cpv-aval-fundo--suave { filter: saturate(.75) brightness(1.04); }
.cpv-aval:not(.respondido) .cpv-aval-fundo { opacity: .6; filter: grayscale(.5); }
.cpv-aval-cena .cpv-peca { transform-origin: 50% 50%; }
.cpv-aval-cena .cpv-peca.on { opacity: 1; }
.cpv-aval-cena .cpv-peca:not(.on) { opacity: 0; }
.cpv .cpv-aval-cena .cpv-aval-pessoa { left: 50%; bottom: 3%; top: auto; width: auto; height: 86%; transform: translateX(-50%); }
.cpv .cpv-aval-cena .cpv-peca.cpv-aval-pessoa:not(.on) { transform: translateX(-50%) scale(.92); }
.cpv-aval.respondido .cpv-peca-fantasma { opacity: 0; }
.cpv-aval-dica {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 5;
	padding: 8px 18px;
	font-size: 17px;
	font-weight: 800;
	white-space: nowrap;
	background: rgba(255, 253, 248, .95);
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	transform: translate(-50%, -50%);
	transition: opacity .3s;
	pointer-events: none;
}
.cpv-aval.respondido .cpv-aval-dica { opacity: 0; }
.cpv-aval-carro { position: absolute; left: 62%; top: 64%; z-index: 3; width: 12%; transform: translate(-50%, -50%) rotate(-16deg); }
.cpv .cpv-aval-cena .cpv-aval-carro img { position: static; display: block; width: 100%; }
.cpv-aval-carro[data-nivel="1"] img { animation: cpv-sacode .18s linear infinite; }
.cpv-aval-carro[data-nivel="2"] img { animation: cpv-sacode .3s linear infinite; }
.cpv-aval-carro[data-nivel="3"] img { animation: cpv-motor .45s ease-in-out infinite alternate; }
.cpv-aval-carro[data-nivel="4"] img, .cpv-aval-carro[data-nivel="5"] img { animation: cpv-motor .9s ease-in-out infinite alternate; }
@keyframes cpv-sacode {
	0% { transform: translate(0, 0) rotate(0); }
	25% { transform: translate(-2%, -6%) rotate(-3deg); }
	50% { transform: translate(1%, 2%) rotate(2deg); }
	75% { transform: translate(2%, -4%) rotate(-1deg); }
	100% { transform: translate(0, 0) rotate(0); }
}
.cpv-aval .cpv-regua-pontas { margin-top: -4px; }
.cpv .cpv-aval.respondido .cpv-gasto-valor { font-family: "Young Serif", Georgia, serif; font-size: clamp(20px, 2.4vw, 24px); font-weight: 400; color: var(--cpv-tijolo-escuro); }
.cpv-aval.respondido .cpv-regua-pino { transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce) {
	.cpv-aval-carro img { animation: none !important; }
}


/* ---------- informação ---------- */
.cpv-aval-cena .cpv-peca.cpv-aval-flutua.on { animation: cpv-flutua-int 1.6s ease-in-out infinite alternate; }
@keyframes cpv-flutua-int { from { margin-top: 0; } to { margin-top: -1.5%; } }

/* ---------- recomendação ---------- */
.cpv-nps {
	position: relative;
	width: min(100%, 900px);
	aspect-ratio: 1196 / 520;
	overflow: hidden;
	overflow: clip;
	border-radius: 16px;
	box-shadow: 0 0 0 2px var(--cpv-borda);
	user-select: none;
	-webkit-user-select: none;
}
.cpv-nps-fundo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; pointer-events: none; }
.cpv-nps-canteiro {
	position: absolute;
	left: 2%;
	right: 2%;
	bottom: 3%;
	height: 86%;
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	grid-template-rows: 1fr;
	align-items: end;
	touch-action: none;
	cursor: pointer;
}
.cpv .cpv-nps-tulipa {
	position: relative;
	appearance: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: inherit;
	background: none;
	border: 0;
	box-shadow: none;
	cursor: pointer;
	touch-action: none;
}
.cpv .cpv-nps-tulipa:hover, .cpv .cpv-nps-tulipa:focus { background: none; }
.cpv-nps-tulipa img {
	position: absolute;
	left: 50%;
	bottom: 11%;
	width: 100%;
	height: auto;
	max-width: none;
	pointer-events: none;
	-webkit-user-drag: none;
	transform-origin: 50% 100%;
	transition: opacity .25s, transform .4s cubic-bezier(.3, 1.6, .5, 1);
	transition-delay: inherit;
}
.cpv-nps-botao { opacity: .9; transform: translateX(-50%) scale(.86); filter: saturate(.6); }
.cpv-nps-aberta { opacity: 0; transform: translateX(-50%) scale(.5); }
.cpv-nps-tulipa.aberta .cpv-nps-botao { opacity: 0; transform: translateX(-50%) scale(.6); }
.cpv-nps-tulipa.aberta .cpv-nps-aberta { opacity: 1; transform: translateX(-50%) scale(1); }
.cpv-nps-tulipa span {
	position: relative;
	z-index: 2;
	min-width: 32px;
	padding: 2px 6px;
	font-size: clamp(14px, 1.7vw, 17px);
	font-weight: 800;
	color: var(--cpv-tinta);
	background: rgba(255, 253, 248, .94);
	border-radius: 999px;
	box-shadow: 0 0 0 1.5px var(--cpv-borda);
}
.cpv-nps-tulipa.aberta span { color: #fff; background: var(--cpv-tijolo); box-shadow: none; }
.cpv-nps-tulipa:focus-visible { outline: 3px solid #2E5A9A; outline-offset: 2px; border-radius: 10px; }
.cpv .cpv-btn--p.escolhido { color: #fff; background: var(--cpv-tijolo); box-shadow: 0 5px 0 var(--cpv-tijolo-escuro); }
.cpv .cpv-nps-valor { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; min-height: 3em; font-size: 17px; color: var(--cpv-tinta-suave); }
.cpv .cpv-nps-valor strong { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 1.35em; line-height: 1.1; color: var(--cpv-tijolo-escuro); }
@media (max-width: 600px) {
	.cpv-nps { aspect-ratio: 1 / 1; }
	.cpv-nps-fundo { object-position: 30% 100%; }
	.cpv-nps-canteiro { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 90%; }
	.cpv-nps-tulipa img { width: auto; height: 82%; }
}
@media (prefers-reduced-motion: reduce) {
	.cpv-nps-tulipa img { transition: none; }
	.cpv-aval-cena .cpv-peca.cpv-aval-flutua.on { animation: none; }
}
