/* -------------------------------------------------------------------------- */
/* Bloco intro - sobre a feira                                                 */
/* -------------------------------------------------------------------------- */

.custom-intro-section {
	padding: 150px 0;
	box-sizing: border-box;
	background-color: #eef1f6;
	background-image:
		radial-gradient(ellipse 80% 50% at 15% 12%, rgba(217, 36, 36, 0.07) 0%, transparent 55%),
		radial-gradient(ellipse 70% 45% at 92% 48%, rgba(0, 84, 180, 0.06) 0%, transparent 50%),
		linear-gradient(165deg, #f7f9fc 0%, #eceff4 45%, #e8ecf2 100%);
}

.custom-intro-eyebrow {
	max-width: 980px;
	margin: 0 auto 14px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #d92424;
	text-align: center;
	line-height: 1.25;
}

.custom-intro-header h3 {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.2;
}

.custom-intro-highlights {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.custom-intro-highlights li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 14px;
	background: #fff;
	border: 1px solid #dfe5ef;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(16, 35, 66, 0.06);
	box-sizing: border-box;
}

.custom-intro-hl-icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(217, 36, 36, 0.12), rgba(217, 36, 36, 0.06));
	color: #c41f1f;
	border-radius: 10px;
	font-size: 17px;
}

.custom-intro-hl-text {
	font-size: 13px;
	line-height: 1.5;
	color: #29405f;
}

.custom-intro-hl-text strong {
	display: block;
	font-size: 14px;
	font-weight: 800;
	color: #0f2744;
	margin-bottom: 4px;
	letter-spacing: 0.02em;
}

.custom-intro-lead {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.55 !important;
	color: #0054b4 !important;
}

.custom-intro-video-card {
	max-width: 920px;
	margin: 34px auto 0;
	box-sizing: border-box;
}

.custom-intro-video-label {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0054b4;
	text-align: center;
}

.custom-intro-video-card .custom-intro-video-wrap {
	margin-top: 0;
}

.custom-intro-inner {
	max-width: 100%;
	box-sizing: border-box;
}

.custom-intro-row {
	box-sizing: border-box;
}

.custom-intro-col-text,
.custom-intro-col-video {
	box-sizing: border-box;
}

.custom-intro-header {
	margin-bottom: 28px;
	/* evita espaço fantasma do .section-header { display: inline-block } do tema */
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.custom-intro-video-wrap {
	max-width: 340px;
	margin: 28px auto 0;
	background: #0a0e12;
	border-radius: 12px;
	overflow: hidden;
	box-shadow:
		0 12px 36px rgba(16, 35, 66, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.06) inset;
	border: 1px solid #c5ced9;
	box-sizing: border-box;
}

.custom-intro-video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 16;
	object-fit: contain;
	background: #000;
}

@media (min-width: 992px) {
	.custom-intro-row {
		display: block;
	}

	.custom-intro-col-text .section-header {
		text-align: center;
	}

	.custom-intro-col-text .section-header h3::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.custom-intro-col-text .custom-intro-body p {
		text-align: center;
	}

	.custom-intro-body {
		margin-left: 0;
		margin-right: 0;
	}

	.custom-intro-eyebrow {
		text-align: center;
	}

	.custom-intro-video-card {
		max-width: min(920px, 100%);
	}

	.custom-intro-video-wrap {
		max-width: min(340px, 100%);
		margin-left: auto;
		margin-right: auto;
	}

	.custom-intro-col-video {
		padding-top: 8px;
	}
}

/* Padrao unico de barra abaixo dos titulos */
.section-header h3 {
	position: relative;
	padding-bottom: 16px;
	margin-top: 25px;
}

.section-header h3::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 72px;
	max-width: 40%;
	height: 3px;
	background: #d92424;
	border-radius: 2px;
}

.custom-intro-body {
	max-width: 920px;
	width: 100%;
	margin: 0 auto;
	padding: 26px 26px 26px 22px;
	background: #fff;
	border: 1px solid #dfe5ef;
	border-left: 4px solid #d92424;
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(16, 35, 66, 0.08);
	box-sizing: border-box;
}

.custom-intro-col-text .custom-intro-body {
	max-width: none;
}

.custom-intro-body p {
	margin: 0 0 18px;
	font-size: 17px;
	line-height: 1.7;
	color: #29405f;
	text-align: center;
}

.custom-intro-body p:last-child {
	margin-bottom: 0;
}

@media (max-width: 991px) {
	.custom-intro-highlights {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.custom-intro-video-card {
		max-width: 340px;
		margin-top: 36px;
	}
}

@media (max-width: 767px) {
	.custom-intro-section {
		padding: 56px 0 48px;
	}

	.custom-intro-eyebrow {
		font-size: 18px;
		letter-spacing: 0.05em;
	}

	.custom-intro-body {
		padding: 20px 16px;
	}

	.custom-intro-header h3 {
		font-size: 28px;
	}

	.custom-intro-body p {
		font-size: 16px;
		text-align: left;
	}

	.custom-intro-video-label {
		font-size: 15px;
		letter-spacing: 0.08em;
	}
}

.custom-gallery-section {
	background: #f0f0f0;
}

.custom-gallery-grid {
	display: flex;
	flex-wrap: wrap;
	row-gap: 24px;
	justify-content: center;
}

.custom-gallery-col {
	display: flex;
}

.custom-gallery-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #ffffff;
	border: 1px solid #dfe5ef;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(16, 35, 66, 0.08);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s ease;
}

.custom-gallery-card:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 16px 34px rgba(16, 35, 66, 0.14);
}

.custom-gallery-image-wrap {
	background: #ffffff;
}

.custom-gallery-image {
	display: block;
	width: 100%;
	height: 245px;
	object-fit: contain;
	background: #ffffff;	
}

.custom-gallery-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	padding: 25px;
	min-height: 150px;
}

.custom-gallery-title h3 {
	margin: 0 0 14px;
	font-size: 22px;
	line-height: 1.25;
	color: #153a63;
	text-align: center;
}

.custom-gallery-button {
	text-decoration: none;
	padding: 3px 22px;
	border: 2px solid #d92424;
	color: #222;
	text-transform: uppercase;
	font-weight: 600;
	font-family: 'Raleway', sans-serif;
	letter-spacing: 1.8px;
	font-size: 12px;
	line-height: 28px;
	text-align: center;
	margin-top: 12px;
	display: inline-block;
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.custom-gallery-button::after {
	content: "";
	position: absolute;
	transition: all 0.3s ease 0s;
	z-index: -1;
	background-color: #d92424;
	height: 103%;
	left: 50%;
	opacity: 0;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 0;
}

.custom-gallery-button:hover::after {
	opacity: 1;
	width: 100%;
	text-decoration: none;
}

.custom-gallery-button:hover {
	color: #fff;
	text-decoration: none;
}




@media (max-width: 767px) {
	.custom-gallery-image {
		height: 220px;
	}

	.custom-gallery-content {
		padding: 18px 16px;
		min-height: 0;
	}

	.custom-gallery-button {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding-left: 16px;
		padding-right: 16px;
	}

	.custom-gallery-title h3 {
		font-size: 18px;
	}
}

@media (max-width: 479px) {
	.custom-gallery-image {
		height: 200px;
	}
}

/* -------------------------------------------------------------------------- */
/* Secao de contatos - cards customizados                                     */
/* -------------------------------------------------------------------------- */

.custom-contact-section {
	background: #f4f6fa;
}

.custom-contact-grid {
	display: flex;
	flex-wrap: wrap;
	row-gap: 22px;
}

.custom-contact-col {
	float: none;
	display: flex;
	width: 25%;
	max-width: 25%;
}

.custom-contact-card {
	display: flex;
	width: 100%;
	background: #fff;
	border: 1px solid #dfe5ef;
	
	box-shadow: 0 10px 26px rgba(16, 35, 66, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.custom-contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(16, 35, 66, 0.14);
}

.custom-contact-body {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 22px 16px 18px;
}

.custom-contact-logo {
	height: 110px;
	width: 100%;
	object-fit: contain;
	margin-bottom: 14px;
}

.custom-contact-title {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 14px;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-contact-title-system {
	margin-top: 15px;
}

.custom-contact-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
	color: #29405f;
}

.custom-contact-info p,
.custom-contact-info address {
	margin-bottom: 0;
	line-height: 1.5;
}

.custom-contact-info a {
	color: #0b66d6;
	font-weight: 700;
	word-break: break-word;
}

.custom-contact-info a:hover {
	color: #014489;
	text-decoration: none;
}

@media (max-width: 991px) {
	.custom-contact-col {
		width: 50%;
		max-width: 50%;
	}

	.custom-contact-title {
		min-height: auto;
		font-size: 18px;
	}

	.custom-contact-logo {
		height: 95px;
	}
}

@media (max-width: 767px) {
	.custom-contact-col {
		width: 100%;
		max-width: 100%;
	}
}

/* -------------------------------------------------------------------------- */
/* Secao de programacao                                                        */
/* -------------------------------------------------------------------------- */

.custom-program-section {
	background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

/* Banner da programação (todas as larguras; limitado à mesma faixa do card) */
.custom-program-banner {
	display: block;
	max-width: 980px;
	margin: 0 auto 24px;
}

.custom-program-banner a {
	display: block;
	line-height: 0;
}

.custom-program-banner-img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(16, 35, 66, 0.1);
}

.custom-program-card {
	max-width: 980px;
	margin: 0 auto;
	padding: 28px 20px 20px;
	background: #fff;
	border: 1px solid #dfe5ef;
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(16, 35, 66, 0.08);
}

.custom-program-cta {
	margin-bottom: 24px;
	text-align: center;
}

.custom-program-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(100%, 520px);
	border: none;
	border-radius: 10px;
	padding: 14px 30px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.3px;
	color: #fff !important;
	background: linear-gradient(135deg, #e93232, #d92424);
	box-shadow: 0 10px 24px rgba(217, 36, 36, 0.35);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
		filter 0.22s ease;
}

.custom-program-button:hover,
.custom-program-button:focus {
	color: #fff !important;
	background: linear-gradient(135deg, #c41f1f, #b81c1c);
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(217, 36, 36, 0.42);
	filter: brightness(1.03);
}

.custom-program-highlight {
	max-width: 100%;
	margin-bottom: 18px;
	padding: 18px 16px;
	text-align: center;
	background: #f8fbff;
	border: 1px solid #dfe5ef;
	border-left: 5px solid #d92424;
	border-radius: 10px;
}

.custom-program-alert {
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 800;
	text-transform: uppercase;
	color: #d92424;
}

.custom-program-summary {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	text-transform: uppercase;
	color: #0054b4;
}

.custom-program-tabs-wrap {
	float: none;
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.custom-program-tabs-wrap .nav-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	border-bottom: 0;
	margin-bottom: 16px;
}

.custom-program-tab-item {
	float: none !important;
	margin: 0 !important;
	flex: 1 1 280px;
}

.custom-program-tabs-wrap .nav-tabs > li > a {
	height: 100%;
	border: 1px solid #dfe5ef;
	border-radius: 10px;
	padding: 14px 16px;
	background: #fff;
}

.custom-program-tabs-wrap .nav-tabs > li > a h3 {
	margin: 0 0 4px;
	font-size: 22px;
	color: #153a63;
}

.custom-program-tabs-wrap .nav-tabs > li > a span {
	font-size: 14px;
	color: #4e6788;
	letter-spacing: 0.4px;
}

.custom-program-tabs-wrap .nav-tabs > li.active > a,
.custom-program-tabs-wrap .nav-tabs > li.active > a:hover,
.custom-program-tabs-wrap .nav-tabs > li.active > a:focus {
	background: #0b66d6;
	border-color: #0b66d6;
}

.custom-program-tabs-wrap .nav-tabs > li.active > a h3,
.custom-program-tabs-wrap .nav-tabs > li.active > a span {
	color: #fff;
}

.custom-program-tabs-wrap .custom-program-row {
	border: 1px solid #dfe5ef;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: none;
	background: #fff;
}

.custom-program-tabs-wrap .custom-program-row + .custom-program-row {
	margin-top: 10px;
}

.custom-program-tabs-wrap .custom-program-row-head {
	padding: 0;
}

.custom-program-tabs-wrap .custom-program-row-title {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	margin: 0;
}

.custom-program-tabs-wrap .custom-program-row-title span {
	min-width: 58px;
	height: 34px;
	border-radius: 10px;
	background: #eaf2ff;
	color: #0054b4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
}

.custom-program-tabs-wrap .custom-program-row-title a {
	color: #1a3558;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 767px) {
	.custom-program-banner {
		margin-bottom: 18px;
	}

	.custom-program-card {
		padding: 20px 12px 14px;
	}

	.custom-program-cta .custom-program-button {
		display: block;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
		text-align: center;
		white-space: normal;
		padding-left: 16px;
		padding-right: 16px;
	}

	.custom-program-tabs-wrap .nav-tabs {
		gap: 8px;
	}

	.custom-program-tab-item {
		flex: 1 1 100%;
	}

	.custom-program-tabs-wrap .nav-tabs > li > a h3 {
		font-size: 18px;
	}

	.custom-program-alert {
		font-size: 17px;
	}

	.custom-program-summary {
		font-size: 16px;
	}

	.custom-program-tabs-wrap .custom-program-row-title {
		flex-wrap: wrap;
		gap: 8px;
	}

	.custom-program-tabs-wrap .custom-program-row-title a {
		word-break: break-word;
	}
}

/* -------------------------------------------------------------------------- */
/* Secao local da feira (mapa)                                                 */
/* -------------------------------------------------------------------------- */

.custom-map-section {
	background: #f4f6fa;
	padding: 120px;
}

.custom-map-header {
	margin-bottom: 18px;
}

.custom-map-header span {
	display: inline-block;
	margin-top: 8px;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.3px;
	color: #2a4363;
}

.custom-map-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.custom-map-col {
	display: flex;
	margin-bottom: 20px;
}

.custom-map-col:last-child {
	margin-bottom: 0;
}

.custom-map-photo-wrap,
.custom-map-embed-wrap {
	flex: 1;
	display: flex;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	/* iframe tem 450px de altura + 8px padding em cima e embaixo = mesma caixa */
	height: 466px;
	background: #fff;
	border: 1px solid #dfe5ef;
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(16, 35, 66, 0.08);
}

.custom-map-photo-wrap {
	align-items: stretch;
	justify-content: center;
	overflow: hidden;
}

.custom-map-photo {
	display: block;
	width: 100%;
	height: 450px;
	max-height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.custom-map-embed {
	display: block;
	width: 100%;
	height: 450px;
	border: 0;
	border-radius: 10px;
}

@media (max-width: 767px) {
	.custom-map-section {
		padding: 32px 0 36px;
	}

	.custom-map-header {
		padding: 0 15px;
		text-align: center;
	}

	.custom-map-header span {
		font-size: 14px;
	}

	.custom-map-col {
		margin-bottom: 16px;
	}

	/* Mesma altura entre foto e mapa; menor que desktop para caber melhor no celular */
	.custom-map-photo-wrap,
	.custom-map-embed-wrap {
		height: auto;
	}

	.custom-map-photo,
	.custom-map-embed {
		height: 300px;
	}
}

@media (max-width: 479px) {
	.custom-map-photo,
	.custom-map-embed {
		height: 260px;
	}
}

/* -------------------------------------------------------------------------- */
/* Pastas Vermelha / Azul - logotipos                                          */
/* -------------------------------------------------------------------------- */

.custom-pastas-section {
	background: #f0f0f0;
	padding: 120px 0;
}

.custom-pastas-header {
	margin-bottom: 22px;
	padding: 25px 0;
}

.custom-pastas-header--spaced {
	margin-top: 40px;
}

.custom-pastas-title--vermelha {
	color: #d92424 !important;
}

.custom-pastas-title--azul {
	color: #0054b4 !important;
}

.custom-pastas-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -8px;
	margin-right: -8px;
	row-gap: 16px;
}

.custom-pastas-col {
	padding-left: 8px;
	padding-right: 8px;
	display: flex;
}

.custom-pasta-logo-card {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	padding: 14px;
	background: #fff;
	border: 1px solid #dfe5ef;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(16, 35, 66, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-pasta-logo-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(16, 35, 66, 0.1);
}

.custom-pasta-logo {
	display: block;
	width: 50%;
	
	object-fit: contain;
}

.custom-pastas-msg {
	margin: 0;
	padding: 16px;
	text-align: center;
	color: #5a6b82;
	background: #fff;
	border: 1px dashed #cfd8e6;
	border-radius: 10px;
}

@media (max-width: 767px) {
	.custom-pastas-section {
		padding: 56px 0;
	}

	.custom-pastas-header--spaced {
		margin-top: 28px;
	}

	.custom-pasta-logo-card {
		min-height: 100px;
		padding: 12px;
	}

	.custom-pasta-logo {
		max-height: 64px;
	}
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */

.custom-footer {
	color: #e8eef5;
	background: #0f1f33;
	border-top: 4px solid #d92424;
}

.custom-footer-main {
	padding: 48px 0 40px;
}

.custom-footer-row {
	display: flex;
	flex-wrap: wrap;
	row-gap: 28px;
}

.custom-footer-brand {
	text-align: left;
}

.custom-footer-logo-link {
	display: inline-block;
	margin-bottom: 14px;
}

.custom-footer-logo {
	max-width: 200px;
	height: auto;
}

.custom-footer-tagline {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.65;
	color: #a8b8cc;
	max-width: 320px;
}

.custom-footer-social {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.custom-footer-social li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	color: #fff;
	font-size: 16px;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.custom-footer-social li a:hover {
	background: #d92424;
	border-color: #d92424;
	color: #fff;
	text-decoration: none;
}

.custom-footer-heading {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #fff;
}

.custom-footer-heading-spaced {
	margin-top: 22px;
}

.custom-footer-contact .custom-footer-company,
.custom-footer-line,
.custom-footer-venue,
.custom-footer-venue-detail {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.55;
	color: #c5d2e3;
}

.custom-footer-address {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.55;
	color: #c5d2e3;
	font-style: normal;
}

.custom-footer-contact a {
	color: #8ec5ff;
	font-weight: 600;
}

.custom-footer-contact a:hover {
	color: #fff;
	text-decoration: none;
}

.custom-footer-venue a {
	color: #fff;
	font-weight: 700;
}

.custom-footer-nav {
	margin: 0;
	padding: 0;
}

.custom-footer-nav li {
	margin-bottom: 8px;
}

.custom-footer-nav a {
	color: #c5d2e3;
	font-size: 14px;
	font-weight: 600;
}

.custom-footer-nav a:hover {
	color: #fff;
	text-decoration: none;
}

.custom-footer-bottom {
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 0;
}

.custom-footer-bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
}

.custom-footer-copy,
.custom-footer-credit {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #8a9cb0;
}

.custom-footer-credit a {
	color: #8ec5ff;
	font-weight: 700;
}

.custom-footer-credit a:hover {
	color: #fff;
	text-decoration: none;
}

@media (max-width: 767px) {
	.custom-footer-main {
		padding: 36px 0 28px;
	}

	.custom-footer-brand {
		text-align: center;
	}

	.custom-footer-tagline {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.custom-footer-social {
		justify-content: center;
	}

	.custom-footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------- */
/* Header                                                                      */
/* -------------------------------------------------------------------------- */

.custom-header {
	background: #fff;
	overflow: visible;
	/* Contexto de empilhamento: menu fixed + links ficam acima do conteúdo seguinte (.distac-reveal, etc.) */
	position: relative;
	z-index: 1050;
}

header.header-main.custom-header .container-fluid {
	overflow: visible;
}

.top-header.custom-header-top {
	background: #fff;
	border-top: 4px solid #d92424;
	border-bottom: 1px solid #e2e8f0;
	padding: 12px 0 16px;
}

.custom-header-top-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.custom-header-social {
	margin-bottom: 0;
}

.custom-header-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

.top-header.custom-header-top .custom-header-social-list li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	line-height: 1;
	background: #0f1f33 !important;
	color: #fff !important;
	border-radius: 10px;
	font-size: 16px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.top-header.custom-header-top .custom-header-social-list li a:hover {
	background: #d92424 !important;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-1px);
}

.top-header.custom-header-top .logo-block {
	margin-top: 0;
	text-align: center;
}

.custom-header-logo-link {
	display: inline-block;
	line-height: 0;
}

.custom-header-logo {
	max-width: 220px;
	width: 100%;
	height: auto;
}

.custom-header-cta-wrap {
	text-align: right;
}

.custom-header-cta {
	display: inline-block;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #d92424 !important;
	border: 2px solid #d92424;
	border-radius: 10px;
	background: transparent;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
		box-shadow 0.25s ease;
}

.custom-header-cta:hover,
.custom-header-cta:focus {
	background: #d92424;
	color: #fff !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(217, 36, 36, 0.22);
}

.menu-block.custom-header-nav {
	background: #f8fafc;
	border-bottom: 1px solid #dfe5ef;
	box-shadow: 0 4px 14px rgba(15, 31, 51, 0.06);
	margin-top: 0 !important;
	box-sizing: border-box;
}

/* Volta o comportamento fixo do tema; o header .custom-header tem z-index alto para cliques funcionarem */
.menu-block.custom-header-nav.navbar-fixed-top {
	position: fixed !important;
	left: 0;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 2;
	pointer-events: auto;
	box-sizing: border-box;
	transform: none;
	animation: none;
}

/* Loader acima do header (custom-header z-index 1050; .load-complete em plugins.css usa 1031) */
#site-loader.load-complete {
	z-index: 10060 !important;
}

/* Loader full-screen: depois de escondido não bloquear cliques */
#site-loader.site-loader-hidden {
	display: none !important;
	pointer-events: none !important;
	visibility: hidden !important;
}

/* Slider ainda com opacity 0 não deve capturar eventos por cima de outros elementos */
#slider-section.distac-reveal:not(.is-visible) {
	pointer-events: none;
}

.custom-header-nav .navbar {
	    /* margin: 0 !important; */
		margin: 20px 0;
}

.custom-header-nav .home-nav-wrap {
	padding-left: 0;
	padding-right: 0;
}

.custom-header-toggle {
	margin-top: 12px;
	margin-bottom: 12px;
	border-radius: 10px;
}

.custom-header-menu-label {
	display: none;
}

@media (min-width: 992px) {
	.home-navbar.custom-header-navbar .navbar-nav > li > a {
		border-radius: 10px;
		padding: 12px 14px !important;
		transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
	}

	.home-navbar.custom-header-navbar .nav.navbar-nav > li > a:hover,
	.home-navbar.custom-header-navbar .nav.navbar-nav > li.active > a {
		background: rgba(217, 36, 36, 0.08);
		color: #d92424 !important;
		transform: translateY(-1px);
	}
}

@media (max-width: 991px) {
	.custom-header-social-list {
		justify-content: center;
		margin-top: 10px;
	}

	.top-header.custom-header-top .logo-block {
		margin-top: 8px;
	}

	.custom-header-cta-wrap {
		text-align: center;
		margin-top: 12px;
	}

	/* Barra do hambúrguer alinhada ao tema (sobrescreve navigation-menu.css) */
	.menu-block.custom-header-nav .custom-header-navbar.ow-navigation {
		padding: 0;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar {
		margin: 8px 0 12px;
		min-height: 0;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap;
		width: 100%;
		float: none;
		padding: 4px 2px 10px;
		margin: 0;
		border-bottom: 1px solid #e2e8f0;
		box-sizing: border-box;
	}

	.custom-header-menu-label {
		display: block;
		font-size: 13px;
		font-weight: 800;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: #0f1f33;
		line-height: 1;
		margin: 0;
		padding-right: 8px;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle {
		float: none;
		order: 2;
		margin: 0;
		align-self: center;
		background-color: #0f1f33 !important;
		border: 0 !important;
		border-radius: 10px !important;
		padding: 11px 12px;
		transition: background-color 0.2s ease;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle .icon-bar {
		background-color: #fff !important;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle:hover,
	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle:focus {
		background-color: #d92424 !important;
		border-color: transparent !important;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle:hover .icon-bar,
	.menu-block.custom-header-nav .custom-header-navbar .navbar-toggle.custom-header-toggle:focus .icon-bar {
		background-color: #fff !important;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-collapse {
		margin-top: 6px;
		padding: 0 0 8px;
		border-top: none;
		box-shadow: none;
		max-height: min(70vh, 420px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-nav {
		border: 1px solid #e2e8f0;
		border-radius: 10px;
		background: #fff;
		overflow: hidden;
		box-shadow: 0 8px 24px rgba(15, 31, 51, 0.08);
		margin: 0;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-nav > li {
		border-bottom: 1px solid #eef2f7;
	}

	.menu-block.custom-header-nav .custom-header-navbar .navbar-nav > li:last-child {
		border-bottom: 0;
	}

	.menu-block.custom-header-nav .custom-header-navbar .nav.navbar-nav > li > a {
		padding: 15px 18px !important;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.3;
		color: #0f1f33 !important;
		width: 100%;
		text-align: left;
		box-sizing: border-box;
	}

	.menu-block.custom-header-nav .custom-header-navbar .nav.navbar-nav > li > a:hover,
	.menu-block.custom-header-nav .custom-header-navbar .nav.navbar-nav > li > a:focus,
	.menu-block.custom-header-nav .custom-header-navbar .nav.navbar-nav > li.active > a {
		background: rgba(217, 36, 36, 0.09) !important;
		color: #d92424 !important;
	}
}

@media (max-width: 767px) {
	.top-header.custom-header-top {
		padding: 14px 0;
	}

	.custom-header-logo {
		max-width: 200px;
	}

	.custom-header-cta {
		display: block;
		width: 100%;
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
		box-sizing: border-box;
		text-align: center;
	}
}

/* -------------------------------------------------------------------------- */
/* Mobile — revisão global da home (custom.css por último sobrescreve tema)    */
/* -------------------------------------------------------------------------- */

@media (max-width: 767px) {
	html {
		overflow-x: hidden;
	}

	.slider-section .carousel-inner .item > a,
	.slider-section .carousel-inner .item > img {
		display: block;
	}

	.slider-section .carousel-inner .item img {
		width: 100% !important;
		height: auto !important;
	}

	.section-header .section-title-large {
		font-size: 20px;
		line-height: 1.35;
		padding-left: 8px;
		padding-right: 8px;
	}

	.howwecan2.howwecan-section .feature {
		max-width: none;
		width: 100%;
	}

	.latest-blog-section .agendamento .type-post .col-xs-6 {
		width: 100%;
		float: none;
	}

	.latest-blog-section .agendamento .entry-cover {
		margin-bottom: 12px;
	}

	.latest-blog-section .agendamento .entry-cover img {
		max-width: 100%;
		height: auto;
	}

	.btn-container .btn-planta {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		white-space: normal;
		padding: 12px 16px;
	}

	.custom-contact-section .section-header h3 {
		padding-left: 8px;
		padding-right: 8px;
	}
}

@media (max-width: 575px) {
	.section-header .section-title-large {
		font-size: 18px;
	}
}

@media (max-width: 479px) {
	.section-header h3 {
		hyphens: auto;
		word-break: break-word;
	}
}

/* -------------------------------------------------------------------------- */
/* Animações — revelar ao scroll e micro-interações                            */
/* -------------------------------------------------------------------------- */

.distac-reveal {
	opacity: 0;
	transform: translate3d(0, 28px, 0);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.distac-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.distac-reveal--split {
	opacity: 1;
	transform: none;
	transition: none;
}

.distac-reveal--split .custom-intro-col-text,
.distac-reveal--split .custom-intro-col-video {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.distac-reveal--split.is-visible .custom-intro-col-text {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.08s;
}

.distac-reveal--split.is-visible .custom-intro-col-video {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition-delay: 0.2s;
}

@media (min-width: 992px) {
	.distac-reveal--split .custom-intro-col-video {
		transform: translate3d(16px, 12px, 0);
	}

	.distac-reveal--split.is-visible .custom-intro-col-video {
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.distac-reveal,
	.distac-reveal.is-visible,
	.distac-reveal--split .custom-intro-col-text,
	.distac-reveal--split .custom-intro-col-video {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		transition-delay: 0s !important;
	}

	.custom-header-cta:hover,
	.custom-header-cta:focus,
	.custom-program-button:hover,
	.custom-program-button:focus,
	.custom-gallery-card:hover,
	.custom-program-banner a:hover .custom-program-banner-img,
	.custom-program-banner a:focus .custom-program-banner-img {
		transform: none !important;
		filter: none !important;
	}

	.home-navbar.custom-header-navbar .nav.navbar-nav > li > a:hover,
	.home-navbar.custom-header-navbar .nav.navbar-nav > li.active > a {
		transform: none !important;
	}
}

.custom-program-banner-img {
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.custom-program-banner a:hover .custom-program-banner-img,
.custom-program-banner a:focus .custom-program-banner-img {
	transform: scale(1.02);
	box-shadow: 0 12px 32px rgba(16, 35, 66, 0.12);
}
