/* ==========================================================================
   Home v2 (homologação) — carregado só pelo template-home-v2.php
   ========================================================================== */

:root {
	--hv2-accent: #F2B705;
	--hv2-purple-2: #80217E;
	--hv2-radius: 14px;
	--hv2-shadow: 0 2px 6px rgba(56, 18, 64, .06), 0 10px 28px rgba(56, 18, 64, .10);
	--hv2-shadow-hover: 0 4px 10px rgba(56, 18, 64, .10), 0 18px 40px rgba(56, 18, 64, .18);
	--hv2-card-bg: #ffffff;
	--hv2-card-text: var(--clr-primary);
}

.dark-mode {
	--hv2-card-bg: #1f1a24;
	--hv2-card-text: #ece6f1;
}

/* O tema força montSemiBold !important em h1–h6 e montRegular em <a>/<span>;
   aqui os títulos (e os links dentro deles) precisam do Bold de verdade. */
.hv2-section-title,
.hv2-dp-title,
.hv2-card-title,
.hv2-card-title a,
.hv2-dp-panel-title,
.hv2-mc-title,
.hv2-mc-title a,
.hv2-ead-title,
.hv2-ead-title a,
.hv2-pc-hub-title,
.hv2-pc-title,
.hv2-pc-title a {
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-weight: 400;
}

/* ==================== Banner (hero) ==================== */

.hv2-hero .carousel {
	position: relative;
	width: 100%;
}

.hv2-hero .hv2-hero-arrow {
	z-index: 3;
	width: auto;
	padding: 0 clamp(.75rem, 2vw, 2rem);
	opacity: 1;
}

.hv2-hero .hv2-hero-arrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	border: 1px solid rgba(255, 255, 255, .45);
	color: #fff;
	font-size: 1.25rem;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

.hv2-hero .hv2-hero-arrow:hover .hv2-hero-arrow-icon,
.hv2-hero .hv2-hero-arrow:focus-visible .hv2-hero-arrow-icon {
	background: #fff;
	color: var(--clr-primary);
	transform: scale(1.06);
}

.hv2-hero .hv2-hero-arrow:focus-visible {
	outline: none;
}

.hv2-hero .hv2-hero-arrow:focus-visible .hv2-hero-arrow-icon {
	box-shadow: 0 0 0 3px var(--hv2-accent);
}

/* Indicadores: pílula no ativo */
.hv2-hero .carousel-indicators {
	gap: .5rem;
	margin-bottom: 0;
}

.hv2-hero .slider-indicator,
.hv2-hero .slider-indicator:not(:first-of-type) {
	width: .65rem;
	height: .65rem;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background-color: rgba(255, 255, 255, .55);
	opacity: 1;
	transition: width .25s ease, background-color .25s ease;
}

.hv2-hero .slider-indicator.active {
	width: 1.75rem;
	background-color: #fff;
}

@media (max-width: 768px) {
	.hv2-hero .hv2-hero-arrow-icon {
		width: 2.25rem;
		height: 2.25rem;
		font-size: 1rem;
	}

	.hv2-hero .carousel-indicators {
		bottom: .35rem;
	}
}

/* ==================== Cards ==================== */

.hv2-cards {
	position: relative;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) 0;
	background:
		radial-gradient(40rem 22rem at 100% 0%, rgba(242, 183, 5, .14), transparent 70%),
		radial-gradient(45rem 26rem at 0% 100%, rgba(128, 33, 126, .14), transparent 70%),
		linear-gradient(180deg, #F7F2FA 0%, #ffffff 100%);
}

.dark-mode .hv2-cards {
	background:
		radial-gradient(40rem 22rem at 100% 0%, rgba(242, 183, 5, .08), transparent 70%),
		radial-gradient(45rem 26rem at 0% 100%, rgba(128, 33, 126, .25), transparent 70%),
		#16121a;
}

/* Cabeçalho da seção */
.hv2-section-head {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hv2-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .35rem .9rem;
	border-radius: 999px;
	background: rgba(105, 39, 114, .08);
	color: var(--clr-primary);
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hv2-eyebrow::before {
	content: "";
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--hv2-accent);
	box-shadow: 0 0 0 4px rgba(242, 183, 5, .25);
}

.hv2-section-title {
	margin: .9rem 0 0;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: clamp(1.6rem, 3vw, 2.25rem);
	color: var(--clr-primary);
}

.hv2-section-title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 4px;
	margin: .9rem auto 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--clr-primary), var(--hv2-accent));
}

.dark-mode .hv2-eyebrow {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.dark-mode .hv2-section-title {
	color: #fff;
}

/* Card */
.hv2-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 415px;
	margin: 0 auto;
	background: var(--hv2-card-bg);
	border: 1px solid rgba(105, 39, 114, .08);
	border-radius: var(--hv2-radius);
	box-shadow: var(--hv2-shadow);
	overflow: hidden;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

.hv2-card:hover,
.hv2-card:focus-within {
	transform: translateY(-8px);
	box-shadow: var(--hv2-shadow-hover);
	border-color: rgba(105, 39, 114, .25);
}

/* Mídia: mantém exatamente a proporção 415x280 das imagens atuais */
.hv2-card-media {
	position: relative;
	aspect-ratio: 415 / 280;
	overflow: hidden;
	background: var(--clr-neutral-500);
}

/* Véu roxo que sobe no hover */
.hv2-card-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 40%, rgba(64, 18, 72, .55) 100%);
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

.hv2-card:hover .hv2-card-media::before {
	opacity: 1;
}

/* Barra de acento que cresce da esquerda */
.hv2-card-media::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	width: 100%;
	height: 5px;
	background: linear-gradient(90deg, var(--clr-primary), var(--hv2-purple-2) 55%, var(--hv2-accent));
	transform: scaleX(.3);
	transform-origin: left;
	transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.hv2-card:hover .hv2-card-media::after {
	transform: scaleX(1);
}

.hv2-card-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.hv2-card:hover .hv2-card-img {
	transform: scale(1.06);
}

.hv2-card-media .restrict {
	z-index: 3;
}

.hv2-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 1.25rem;
	padding: 1.5rem 1.5rem 1.6rem;
}

.hv2-card-title {
	margin: 0;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: 1.1rem;
	line-height: 1.45;
	color: #3D1446;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .25s ease;
}

.dark-mode .hv2-card-title {
	color: var(--hv2-card-text);
}

.hv2-card:hover .hv2-card-title {
	color: var(--hv2-purple-2);
}

.hv2-card-title a.hv2-card-link,
.hv2-card-title a.hv2-card-link:hover {
	color: inherit;
	text-decoration: none;
}

/* Card inteiro clicável */
.hv2-card-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
}

.hv2-card-link:focus-visible {
	outline: none;
}

.hv2-card:has(.hv2-card-link:focus-visible) {
	outline: 3px solid var(--hv2-accent);
	outline-offset: 3px;
}

/* Botão pílula que preenche no hover */
.hv2-card-cta {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	padding: .45rem .45rem .45rem 1.1rem;
	border: 1.5px solid var(--clr-primary);
	border-radius: 999px;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: .8rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--clr-primary);
	transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}

.hv2-card-cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background: var(--clr-primary);
	color: #fff;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.hv2-card:hover .hv2-card-cta {
	background: var(--clr-primary);
	color: #fff;
}

.hv2-card:hover .hv2-card-cta-icon {
	background: var(--hv2-accent);
	color: #3D1446;
	transform: translateX(3px) rotate(-45deg);
}

.dark-mode .hv2-card-cta {
	border-color: var(--hv2-accent);
	color: var(--hv2-accent);
}

.dark-mode .hv2-card-cta-icon {
	background: var(--hv2-accent);
	color: #3D1446;
}

/* Entrada ao rolar (classe adicionada via JS; sem JS os cards aparecem normalmente) */
.hv2-reveal {
	opacity: 0;
	transform: translateY(28px);
}

.hv2-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity .7s ease var(--hv2-delay, 0ms), transform .7s cubic-bezier(.2, .8, .2, 1) var(--hv2-delay, 0ms), box-shadow .35s ease, border-color .35s ease;
}

.hv2-reveal.is-in:hover {
	transform: translateY(-8px);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .35s ease;
}

/* ==================== Desenvolvimento Profissional ==================== */

.hv2-dp {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: #fff;
}

.dark-mode .hv2-dp {
	background: #120f15;
}

.hv2-dp-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}

.hv2-dp-title {
	margin: .75rem 0 .35rem;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	color: var(--clr-primary);
}

.hv2-dp-lead {
	margin: 0;
	max-width: 38rem;
	color: #5b4a63;
	font-size: .95rem;
}

.dark-mode .hv2-dp-title {
	color: #fff;
}

.dark-mode .hv2-dp-lead {
	color: #cbbfd3;
}

.hv2-dp-all,
.hv2-dp-panel-link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: "montSemiBold", "Montserrat", sans-serif;
	color: var(--hv2-purple-2);
	text-decoration: none;
	white-space: nowrap;
}

.hv2-dp-all {
	font-size: .95rem;
}

.hv2-dp-panel-link {
	font-size: .8rem;
}

.hv2-dp-all:hover,
.hv2-dp-panel-link:hover {
	color: var(--clr-primary);
	text-decoration: underline;
}

.hv2-dp-all .bi {
	transition: transform .25s ease;
}

.hv2-dp-all:hover .bi {
	transform: translateX(4px);
}

/* Painel ao vivo */
.hv2-dp-panel,
.hv2-ead {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-radius: var(--hv2-radius);
	padding: 1.25rem;
}

.hv2-dp-panel {
	background: #F7F2FA;
	border: 1px solid rgba(105, 39, 114, .08);
}

.dark-mode .hv2-dp-panel {
	background: #1f1a24;
	border-color: rgba(255, 255, 255, .06);
}

.hv2-dp-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .9rem;
	padding: 0 .25rem;
}

.hv2-dp-panel-title {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: 1rem;
	color: #3D1446;
}

.dark-mode .hv2-dp-panel-title {
	color: #fff;
}

.hv2-live-list,
.hv2-ead-list,
.hv2-meta {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hv2-live-list {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}

.hv2-live-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .7rem .9rem .7rem .7rem;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(56, 18, 64, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.dark-mode .hv2-live-item {
	background: #2a2330;
}

.hv2-live-item:hover,
.hv2-live-item:focus-within {
	transform: translateX(4px);
	box-shadow: 0 6px 18px rgba(56, 18, 64, .12);
}

.hv2-live-date {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4.25rem;
	border-radius: 10px;
	background: linear-gradient(160deg, var(--clr-primary), var(--hv2-purple-2));
	color: #fff;
	line-height: 1;
	text-transform: uppercase;
}

.hv2-live-day {
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: 1.5rem;
}

.hv2-live-month {
	margin-top: .2rem;
	font-family: "montSemiBold", "Montserrat", sans-serif;
	font-size: .72rem;
	letter-spacing: .08em;
	color: var(--hv2-accent);
}

.hv2-live-week {
	margin-top: .25rem;
	font-size: .62rem;
	letter-spacing: .06em;
	opacity: .75;
}

.hv2-live-body {
	flex: 1;
	min-width: 0;
}

.hv2-live-title,
.hv2-ead-title {
	margin: 0 0 .35rem;
	font-family: "montSemiBold", "Montserrat", sans-serif;
	font-size: .95rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-live-title a {
	color: #3D1446;
	text-decoration: none;
}

.dark-mode .hv2-live-title a {
	color: #fff;
}

.hv2-live-item:hover .hv2-live-title a {
	color: var(--hv2-purple-2);
}

/* Linha inteira clicável */
.hv2-live-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hv2-live-link:focus-visible {
	outline: none;
}

.hv2-live-item:has(.hv2-live-link:focus-visible),
.hv2-ead-item:has(.hv2-live-link:focus-visible) {
	outline: 3px solid var(--hv2-accent);
	outline-offset: 2px;
}

.hv2-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .9rem;
	font-size: .78rem;
	color: #6b5a73;
}

.hv2-meta li {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
}

.hv2-meta .bi {
	color: var(--hv2-purple-2);
}

.dark-mode .hv2-meta {
	color: #cbbfd3;
}

.hv2-meta-tag {
	padding: .1rem .5rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.hv2-live-go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(105, 39, 114, .08);
	color: var(--clr-primary);
	transition: background-color .25s ease, color .25s ease;
}

.hv2-live-item:hover .hv2-live-go {
	background: var(--clr-primary);
	color: #fff;
}

.hv2-dp-empty {
	margin: .5rem .25rem;
	color: #5b4a63;
}

/* Painel EAD */
.hv2-ead {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(18rem 12rem at 110% -10%, rgba(242, 183, 5, .28), transparent 70%),
		linear-gradient(150deg, #4A1554 0%, var(--clr-primary) 55%, var(--hv2-purple-2) 100%);
	color: #fff;
}

.hv2-ead .hv2-dp-panel-title {
	color: #fff;
}

.hv2-ead-badge {
	padding: .2rem .65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .25);
	font-size: .72rem;
	letter-spacing: .04em;
}

.hv2-ead-list {
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}

.hv2-ead-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: .85rem;
	padding: .55rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, .07);
	transition: background-color .25s ease;
}

.hv2-ead-item:hover {
	background: rgba(255, 255, 255, .15);
}

.hv2-ead-thumb {
	flex: 0 0 auto;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9px;
	overflow: hidden;
	background: rgba(255, 255, 255, .12);
}

.hv2-ead-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hv2-ead-body {
	flex: 1;
	min-width: 0;
}

.hv2-ead-title {
	font-size: .88rem;
	margin-bottom: .2rem;
}

.hv2-ead-title a {
	color: #fff;
	text-decoration: none;
}

.hv2-ead .hv2-meta {
	color: rgba(255, 255, 255, .78);
	font-size: .74rem;
}

.hv2-ead .hv2-meta .bi {
	color: var(--hv2-accent);
}

.hv2-ead-cta {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .7rem 1rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: .85rem;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.hv2-ead-cta:hover {
	color: #3D1446;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(242, 183, 5, .35);
}

/* ---------- A · Mini-cards ---------- */
.hv2-mc-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
	flex: 1;
}

.hv2-mc {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(56, 18, 64, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}

.hv2-mc:hover,
.hv2-mc:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(56, 18, 64, .16);
}

.hv2-mc-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(150deg, var(--clr-primary), var(--hv2-purple-2));
}

.hv2-mc-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.hv2-mc:hover .hv2-mc-media img {
	transform: scale(1.06);
}

.hv2-mc-date {
	position: absolute;
	left: .5rem;
	bottom: .5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 2.75rem;
	padding: .3rem .4rem;
	border-radius: 8px;
	background: #fff;
	color: var(--clr-primary);
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.hv2-mc-day {
	font-family: "montBold", sans-serif;
	font-size: 1.15rem;
}

.hv2-mc-month {
	margin-top: .15rem;
	font-family: "montSemiBold", sans-serif;
	font-size: .62rem;
	letter-spacing: .06em;
	color: var(--hv2-purple-2);
}

.hv2-mc-tag {
	position: absolute;
	top: .5rem;
	right: .5rem;
	padding: .2rem .55rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", sans-serif;
	font-size: .68rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.hv2-mc-body {
	padding: .7rem .8rem .8rem;
	display: flex;
	flex-direction: column;
	gap: .4rem;
	flex: 1;
}

.hv2-mc-title {
	margin: 0;
	font-family: "montSemiBold", sans-serif;
	font-size: .85rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-mc-title a {
	color: #3D1446;
	text-decoration: none;
}

.hv2-mc:hover .hv2-mc-title a {
	color: var(--hv2-purple-2);
}

.hv2-mc .hv2-meta {
	margin-top: auto;
	font-size: .72rem;
	gap: .2rem .6rem;
}

/* ---------- Slider EAD ---------- */
.hv2-ead-carousel {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hv2-ead-carousel .carousel-inner {
	flex: 1;
}

.hv2-ead-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .75rem;
	margin-top: .75rem;
}

.hv2-ead-btn {
	width: 1.9rem;
	height: 1.9rem;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, color .2s ease;
}

.hv2-ead-btn:hover,
.hv2-ead-btn:focus-visible {
	background: #fff;
	color: var(--clr-primary);
}

.hv2-ead-dots {
	display: flex;
	gap: .4rem;
}

.hv2-ead-dots button {
	width: .5rem;
	height: .5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .4);
	transition: width .25s ease, background-color .25s ease;
}

.hv2-ead-dots button.active {
	width: 1.3rem;
	background: var(--hv2-accent);
}

/* ==================== Portal do Conhecimento ==================== */

.hv2-pc {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	background:
		radial-gradient(40rem 24rem at 0% 0%, rgba(128, 33, 126, .10), transparent 70%),
		radial-gradient(36rem 22rem at 100% 100%, rgba(242, 183, 5, .12), transparent 70%),
		#F7F2FA;
}

.dark-mode .hv2-pc {
	background: #16121a;
}

.hv2-pc-grid {
	display: grid;
	grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(13rem, auto);
	grid-auto-flow: dense;
	gap: 1rem;
}

/* Hub */
.hv2-pc-hub {
	grid-row: span 2;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.75rem 1.5rem;
	border-radius: var(--hv2-radius);
	background:
		radial-gradient(20rem 14rem at 120% -10%, rgba(242, 183, 5, .35), transparent 70%),
		linear-gradient(160deg, #4A1554 0%, var(--clr-primary) 50%, var(--hv2-purple-2) 100%);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--hv2-shadow);
	transition: transform .3s ease, box-shadow .3s ease;
}

.hv2-pc-hub::after {
	content: "";
	position: absolute;
	right: -3rem;
	bottom: -3rem;
	width: 12rem;
	height: 12rem;
	border-radius: 50%;
	border: 2rem solid rgba(255, 255, 255, .06);
	pointer-events: none;
}

.hv2-pc-hub:hover {
	color: #fff;
	transform: translateY(-4px);
	box-shadow: var(--hv2-shadow-hover);
}

.hv2-pc-hub-kicker {
	font-family: "montBold", sans-serif;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hv2-accent);
}

.hv2-pc-hub-title {
	margin: 0;
	font-family: "montBold", sans-serif;
	font-size: clamp(1.25rem, 1.9vw, 1.6rem);
	line-height: 1.3;
	color: #fff;
}

.hv2-pc-stats {
	list-style: none;
	margin: auto 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem 1rem;
}

.hv2-pc-stats li {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.hv2-pc-stats strong {
	font-family: "montBold", sans-serif;
	font-size: 1.5rem;
	color: #fff;
}

.hv2-pc-stats span {
	font-size: .75rem;
	color: rgba(255, 255, 255, .75);
}

.hv2-pc-hub-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1.1rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", sans-serif;
	font-size: .8rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	transition: box-shadow .25s ease;
}

.hv2-pc-hub-cta .bi {
	transition: transform .25s ease;
}

.hv2-pc-hub:hover .hv2-pc-hub-cta {
	box-shadow: 0 8px 20px rgba(242, 183, 5, .35);
}

.hv2-pc-hub:hover .hv2-pc-hub-cta .bi {
	transform: translateX(4px);
}

/* Cards */
.hv2-pc-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	padding: 1.25rem;
	border-radius: var(--hv2-radius);
	background: #fff;
	border: 1px solid rgba(105, 39, 114, .08);
	box-shadow: 0 1px 3px rgba(56, 18, 64, .06);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hv2-pc-card:hover,
.hv2-pc-card:focus-within {
	transform: translateY(-4px);
	box-shadow: var(--hv2-shadow-hover);
	border-color: rgba(105, 39, 114, .2);
}

.dark-mode .hv2-pc-card {
	background: #1f1a24;
	border-color: rgba(255, 255, 255, .06);
}

.hv2-pc-card--tecnicas {
	grid-column: span 2;
}

.hv2-pc-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: .25rem;
}

.hv2-pc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 12px;
	background: rgba(105, 39, 114, .08);
	color: var(--clr-primary);
	font-size: 1.2rem;
	transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.hv2-pc-card:hover .hv2-pc-icon {
	background: var(--clr-primary);
	color: #fff;
	transform: rotate(-6deg);
}

.hv2-pc-count {
	font-family: "montBold", sans-serif;
	font-size: .8rem;
	color: var(--hv2-purple-2);
	padding: .2rem .6rem;
	border-radius: 999px;
	background: rgba(128, 33, 126, .07);
}

.hv2-pc-title {
	margin: 0;
	font-family: "montBold", sans-serif;
	font-size: 1.05rem;
	line-height: 1.3;
}

.hv2-pc-title a {
	color: #3D1446;
	text-decoration: none;
}

.dark-mode .hv2-pc-title a {
	color: #fff;
}

/* Card inteiro leva à seção; o "mais recente" fica clicável por cima */
.hv2-pc-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hv2-pc-link:focus-visible {
	outline: none;
}

.hv2-pc-card:has(.hv2-pc-link:focus-visible) {
	outline: 3px solid var(--hv2-accent);
	outline-offset: 3px;
}

.hv2-pc-desc {
	margin: 0;
	font-size: .82rem;
	line-height: 1.5;
	color: #6b5a73;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-pc-card--tecnicas .hv2-pc-desc {
	-webkit-line-clamp: 3;
}

/* "Mais recente": separado por um divisor fino, sem caixa */
.hv2-pc-latest {
	position: relative;
	z-index: 2;
	margin-top: auto;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	column-gap: .75rem;
	row-gap: .2rem;
	padding-top: .8rem;
	border-top: 1px solid rgba(105, 39, 114, .12);
	text-decoration: none;
}

.hv2-pc-latest-go {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	font-size: 1.25rem;
	line-height: 1;
	color: var(--clr-primary);
	opacity: .45;
	transition: transform .25s ease, opacity .25s ease;
}

.hv2-pc-latest:hover .hv2-pc-latest-go {
	opacity: 1;
	transform: translateX(3px);
}

.hv2-pc-latest:hover .hv2-pc-latest-title {
	color: var(--hv2-purple-2);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.dark-mode .hv2-pc-latest {
	border-top-color: rgba(255, 255, 255, .1);
}

.hv2-pc-latest-label,
.hv2-pc-latest-title {
	grid-column: 1;
}

.hv2-pc-latest-label {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-family: "montSemiBold", sans-serif;
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--hv2-purple-2);
}

.hv2-pc-latest-title {
	font-size: .8rem;
	line-height: 1.4;
	color: #3D1446;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dark-mode .hv2-pc-latest-title {
	color: #ece6f1;
}

/* Vídeos: capa do último vídeo como fundo */
.hv2-pc-card.has-bg {
	background: #2a0f30;
	border-color: transparent;
	color: #fff;
}

.hv2-pc-card.has-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(42, 15, 48, .35) 0%, rgba(42, 15, 48, .92) 75%),
		var(--hv2-pc-bg) center / cover no-repeat;
	transition: transform .6s ease;
}

.hv2-pc-card.has-bg:hover::before {
	transform: scale(1.06);
}

.hv2-pc-card.has-bg .hv2-pc-icon {
	background: rgba(255, 255, 255, .18);
	color: #fff;
	backdrop-filter: blur(4px);
}

.hv2-pc-card.has-bg .hv2-pc-count {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

.hv2-pc-card.has-bg .hv2-pc-title a {
	color: #fff;
}

.hv2-pc-card.has-bg .hv2-pc-desc {
	color: rgba(255, 255, 255, .8);
}

.hv2-pc-card.has-bg .hv2-pc-latest {
	border-top-color: rgba(255, 255, 255, .2);
}

.hv2-pc-card.has-bg .hv2-pc-latest-go {
	color: #fff;
	opacity: .7;
}

.hv2-pc-card.has-bg .hv2-pc-latest:hover .hv2-pc-latest-title {
	color: #fff;
}

.hv2-pc-card.has-bg .hv2-pc-latest-label {
	color: var(--hv2-accent);
}

.hv2-pc-card.has-bg .hv2-pc-latest-title {
	color: #fff;
}

/* Ibracast: acento amarelo */
.hv2-pc-card--ibracast {
	background: linear-gradient(160deg, #FFF8DD 0%, #fff 70%);
}

.hv2-pc-card--ibracast .hv2-pc-icon {
	background: var(--hv2-accent);
	color: #3D1446;
}

.hv2-pc-card--ibracast:hover .hv2-pc-icon {
	background: #3D1446;
	color: var(--hv2-accent);
}

.hv2-pc-card--ibracast .hv2-pc-latest {
	border-top-color: rgba(61, 20, 70, .12);
}

@media (max-width: 1199.98px) {
	.hv2-pc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}

	.hv2-pc-hub {
		grid-row: auto;
		grid-column: span 2;
	}

	.hv2-pc-card {
		min-height: 12rem;
	}
}

@media (max-width: 575.98px) {
	.hv2-pc-grid {
		grid-template-columns: 1fr;
	}

	.hv2-pc-hub,
	.hv2-pc-card--tecnicas {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {

	.hv2-pc-hub,
	.hv2-pc-card,
	.hv2-pc-icon,
	.hv2-pc-card.has-bg::before {
		transition: none;
	}

	.hv2-pc-hub:hover,
	.hv2-pc-card:hover,
	.hv2-pc-card.has-bg:hover::before,
	.hv2-pc-card:hover .hv2-pc-icon {
		transform: none;
	}
}

/* Slider dos próximos cursos: mesmas setas do EAD, em versão para fundo claro */
.hv2-live-carousel {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.hv2-live-carousel .carousel-inner {
	flex: 1;
	padding: .25rem .25rem .4rem;
	margin: -.25rem -.25rem -.4rem;
}

.hv2-live-carousel .hv2-mc:hover,
.hv2-live-carousel .hv2-mc:focus-within {
	transform: translateY(-3px);
}

.hv2-live-nav {
	margin-top: .6rem;
}

.hv2-live-nav .hv2-ead-btn {
	border-color: rgba(105, 39, 114, .3);
	background: #fff;
	color: var(--clr-primary);
}

.hv2-live-nav .hv2-ead-btn:hover,
.hv2-live-nav .hv2-ead-btn:focus-visible {
	background: var(--clr-primary);
	color: #fff;
}

.hv2-live-nav .hv2-ead-dots button {
	background: rgba(105, 39, 114, .25);
}

.hv2-live-nav .hv2-ead-dots button.active {
	background: var(--clr-primary);
}

/* Cards esticam até a altura do painel EAD; a imagem ocupa o espaço que sobra */
.hv2-live-carousel .carousel-inner {
	display: flex;
}

.hv2-live-carousel .carousel-item {
	flex: 0 0 100%;
}

.hv2-live-carousel .hv2-mc-grid {
	height: 100%;
}

.hv2-live-carousel .hv2-mc-media {
	flex: 1 1 auto;
	aspect-ratio: auto;
	min-height: 7.5rem;
}

.hv2-live-carousel .hv2-mc-media img {
	position: absolute;
	inset: 0;
}

.hv2-live-carousel .hv2-mc-body {
	padding: .55rem .7rem .65rem;
	gap: .3rem;
}

.hv2-live-carousel .hv2-mc-title {
	-webkit-line-clamp: 2;
	font-size: .82rem;
}

.hv2-live-carousel .hv2-mc-date {
	padding: .25rem .35rem;
	min-width: 2.5rem;
}

.hv2-live-carousel .hv2-mc-day {
	font-size: 1rem;
}

@media (max-width: 767.98px) {
	.hv2-mc-grid {
		grid-template-columns: 1fr;
	}

	.hv2-mc {
		flex-direction: row;
	}

	.hv2-mc-media,
	.hv2-live-carousel .hv2-mc-media {
		flex: 0 0 38%;
		aspect-ratio: auto;
		min-height: 6.5rem;
	}
}

@media (max-width: 767.98px) {
	.hv2-dp-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.hv2-dp-panel,
	.hv2-ead {
		padding: 1rem;
	}

	.hv2-live-item {
		gap: .75rem;
	}

	.hv2-live-date {
		width: 3.5rem;
		height: 3.75rem;
	}

	.hv2-live-day {
		font-size: 1.3rem;
	}

	.hv2-live-go {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.hv2-mc,
	.hv2-mc-media img,
	.hv2-live-item,
	.hv2-ead-cta {
		transition: none;
	}

	.hv2-live-item:hover,
	.hv2-ead-cta:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {

	.hv2-card,
	.hv2-card-img,
	.hv2-card-media::after,
	.hv2-card-cta,
	.hv2-card-cta-icon,
	.hv2-hero .hv2-hero-arrow-icon,
	.hv2-hero .slider-indicator {
		transition: none;
	}

	.hv2-card:hover,
	.hv2-card:hover .hv2-card-img,
	.hv2-card:hover .hv2-card-cta-icon {
		transform: none;
	}
}


/* ==================== FAQ ==================== */

.hv2-faq {
	position: relative;
	isolation: isolate;
	padding: clamp(3rem, 7vw, 6rem) 0;
	color: #fff;
	background:
		linear-gradient(135deg, rgba(61, 20, 70, .94) 0%, rgba(105, 39, 114, .9) 55%, rgba(128, 33, 126, .88) 100%),
		var(--hv2-faq-bg, none) center / cover no-repeat,
		var(--clr-primary);
}

.hv2-faq::before {
	content: "";
	position: absolute;
	inset: auto -8rem -10rem auto;
	z-index: -1;
	width: 28rem;
	height: 28rem;
	border-radius: 50%;
	border: 3rem solid rgba(242, 183, 5, .08);
	pointer-events: none;
}

.hv2-faq-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

/* Texto à direita no desktop (lista vem primeiro no HTML por ordem de leitura do conteúdo) */
.hv2-faq-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}

.hv2-faq-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .35rem .9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: var(--hv2-accent);
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hv2-faq-title {
	margin: 0;
	font-family: "montBold", "Montserrat", sans-serif;
	font-size: clamp(1.8rem, 3.4vw, 2.75rem);
	line-height: 1.15;
	color: #fff;
}

.hv2-faq-title::after {
	content: "";
	display: block;
	width: 3.5rem;
	height: 4px;
	margin-top: 1rem;
	border-radius: 4px;
	background: var(--hv2-accent);
}

.hv2-faq-desc {
	margin: 0;
	max-width: 32rem;
	font-size: 1.05rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .85);
}

.hv2-faq-cta {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: .5rem;
	padding: .7rem 1.4rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", sans-serif;
	font-size: .85rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}

.hv2-faq-cta:hover {
	color: #3D1446;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(242, 183, 5, .35);
}

.hv2-faq-cta .bi {
	transition: transform .25s ease;
}

.hv2-faq-cta:hover .bi {
	transform: translateX(4px);
}

/* Acordeão */
.hv2-faq-list {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.hv2-faq-item {
	border-radius: var(--hv2-radius);
	background: rgba(255, 255, 255, .96);
	color: var(--clr-primary);
	box-shadow: 0 6px 18px rgba(20, 5, 26, .22);
	overflow: hidden;
	transition: box-shadow .3s ease, background-color .3s ease;
}

.hv2-faq-item[open] {
	background: #fff;
	box-shadow: 0 12px 30px rgba(20, 5, 26, .32);
}

.hv2-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.05rem 1.25rem;
	cursor: pointer;
	list-style: none;
	font-family: "montSemiBold", "Montserrat", sans-serif;
	font-size: .95rem;
	line-height: 1.4;
}

.hv2-faq-q::-webkit-details-marker {
	display: none;
}

.hv2-faq-q:hover .hv2-faq-q-text {
	color: var(--hv2-purple-2);
}

.hv2-faq-q:focus-visible {
	outline: 3px solid var(--hv2-accent);
	outline-offset: -3px;
	border-radius: var(--hv2-radius);
}

.hv2-faq-q-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(105, 39, 114, .1);
	font-size: .85rem;
	transition: transform .3s ease, background-color .3s ease, color .3s ease;
}

.hv2-faq-item[open] .hv2-faq-q-icon {
	transform: rotate(135deg);
	background: var(--clr-primary);
	color: #fff;
}

.hv2-faq-a {
	padding: 0 1.25rem 1.2rem;
	font-size: .92rem;
	line-height: 1.65;
	color: #4b3a53;
	animation: hv2-faq-in .3s ease;
}

.hv2-faq-a> :last-child {
	margin-bottom: 0;
}

.hv2-faq-a a {
	color: var(--hv2-purple-2);
}

@keyframes hv2-faq-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 991.98px) {
	.hv2-faq-wrap {
		grid-template-columns: 1fr;
	}

	.hv2-faq-text {
		order: -1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hv2-faq-a {
		animation: none;
	}

	.hv2-faq-item,
	.hv2-faq-q-icon,
	.hv2-faq-cta,
	.hv2-faq-cta .bi {
		transition: none;
	}

	.hv2-faq-cta:hover {
		transform: none;
	}
}

/* ==================== Agenda Ibracon ==================== */

.hv2-ag {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	background: #fff;
}

.dark-mode .hv2-ag { background: #120f15; }

.hv2-ag-col {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.hv2-ag .hv2-dp-panel-head { padding: 0; }

/* Destaque: evento do Ibracon */
.hv2-ev {
	position: relative;
	isolation: isolate;
	flex: 1;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(105, 39, 114, .1);
	border-radius: var(--hv2-radius);
	overflow: hidden;
	box-shadow: var(--hv2-shadow);
	transition: transform .3s ease, box-shadow .3s ease;
}

.hv2-ev:hover,
.hv2-ev:focus-within { transform: translateY(-4px); box-shadow: var(--hv2-shadow-hover); }

.dark-mode .hv2-ev { background: #1f1a24; border-color: rgba(255, 255, 255, .06); }

.hv2-ev-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(150deg, var(--clr-primary), var(--hv2-purple-2));
}

.hv2-ev-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.hv2-ev:hover .hv2-ev-media img { transform: scale(1.05); }

.hv2-ev-date {
	position: absolute;
	left: .85rem;
	bottom: .85rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 3.4rem;
	padding: .45rem .5rem;
	border-radius: 10px;
	background: #fff;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}

.hv2-ev-day { font-family: "montBold", sans-serif; font-size: 1.5rem; color: var(--clr-primary); }
.hv2-ev-month { margin-top: .2rem; font-family: "montSemiBold", sans-serif; font-size: .7rem; letter-spacing: .08em; color: var(--hv2-purple-2); }

.hv2-ev-past {
	position: absolute;
	top: .6rem;
	left: .6rem;
	padding: .2rem .6rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, .55);
	color: #fff;
	font-size: .7rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.hv2-ev .hv2-mc-tag { top: .75rem; right: .75rem; }

.hv2-ev-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	padding: 1.1rem 1.25rem 1.25rem;
}

.hv2-ev-title {
	margin: 0;
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-size: 1.15rem;
	line-height: 1.35;
}

.hv2-ev-title a {
	font-family: inherit !important;
	color: #3D1446;
	text-decoration: none;
}

.dark-mode .hv2-ev-title a { color: #fff; }
.hv2-ev:hover .hv2-ev-title a { color: var(--hv2-purple-2); }

.hv2-ev-desc {
	margin: 0;
	font-size: .85rem;
	line-height: 1.55;
	color: #6b5a73;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-ev-foot {
	margin-top: auto;
	padding-top: .4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex-wrap: wrap;
}

.hv2-ev-foot .hv2-ft-cta { margin-top: 0; }
.hv2-ev:hover .hv2-ft-cta { background: var(--hv2-purple-2); }
.hv2-ev:hover .hv2-ft-cta .bi { transform: translateX(3px); }

.hv2-ev-status {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: "montSemiBold", sans-serif;
	font-size: .78rem;
	color: #1f7a4d;
}

.hv2-ev-status::before {
	content: "";
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: currentColor;
}

.hv2-ev-status.is-soon { color: #9a6b00; }
.hv2-ev-status.is-closed { color: #8a7d90; }

/* Participação institucional: linha do tempo vertical */
.hv2-ag-inst {
	padding: 1.25rem 1.25rem .5rem;
	border-radius: var(--hv2-radius);
	background: #F7F2FA;
	border: 1px solid rgba(105, 39, 114, .08);
}

.dark-mode .hv2-ag-inst { background: #1f1a24; border-color: rgba(255, 255, 255, .06); }

.hv2-ag-note {
	margin: -.4rem 0 .9rem;
	font-size: .82rem;
	color: #6b5a73;
}

.hv2-ag-list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Trilho da linha do tempo, alinhado ao centro dos pontos */
.hv2-ag-list::before {
	content: "";
	position: absolute;
	left: calc(4.85rem - 1px);
	top: 1.1rem;
	bottom: 1.1rem;
	width: 2px;
	background: linear-gradient(180deg, var(--clr-primary), rgba(105, 39, 114, .12));
}

.hv2-ag-item {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 3.4rem 1.9rem 1fr auto;
	align-items: start;
	column-gap: .5rem;
	padding: .75rem .75rem .75rem 0;
	border-radius: 12px;
	transition: background-color .25s ease;
}

.hv2-ag-item:hover,
.hv2-ag-item:focus-within { background: #fff; }
.dark-mode .hv2-ag-item:hover { background: rgba(255, 255, 255, .04); }

.hv2-ag-when {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1;
	text-transform: uppercase;
	padding-top: .1rem;
}

.hv2-ag-day { font-family: "montBold", sans-serif; font-size: 1.35rem; color: var(--clr-primary); }
.hv2-ag-month { margin-top: .15rem; font-family: "montSemiBold", sans-serif; font-size: .66rem; letter-spacing: .08em; color: var(--hv2-purple-2); }
.dark-mode .hv2-ag-day { color: #fff; }

.hv2-ag-dot {
	justify-self: center;
	z-index: 1;
	width: .9rem;
	height: .9rem;
	margin-top: .35rem;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--clr-primary);
	transition: transform .25s ease, background-color .25s ease;
}

.hv2-ag-item.is-soon .hv2-ag-dot {
	background: var(--hv2-accent);
	border-color: var(--hv2-accent);
	box-shadow: 0 0 0 5px rgba(242, 183, 5, .25);
}

.hv2-ag-item:hover .hv2-ag-dot { transform: scale(1.2); background: var(--clr-primary); }

.hv2-ag-body { min-width: 0; }

.hv2-ag-title {
	margin: 0 0 .3rem;
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-size: .95rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-ag-title a {
	font-family: inherit !important;
	color: #3D1446;
	text-decoration: none;
}

.dark-mode .hv2-ag-title a { color: #fff; }
.hv2-ag-item:hover .hv2-ag-title a { color: var(--hv2-purple-2); }

.hv2-ag-go {
	align-self: center;
	color: var(--clr-primary);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .25s ease, transform .25s ease;
}

.hv2-ag-item:hover .hv2-ag-go { opacity: 1; transform: none; }

.hv2-ag-item:has(.hv2-live-link:focus-visible),
.hv2-ev:has(.hv2-live-link:focus-visible) {
	outline: 3px solid var(--hv2-accent);
	outline-offset: 2px;
}

@media (max-width: 575.98px) {
	.hv2-ag-inst { padding: 1rem .75rem .25rem; }
	.hv2-ag-item { grid-template-columns: 2.8rem 1.5rem 1fr; padding-right: .25rem; }
	.hv2-ag-list::before { left: calc(4.05rem - 1px); }
	.hv2-ag-go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.hv2-ev, .hv2-ev-media img, .hv2-ag-dot, .hv2-ag-go { transition: none; }
	.hv2-ev:hover, .hv2-ev:hover .hv2-ev-media img, .hv2-ag-item:hover .hv2-ag-dot { transform: none; }
}

/* Botão pílula do destaque de evento (antes vinha da opção "Destaque + lista", removida) */
.hv2-ft-cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem 1.1rem;
	border-radius: 999px;
	background: var(--clr-primary);
	color: #fff;
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-size: .75rem;
	line-height: 1;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .25s ease;
}

.hv2-ft-cta .bi { transition: transform .25s ease; }

/* Imagem do evento inteira, sem corte; o fundo cobre eventuais sobras */
.hv2-ev-media img { object-fit: contain; }


/* ==================== Agenda: destaque imersivo do evento ==================== */

/* Peças comuns */
.hv2-ev-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem .75rem;
	margin: 0;
	font-family: "montBold", sans-serif;
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hv2-purple-2);
}

.hv2-ev-countdown {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .25rem .65rem;
	border-radius: 999px;
	background: var(--hv2-accent);
	color: #3D1446;
	font-family: "montBold", sans-serif;
	font-size: .72rem;
	letter-spacing: .02em;
	text-transform: none;
}

.hv2-ev-carousel .hv2-ev-title { font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.hv2-ev-carousel .hv2-ev-title a { font-family: inherit !important; text-decoration: none; }
.hv2-ev-carousel .hv2-ev-title a:hover { color: var(--hv2-purple-2); }
.hv2-ev-meta { font-size: .85rem; gap: .35rem 1.1rem; }

.hv2-ev-status small {
	margin-left: .25rem;
	font-family: "montRegular", sans-serif;
	font-size: .78rem;
	color: #6b5a73;
}

.hv2-pl-foot {
	margin-top: auto;
	padding-top: .5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1rem;
}

.hv2-ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.hv2-ev-cta { text-decoration: none; padding: .65rem 1.3rem; font-size: .8rem; }
.hv2-ev-cta:hover { color: #fff; background: var(--hv2-purple-2); }
.hv2-ev-cta:hover .bi { transform: translateX(3px); }

.hv2-ev-gcal {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: "montSemiBold", sans-serif;
	font-size: .8rem;
	color: var(--clr-primary);
	text-decoration: none;
}

.hv2-ev-gcal:hover { color: var(--hv2-purple-2); text-decoration: underline; text-underline-offset: 3px; }

.hv2-ev-carousel img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ---------- B · Imersivo ---------- */
.hv2-im {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(1.25rem, 3vw, 2.75rem);
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	border-radius: calc(var(--hv2-radius) + 6px);
	background: #2a0f30;
	color: #fff;
}

.hv2-im::before {
	content: "";
	position: absolute;
	inset: -40px;
	z-index: -2;
	background: var(--hv2-im-bg, none) center / cover no-repeat;
	filter: blur(36px) saturate(1.3);
	opacity: .55;
}

.hv2-im::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, rgba(42, 15, 48, .95) 0%, rgba(74, 21, 84, .85) 50%, rgba(105, 39, 114, .55) 100%);
}

.hv2-im-body { display: flex; flex-direction: column; gap: .85rem; }
.hv2-im .hv2-ev-kicker { color: var(--hv2-accent); }
.hv2-im .hv2-ev-title a { color: #fff; }
.hv2-im .hv2-ev-title a:hover { color: var(--hv2-accent); }
.hv2-im .hv2-meta { color: rgba(255, 255, 255, .8); }
.hv2-im .hv2-meta .bi { color: var(--hv2-accent); }
.hv2-im .hv2-im-tag { position: static; box-shadow: none; }

.hv2-im-timer { display: flex; gap: .6rem; margin: .25rem 0; }

.hv2-im-timer div {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 4.25rem;
	padding: .6rem .5rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .15);
	backdrop-filter: blur(6px);
}

.hv2-im-timer strong { font-family: "montBold", sans-serif; font-size: 1.75rem; line-height: 1; color: #fff; }
.hv2-im-timer span { margin-top: .3rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hv2-im-countdown { align-self: flex-start; margin: 0; }

.hv2-im .hv2-ev-status { color: #7ee2a8; }
.hv2-im .hv2-ev-status small { color: rgba(255, 255, 255, .7); }
.hv2-im .hv2-ev-cta { background: var(--hv2-accent); color: #3D1446; }
.hv2-im .hv2-ev-cta:hover { background: #fff; color: #3D1446; }
.hv2-im .hv2-ev-gcal { color: #fff; }
.hv2-im .hv2-ev-gcal:hover { color: var(--hv2-accent); }

.hv2-im-art {
	display: block;
	overflow: hidden;
	border-radius: var(--hv2-radius);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
	transform: perspective(1200px) rotateY(-6deg);
	transition: transform .5s ease;
}

.hv2-im:hover .hv2-im-art { transform: perspective(1200px) rotateY(0); }

/* ---------- Faixa de participação institucional ---------- */
.hv2-is {
	margin-top: 1.75rem;
	padding: 1.1rem 1.25rem 1.25rem;
	border-radius: var(--hv2-radius);
	background: #F7F2FA;
	border: 1px solid rgba(105, 39, 114, .08);
}

.hv2-is-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .25rem 1rem;
	margin-bottom: 1rem;
}

.hv2-is-note { font-size: .8rem; color: #6b5a73; }
.hv2-is-head .hv2-dp-panel-link { margin-left: auto; }

.hv2-is-list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.hv2-is-list::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: .4rem;
	height: 2px;
	background: linear-gradient(90deg, var(--clr-primary), rgba(105, 39, 114, .12));
}

.hv2-is-item { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: .3rem; padding-top: 1.35rem; }

.hv2-is-dot {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: .9rem;
	height: .9rem;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--clr-primary);
	transition: transform .25s ease, background-color .25s ease;
}

.hv2-is-item.is-soon .hv2-is-dot { background: var(--hv2-accent); border-color: var(--hv2-accent); box-shadow: 0 0 0 5px rgba(242, 183, 5, .25); }
.hv2-is-item:hover .hv2-is-dot { transform: scale(1.2); background: var(--clr-primary); }

.hv2-is-date { font-family: "montBold", sans-serif; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--hv2-purple-2); }

.hv2-is-title {
	margin: 0;
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-size: .88rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv2-is-title a { font-family: inherit !important; color: #3D1446; text-decoration: none; }
.hv2-is-item:hover .hv2-is-title a { color: var(--hv2-purple-2); text-decoration: underline; text-underline-offset: 3px; }
.hv2-is-org { font-size: .75rem; color: #6b5a73; }

/* ---------- Responsivo ---------- */
@media (max-width: 991.98px) {
	.hv2-im { grid-template-columns: 1fr; }
	.hv2-im-art { order: -1; transform: none; }
	.hv2-is-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
	.hv2-is-list::before { display: none; }
}

@media (max-width: 575.98px) {
	.hv2-is-list { grid-template-columns: 1fr; }
	.hv2-im-timer div { min-width: 3.6rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hv2-im-art, .hv2-is-dot { transition: none; }
	.hv2-im:hover .hv2-im-art { transform: none; }
}


/* ==========================================================================
   Padronização tipográfica entre as seções (vale sobre as regras acima)
   ========================================================================== */

:root {
	--hv2-fs-title: clamp(1.6rem, 3vw, 2.25rem);  /* título de seção */
	--hv2-fs-eyebrow: .75rem;                    /* etiqueta acima do título */
	--hv2-fs-lead: 1rem;                         /* texto de apoio da seção */
	--hv2-fs-card: 1.05rem;                      /* título de card grande */
	--hv2-fs-card-sm: .9rem;                     /* título de card compacto */
	--hv2-fs-meta: .78rem;                       /* data, horário, créditos, organizador */
}

/* Títulos de seção: mesmo tamanho e peso (o tema força SemiBold em h1–h6 com !important) */
.hv2-section-title,
.hv2-dp-title,
.hv2-faq-title {
	font-family: "montBold", "Montserrat", sans-serif !important;
	font-size: var(--hv2-fs-title) !important;
	line-height: 1.2;
}

.hv2-dp-title { margin: .75rem 0 .35rem; }

/* Cabeçalhos de seção alinhados à esquerda */
.hv2-section-head { text-align: left; }
.hv2-section-title::after { margin-left: 0; margin-right: 0; }

.hv2-eyebrow,
.hv2-faq-eyebrow { font-size: var(--hv2-fs-eyebrow); }

.hv2-dp-lead,
.hv2-faq-desc { font-size: var(--hv2-fs-lead); line-height: 1.6; }

/* Títulos de card */
.hv2-card-title,
.hv2-pc-title { font-size: var(--hv2-fs-card); }

.hv2-mc-title,
.hv2-live-carousel .hv2-mc-title,
.hv2-ead-title,
.hv2-is-title { font-size: var(--hv2-fs-card-sm); }

/* Metadados */
.hv2-meta,
.hv2-mc .hv2-meta,
.hv2-ead .hv2-meta,
.hv2-is-org,
.hv2-is-date { font-size: var(--hv2-fs-meta); }


/* Agenda institucional como seção própria (sem o título interno da faixa) */
.hv2-is.is-standalone { margin-top: 0; padding-top: 1.4rem; }

/* Eventos do Ibracon logo após Desenvolvimento Profissional: menos respiro no topo */
.hv2-ev-section { padding-top: clamp(1rem, 2.5vw, 2rem); }


/* ==========================================================================
   Desenvolvimento Profissional em azul — mesma paleta da página de cursos
   (desenvolvimento-profissional.css: #30579E, degradê até #1a3c7a)
   ========================================================================== */

.hv2-dp {
	--clr-primary: #30579E;
	--hv2-purple-2: #244A8F;
	--hv2-dp-ink: #1A2B3C;
	--hv2-dp-muted: #56657A;
	--hv2-dp-soft: #EEF3FB;
	--hv2-dp-line: rgba(48, 87, 158, .14);
}

.hv2-dp .hv2-eyebrow { background: rgba(48, 87, 158, .1); }
.hv2-dp .hv2-dp-lead { color: var(--hv2-dp-muted); }

/* Painel dos próximos cursos */
.hv2-dp .hv2-dp-panel { background: var(--hv2-dp-soft); border-color: var(--hv2-dp-line); }
.hv2-dp .hv2-dp-panel-title { color: var(--hv2-dp-ink); }
.hv2-dp .hv2-mc { box-shadow: 0 1px 3px rgba(26, 43, 60, .08); }
.hv2-dp .hv2-mc:hover,
.hv2-dp .hv2-mc:focus-within { box-shadow: 0 10px 24px rgba(26, 43, 60, .16); }
.hv2-dp .hv2-mc-title a { color: var(--hv2-dp-ink); }
.hv2-dp .hv2-mc:hover .hv2-mc-title a { color: var(--clr-primary); }
.hv2-dp .hv2-meta { color: var(--hv2-dp-muted); }
.hv2-dp .hv2-mc-tag { color: var(--hv2-dp-ink); }
.hv2-dp .hv2-live-nav .hv2-ead-btn { border-color: rgba(48, 87, 158, .3); }
.hv2-dp .hv2-live-nav .hv2-ead-dots button { background: rgba(48, 87, 158, .25); }
.hv2-dp .hv2-live-nav .hv2-ead-dots button.active { background: var(--clr-primary); }

/* Painel EAD: degradê azul */
.hv2-dp .hv2-ead {
	background:
		radial-gradient(18rem 12rem at 110% -10%, rgba(242, 183, 5, .22), transparent 70%),
		linear-gradient(135deg, #30579E 0%, #1a3c7a 100%);
}

.hv2-dp .hv2-ead-cta,
.hv2-dp .hv2-ead-cta:hover { color: var(--hv2-dp-ink); }

.dark-mode .hv2-dp .hv2-dp-panel { background: #18202b; border-color: rgba(255, 255, 255, .06); }
.dark-mode .hv2-dp .hv2-dp-panel-title,
.dark-mode .hv2-dp .hv2-mc-title a { color: #fff; }


/* Painel EAD continua com texto claro sobre o degradê azul */
.hv2-dp .hv2-ead .hv2-dp-panel-title { color: #fff; }
.hv2-dp .hv2-ead .hv2-meta { color: rgba(255, 255, 255, .78); }
.hv2-dp .hv2-ead .hv2-meta .bi { color: var(--hv2-accent); }

/* ==========================================================================
   Fundos intercalados entre as seções
   Destaques (lilás) → Desenv. Profissional (branco) → Eventos (lilás) →
   Portal (branco) → FAQ (roxo) → Agenda institucional (branco) → Newsletter (roxo)
   ========================================================================== */

.hv2-dp { background: #fff; }

.hv2-ev-section {
	padding-top: clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(40rem 22rem at 100% 0%, rgba(242, 183, 5, .10), transparent 70%),
		radial-gradient(45rem 26rem at 0% 100%, rgba(128, 33, 126, .10), transparent 70%),
		#F7F2FA;
}

.hv2-pc { background: #fff; }
.hv2-pc .hv2-pc-card { box-shadow: var(--hv2-shadow); }

.dark-mode .hv2-ev-section { background: #16121a; }
.dark-mode .hv2-pc { background: #120f15; }


/* Destaques sem título: só a etiqueta "Em destaque" acima dos cards */
.hv2-cards .hv2-section-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); }

/* Painel EAD com degradê azul mais marcante */
.hv2-dp .hv2-ead {
	position: relative;
	isolation: isolate;
	background:
		radial-gradient(22rem 16rem at 105% -5%, rgba(242, 183, 5, .38), transparent 65%),
		radial-gradient(26rem 18rem at -10% 110%, rgba(86, 156, 255, .45), transparent 65%),
		linear-gradient(140deg, #3E73D1 0%, #30579E 45%, #142C5E 100%);
	box-shadow: 0 18px 40px rgba(20, 44, 94, .35);
}

/* Anel decorativo no canto */
.hv2-dp .hv2-ead::after {
	content: "";
	position: absolute;
	right: -4.5rem;
	bottom: -4.5rem;
	z-index: -1;
	width: 13rem;
	height: 13rem;
	border-radius: 50%;
	border: 2.25rem solid rgba(255, 255, 255, .07);
	pointer-events: none;
}

.hv2-dp .hv2-ead-item { background: rgba(255, 255, 255, .1); }
.hv2-dp .hv2-ead-item:hover { background: rgba(255, 255, 255, .18); }
