:root {
	--cor-destaque: #16a34a;
	--cor-texto: #1E1E1E;
	--borda-arredondada: 20px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Inter Tight", sans-serif;
	color: var(--cor-texto);
	background-color: #fff;
	padding-top: 80px; /* Para compensar a altura do header fixo */
}

/* Header fixo com transição de borda */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	z-index: 1000;
	transition: all 0.3s ease;
	box-shadow: none;
}

header.scrolled {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid #e9ecef;
}

/* Estilização global para elementos com bordas arredondadas */
.rounded-custom {
	border-radius: var(--borda-arredondada);
}

/* Logo com gradiente */
.logo {
	background: linear-gradient(135deg, #2c3e50 0%, #128C7E 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 700;
	font-size: 1.8rem;
}

/* Botões com bordas bem arredondadas */
.btn {
	border-radius: 50px;
	padding: 10px 25px;
	font-weight: 600;
}

.btn-primary-custom {
	background-color: var(--cor-destaque);
	border-color: var(--cor-destaque);
	color: white;
}

.btn-primary-custom:hover {
	background-color: #138c48;
	border-color: #138c48;
	color: white;
}

.btn-outline-custom {
	border-color: var(--cor-destaque);
	color: var(--cor-destaque);
}

.btn-outline-custom:hover {
	background-color: var(--cor-destaque);
	color: white;
}

/* Navbar */
.navbar {
	padding: 15px 0;
}

.navbar-nav .nav-link {
	color: var(--cor-texto);
	font-weight: 500;
	margin: 0 10px;
}

.navbar-nav .nav-link:hover {
	color: var(--cor-destaque);
}

#heroCarousel {
	position: relative;
}

.carousel-indicators {
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.carousel-indicators [data-bs-target] {
	position: relative;
	width: 40px;
	height: 10px; /* Altura aumentada para criar formato cilíndrico */
	margin: 0;
	text-indent: -999px;
	background-color: rgba(0, 0, 0, 0.15);
	border-radius: 10px; /* Metade da altura para criar formato cilíndrico */
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	flex-shrink: 0;
}

.carousel-indicators .active {
	background-color: var(--cor-destaque);
	width: 60px; /* Ligeiramente mais largo quando ativo */
	box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
}

/* Seções */
section {
	padding: 80px 0;
}

.section-title {
	font-weight: 700;
	margin-bottom: 20px;
}

.section-subtitle {
	color: var(--cor-destaque);
	font-weight: 500;
	margin-bottom: 40px;
}

/* Cards de negócios */
.business-card {
	border: none;
	padding: 20px;
}

.business-img {
	border-top-left-radius: 40px;
	border-bottom-right-radius: 40px;
	margin-bottom: 20px;
	height: 250px;
	object-fit: cover;
}

.business-title {
	font-weight: 600;
	margin-bottom: 15px;
}

/* Lista de recursos */
.feature-list {
	list-style: none;
	padding: 0;
}

.feature-list li {
	margin-bottom: 15px;
	padding-left: 30px;
	position: relative;
}

.feature-list li:before {
	content: "✓";
	color: var(--cor-destaque);
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* Seção Autonomia */
.autonomy-section {
	background-color: var(--cor-destaque);
	color: white;
	border-radius: var(--borda-arredondada);
	overflow: hidden;
}

.autonomy-img {
	height: 100%;
	object-fit: cover;
}

/* FAQ */
.accordion-button {
	font-weight: 500;
	margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
	background-color: rgba(22, 163, 74, 0.1);
	color: var(--cor-destaque);
}

.accordion-button:focus {
	box-shadow: none;
	border-color: rgba(22, 163, 74, 0.3);
}

/* Footer */
footer {
	background-color: #f8f9fa;
	padding: 40px 0 20px;
}

/* Estilo para o traço abaixo dos títulos das seções */
.section-title {
	position: relative;
	display: inline-block;
	margin-bottom: 30px; /* Aumentei a margem para acomodar o traço */
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 10%; /* Centraliza o traço (deixando 10% em cada lado) */
	width: 80%; /* Largura de 80% do título */
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--cor-destaque), transparent);
	border-radius: 2px;
}

.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: var(--cor-destaque);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
	z-index: 999;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: #138c48;
	transform: translateY(-3px);
}

.cta-section {
	background-color: var(--cor-destaque);
	color: white;
	border-radius: var(--borda-arredondada);
	padding: 60px 30px;
	text-align: center;
}

/* Estilos específicos para o modal */
#testeGratisModal .modal-content {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#testeGratisModal .modal-header {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    padding: 0;
}

#testeGratisModal .form-control {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 1rem;
}

#testeGratisModal .form-control:focus {
    border-color: var(--cor-destaque);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

#testeGratisModal .form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--cor-texto);
}

#testeGratisModal .alert-success {
    background-color: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.2);
    color: #0f5132;
}

@media (max-width: 576px) {
    #testeGratisModal .modal-dialog {
        margin: 20px;
    }
    
    #testeGratisModal .modal-body {
        padding: 20px;
    }
}

/* Estilos específicos para o carrossel de negócios */          
.business-carousel-controls {
	align-items: center;
	justify-content: center; 
	display: flex;
	gap: 10px;
	margin-top:30px;
}

.business-carousel-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--cor-destaque);
	border: none;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.business-carousel-btn:hover {
	background-color: #138c48;
	transform: scale(1.1);
}

/* Esconde o carrossel em telas grandes */
@media (min-width: 768px) {
	.business-carousel {
		display: none;
	}
	
	.business-carousel-controls {
		display: none;
	}
}

/* Esconde os cards em telas pequenas */
@media (max-width: 767.98px) {
	.business-cards-row {
		display: none;
	}
	
	.business-carousel {
		display: block;
	}

	.whatsapp-inteligente-img{
		max-height: 220px; 
		width: auto;
	}

	.painel-gestao-img{
		width: 50%;
	}
}
