:root {
	--tc-navy: #333665;
	--tc-navy-deep: #323664;
	--tc-navy-mid: #49509B;
	--tc-gold: #fccf13;
	--tc-gold-soft: #fac917;
	--tc-bg: #f4f5f8;
	--tc-card: #ffffff;
	--tc-text: #2d333a;
	--tc-muted: #6c757d;
	--tc-border: #d8dce6;
	--tc-danger: #dc3545;
	--tc-ok: #006d2c;
	--tc-radius: 12px;
	--tc-font: 'Roboto', Arial, sans-serif;
	--tc-display: 'Poppins', 'Roboto', sans-serif;
	--tc-target: 44px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
	height: 100%;
	overflow: hidden;
	overflow-x: clip;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	min-height: 100%;
	font-family: var(--tc-font);
	background: var(--tc-bg);
	color: var(--tc-text);
	overflow: hidden;
	overflow-x: clip;
	overflow-wrap: anywhere;
}
body.tc-login-page {
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tc-navy-mid); text-decoration: none; }
a:hover { color: var(--tc-navy); text-decoration: underline; }

/* ===== Split auth shell (SERVICE / Pedido-Web pattern) ===== */
.tc-auth {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: stretch;
	height: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 100vh;
	min-height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
	width: 100%;
	overflow: hidden;
}

.tc-auth__brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 0;
	min-height: 0;
	height: 100%;
	align-self: stretch;
	padding: max(32px, env(safe-area-inset-top, 0px)) 48px max(72px, env(safe-area-inset-bottom, 0px)) 48px;
	background:
		radial-gradient(ellipse 80% 60% at 10% 20%, rgba(73, 80, 155, .45), transparent 55%),
		radial-gradient(ellipse 70% 50% at 90% 90%, rgba(252, 207, 19, .08), transparent 50%),
		linear-gradient(160deg, #2a2d55 0%, var(--tc-navy-deep) 45%, #1f2140 100%);
	color: #fff;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.tc-auth__brand-body {
	width: 100%;
	max-width: 580px;
	margin-block: auto;
	margin-inline: auto;
	transform: none;
}
.tc-auth__brand::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,.06) 0 1px, transparent 2px),
		radial-gradient(circle at 70% 60%, rgba(255,255,255,.05) 0 1px, transparent 2px),
		radial-gradient(circle at 40% 80%, rgba(255,255,255,.04) 0 1px, transparent 2px);
	background-size: 120px 120px, 160px 160px, 100px 100px;
	pointer-events: none;
	opacity: .9;
}
.tc-auth__brand > * { position: relative; z-index: 1; }

.tc-auth__brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 36px;
}
.tc-auth__brand-logo {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	text-decoration: none;
}
.tc-auth__brand-logo img {
	display: block;
	height: 36px;
	width: auto;
	max-width: 180px;
}
a.tc-auth__brand-logo:hover,
a.tc-auth__brand-logo:focus-visible {
	opacity: .92;
	text-decoration: none;
}
a.tc-auth__brand-logo:focus-visible {
	outline: 2px solid var(--tc-gold);
	outline-offset: 2px;
	border-radius: 4px;
}
.tc-auth__brand-divider {
	width: 1px;
	height: 34px;
	background: rgba(255, 255, 255, .35);
}
.tc-auth__brand-product {
	font-family: var(--tc-display);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
}
.tc-auth__headline {
	margin: 0 0 20px;
	font-family: var(--tc-display);
	font-size: clamp(2.35rem, 1.7rem + 2vw, 3.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.02em;
	max-width: 15ch;
}
.tc-auth__headline em {
	font-style: normal;
	color: var(--tc-gold);
}
.tc-auth__lead {
	margin: 0 0 40px;
	font-size: clamp(16px, 0.95rem + 0.35vw, 18px);
	line-height: 1.6;
	font-weight: 300;
	opacity: .92;
	max-width: 44ch;
}
.tc-auth__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 28px;
	max-width: 580px;
}
.tc-auth__features li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}
.tc-auth__features i {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(252, 207, 19, .15);
	color: var(--tc-gold);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
}
.tc-auth__brand-foot {
	position: absolute;
	left: 48px;
	right: 48px;
	bottom: max(20px, env(safe-area-inset-bottom, 0px));
	font-size: 12px;
	opacity: .65;
	margin-top: 0;
	text-align: center;
	z-index: 1;
}

@media (max-height: 800px) {
	.tc-auth__brand {
		padding-top: max(20px, env(safe-area-inset-top, 0px));
		padding-bottom: max(56px, env(safe-area-inset-bottom, 0px));
	}
	.tc-auth__brand-lockup { margin-bottom: 20px; }
	.tc-auth__headline { margin-bottom: 12px; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
	.tc-auth__lead { margin-bottom: 20px; }
	.tc-auth__features { gap: 12px 20px; }
}


/* Right: form column */
.tc-auth__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	height: 100%;
	align-self: stretch;
	overflow: hidden;
	background: var(--tc-bg);
	padding: max(24px, env(safe-area-inset-top, 0px)) max(36px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) 36px;
}
.tc-auth__panel::after {
	content: "";
	position: absolute;
	right: -10%;
	bottom: -8%;
	width: min(420px, 70%);
	height: min(420px, 70%);
	border-radius: 50%;
	border: 48px solid rgba(51, 54, 101, .04);
	pointer-events: none;
}
.tc-auth__toolbar {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-bottom: 12px;
	position: relative;
	z-index: 2;
}
.tc-auth__toolbar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tc-auth__toolbar-brand img {
	height: 36px;
	width: auto;
	display: block;
}
.tc-auth__tag {
	font-family: var(--tc-display);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--tc-navy);
	background: #fff;
	border: 1px solid var(--tc-border);
	border-radius: 999px;
	padding: 6px 10px;
}
.tc-auth__toolbar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tc-auth__pill {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--tc-border);
	background: #fff;
	color: var(--tc-navy);
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
}
.tc-auth__pill:hover {
	border-color: var(--tc-navy-mid);
	color: var(--tc-navy-deep);
}

#opcao-idioma {
	background-color: #fff;
	border: 1px solid var(--tc-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 12px;
	min-width: 0;
	max-width: min(200px, 46vw);
	position: relative;
	z-index: 5;
}
#opcao-idioma ul { list-style: none; margin: 0; padding: 0; }
#opcao-idioma li {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 2px 0;
	cursor: pointer;
	color: var(--tc-navy-deep);
}
#opcao-idioma.idioma-expandido { border-radius: 12px; }

.tc-auth__main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* flex-start + margin auto no card: centra form curto; conteudo alto comeca no topo (evita corte do inicio) */
	justify-content: flex-start;
	width: 100%;
	position: relative;
	z-index: 1;
	padding: 12px 0 24px;
	min-width: 0;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}
.tc-auth__main > .tc-card {
	margin-block: auto;
}
.tc-auth__panel-foot {
	flex: 0 0 auto;
	text-align: center;
	font-size: 12px;
	color: var(--tc-muted);
	position: relative;
	z-index: 1;
}
.tc-auth__panel-foot a { color: var(--tc-navy-mid); }

/* Card */
.tc-card {
	width: 100%;
	max-width: 480px;
	min-width: 0;
	background: var(--tc-card);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	padding: 36px 36px 30px;
	box-shadow: 0 10px 32px rgba(51, 54, 101, .08);
}
.tc-card--wide,
.tc-card--passos { max-width: 640px; }
.tc-card h2,
.tc-card__title {
	margin: 0;
	font-family: var(--tc-display);
	font-size: clamp(24px, 1.3rem + 0.4vw, 28px);
	font-weight: 600;
	color: var(--tc-navy);
}
.tc-card__product {
	margin: 6px 0 0;
	font-family: var(--tc-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--tc-navy-deep);
}
.tc-card__title-accent {
	display: block;
	width: 48px;
	height: 3px;
	background: var(--tc-gold);
	border-radius: 2px;
	margin: 12px 0 16px;
}
.tc-card .tc-card__hint {
	margin: 0 0 24px;
	font-size: 15px;
	color: var(--tc-muted);
}

.tc-alerts { margin-bottom: 12px; }
.tc-alert {
	display: none;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 13px;
	margin-bottom: 8px;
}
/*
 * Beat site_estatico .alert.error { background:#DA0000 } + .alert { color:#fff }
 * Soft surface + dark text (>=4.5:1). contrast-color() when supported.
 */
.tc-alert.alert.error,
.tc-alert.error {
	--tc-alert-error-bg: #fde8ea;
	--tc-alert-error-fg: #7f1d1d;
	background-color: var(--tc-alert-error-bg) !important;
	border: 1px solid #f5c2c7;
	color: var(--tc-alert-error-fg);
	color: contrast-color(var(--tc-alert-error-bg));
}
.tc-alert.alert.error #msgErro,
.tc-alert.error #msgErro,
.tc-alert.alert.error span,
.tc-alert.error span,
.tc-alert.alert.error i,
.tc-alert.error i {
	color: inherit !important;
}
.tc-alert.alert.success,
.tc-alert.success {
	--tc-alert-ok-bg: #e6f4ea;
	--tc-alert-ok-fg: #006d2c;
	background-color: var(--tc-alert-ok-bg) !important;
	border: 1px solid #b7dfc3;
	color: var(--tc-alert-ok-fg);
	color: contrast-color(var(--tc-alert-ok-bg));
}
.tc-alert.alert.success #msgSucesso,
.tc-alert.success #msgSucesso,
.tc-alert.alert.success span,
.tc-alert.success span,
.tc-alert.alert.success i,
.tc-alert.success i {
	color: inherit !important;
}
.tc-alert i { margin-top: 2px; }

.tc-field { margin-bottom: 16px; }
.tc-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tc-navy-deep);
}
.tc-field input[type="text"],
.tc-field input[type="password"],
.tc-field input[type="email"],
.tc-field select {
	width: 100%;
	min-height: 50px;
	height: 50px;
	padding: 0 14px;
	border: 1px solid var(--tc-border);
	border-radius: 8px;
	font-size: 16px;
	font-family: var(--tc-font);
	color: var(--tc-text);
	background: #f7f8fb;
}
.tc-field input:focus,
.tc-field select:focus {
	outline: 2px solid rgba(51, 54, 101, .35);
	outline-offset: 1px;
	border-color: var(--tc-navy-mid);
	background: #fff;
}
.tc-input-append { position: relative; }
.tc-input-append input { padding-right: 48px; }
.tc-input-append > button.tc-eye {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--tc-muted);
	cursor: pointer;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.tc-input-append > button.tc-eye:hover { color: var(--tc-navy); }
.tc-input-append > button.tc-eye svg { width: 20px; height: 20px; display: block; }
#hide-password { display: none; }

.tc-field-row {
	display: flex;
	justify-content: flex-end;
	margin: -4px 0 14px;
}
.tc-field-row a {
	font-size: 13px;
	font-weight: 500;
	color: var(--tc-navy-mid);
}

.tc-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	margin-top: 6px;
	border: 0;
	border-radius: 8px;
	background: var(--tc-navy);
	color: #fff;
	font-family: var(--tc-display);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.tc-btn-primary:hover { background: var(--tc-navy-mid); }
.tc-btn-primary:focus-visible {
	outline: 2px solid var(--tc-gold);
	outline-offset: 2px;
}
.tc-btn-primary .tc-btn-key {
	color: var(--tc-gold);
}

.tc-links {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 13px;
}
.tc-links a { color: var(--tc-navy-mid); }
.tc-links .prob a { color: var(--tc-muted); font-size: 12px; }
.tc-links-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 12px;
	margin: 18px 0 0;
	font-size: 14px;
	font-weight: 500;
}
.tc-links-inline a { color: var(--tc-navy-mid); }
.tc-links-sep { color: var(--tc-border); user-select: none; }
.tc-links-muted {
	margin: 12px 0 0;
	text-align: center;
	font-size: 13px;
}
.tc-links-muted a { color: var(--tc-muted); }

.sso-sign { margin-top: 22px; }
.sso-l::before,
.sso-l::after { background-color: var(--tc-border) !important; }
.sso-l > span {
	background: var(--tc-card) !important;
	color: var(--tc-muted);
	font-size: 13px;
}
.btn-sso { min-height: 50px; font-size: 15px; }

.tc-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--tc-muted);
	margin: 0 0 16px;
}
.tc-desc ul { margin: 0 0 12px; padding-left: 18px; }
.tc-desc li { margin-bottom: 6px; color: var(--tc-text); }
.tc-back { display: inline-block; margin-top: 14px; font-size: 13px; }
.tc-mail-preview {
	margin-top: 14px;
	padding: 14px;
	border: 1px dashed var(--tc-border);
	border-radius: 6px;
	background: #fafbfe;
	font-size: 12px;
	color: var(--tc-muted);
	text-align: left;
	word-break: break-word;
}
.tc-check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	font-size: 13px;
	color: var(--tc-navy-deep);
}
.tc-check input { width: auto; height: auto; }

.tc-browsers {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 14px;
	margin-top: 8px;
	list-style: none;
	padding: 0;
}
.tc-browser-card {
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	background: #fff;
	padding: 16px 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.tc-browser-card img { width: 48px; height: 48px; object-fit: contain; }
.tc-browser-card h3 {
	margin: 0;
	font-size: 14px;
	font-family: var(--tc-display);
	color: var(--tc-navy);
	font-weight: 600;
}
.tc-browser-card a.tc-btn-small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 6px;
	background: var(--tc-navy);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 12px;
	font-weight: 600;
}

/* passos */
.tc-card--passos { text-align: left; }
.tc-passos__title { margin: 0 0 16px; }
.tc-passos__title h2 {
	margin: 0;
	font-family: var(--tc-display);
	font-size: 18px;
	font-weight: 600;
	color: var(--tc-navy);
}
.tc-passos__title--mt { margin-top: 28px; }
.tc-passos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}
.tc-passos > li {
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius);
	background: #fff;
	padding: 14px;
}
.tc-passos > li > h4 {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tc-navy-mid);
	display: flex;
	align-items: center;
	gap: 8px;
}
.tc-passos > li > h4 i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--tc-navy);
	color: #fff;
	font-style: normal;
	font-size: 12px;
}
.tc-passos > li > h2 {
	margin: 0 0 8px;
	font-family: var(--tc-display);
	font-size: 16px;
	color: var(--tc-navy-deep);
}
.tc-passos > li > p,
.tc-passos__box p,
.tc-passos__mt {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tc-text);
}
.tc-passos__img { margin: 10px 0; text-align: center; }
.tc-passos__img img,
.tc-passos img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--tc-border);
	border-radius: 6px;
}
.tc-passos__box {
	margin-top: 12px;
	padding: 12px;
	border: 1px solid var(--tc-border);
	border-radius: 6px;
	background: #fafbfe;
}
.tc-passos__box h2 {
	margin: 0 0 8px;
	font-size: 15px;
	font-family: var(--tc-display);
	color: var(--tc-navy);
}
.tc-passos__box ul {
	margin: 0 0 10px;
	padding-left: 18px;
	font-size: 13px;
}

/* Responsive */
@media (max-width: 960px) {
	.tc-auth {
		grid-template-columns: 1fr;
		grid-template-rows: auto minmax(0, 1fr);
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
	}
	.tc-auth__brand {
		padding: 18px 18px 16px;
		justify-content: flex-start;
		align-items: stretch;
		min-height: 0;
		height: auto;
	}
	.tc-auth__brand-body {
		max-width: none;
		transform: none;
	}
	.tc-auth__brand-lockup { margin-bottom: 12px; gap: 10px; }
	.tc-auth__brand-logo img { height: 30px; }
	.tc-auth__brand-product { font-size: 12px; }
	.tc-auth__brand-divider { height: 24px; }
	.tc-auth__headline {
		max-width: none;
		font-size: clamp(1.25rem, 4.2vw, 1.55rem);
		margin-bottom: 8px;
		line-height: 1.25;
	}
	.tc-auth__lead {
		font-size: 13px;
		margin-bottom: 0;
		max-width: none;
		line-height: 1.45;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.tc-auth__features,
	.tc-auth__brand-foot { display: none; }
	.tc-auth__panel { padding: 12px 14px 16px; }
}

@media (max-width: 520px) {
	.tc-auth__brand { padding: 14px 14px 12px; }
	.tc-auth__headline { font-size: 1.2rem; }
	.tc-auth__lead { font-size: 12px; -webkit-line-clamp: 2; }
	.tc-auth__tag { display: none; }
	.tc-auth__pill { display: none; }
	#opcao-idioma li span { display: none; }
	#opcao-idioma.idioma-expandido li span { display: inline; }
	#opcao-idioma.idioma-expandido { max-width: min(220px, 70vw); }
	.tc-card {
		padding: 20px 16px 18px;
		max-width: none;
		box-shadow: none;
	}
	.tc-card__title { font-size: 20px; }
	.tc-field input[type="text"],
	.tc-field input[type="password"],
	.tc-field input[type="email"],
	.tc-field select { font-size: 16px; min-height: 44px; height: 44px; }
	.tc-btn-primary { min-height: 48px; font-size: 15px; }
	.tc-browsers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
	.tc-browsers { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
	.tc-btn-primary,
	.tc-browser-card a.tc-btn-small,
	.tc-input-append > button.tc-eye,
	#opcao-idioma li {
		min-height: var(--tc-target);
		min-width: var(--tc-target);
	}
	.tc-links a {
		display: inline-block;
		min-height: var(--tc-target);
		line-height: 32px;
		padding: 6px 0;
	}
}

/* legacy class aliases used by older ubold pages */
.tc-login-shell { display: contents; }
.tc-topbar, .tc-hero, .tc-main, .tc-footer { /* superseded by split */ }
