/* Pro Campus Site — páginas com formulário (Ouvidoria, Ex-alunos). */

.pc-fp-body { padding-top: clamp(32px, 4vw, 44px); background: linear-gradient(180deg, var(--pc-mint-2) 0%, var(--pc-mint) 100%); }
.pc-fp .pc-strip-wrap--cards { margin-bottom: 0; }
.pc-fp .pc-phero { padding-bottom: 40px; }
.pc-fp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 2.4vw, 28px); align-items: start; }
.pc-fp-main { min-width: 0; }

/* Cartão do formulário */
.pc-f, .pc-fp-success { padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 34px) clamp(26px, 3vw, 36px); border-radius: var(--pc-radius-lg); background: #fff; border: 1px solid var(--pc-line); box-shadow: var(--pc-shadow); }
.pc-f__title { font-size: clamp(26px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.025em; color: var(--pc-green-900); }
.pc-f__req { margin: 6px 0 22px; font-size: 13px; color: var(--pc-muted); }
.pc-f-head { margin-bottom: 18px; }
.pc-f-head__text { margin-top: 10px; font-size: 14.5px; color: var(--pc-muted); }

.pc-f-section { padding-block: 26px; border-top: 1px solid var(--pc-line); }
.pc-f-section:first-of-type, .pc-f__req + .pc-f-section, .pc-f-alert + .pc-f-section { border-top: 0; padding-top: 4px; }
.pc-f-section__title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; color: var(--pc-green-900); padding: 0; }
.pc-f-section__title span { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--pc-green-900); color: #fff; font-size: 14px; font-weight: 800; }
.pc-f-section--end { display: grid; gap: 20px; justify-items: start; }

.pc-f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.pc-f-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pc-f-field { margin: 0 0 18px; min-width: 0; border: 0; padding: 0; }
.pc-f-label { display: block; margin-bottom: 7px; font-size: 13.5px; font-weight: 700; color: var(--pc-green-900); }
.pc-f-req { color: var(--pc-orange); }
.pc-f-opt { font-weight: 500; color: var(--pc-muted); }
.pc-f-field input:not([type="checkbox"]):not([type="radio"]), .pc-f-field select, .pc-f-field textarea {
	width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid #D8DFD3; border-radius: var(--pc-radius-sm);
	background: var(--pc-mint-2); font-family: var(--pc-font); font-size: 14.5px; color: var(--pc-text); -webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.pc-f-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.pc-f-field ::placeholder { color: #8C968E; }
.pc-f-field input:focus, .pc-f-field select:focus, .pc-f-field textarea:focus { outline: none; border-color: var(--pc-green-700); background: #fff; box-shadow: 0 0 0 3px rgba(23, 112, 46, .14); }
.pc-f-select { position: relative; }
.pc-f-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--pc-green-900); border-bottom: 2px solid var(--pc-green-900); transform: rotate(45deg); pointer-events: none; }
.pc-f-select select { padding-right: 44px; cursor: pointer; }
.pc-f-hint { margin-top: 6px; font-size: 12.5px; color: var(--pc-muted); }
.pc-f-hint--top { margin: -2px 0 12px; }
.pc-f-counter { display: block; margin-top: 6px; text-align: right; font-size: 12px; color: var(--pc-muted); }
.pc-f-error { margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #C0392B; }
.pc-f-field.has-error input:not([type="checkbox"]):not([type="radio"]), .pc-f-field.has-error select, .pc-f-field.has-error textarea { border-color: #C0392B; background: #FFF8F6; }
.pc-f-alert { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--pc-radius-sm); background: #FFF1E8; color: #8A3A00; font-size: 14px; font-weight: 600; }
.pc-f-alert .pc-ico { width: 20px; height: 20px; margin-top: 1px; }

/* Checkbox */
.pc-f-check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: var(--pc-text); }
.pc-f-check input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.pc-f-check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid #AEB8AF; border-radius: 4px; background: #fff; transition: background .2s, border-color .2s; }
.pc-f-check input:checked + .pc-f-check__box { border-color: var(--pc-green-700); background: var(--pc-green-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pc-f-check input:focus-visible + .pc-f-check__box { outline: 3px solid var(--pc-orange); outline-offset: 2px; }
.pc-f-check__text strong { font-weight: 700; color: var(--pc-green-900); }
.pc-f-check__text a { display: inline-block; font-weight: 700; color: var(--pc-green-700); text-decoration: underline; text-underline-offset: 3px; }
.pc-f-field--checkbox { margin-bottom: 0; }
.pc-f-switch { margin: 2px 0 22px; }
.pc-f-switch .pc-f-hint { margin: 2px 0 0 32px; }

/* Cartões de opção (tipo de manifestação etc.) */
.pc-f-tiles-wrap > .pc-f-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pc-f-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pc-f-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc-f-tiles--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-f-tile { position: relative; display: block; cursor: pointer; }
.pc-f-tile input { position: absolute; opacity: 0; pointer-events: none; }
.pc-f-tile__body {
	display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 18px 20px; border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius);
	background: #fff; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--pc-ease);
}
.pc-f-tile:hover .pc-f-tile__body { border-color: #B9CCB0; transform: translateY(-2px); }
.pc-f-tile__icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: var(--pc-radius-sm); color: var(--pc-green-700); }
.pc-f-tile__icon .pc-ico { width: 28px; height: 28px; stroke-width: 1.6; }
i.pc-f-tile__icon { font-size: 22px; }
.pc-f-tile--yellow .pc-f-tile__icon { color: #C9A400; background: #FFF8D6; }
.pc-f-tile--orange .pc-f-tile__icon { color: var(--pc-orange); background: #FFEDDF; }
.pc-f-tile--yellow .pc-f-tile__icon .pc-ico, .pc-f-tile--orange .pc-f-tile__icon .pc-ico { width: 22px; height: 22px; }
.pc-f-tile__title { font-size: 15px; font-weight: 800; color: var(--pc-green-900); }
.pc-f-tile__desc { font-size: 13px; line-height: 1.4; color: var(--pc-muted); }
.pc-f-tile__mark { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pc-green-700); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--pc-ease); }
.pc-f-tile__mark .pc-ico { width: 14px; height: 14px; stroke-width: 3; }
.pc-f-tile input:checked ~ .pc-f-tile__body { border-color: var(--pc-green-700); background: var(--pc-mint-2); box-shadow: 0 0 0 1px var(--pc-green-700) inset; }
.pc-f-tile input:checked ~ .pc-f-tile__mark { opacity: 1; transform: none; }
.pc-f-tile input:focus-visible ~ .pc-f-tile__body { outline: 3px solid var(--pc-orange); outline-offset: 2px; }
.pc-f-tiles--compact .pc-f-tile__body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 12px 40px 12px 14px; }
.pc-f-tiles--compact .pc-f-tile__icon { width: auto; height: auto; margin: 0; }
.pc-f-tiles--compact .pc-f-tile__icon .pc-ico { width: 18px; height: 18px; }
.pc-f-tiles--compact .pc-f-tile__desc { flex-basis: 100%; }
.has-error .pc-f-tile__body { border-color: #E3A39A; }

/* Captcha */
.pc-f-captcha { width: 100%; max-width: 100%; padding: 18px 20px; border: 1.5px dashed #C9D3C5; border-radius: var(--pc-radius); background: var(--pc-mint-2); }
.pc-f-captcha__title { margin-bottom: 12px; font-size: 13.5px; font-weight: 700; color: var(--pc-green-900); }
.pc-captcha { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; font-size: 14px; }
.pc-captcha label { font-size: 14px; }
.pc-captcha__input, .pc-captcha input[type="text"] { width: 90px !important; min-height: 44px; padding: 8px 12px; border: 1px solid #D8DFD3; border-radius: var(--pc-radius-sm); background: #fff; font: inherit; font-size: 16px; text-align: center; }

.pc-f-submit { min-width: 250px; }
.pc-f-submit.is-sending { opacity: .7; pointer-events: none; }

/* Assistente (Ex-alunos) */
.pc-f-progress { display: flex; gap: 8px; margin: 0 0 22px; list-style: none; counter-reset: none; }
.pc-f-progress li { display: flex; align-items: center; gap: 8px; flex: 1; padding: 10px 12px; border-radius: var(--pc-pill); background: var(--pc-mint-2); font-size: 13px; font-weight: 700; color: var(--pc-muted); }
.pc-f-progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid var(--pc-line); font-size: 12px; }
.pc-f-progress li.is-active { background: var(--pc-green-900); color: #fff; }
.pc-f-progress li.is-active span { background: var(--pc-orange); border-color: var(--pc-orange); color: #fff; }
.pc-f-progress li.is-done span { background: var(--pc-green-700); border-color: var(--pc-green-700); color: #fff; }
.pc-f-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.pc-f-step > legend { float: left; width: 100%; }
.pc-f-step > legend + * { clear: both; }
.pc-f.is-js .pc-f-step { display: none; }
.pc-f.is-js .pc-f-step.is-active { display: block; animation: pc-fade .35s var(--pc-ease); }
@keyframes pc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pc-f-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 10px; width: 100%; }
.pc-f-nav .pc-btn:only-child { margin-left: auto; }

/* Lateral */
.pc-fp-aside { display: grid; gap: 20px; position: sticky; top: 110px; }
.pc-fp-card { padding: 24px 22px; border-radius: var(--pc-radius-lg); background: #fff; border: 1px solid var(--pc-line); box-shadow: var(--pc-shadow); }
.pc-fp-card__title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--pc-green-900); }
.pc-fp-card__text { margin: 8px 0 16px; font-size: 13.5px; line-height: 1.55; color: var(--pc-text); }
.pc-fp-units { display: grid; gap: 10px; list-style: none; }
.pc-fp-units a { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: var(--pc-radius); border: 1px solid var(--pc-line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--pc-ease); }
.pc-fp-units a:hover { border-color: var(--pc-green-700); box-shadow: var(--pc-shadow); transform: translateY(-1px); }
.pc-fp-units__icon { color: var(--pc-green-700); }
.pc-fp-units__icon .pc-ico { width: 30px; height: 30px; }
.pc-fp-units__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pc-fp-units__text strong { font-size: 14px; font-weight: 800; color: var(--pc-green-900); }
.pc-fp-units__text small { font-size: 12px; font-weight: 600; color: var(--pc-green-700); }
.pc-fp-units__go { color: var(--pc-green-900); }
.pc-fp-units__go .pc-ico { width: 16px; height: 16px; }
.pc-fp-card__hours { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.45; color: var(--pc-text); }
.pc-fp-card__hours .pc-ico { width: 20px; height: 20px; color: var(--pc-green-700); }
.pc-fp-steps ol { position: relative; display: grid; gap: 22px; margin-top: 20px; list-style: none; counter-reset: pcstep; }
.pc-fp-steps ol::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 26px; width: 1.5px; background: var(--pc-line); }
.pc-fp-steps li { position: relative; padding-left: 52px; font-size: 13px; line-height: 1.5; color: var(--pc-muted); counter-increment: pcstep; }
.pc-fp-steps li::before { content: counter(pcstep); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--pc-green-900); color: #fff; font-size: 13px; font-weight: 800; }
.pc-fp-steps li strong { display: block; margin-bottom: 2px; font-size: 14.5px; font-weight: 800; color: var(--pc-green-900); }
.pc-fp-lookup { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pc-line); }
.pc-fp-lookup__title { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--pc-green-900); }
.pc-fp-lookup__box summary { cursor: pointer; list-style: none; color: var(--pc-green-700); }
.pc-fp-lookup__box summary::-webkit-details-marker { display: none; }
.pc-fp-lookup__form { display: grid; gap: 10px; margin-top: 14px; }
.pc-fp-lookup__form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--pc-green-900); }
.pc-fp-lookup__form input { min-height: 42px; padding: 8px 12px; border: 1px solid #D8DFD3; border-radius: var(--pc-radius-sm); background: var(--pc-mint-2); font: inherit; font-size: 14px; }
.pc-fp-lookup__form .pc-btn { min-height: 42px; }
.pc-fp-lookup__result { display: grid; gap: 2px; margin-bottom: 12px; padding: 12px 14px; border-radius: var(--pc-radius-sm); font-size: 13px; }
.pc-fp-lookup__result.is-ok { background: var(--pc-mint); color: var(--pc-green-900); }
.pc-fp-lookup__result.is-ok strong { font-size: 18px; }
.pc-fp-lookup__result.is-error { background: #FFF1E8; color: #8A3A00; }
.pc-fp-perks { display: grid; gap: 14px; margin-top: 16px; list-style: none; }
.pc-fp-perks li { display: flex; gap: 12px; font-size: 13px; line-height: 1.45; color: var(--pc-muted); }
.pc-fp-perks .pc-ico { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; color: var(--pc-green-700); }
.pc-fp-perks strong { display: block; font-size: 14px; color: var(--pc-green-900); }
.pc-fp-note p:not(.pc-fp-card__title) { margin-top: 8px; font-size: 13.5px; color: var(--pc-muted); }

/* Sucesso */
.pc-fp-success { text-align: left; }
.pc-fp-success__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 50%; background: var(--pc-green-700); color: #fff; }
.pc-fp-success__icon .pc-ico { width: 30px; height: 30px; stroke-width: 2.6; }
.pc-fp-success__title { margin-bottom: 10px; font-size: clamp(26px, 2.6vw, 34px); }
.pc-fp-success > p { max-width: 560px; font-size: 15px; color: var(--pc-text); }
.pc-fp-protocol { display: inline-flex; flex-direction: column; gap: 2px; margin: 22px 0 16px; padding: 16px 26px; border-radius: var(--pc-radius); background: var(--pc-mint); border: 1.5px dashed var(--pc-green-700); }
.pc-fp-protocol span { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pc-green-700); }
.pc-fp-protocol strong { font-size: 30px; font-weight: 800; letter-spacing: .02em; color: var(--pc-green-900); }
.pc-fp-success__note { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 14px; color: var(--pc-muted); }
.pc-fp-success__note .pc-ico { width: 18px; height: 18px; color: var(--pc-green-700); }

@media (max-width: 1023px) {
	.pc-fp-grid { grid-template-columns: 1fr; }
	.pc-fp-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.pc-fp-aside { grid-template-columns: 1fr; }
	.pc-f-row, .pc-f-row--3 { grid-template-columns: 1fr; }
	.pc-f-tiles, .pc-f-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.pc-f-tiles--compact { grid-template-columns: 1fr; }
	.pc-f-tile__body { padding: 14px; }
	.pc-f-submit { width: 100%; min-width: 0; }
	.pc-f-progress li { font-size: 0; justify-content: center; }
	.pc-f-progress li span { font-size: 12px; }
}
