.services {
	padding: 50px 0;
	background-color: #f4f4f4;
	text-align: center;
}

.services-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.services-container h2 {
	color: #241c4b;
	font-size: 2.5em;
	margin-bottom: 40px;
}

.services-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px; /* Espaçamento entre os blocos */
}

.service-highlightService {
	flex: 1 1 calc(33.333% - 20px);
	background-color: #ffffff;
	border: 1px solid #ddd; /* Borda mais visível */
	border-radius: 15px; /* Bordas mais arredondadas */
	box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Sombra mais intensa */
	overflow: hidden;
	transition: box-shadow 0.3s, transform 0.3s;
}

.service-highlightService:hover {
	box-shadow: 0 12px 24px rgba(0,0,0,0.3); /* Sombra mais intensa ao passar o mouse */
	transform: translateY(-5px); /* Levanta o cartão */
}

.service-highlightService img {
	width: 100%;
	height: auto;
	min-height:280px;
	object-fit:cover;
	border-bottom: 4px solid #241c4b;
}

.service-content {
	padding: 20px;
	text-align: left;
}

.service-content h3 {
	color: #241c4b;
	font-size: 1.5em;
	margin-bottom: 15px;
}

.service-content p {
	color: #666;
	font-size: 1em;
	line-height: 1.6;
}

.service-highlightService:hover {
	transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
	.services-container h2 {
		font-size: 1.5em;
	}
	.service-content p {
		font-size: 0.8em;
	}
	.service-highlightService {
		flex: 1 1 100%;
		border-radius:0px;
	}
}

.historyService {
	padding: 50px 20px;
	background-color: #f9f9f9;
	min-height:600px;
}

.content-container-service {
	max-width: 1200px;
	margin: 0 auto;
}

.historyService {
    padding: 20px;
    background-color: #fff;
}

.content-container-service {
    display: flex;
    align-items: flex-start; /* Alinha a imagem ao topo */
}

.historyService-text {
    text-align: justify;
    position: relative;
}

.historyService-inline-image {
    float: right; /* Faz a imagem flutuar à direita do texto */
    margin: 0 0 10px 10px; /* Espaço ao redor da imagem */
    width: 40%; /* Ajuste o tamanho da imagem conforme necessário */
    height: auto;
    object-fit: cover; /* Garante que a imagem ocupe o espaço sem distorção */
	vertical-align: top; /* Alinha a imagem ao topo do texto */
	padding:20px;
}

.historyService-inline-image-2 {
    float: left; /* Faz a imagem flutuar à direita do texto */
    margin: 0 0 10px 10px; /* Espaço ao redor da imagem */
    width: 40%; /* Ajuste o tamanho da imagem conforme necessário */
    height: auto;
    object-fit: cover; /* Garante que a imagem ocupe o espaço sem distorção */
	vertical-align: top; /* Alinha a imagem ao topo do texto */
	padding:20px;
}

.historyService-image {
    flex: 1;
}

.historyService-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Garante que a imagem ocupe o espaço sem distorção */
    mix-blend-mode: multiply; /* Mistura a imagem com o fundo */
}

/* Responsividade para telas muito pequenas (mobile) */
@media (max-width: 480px) {
	.historyService-inline-image {
		width: 100%; /* Ajuste o tamanho da imagem conforme necessário */
		margin:0;
		padding:20px 0px 20px 0px;
	}

	.historyService-inline-image-2 {
		width: 100%; /* Ajuste o tamanho da imagem conforme necessário */
		margin:0;
		padding:20px 0px 20px 0px;
	}
}