/* Estilos dos blocos da Citrino (fundo escuro). Usam as variáveis do tema, com cores de reserva. */

/* Formulário */
.citrino-form { display: grid; gap: 1rem; }
.citrino-form__field { display: grid; gap: 0.35rem; }
.citrino-form label { font-size: 0.75rem; font-weight: 400; color: rgb(255 255 255 / 0.62); }
.citrino-form__hint { margin: 0; font-size: 0.75rem; color: rgb(255 255 255 / 0.45); }
.citrino-form input[type="text"],
.citrino-form input[type="email"],
.citrino-form textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 16px; /* evita zoom do iPhone ao focar */
	color: #fff;
	background: rgb(255 255 255 / 0.04);
	border: 1px solid rgb(255 255 255 / 0.12);
	border-radius: 8px;
	padding: 0.6rem 0.85rem;
	min-height: 42px;
	transition: border-color 0.2s, background-color 0.2s;
}
@media (min-width: 640px) {
	.citrino-form input[type="text"],
	.citrino-form input[type="email"],
	.citrino-form textarea { font-size: 0.875rem; }
}
.citrino-form ::placeholder { color: rgb(255 255 255 / 0.35); }
.citrino-form textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.citrino-form input:focus-visible,
.citrino-form textarea:focus-visible { border-color: rgb(243 168 59 / 0.7); background: rgb(255 255 255 / 0.07); outline: none; }
.citrino-form .has-error input,
.citrino-form .has-error textarea { border-color: rgb(248 113 113 / 0.7); }
.citrino-form__error { margin: 0; color: #fca5a5; font-size: 0.75rem; }
.citrino-form__check { grid-template-columns: auto 1fr; align-items: start; column-gap: 0.6rem; }
.citrino-form__check input { width: 1rem; height: 1rem; margin-top: 0.2rem; accent-color: var(--wp--preset--color--citrine, #f3a83b); }
.citrino-form__check label { font-size: 0.8125rem; line-height: 1.5; }
.citrino-form__check label a { color: var(--wp--preset--color--gold, #ffd27a); }
.citrino-form__check .citrino-form__error { grid-column: 2; }
.citrino-form__notice { border-radius: 8px; padding: 0.75rem 0.9rem; font-size: 0.8125rem; }
.citrino-form__notice.is-success { background: rgb(16 185 129 / 0.12); color: #6ee7b7; border: 1px solid rgb(110 231 183 / 0.3); }
.citrino-form__notice.is-error { background: rgb(248 113 113 / 0.1); color: #fca5a5; border: 1px solid rgb(252 165 165 / 0.3); }
.citrino-form__notice a { margin-left: 0.4rem; color: inherit; }
.citrino-form button { cursor: pointer; border: 0; }

/* Honeypot: fora da tela, mas não display:none (alguns robôs ignoram campos ocultos). */
.citrino-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Modo prévia: faixa fina no topo */
.citrino-previa {
	position: relative;
	z-index: 60;
	background: var(--wp--preset--color--bronze, #8b6d4f);
	color: #fff;
	text-align: center;
	font-size: 0.75rem;
	line-height: 1.3;
	padding: 6px 16px;
}

/* E-mail e redes sociais */
.citrino-email { margin: 1.25rem 0 0; font-size: 0.875rem; }
.citrino-email a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.citrino-email a:hover { color: var(--wp--preset--color--citrine, #f3a83b); }
.citrino-redes { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.citrino-redes a {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid rgb(255 255 255 / 0.15);
	border-radius: 50%;
	color: rgb(255 255 255 / 0.7);
	transition: color 0.2s, border-color 0.2s;
}
.citrino-redes a:hover { color: var(--wp--preset--color--citrine, #f3a83b); border-color: rgb(243 168 59 / 0.6); }
.citrino-redes svg { width: 14px; height: 14px; }
.citrino-editor-vazio { margin: 0; padding: 0.5rem; font-size: 12px; opacity: 0.7; border: 1px dashed currentColor; border-radius: 6px; }
