/*
================================================================================
** ESTILOS ESPECÍFICOS PARA A PÁGINA HOME (home.php) **
================================================================================
*/

/* 1. HERO SLIDER (SWIPER.JS) */
.hero-slider .swiper {
	width: 100%;
	aspect-ratio: 16 / 7;
	height: auto;
}
.hero-slider .swiper-slide {
	align-items: center;
	background: #fff;
	display: flex;
	font-size: 18px;
	justify-content: center;
	text-align: center;
}
.hero-slider .swiper-slide img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.swiper-button-next,
.swiper-button-prev {
	color: var(--primary-blue) !important;
}
.swiper-pagination-bullet-active {
	background: var(--primary-blue) !important;
}

/* 2. SEÇÃO DE SERVIÇOS */
.services-section {
    padding-top: 0;
    padding-bottom: 0;
}
.services-grid {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(2, 1fr);
    margin-top: 40px;
}
.service-card {
	background-color: var(--white);
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	padding: 35px;
    /* Remover text-align: center daqui, vamos aplicar nos filhos */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Alinha os filhos horizontalmente ao centro */
}
.service-card:hover {
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
	transform: translateY(-8px);
}
.service-card i {
	color: var(--primary-blue);
	font-size: 3em;
	margin-bottom: 20px;
    text-align: center; /* Garante que o ícone esteja centralizado */
    width: 100%; /* Ocupa a largura total para centralizar via text-align */
}
.service-card h3 {
	color: var(--dark-text);
	font-size: 1.4em;
	margin-bottom: 15px;
    text-align: center; /* Garante que o título esteja centralizado */
    width: 100%;
}
.service-card p {
	color: var(--medium-text);
	font-size: 1em;
	line-height: 1.6;
	margin-bottom: 25px;
    text-align: center; /* Garante que o parágrafo esteja centralizado */
    width: 100%;
}
.service-card .btn {
	margin-top: auto;
    display: inline-block;
    /* text-align: center; Não precisamos aqui se o parent estiver center */
}

/* 3. SEÇÃO DE CHAMADA PARA AÇÃO (CTA) FINAL */
.cta-section {
	background-color: var(--light-gray);
	padding: 60px 20px;
	text-align: center;
}
.cta-section h2 {
	font-size: 2em;
	color: var(--dark-text);
	margin-bottom: 15px;
}
.cta-section p {
	font-size: 1.1em;
	color: var(--medium-text);
	margin-bottom: 30px;
	max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 4. MEDIA QUERIES PARA A HOME */
@media (max-width: 768px) {
	.hero-slider .swiper {
		aspect-ratio: 4 / 3;
	}
    .services-grid {
        grid-template-columns: 1fr;
    }
}