/* ===== HERO SLIDER ===== */
/* ===== HERO SLIDER - CLEAN / FULL HEIGHT / 2 COLUNAS ===== */
:root {
	--vpa-blue-dark: #1a1a2e;
	--vpa-blue-mid: #16213e;
	--vpa-blue-light: #0f3460;
	--vpa-red-dark: #8B0000;
	--vpa-red: #DC143C;
	--vpa-red-light: #ce1b39;
	--menu-height: 80px; /* ajustado via JS conforme header real */
	--hero-min-height: 560px;
	--hero-max-width: 1320px;
	--hero-pad-x: clamp(28px, 5vw, 76px);
	--hero-pad-y: clamp(26px, 4.2vw, 64px);
	--hero-gap: clamp(20px, 4vw, 56px);
	--hero-height-mult: 0.70;
	--media-radius: 22px;
}

.hero-header-spacer {
	height: var(--menu-height);
	background: #0b0b12;
}

.hero-slider-section {
	position: relative;
	overflow: hidden;
	background: #0b0b12;
	min-height: var(--hero-min-height);
	box-sizing: border-box;
	/* 70% do viewport disponível (descontando o header) */
	height: calc((100vh - var(--menu-height)) * var(--hero-height-mult));
	height: calc((100svh - var(--menu-height)) * var(--hero-height-mult));
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	cursor: grab;
}

.hero-slider-section.is-dragging {
	cursor: grabbing;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.75s ease;
}

.hero-slide.active {
	opacity: 1;
	pointer-events: auto;
}

/* Tema Azul */
.hero-slide.theme-blue {
	background: linear-gradient(135deg, var(--vpa-blue-dark) 0%, var(--vpa-blue-mid) 50%, var(--vpa-blue-light) 100%);
}

.hero-slide.theme-blue::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
	opacity: 0.5;
	pointer-events: none;
}

/* Tema Vermelho */
.hero-slide.theme-red {
	background: linear-gradient(135deg, #2d0a0a 0%, #4a1010 50%, var(--vpa-red-dark) 100%);
}

.hero-slide.theme-red::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid2" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid2)"/></svg>');
	opacity: 0.5;
	pointer-events: none;
}

.hero-slide-inner {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: var(--hero-min-height);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: var(--hero-gap);
	align-items: center;
	max-width: var(--hero-max-width);
	margin: 0 auto;
	padding: var(--hero-pad-y) var(--hero-pad-x);
	z-index: 2;
}

/* Coluna esquerda (texto) */
.hero-left {
	display: flex;
	align-items: center;
	padding: 0;
}

.hero-left-inner {
	width: 100%;
	max-width: 640px;
	padding-left: 0;
	padding-right: 0;
}

/* Coluna direita (mídia) - ocupa TUDO, sem borda/margem */
.hero-right {
	position: relative;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-badge {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	margin-bottom: 25px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.3);
	animation: pulse-badge 2s ease-in-out infinite;
}

.theme-blue .hero-badge {
	background: linear-gradient(135deg, var(--vpa-red) 0%, var(--vpa-red-dark) 100%);
	color: #ffffff;
}

.theme-red .hero-badge {
	background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
	color: var(--vpa-red);
}

@keyframes pulse-badge {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.03); }
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.15;
	margin-bottom: 25px;
	text-shadow: 0 4px 20px rgba(0,0,0,0.3);
	font-family: 'Poppins', sans-serif;
}

.hero-title .highlight {
	background: linear-gradient(135deg, var(--vpa-red) 0%, #FF6B6B 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.theme-red .hero-title .highlight {
	background: linear-gradient(135deg, #ffffff 0%, #ffcccc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-description {
	font-size: 1.2rem;
	color: rgba(255,255,255,0.85);
	line-height: 1.8;
	margin-bottom: 35px;
	font-weight: 300;
}

.hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 36px;
	border-radius: 50px;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	position: relative;
	overflow: hidden;
}

.theme-blue .hero-cta {
	background: linear-gradient(135deg, var(--vpa-red) 0%, var(--vpa-red-dark) 100%);
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(220,20,60,0.4);
}

.theme-red .hero-cta {
	background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
	color: var(--vpa-red);
	box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.hero-cta:hover {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 15px 40px rgba(0,0,0,0.3);
	text-decoration: none;
}

.theme-blue .hero-cta:hover {
	color: #ffffff;
}

.theme-red .hero-cta:hover {
	color: var(--vpa-red);
}

.hero-cta i {
	font-size: 1rem;
	transition: transform 0.25s ease;
}

.hero-cta:hover i {
	transform: translateX(4px);
}

.hero-media {
	position: relative;
	width: 100%;
	height: min(100%, clamp(320px, 52vh, 560px));
	height: min(100%, clamp(320px, 52svh, 560px));
	overflow: hidden;
	border-radius: var(--media-radius);
	box-shadow: 0 30px 80px rgba(0,0,0,0.42);
	background: rgba(0,0,0,0.25);
	transform: translateZ(0);
}

.hero-media img,
.hero-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.12) 18%, rgba(0,0,0,0.0) 44%);
	pointer-events: none;
}

.hero-media::before {
	content: '';
	position: absolute;
	top: -40%;
	left: -60%;
	width: 220%;
	height: 220%;
	background: linear-gradient(45deg, transparent 35%, rgba(220,20,60,0.10) 50%, transparent 65%);
	animation: heroShimmer 3.8s infinite;
	pointer-events: none;
}

@keyframes heroShimmer {
	0% { transform: translateX(-18%) translateY(-18%) rotate(45deg); }
	100% { transform: translateX(18%) translateY(18%) rotate(45deg); }
}

/* Animação clean do conteúdo */
.hero-anim {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active .hero-anim {
	opacity: 1;
	transform: none;
}

.hero-slide.active .hero-anim.d1 { transition-delay: 0.05s; }
.hero-slide.active .hero-anim.d2 { transition-delay: 0.12s; }
.hero-slide.active .hero-anim.d3 { transition-delay: 0.18s; }
.hero-slide.active .hero-anim.d4 { transition-delay: 0.24s; }

/* Controles do Slider */
.hero-slider-controls {
	position: absolute;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	z-index: 10;
	width: 90%;
	max-width: 1200px;
}

.hero-slider-nav {
	display: flex;
	align-items: center;
	gap: 20px;
}

.hero-slider-btn {
	width: 46px;
	height: 46px;
	min-height: 46px;
	max-height: 46px;
	flex: 0 0 46px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.2);
	padding: 0;
	line-height: 1;
	-webkit-appearance: none;
	appearance: none;
	color: #ffffff;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-slider-btn i {
	display: block;
	line-height: 1;
	font-size: 14px;
}

.hero-slider-btn:hover {
	background: rgba(255,255,255,0.25);
	transform: scale(1.1);
}

/* Barra de Progresso */
.hero-progress-container {
	width: 100%;
	max-width: 360px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.hero-progress-bar {
	width: 100%;
	height: 4px;
	background: rgba(255,255,255,0.2);
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

.hero-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--vpa-red), var(--vpa-red-light));
	border-radius: 2px;
	width: 0%;
	will-change: width;
}

.hero-progress-fill.is-red {
	background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55));
}

.hero-progress-text {
	color: rgba(255,255,255,0.7);
	font-size: 0.85rem;
	font-weight: 500;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1200px) {
	.hero-title {
		font-size: 2.5rem;
	}
	.hero-left-inner {
		max-width: 600px;
	}
}

@media (max-width: 991px) {
	.hero-slide-inner {
		grid-template-columns: 1fr;
		grid-template-rows: auto 1fr;
		gap: 18px;
		padding: 28px 22px 64px;
	}
	.hero-left {
		align-items: flex-end;
	}
	.hero-left-inner {
		max-width: 720px;
		margin: 0 auto;
		text-align: center;
		padding-top: 0;
		padding-bottom: 6px;
		padding-left: 0;
		padding-right: 0;
	}
	.hero-right {
		height: auto;
	}
	.hero-media {
		height: clamp(240px, 36vh, 380px);
		height: clamp(240px, 36svh, 380px);
		border-radius: 18px;
		box-shadow: 0 22px 60px rgba(0,0,0,0.35);
	}
	
	.hero-title {
		font-size: 2.2rem;
	}
	
	.hero-description {
		font-size: 1.1rem;
	}
	
	.hero-badge {
		font-size: 0.8rem;
		padding: 10px 22px;
	}
	
	.hero-slider-controls {
		bottom: 20px;
	}
}

@media (max-width: 767px) {
	.hero-title {
		font-size: 1.8rem;
	}
	
	.hero-description {
		font-size: 1rem;
		margin-bottom: 25px;
	}
	
	.hero-media {
		height: clamp(220px, 34vh, 340px);
		height: clamp(220px, 34svh, 340px);
		border-radius: 16px;
		box-shadow: 0 18px 50px rgba(0,0,0,0.32);
	}
	
	.hero-cta {
		padding: 14px 28px;
		font-size: 0.9rem;
	}
	
	.hero-slider-btn {
		width: 42px;
		height: 42px;
		font-size: 14px;
	}
	
	.hero-progress-container {
		max-width: 280px;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 1.5rem;
	}
	
	.hero-description {
		font-size: 0.95rem;
	}
	
	.hero-media {
		height: 220px;
		border-radius: 14px;
		box-shadow: 0 16px 44px rgba(0,0,0,0.30);
	}
	
	.hero-badge {
		font-size: 0.75rem;
		padding: 8px 18px;
	}
}

/* ===== PROCESSO / MOBILIZAÇÃO ===== */
	/* ===== VPA - PROCESSO (VISUAL MAIS PREMIUM) ===== */
	.vpa-process-section {
		position: relative;
		background: linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
	}

	.vpa-process {
		position: relative;
	}

	.vpa-process-steps {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
		align-items: stretch;
		position: relative;
	}

	/* Linha contínua (desktop) */
	.vpa-process-steps::before {
		content: '';
		position: absolute;
		top: 26px;
		left: 10%;
		right: 10%;
		height: 2px;
		background: linear-gradient(90deg, rgba(206, 27, 57, 0.10), rgba(206, 27, 57, 0.55), rgba(206, 27, 57, 0.10));
		pointer-events: none;
		border-radius: 999px;
	}

	.vpa-process-step {
		position: relative;
		padding-top: 54px;
		min-width: 0;
		opacity: 0;
		transform: translateY(14px);
		transition: opacity 0.6s ease, transform 0.6s ease;
	}

	.vpa-process-step.is-visible {
		opacity: 1;
		transform: none;
	}

	.vpa-process-step:nth-child(1) { transition-delay: 0.05s; }
	.vpa-process-step:nth-child(2) { transition-delay: 0.12s; }
	.vpa-process-step:nth-child(3) { transition-delay: 0.18s; }
	.vpa-process-step:nth-child(4) { transition-delay: 0.24s; }

	/* Mantém no HTML mas não usa mais */
	.vpa-process-connector,
	.vpa-process-arrow {
		display: none !important;
	}

	.vpa-process-dot {
		position: absolute;
		top: 4px;
		left: 50%;
		transform: translateX(-50%);
		width: 44px;
		height: 44px;
		border-radius: 999px;
		background: linear-gradient(180deg, #ffffff 0%, #fff6f7 100%);
		border: 1px solid rgba(206, 27, 57, 0.30);
		box-shadow: 0 10px 26px rgba(0,0,0,0.10);
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 2;
		transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	}

	.vpa-process-dot span {
		font-family: 'Poppins', Arial, sans-serif;
		font-weight: 800;
		font-size: 13px;
		letter-spacing: 0.6px;
		color: rgba(206, 27, 57, 1);
	}

	.vpa-process-card {
		height: 100%;
		position: relative;
		overflow: hidden;
		background: #ffffff;
		border: 1px solid rgba(15, 23, 42, 0.08);
		border-radius: 16px;
		padding: 22px 22px 20px;
		box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
		transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	}

	.vpa-process-card::after {
		content: '';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 3px;
		background: linear-gradient(90deg, rgba(206, 27, 57, 0.85), rgba(206, 27, 57, 0.15));
		opacity: 0.8;
		pointer-events: none;
	}

	.vpa-process-meta {
		display: flex;
		align-items: center;
		gap: 10px;
		margin-bottom: 10px;
	}

	.vpa-process-icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(206, 27, 57, 0.10);
		color: rgba(206, 27, 57, 1);
		flex: 0 0 auto;
	}

	.vpa-process-icon i {
		font-size: 16px;
	}

	.vpa-process-title {
		margin: 0;
		font-family: 'Poppins', Arial, sans-serif;
		font-weight: 700;
		font-size: 1.02rem;
		color: #0f172a;
	}

	.vpa-process-text {
		margin: 0;
		color: rgba(15, 23, 42, 0.78);
		line-height: 1.65;
		font-size: 0.96rem;
	}

	.vpa-process-step:hover .vpa-process-card,
	.vpa-process-step.is-highlighted .vpa-process-card {
		transform: translateY(-6px);
		box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
		border-color: rgba(206, 27, 57, 0.22);
	}

	.vpa-process-step:hover .vpa-process-dot,
	.vpa-process-step.is-highlighted .vpa-process-dot {
		transform: translateX(-50%) scale(1.06);
		box-shadow: 0 18px 44px rgba(206, 27, 57, 0.18);
		border-color: rgba(206, 27, 57, 0.45);
	}

	@media (max-width: 1199px) {
		.vpa-process-steps {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
		.vpa-process-steps::before {
			display: none;
		}
	}

	@media (max-width: 767px) {
		.vpa-process-steps {
			grid-template-columns: 1fr;
			gap: 14px;
		}
		.vpa-process-step {
			padding-top: 0;
			padding-left: 58px;
		}
		.vpa-process-dot {
			top: 20px;
			left: 22px;
			transform: none;
		}
	}

/* ===== VÍDEO MODAL INSTITUCIONAL ===== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: 2% auto;
    width: 80%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.video-modal-header {
    background: rgba(206, 27, 57, 1);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
}

.video-modal-close {
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.video-modal-body {
    padding: 0;
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .video-modal-header {
        padding: 15px 20px;
    }
    
    .video-modal-header h3 {
        font-size: 20px;
    }
    
    .video-modal-close {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98%;
        margin: 2% auto;
    }
    
    .video-modal-header {
        padding: 12px 15px;
    }
    
    .video-modal-header h3 {
        font-size: 18px;
    }
}
