/* Aúnika Eventos — checkout
   Paleta azul/branco: tinta naval profunda, azul-royal de acento, céus claros.
   Tom: limpo, confiante, profissional. */

.aunika-checkout {
	--aun-tinta: #0a2540;
	--aun-acento: #1b5fd9;
	--aun-acento-escuro: #1546a8;
	--aun-acento-claro: #e8f0fc;
	--aun-borda: #dbe3ee;
	--aun-fundo: #f5f8fc;
	--aun-texto: #1f2a3a;
	--aun-suave: #64748b;
	--aun-sucesso: #0d9488;
	max-width: 1040px;
	margin: 0 auto;
	color: var(--aun-texto);
	font-size: 15px;
	line-height: 1.5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.aunika-checkout * { box-sizing: border-box; }
.aunika-checkout [hidden] { display: none !important; }

/* Cabeçalho com faixa azul (signature) */
.aunika-hero {
	position: relative;
	overflow: hidden;
	background: var(--aun-tinta);
	border-radius: 16px;
	padding: 40px 36px;
	margin-bottom: 28px;
	color: #fff;
}
.aunika-hero__pattern {
	position: absolute;
	inset: 0;
	background-image: radial-gradient( circle at 1px 1px, rgba(255,255,255,0.16) 1px, transparent 0 );
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient( 105deg, transparent 40%, #000 100% );
	mask-image: linear-gradient( 105deg, transparent 40%, #000 100% );
}
.aunika-hero::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 38%;
	background: linear-gradient( 120deg, transparent 0, var(--aun-acento) 140% );
	clip-path: polygon( 28% 0, 100% 0, 100% 100%, 0 100% );
	opacity: .9;
}
.aunika-hero__content { position: relative; z-index: 1; }
.aunika-hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #bcd4f7;
	margin-bottom: 10px;
}
.aunika-hero__titulo {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 8px;
	color: #fff;
	letter-spacing: -0.01em;
}
.aunika-hero__sub {
	margin: 0;
	font-size: 15px;
	color: #c9d8ee;
}

/* Barra de etapas */
.aunika-steps {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	flex-wrap: wrap;
}
.aunika-steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--aun-suave);
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--aun-fundo);
	border: 1px solid var(--aun-borda);
}
.aunika-steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #d7dbe2;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}
.aunika-steps li.is-active {
	color: var(--aun-tinta);
	border-color: var(--aun-acento);
	background: #fff;
}
.aunika-steps li.is-active span { background: var(--aun-acento); }

/* Grid principal + resumo */
.aunika-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 28px;
	align-items: start;
}
.aunika-main {
	background: #fff;
	border: 1px solid var(--aun-borda);
	border-radius: 12px;
	padding: 28px;
}

/* Painéis (etapas) */
.aunika-panel { display: none; }
.aunika-panel.is-active { display: block; }
.aunika-panel h2 {
	margin: 0 0 20px;
	font-size: 22px;
	color: var(--aun-tinta);
}

/* Lista de ingressos */
.aunika-ingressos { list-style: none; margin: 0; padding: 0; }
.aunika-ingresso {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--aun-borda);
}
.aunika-ingresso:last-child { border-bottom: 0; }
.aunika-ingresso h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--aun-tinta);
	display: flex;
	align-items: center;
	gap: 8px;
}
.aunika-tag-vip {
	background: var(--aun-tinta);
	color: var(--aun-acento);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 2px 8px;
	border-radius: 4px;
}
.aunika-ingresso__direitos {
	margin: 0 0 8px;
	font-size: 13px;
	color: var(--aun-suave);
}
.aunika-ingresso__preco {
	font-weight: 700;
	color: var(--aun-tinta);
}

/* Seletor de quantidade */
.aunika-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--aun-borda);
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}
.aunika-qty__btn {
	width: 38px;
	height: 38px;
	border: 0;
	background: var(--aun-fundo);
	font-size: 18px;
	cursor: pointer;
	color: var(--aun-tinta);
}
.aunika-qty__btn:hover { background: #eef0f3; }
.aunika-qty__input {
	width: 48px;
	height: 38px;
	border: 0;
	text-align: center;
	font-size: 15px;
	-moz-appearance: textfield;
}
.aunika-qty__input::-webkit-outer-spin-button,
.aunika-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Campos de formulário */
.aunika-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
.aunika-campo {
	display: block;
	margin-bottom: 16px;
}
.aunika-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--aun-tinta);
	margin-bottom: 6px;
}
.aunika-checkout input[type="text"],
.aunika-checkout input[type="email"],
.aunika-checkout input[type="number"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--aun-borda);
	border-radius: 8px;
	font-size: 14px;
	background: #fff;
}
.aunika-checkout input:focus {
	outline: 2px solid var(--aun-acento);
	outline-offset: 0;
	border-color: var(--aun-acento);
}
.aunika-campo label { font-weight: 400; margin-right: 16px; }

/* Participantes */
.aunika-participante {
	border: 1px solid var(--aun-borda);
	border-radius: 10px;
	padding: 18px;
	margin-bottom: 16px;
}
.aunika-participante h4 {
	margin: 0 0 14px;
	font-size: 15px;
	color: var(--aun-acento-escuro);
}
.aunika-hint, .aunika-empty {
	font-size: 13px;
	color: var(--aun-suave);
	margin: 0 0 16px;
}

/* Ações */
.aunika-acoes {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}
.aunika-acoes:only-child,
.aunika-acoes:first-child { justify-content: flex-end; }
.aunika-btn {
	padding: 11px 22px;
	border: 1px solid var(--aun-borda);
	background: #fff;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: var(--aun-tinta);
}
.aunika-btn:hover { background: var(--aun-fundo); }
.aunika-btn--primary {
	background: var(--aun-acento);
	border-color: var(--aun-acento);
	color: #fff;
	margin-left: auto;
}
.aunika-btn--primary:hover { background: var(--aun-acento-escuro); border-color: var(--aun-acento-escuro); }
.aunika-btn:disabled { opacity: .6; cursor: default; }

/* Resumo lateral */
.aunika-resumo {
	background: #fff;
	border: 1px solid var(--aun-borda);
	border-radius: 12px;
	padding: 22px;
	position: sticky;
	top: 20px;
}
.aunika-resumo h3 {
	margin: 0 0 16px;
	font-size: 16px;
	color: var(--aun-tinta);
}
.aunika-resumo__itens {
	list-style: none;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--aun-borda);
	font-size: 13px;
	color: var(--aun-suave);
}
.aunika-resumo__itens li { margin-bottom: 6px; }
.aunika-resumo__linha {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	margin-bottom: 8px;
}
.aunika-resumo__total {
	border-top: 1px solid var(--aun-borda);
	padding-top: 12px;
	margin-top: 4px;
	font-size: 17px;
	color: var(--aun-tinta);
}

/* Login gate */
.aunika-login-gate {
	max-width: 420px;
	background: #fff;
	border: 1px solid var(--aun-borda);
	border-radius: 12px;
	padding: 28px;
}
.aunika-login-links { margin-top: 14px; font-size: 13px; }

/* Responsivo */
@media ( max-width: 860px ) {
	.aunika-grid { grid-template-columns: 1fr; }
	.aunika-resumo { position: static; order: -1; }
	.aunika-row { grid-template-columns: 1fr; gap: 0; }
}

/* Respeita preferências de movimento */
@media ( prefers-reduced-motion: reduce ) {
	html { scroll-behavior: auto; }
}

/* Cupom */
.aunika-cupom {
	margin: 20px 0;
	padding: 18px;
	background: var(--aun-fundo);
	border: 1px solid var(--aun-borda);
	border-radius: 10px;
}
.aunika-cupom__campo {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}
.aunika-cupom__input {
	flex: 1;
	text-transform: uppercase;
}
.aunika-cupom__feedback {
	margin: 10px 0 0;
	font-size: 13px;
	min-height: 18px;
}
.aunika-cupom__feedback.is-ok { color: #1f7a3d; }
.aunika-cupom__feedback.is-erro { color: #c0392b; }
.aunika-cupom__feedback.is-vip {
	color: var(--aun-acento-escuro);
	font-weight: 600;
}

/* Pagamento */
.aunika-pgto-escolha {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}
.aunika-pgto-opcao {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--aun-borda);
	border-radius: 10px;
	cursor: pointer;
}
.aunika-pgto-opcao small { color: var(--aun-suave); }
.aunika-pgto-opcao input { accent-color: var(--aun-acento); }

.aunika-pgto-status {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--aun-borda);
}
.aunika-pgto-status h3 {
	margin: 0 0 12px;
	color: var(--aun-tinta);
}
.aunika-pgto-pix__img {
	display: block;
	width: 220px;
	height: 220px;
	margin: 0 0 12px;
	border: 1px solid var(--aun-borda);
	border-radius: 8px;
	background: #fff;
}
.aunika-pgto-copia {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	max-width: 520px;
}
.aunika-pgto-copia input {
	flex: 1;
	font-family: ui-monospace, monospace;
	font-size: 12px;
}
.aunika-pgto-cortesia {
	background: #f0f8f2;
	border: 1px solid #bfe3cb;
	border-radius: 10px;
	padding: 18px;
}

/* Cartão */
.aunika-cartao {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--aun-borda);
	border-radius: 10px;
	background: var(--aun-fundo);
}

/* Credencial pública */
.aunika-cred {
	border: 1px solid var(--aun-borda);
	border-radius: 14px;
	padding: 28px 24px;
	background: #fff;
	text-align: center;
}
.aunika-cred__selo {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}
.aunika-cred--ok .aunika-cred__selo { background: #e6f5ec; color: #1f7a3d; }
.aunika-cred--pendente .aunika-cred__selo { background: #fdf0e6; color: var(--aun-acento-escuro); }
.aunika-cred--invalida { text-align: center; }
.aunika-cred h1 { font-size: 24px; color: var(--aun-tinta); margin: 0 0 4px; }
.aunika-cred__empresa { color: var(--aun-suave); margin: 0 0 18px; }
.aunika-cred__bloco {
	text-align: left;
	border-top: 1px solid var(--aun-borda);
	padding-top: 14px;
	margin-top: 14px;
}
.aunika-cred__bloco ul { margin: 6px 0 0; padding-left: 18px; }
.aunika-cred__checkin {
	margin-top: 16px;
	font-size: 13px;
	color: #1f7a3d;
	font-weight: 600;
}

/* Leitor de check-in */
.aunika-leitor__video-wrap {
	background: #000;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin: 16px 0;
}
.aunika-leitor__video { width: 100%; height: 100%; object-fit: cover; }
.aunika-leitor__acoes { display: flex; gap: 10px; }
.aunika-leitor__resultado {
	margin-top: 18px;
	padding: 16px;
	border-radius: 10px;
	min-height: 24px;
	background: var(--aun-fundo);
}
.aunika-leitor__resultado.is-ok { background: #e6f5ec; color: #145a2c; }
.aunika-leitor__resultado.is-erro { background: #fbe9e7; color: #a52714; }
.aunika-leitor__resultado.is-aviso { background: #fdf6e3; color: #8a6d1a; }
.aunika-leitor__resultado ul { margin: 8px 0 0; padding-left: 18px; }
.aunika-leitor__manual { margin-top: 18px; }
.aunika-leitor__manual summary { cursor: pointer; font-size: 14px; color: var(--aun-suave); }

/* Landing */
.aunika-landing {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 28px;
	align-items: start;
}
.aunika-landing__desc { color: var(--aun-texto); margin-bottom: 20px; }
.aunika-landing__texto h3 { color: var(--aun-tinta); font-size: 18px; margin: 18px 0 8px; }

/* Caixa de ingressos (lateral) */
.aunika-ingressos-box {
	border: 1px solid var(--aun-borda);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	position: sticky;
	top: 20px;
}
.aunika-ingressos-box__head {
	background: var(--aun-tinta);
	color: #fff;
	padding: 14px 18px;
	font-weight: 700;
}
.aunika-ingressos-box__body { padding: 8px 18px 18px; }
.aunika-ingresso__lote { font-size: 11px; font-weight: 700; color: var(--aun-acento); text-transform: uppercase; letter-spacing: .04em; }
.aunika-ingresso h4 { margin: 2px 0 6px; font-size: 15px; color: var(--aun-tinta); display: flex; align-items: center; gap: 8px; }
.aunika-ingressos-box__total {
	display: flex; justify-content: space-between; align-items: center;
	border-top: 1px solid var(--aun-borda); margin-top: 12px; padding-top: 14px;
	font-size: 16px; color: var(--aun-tinta);
}
.aunika-btn--bloco { width: 100%; margin-top: 12px; margin-left: 0; }

/* Botão de comprar verde como referência? Mantemos azul para coesão. */

/* Obrigatórios */
.aunika-obrig { color: #c0392b; font-size: 13px; margin: 0 0 18px; }

/* Questionário */
.aunika-q { border: 1px solid var(--aun-borda); border-radius: 10px; padding: 16px 18px; margin-bottom: 16px; }
.aunika-q h3 { margin: 0 0 12px; font-size: 15px; color: var(--aun-tinta); background: var(--aun-acento-claro); padding: 8px 12px; border-radius: 6px; }
.aunika-checkout .aunika-opt {
	display: flex !important;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: 14px;
	cursor: pointer;
	float: none !important;
	width: auto !important;
}
.aunika-checkout .aunika-opt input[type="radio"],
.aunika-checkout .aunika-opt input[type="checkbox"] {
	accent-color: var(--aun-acento);
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	flex: 0 0 auto;
	float: none !important;
}
.aunika-checkout .aunika-q-input { width: 100%; margin-top: 8px; }
.aunika-q__especificar { margin-top: 10px; }

.aunika-pgto-titulo { color: var(--aun-tinta); font-size: 17px; margin: 24px 0 12px; border-top: 1px solid var(--aun-borda); padding-top: 18px; }

/* Modal de login/cadastro */
.aunika-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.aunika-modal[hidden] { display: none; }
.aunika-modal__overlay { position: absolute; inset: 0; background: rgba(10,37,64,.55); }
.aunika-modal__box {
	position: relative; z-index: 1; background: #fff; border-radius: 14px;
	width: 100%; max-width: 440px; padding: 0 0 28px; overflow: hidden;
	box-shadow: 0 20px 60px rgba(10,37,64,.3);
}
.aunika-modal__x {
	position: absolute; top: 10px; right: 12px; z-index: 2;
	border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: #fff;
}
.aunika-modal__head {
	background: var(--aun-tinta); color: #fff; padding: 22px 28px;
	display: flex; flex-direction: column; gap: 2px;
}
.aunika-modal__head strong { font-size: 18px; }
.aunika-modal__head span { font-size: 12px; color: #bcd4f7; text-transform: uppercase; letter-spacing: .06em; }
.aunika-modal__pane { padding: 24px 28px 0; }
.aunika-modal__pane h3 { color: var(--aun-tinta); font-size: 18px; margin: 0 0 4px; }
.aunika-modal__sub { color: var(--aun-suave); font-size: 14px; margin: 0 0 12px; }
.aunika-modal__troca { font-size: 14px; margin: 0 0 16px; }
.aunika-modal__troca a { color: var(--aun-acento); font-weight: 600; text-decoration: none; }
.aunika-modal__erro { color: #c0392b; font-size: 13px; min-height: 16px; margin: 4px 0 0; }

/* Resumo: itens com nome + valor */
.aunika-resumo__itens li { display: flex; justify-content: space-between; gap: 10px; }

/* Área do participante */
.aunika-area .aunika-hero { margin-bottom: 24px; }
.aunika-pedido-card {
	background: #fff; border: 1px solid var(--aun-borda); border-radius: 12px;
	margin-bottom: 20px; overflow: hidden;
}
.aunika-pedido-card__head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 20px; background: var(--aun-fundo); border-bottom: 1px solid var(--aun-borda);
	flex-wrap: wrap; gap: 8px;
}
.aunika-pedido-card__status {
	display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700;
	color: #0d9488; background: #e6f5ec; padding: 2px 10px; border-radius: 999px; vertical-align: middle;
}
.aunika-pedido-card__contagem { font-size: 13px; color: var(--aun-suave); }
.aunika-participantes-lista { padding: 18px 20px; }
.aunika-part-form { border: 1px solid var(--aun-borda); border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; }
.aunika-part-form h4 { margin: 0 0 14px; font-size: 15px; color: var(--aun-tinta); }
.aunika-part-form h4 small { color: var(--aun-suave); font-weight: 400; }
.aunika-part-ok { color: #0d9488; font-size: 12px; font-weight: 700; margin-left: 8px; }
.aunika-part-form__acao { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.aunika-part-form__feedback { font-size: 13px; }
.aunika-part-form__feedback.is-ok { color: #0d9488; }
.aunika-part-form__feedback.is-erro { color: #c0392b; }
.aunika-part-form__cred { color: var(--aun-acento); font-size: 13px; font-weight: 600; text-decoration: none; }
.aunika-q-input { width: 100%; }

/* Barra de usuário logado */
.aunika-userbar {
	display: flex; justify-content: space-between; align-items: center;
	flex-wrap: wrap; gap: 8px;
	background: var(--aun-acento-claro); border: 1px solid var(--aun-borda);
	border-radius: 10px; padding: 10px 16px; margin-bottom: 16px; font-size: 14px;
}
.aunika-userbar__acoes a {
	color: var(--aun-acento); font-weight: 600; text-decoration: none; margin-left: 16px;
}
.aunika-userbar__acoes a:hover { text-decoration: underline; }

/* Resumo / total mais respirado dentro do quadro */
.aunika-ingressos-box__total {
	flex-direction: column; align-items: stretch; gap: 4px;
	background: var(--aun-acento-claro); border-radius: 8px;
	padding: 14px 16px; margin-top: 14px; border-top: none;
}
.aunika-ingressos-box__total span { font-size: 13px; color: var(--aun-suave); }
.aunika-ingressos-box__total strong { font-size: 22px; color: var(--aun-tinta); }
