/* SBP Eventos Trabalhos */
html:has(.btw-nav) { scroll-behavior: smooth; }

.btw {
	--btw-navy: #0a0a7d;
	--btw-navy2: #1d1f95;
	--btw-yellow: #f2b230;
	--btw-gold: #a86a00;
	--btw-light: #f4f3fb;
	--btw-line: #e3e2f3;
	--btw-text: #4a4b5e;
	--btw-cream: #fdf0d6;
	--btw-gap: 64px;
	color: var(--btw-text);
}

.btw > * + * { margin-top: var(--btw-gap); }
.btw > .btw-nav { margin-top: 28px; }
.btw > .btw-nav + * { margin-top: 48px; }

.btw-block { scroll-margin-top: 120px; }

/* Fundo lilás em toda a largura da tela */
.btw-bg-light {
	position: relative;
	padding: 56px 0;
	background: var(--btw-light);
	box-shadow: 0 0 0 100vmax var(--btw-light);
	clip-path: inset(0 -100vmax);
}

/* Cabeçalho dos blocos */
.btw-head { margin-bottom: 26px; max-width: 760px; }
.btw-eyebrow {
	margin-bottom: 8px;
	color: var(--btw-gold);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1.3;
}
.btw .btw-h2 {
	margin: 0;
	color: var(--btw-navy);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.015em;
}
.btw-intro { margin: 12px 0 0; max-width: 560px; color: var(--btw-text); font-size: 14px; line-height: 1.7; }

.btw .btw-h3 {
	margin: 0;
	color: var(--btw-navy);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
.btw-body { font-size: 13px; line-height: 1.65; }
.btw p.btw-body { margin: 8px 0 0; }

.btw-grid {
	display: grid;
	grid-template-columns: repeat(var(--btw-cols, 2), minmax(0, 1fr));
	gap: 14px;
}

/* ① Cronograma */
.btw-steps-box {
	padding: 30px 26px 26px;
	border-radius: 24px;
	background: var(--btw-navy);
	box-shadow: 0 24px 50px rgba(10, 10, 125, .25);
}
.btw-steps-box .btw-eyebrow { color: var(--btw-yellow); }
.btw-steps-box .btw-h2 { color: #fff; }
.btw-steps-box .btw-head { margin-bottom: 22px; }
.btw-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.btw-step {
	padding: 20px 18px 24px;
	border-radius: 16px;
	background: var(--btw-navy2);
}
.btw-step-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--btw-yellow);
	color: var(--btw-navy);
	font-size: 12px;
	font-weight: 800;
}
.btw-step-val {
	margin: 10px 0 8px;
	color: var(--btw-yellow);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.15;
}
.btw .btw-step .btw-h3 { color: #fff; font-size: 14px; }
.btw-step .btw-body { color: #d9daf5; font-size: 12px; }

/* ② Âncoras */
.btw-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.btw-sticky-yes .btw-nav {
	position: sticky;
	top: 10px;
	z-index: 30;
	padding: 8px 0;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: blur(6px);
}
.btw .btw-nav a,
.btw .btw-nav a:visited {
	display: inline-flex;
	align-items: center;
	padding: 9px 14px;
	border: 1px solid var(--btw-line);
	border-radius: 40px;
	background: #fff;
	color: var(--btw-navy);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.btw .btw-nav a:hover,
.btw .btw-nav a:focus-visible { border-color: var(--btw-navy); background: var(--btw-light); color: var(--btw-navy); transform: translateY(-1px); }

/* ③ Cards de destaque */
.btw-stat { padding: 16px 16px 20px; border-radius: 14px; background: var(--btw-light); }
.btw .btw-stat .btw-h3 { font-size: 18px; }
.btw-stat .btw-body { font-size: 12px; }
.btw-bg-light .btw-stat { background: #fff; }

/* ④ ⑥ Listas */
.btw-list {
	display: grid;
	grid-template-columns: repeat(var(--btw-cols, 2), minmax(0, 1fr));
	gap: 12px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.btw-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.btw-ico { flex-shrink: 0; display: inline-flex; margin-top: 2px; }
.btw-list--check .btw-ico { color: var(--btw-gold); }
.btw-list--cross { gap: 10px 22px; }
.btw-list--cross li {
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff;
}
.btw-list--cross .btw-ico { color: var(--btw-navy); margin-top: 3px; }
.btw-list--cross .btw-body { font-size: 12.5px; }

/* Cards genéricos */
.btw-card {
	box-sizing: border-box;
	padding: 24px 22px;
	border: 1px solid var(--btw-line);
	border-radius: 20px;
	background: #fff;
}
.btw-card--dark { border-color: var(--btw-navy); background: var(--btw-navy); color: #e4e5fb; }
.btw .btw-card--dark .btw-h3 { color: #fff; }

/* ⑤ Numeradas */
.btw-ol { margin: 16px 0 0; padding: 0; list-style: none; }
.btw-ol li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; }
.btw-ol li:last-child { margin-bottom: 0; }
.btw-n {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--btw-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}
.btw-num-yellow .btw-n { background: var(--btw-yellow); color: var(--btw-navy); }
.btw-ol strong { color: #1e1f4a; }
.btw-note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--btw-cream); font-size: 12px; line-height: 1.6; color: #4a3a12; }

/* ⑦ Etiquetas */
.btw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.btw-chips li {
	margin: 0;
	padding: 7px 13px;
	border: 1px solid var(--btw-line);
	border-radius: 30px;
	background: #fff;
	color: #1e1f4a;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.3;
}

/* ⑧ Dois cards */
.btw-card-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.btw-badge { color: var(--btw-gold); font-size: 12px; font-weight: 800; }
.btw-card--dark .btw-badge { color: var(--btw-yellow); font-size: 13px; }
.btw-bullets { margin: 14px 0 0; padding: 0 0 0 16px; }
.btw-bullets li { margin: 0 0 8px; }
.btw-bullets li::marker { color: currentColor; }
.btw-card--dark .btw-bullets { color: #e4e5fb; }
.btw-card-foot { margin-top: 16px; }
.btw .btw-link,
.btw a.btw-link:visited {
	color: var(--btw-navy);
	font-size: 12px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.btw .btw-card--dark .btw-link { color: var(--btw-yellow); }
.btw a.btw-link:hover { color: var(--btw-gold); }

/* ⑨ Premiação */
.btw-award { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.btw-award-main { padding: 26px 22px; }
.btw-award-title { display: flex; align-items: center; gap: 12px; }
.btw-award-ico { display: inline-flex; color: var(--btw-yellow); }
.btw .btw-award-main .btw-h3 { font-size: 22px; }
.btw-award-main > .btw-body { margin: 14px 0 18px; color: #e4e5fb; }
.btw-prize {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--btw-navy2);
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
}
.btw-prize-area { color: var(--btw-yellow); font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.btw-award-side { display: flex; flex-direction: column; gap: 12px; }
.btw-mini { padding: 18px 16px; }
.btw .btw-mini .btw-h3 { font-size: 15px; }
.btw-mini .btw-body { font-size: 12px; }

/* ⑩ Texto livre */
.btw-rich p { margin: 0 0 12px; }

/* Responsivo */
@media (max-width: 1024px) {
	.btw-grid[style*="--btw-cols:4"], .btw-grid[style*="--btw-cols:3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.btw-grid, .btw-list, .btw-award { grid-template-columns: minmax(0, 1fr) !important; }
	.btw-steps-box { padding: 24px 18px 18px; border-radius: 20px; }
	.btw-bg-light { padding: 40px 0; }
	.btw-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.btw .btw-nav a { flex-shrink: 0; }
}
