.fdi-footer {
	position: relative;
	width: 100%;
	margin-top: -1px !important;
	background:
		radial-gradient(circle at top right, rgba(232, 201, 109, 0.14), transparent 24%),
		radial-gradient(circle at left center, rgba(0, 170, 255, 0.08), transparent 22%),
		linear-gradient(135deg, #2f114f 0%, #4e1f7d 45%, #7b2fbe 100%);
	color: #ffffff;
	overflow: hidden;
}

body.page #inner-wrap,
body.page .site,
body.page .site-main,
body.page .content-area,
body.page .content-container,
body.page .entry-content,
body.page .single-content {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.page .content-wrap,
body.page .entry,
body.page article.page,
body.page .post-entry {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.page .single-content > *:last-child,
body.page .entry-content > *:last-child {
	margin-bottom: 0 !important;
}

body.page .fdi-finalcta-v2,
body.page .fdi-florais-cta-v2,
body.page .fdi-cat-bottom,
body.page .fdi-newsletter-v2:last-child {
	margin-bottom: 0 !important;
}

.fdi-footer__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
		radial-gradient(circle at center, rgba(255,255,255,0.05), transparent 45%);
	pointer-events: none;
}

.fdi-footer__container {
	position: relative;
	width: min(1280px, calc(100% - 32px));
	margin: 0 auto;
	z-index: 2;
}

.fdi-footer__top {
	padding: 42px 0 22px;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}

.fdi-footer__top-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	align-items: center;
}

.fdi-footer__brand {
	display: flex;
	align-items: center;
	gap: 20px;
}

.fdi-footer__brand-mark {
	width: 98px;
	height: 98px;
	border-radius: 24px;
	background: #ffffff;
	border: 1px solid rgba(255,255,255,0.55);
	box-shadow: 0 18px 40px rgba(0,0,0,0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 16px;
}

.fdi-footer__brand-mark img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	display: block;
}

.fdi-footer__brand-content h3 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 3vw, 2.3rem);
	line-height: 1.08;
	color: #ffffff !important;
	font-family: 'Cormorant Garamond', serif !important;
}

.fdi-footer__brand-content p {
	margin: 0;
	max-width: 620px;
	font-size: 0.98rem;
	line-height: 1.75;
	color: rgba(255,255,255,0.82);
}

.fdi-footer__cta-box {
	padding: 24px;
	border-radius: 22px;
	background: rgba(255,255,255,0.10);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.14);
	box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.fdi-footer__label {
	display: inline-block;
	margin-bottom: 10px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(232, 201, 109, 0.16);
	color: #f7df94;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.fdi-footer__cta-box h4 {
	margin: 0 0 16px;
	font-size: 1.25rem;
	line-height: 1.4;
	color: #ffffff !important;
	font-family: 'Cormorant Garamond', serif !important;
}

.fdi-footer__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffffff 0%, #f4e7ff 100%);
	color: #5f2394 !important;
	text-decoration: none;
	font-weight: 800;
	box-shadow: 0 14px 26px rgba(0,0,0,0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fdi-footer__button:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

.fdi-footer__main {
	padding: 26px 0 18px;
}

.fdi-footer__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.fdi-footer__col h5 {
	margin: 0 0 12px;
	font-size: 1.05rem;
	color: #ffffff !important;
	font-family: 'Cormorant Garamond', serif !important;
}

.fdi-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fdi-footer__col li + li {
	margin-top: 9px;
}

.fdi-footer__col a {
	color: rgba(255,255,255,0.82) !important;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.fdi-footer__col a:hover {
	color: #f7df94 !important;
}

.fdi-footer__bottom {
	padding: 16px 0 22px;
	border-top: 1px solid rgba(255,255,255,0.10);
}

.fdi-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.fdi-footer__bottom p {
	margin: 0;
	font-size: 0.92rem;
	color: rgba(255,255,255,0.72);
}

.fdi-footer__bottom a {
	color: #f7df94 !important;
	font-weight: 700;
	text-decoration: none;
}

.fdi-footer__bottom a:hover {
	color: #ffffff !important;
}

/* Home — troca da imagem de fundo do hero principal */
body.home .fdi-hero-v4__bg,
body.page-id-24 .fdi-hero-v4__bg {
	background-image: url('/wp-content/uploads/2026/04/Florais-da-Integracao-scaled.jpeg') !important;
	background-size: cover !important;
	background-position: center right !important;
	background-repeat: no-repeat !important;
}

/* Como Funciona — troca da imagem de fundo do hero */
body.page-id-81 .fdi-como-hero-v3__bg {
	background-image: url('/wp-content/uploads/2026/03/Flor_de_lotus_202603311443-scaled.jpg') !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

@media (max-width: 1024px) {
	.fdi-footer__top-inner,
	.fdi-footer__grid {
		grid-template-columns: 1fr;
	}

	.fdi-footer__brand {
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.fdi-footer__container {
		width: calc(100% - 24px);
	}

	.fdi-footer__top {
		padding: 30px 0 18px;
	}

	.fdi-footer__brand {
		flex-direction: row;
		align-items: center;
		gap: 14px;
	}

	.fdi-footer__brand-mark {
		width: 78px;
		height: 78px;
		border-radius: 20px;
		padding: 12px;
	}

	.fdi-footer__brand-mark img {
		width: 52px;
		height: 52px;
	}

	.fdi-footer__brand-content h3 {
		font-size: 1.6rem;
	}

	.fdi-footer__brand-content p {
		font-size: 0.92rem;
		line-height: 1.65;
	}

	.fdi-footer__cta-box {
		padding: 18px;
	}

	.fdi-footer__cta-box h4 {
		font-size: 1.1rem;
		margin-bottom: 14px;
	}

	.fdi-footer__main {
		padding: 20px 0 14px;
	}

	.fdi-footer__grid {
		gap: 18px;
	}

	.fdi-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	body.home .fdi-hero-v4__bg,
	body.page-id-24 .fdi-hero-v4__bg,
	body.page-id-81 .fdi-como-hero-v3__bg {
		background-position: center center !important;
	}
}

/* Correção de contraste da marca no footer */
.fdi-footer .fdi-footer__brand-content,
.fdi-footer .fdi-footer__brand-content * {
	opacity: 1 !important;
	visibility: visible !important;
}

.fdi-footer .fdi-footer__brand-content h3,
.fdi-footer .fdi-footer__brand-content h3 a,
.fdi-footer h3 {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
	font-weight: 700 !important;
}

.fdi-footer .fdi-footer__brand-content p {
	color: rgba(255, 255, 255, 0.9) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.9) !important;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}