.ipvisao-cc-specialty-section {
	width: 100%;
	padding: 48px 0 64px;
	background: #f5f5f5;
}

.ipvisao-cc-specialty-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ipvisao-cc-specialty-header {
	text-align: center;
	margin: 0 0 28px;
}

.ipvisao-cc-specialty-title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 700;
	color: #6f0f0f;
	line-height: 1.25;
}

.ipvisao-cc-specialty-subtitle {
	margin: 0;
	font-size: 15px;
	color: #666;
}

.ipvisao-cc {
	--ipvisao-cc-accent: #6f0f0f;
	--ipvisao-cc-accent-soft: #ffebeb;
	--ipvisao-cc-text: #4a4a4a;
	--ipvisao-cc-muted: #7a7a7a;
	--ipvisao-cc-border: #ececec;
	--ipvisao-cc-card-bg: #ffffff;
	--ipvisao-cc-page-bg: #f5f5f5;
	width: 100%;
	font-family: inherit;
}

.ipvisao-cc-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 28px;
	justify-content: center;
}

.ipvisao-cc-filter {
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid var(--ipvisao-cc-accent);
	background: #fff;
	color: var(--ipvisao-cc-accent);
	padding: 8px 14px;
	font-size: 13px;
	line-height: 1.2;
	border-radius: 6px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.ipvisao-cc-filter:hover,
.ipvisao-cc-filter.is-active {
	background: var(--ipvisao-cc-accent);
	color: #fff;
}

.ipvisao-cc-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 22px;
	align-items: stretch;
}

@media (max-width: 1100px) {
	.ipvisao-cc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.ipvisao-cc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 14px;
	}
}

.ipvisao-cc-card {
	min-width: 0;
	overflow: hidden;
}

.ipvisao-cc-card.is-hidden {
	display: none;
}

.ipvisao-cc-card-trigger {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ipvisao-cc-border);
	border-radius: 16px;
	background: var(--ipvisao-cc-card-bg);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
	cursor: pointer;
	text-align: center;
	color: inherit;
	overflow: hidden;
	font: inherit;
	white-space: normal;
	transition: transform .2s ease, box-shadow .2s ease;
	box-sizing: border-box;
}

.ipvisao-cc-card-trigger:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .11);
}

.ipvisao-cc-card-trigger:focus-visible {
	outline: 2px solid var(--ipvisao-cc-accent);
	outline-offset: 3px;
}

.ipvisao-cc-photo {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.02;
	overflow: visible;
	border-radius: 16px 16px 0 0;
	background: #e9e9e9;
	z-index: 1;
}

.ipvisao-cc-photo img,
.ipvisao-cc-photo-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 16px 16px 0 0;
}

/* Ícone central sobreposto na emenda foto/texto — igual ao Elementor */
.ipvisao-cc-open-icon {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 3;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	transform: translate(-50%, 50%);
	background: transparent;
	color: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	line-height: 0;
}

.ipvisao-cc-open-icon svg {
	display: block;
	width: 40px;
	height: 40px;
	filter: drop-shadow(0 4px 10px rgba(111, 15, 15, .28));
}

.ipvisao-cc-info {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	min-height: 88px;
	padding: 28px 16px 22px;
	background: #fff;
	border-radius: 0 0 16px 16px;
	box-sizing: border-box;
	overflow: hidden;
}

.ipvisao-cc-name {
	display: block;
	width: 100%;
	max-width: 100%;
	font-size: 16px;
	font-weight: 600;
	color: var(--ipvisao-cc-text);
	line-height: 1.35;
	letter-spacing: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	hyphens: auto;
}

.ipvisao-cc-crm,
.ipvisao-cc-crm-desc {
	display: none !important;
}

.ipvisao-cc-modal[hidden] {
	display: none !important;
}

.ipvisao-cc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ipvisao-cc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, .55);
}

.ipvisao-cc-modal-dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: min(560px, 100%);
	max-height: min(90vh, 860px);
	overflow: auto;
	padding: 18px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
	box-sizing: border-box;
}

.ipvisao-cc-modal-close {
	position: absolute;
	top: 28px;
	right: 28px;
	z-index: 4;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	line-height: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

.ipvisao-cc-modal-close svg {
	width: 14px;
	height: 14px;
}

.ipvisao-cc-modal-close svg path {
	stroke: #fff;
	stroke-width: 2.5;
}

.ipvisao-cc-modal-close:hover {
	opacity: .85;
}

.ipvisao-cc-modal-header {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 48px 24px 24px;
	background: var(--ipvisao-cc-accent);
	border-radius: 12px;
	flex: 0 0 auto;
}

.ipvisao-cc-modal-photo {
	flex: 0 0 118px;
	width: 118px;
	height: 118px;
}

.ipvisao-cc-modal-photo[hidden] {
	display: none !important;
}

.ipvisao-cc-modal-photo img {
	display: block;
	width: 118px;
	height: 118px;
	object-fit: cover;
	border-radius: 10px;
	background: #fff;
}

.ipvisao-cc-modal-identity {
	min-width: 0;
	flex: 1 1 auto;
	color: #fff;
}

.ipvisao-cc-modal-title {
	margin: 0 0 10px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.ipvisao-cc-modal-crm,
.ipvisao-cc-modal-rqe {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #fff;
}

.ipvisao-cc-modal-crm[hidden],
.ipvisao-cc-modal-rqe[hidden] {
	display: none !important;
}

.ipvisao-cc-modal-body {
	flex: 1 1 auto;
	overflow: visible;
	padding: 28px 24px 32px;
	background: #f3f3f3;
	border-radius: 12px;
	box-sizing: border-box;
}

.ipvisao-cc-modal-content {
	font-size: 15px;
	line-height: 1.75;
	color: #222;
}

.ipvisao-cc-modal-content > *:first-child {
	margin-top: 0;
}

.ipvisao-cc-modal-content > *:last-child {
	margin-bottom: 0;
}

.ipvisao-cc-modal-content p {
	margin: 0 0 22px;
}

.ipvisao-cc-modal-content p + p {
	margin-top: 0;
}

.ipvisao-cc-modal-content br {
	display: block;
	content: '';
	margin-top: 4px;
}

.ipvisao-cc-modal-content strong {
	display: inline;
	color: #111;
	font-weight: 700;
}

.ipvisao-cc-modal-content a {
	color: #c98e8e;
	text-decoration: none;
}

.ipvisao-cc-modal-content a:hover {
	text-decoration: underline;
}

.ipvisao-cc-contact-value {
	color: #c98e8e;
}

@media (max-width: 560px) {
	.ipvisao-cc-modal {
		padding: 12px;
	}

	.ipvisao-cc-modal-dialog {
		padding: 14px;
		gap: 12px;
	}

	.ipvisao-cc-modal-close {
		top: 22px;
		right: 22px;
	}

	.ipvisao-cc-modal-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px 44px 20px 20px;
		gap: 16px;
	}

	.ipvisao-cc-modal-title {
		font-size: 22px;
	}

	.ipvisao-cc-modal-body {
		padding: 22px 18px 26px;
	}
}

.ipvisao-cc-empty {
	text-align: center;
	color: var(--ipvisao-cc-muted);
}

html.ipvisao-cc-modal-open,
html.ipvisao-cc-modal-open body {
	overflow: hidden;
}

/* Grade de Fundadores (Quem Somos) */
.ipvisao-cc--fundadores {
	width: 100%;
}

.ipvisao-fd-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}

@media (max-width: 1024px) {
	.ipvisao-fd-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.ipvisao-fd-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

.ipvisao-fd-card {
	min-width: 0;
}

.ipvisao-fd-card-trigger {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: inherit;
	font: inherit;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
}

.ipvisao-fd-card-trigger:focus-visible {
	outline: 2px solid #6f0f0f;
	outline-offset: 3px;
}

.ipvisao-fd-photo {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
	background: #e9e9e9;
}

.ipvisao-fd-photo img,
.ipvisao-fd-photo-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 10px 10px 0 0;
}

.ipvisao-fd-photo-placeholder {
	background: linear-gradient(135deg, #6f0f0f 0%, #9a2a2a 100%);
}

.ipvisao-fd-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	padding: 16px 20px 18px;
	box-sizing: border-box;
	background: #fff;
}

.ipvisao-fd-name {
	display: block;
	width: 100%;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: #404040;
	text-align: center;
}

.ipvisao-fd-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

.ipvisao-fd-cta {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	color: #6f0f0f;
}

.ipvisao-fd-icon {
	flex: 0 0 25px;
	width: 25px;
	height: 24px;
	line-height: 0;
}

.ipvisao-fd-icon svg {
	display: block;
	width: 25px;
	height: 24px;
}

@media (max-width: 767px) {
	.ipvisao-fd-info {
		gap: 8px;
		padding: 10px 10px 12px;
	}

	.ipvisao-fd-name {
		font-size: 13px;
		line-height: 1.3;
	}

	.ipvisao-fd-cta {
		font-size: 13px;
		line-height: 1.3;
	}

	.ipvisao-fd-icon {
		flex: 0 0 22px;
		width: 22px;
		height: 21px;
	}

	.ipvisao-fd-icon svg {
		width: 22px;
		height: 21px;
	}

	.ipvisao-cc--fundadores .ipvisao-cc-modal-header {
		flex-direction: column;
		align-items: flex-start;
	}
}
