/* ---------------------------------------------------------------------------------------------] */
/*  --------------------------------------------------------------------------------------[ CSS ] */
/* ---------------------------------------------------------------------------------------------] */

header {
	background: var(--custom-color-white);
}

.header-logo {
	max-width: 150px;
}

/* ---------------------------------------------------------------------------------------------] */

footer {
	background: var(--custom-color-secondary);
}

.footer-logo {
	max-width: 150px;
}

/* ---------------------------------------------------------------------------------------------] */

.bg-hero {
	background: var(--custom-color-white);
	background-size: 60px 60px, cover;
	min-height: 400px;
	position: relative;
	overflow: hidden;
}

@media (min-width: 1400px) {
	.bg-hero {
		min-height: 750px;
	}
}

/* ---------------------------------------------------------------------------------------------] */

.custom-icon-pulse {
	background-color: var(--custom-color-secondary);
}

.rounded-full {
	border-radius: 9999px;
}

.animate-pulse {
	animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.w-2 {
	width: 0.5rem;
}

.h-2 {
	height: 0.5rem;
}

/* ---------------------------------------------------------------------------------------------] */

.custom-text-gradient {
	background: var(--custom-odg-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------------------------------------] */

.custom-fs-5rem {
	font-size: clamp(1rem, 6vw, 5rem);
	line-height: 1.1; 
}

/* ---------------------------------------------------------------------------------------------] */

.btn-gradient {
	display: inline-block;
	color: var(--custom-color-white);
	background: var(--custom-color-primary);
	border: 3px solid var(--custom-odg-accent);
	box-shadow: var(--custom-odg-shadow);
	cursor: pointer;
}

.btn-gradient:hover {
	background: var(--custom-color-secondary);
}

/* ---------------------------------------------------------------------------------------------] */

.input-group.animated-border {
	position: relative;
	border-radius: 0.5rem; 
	background: transparent;
	padding: 3px;
	background-image: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
	background-size: 400% 400%;
	animation: gradient-border 2s ease infinite;
}

.input-group.animated-border .form-control,
.input-group.animated-border .input-group-text {
	border: none !important;
	box-shadow: none !important;
}

.input-group.animated-border .form-control {
	border-radius: 0.375rem 0 0 0.375rem !important;
	padding-left: 1rem;
}

.input-group.animated-border .input-group-text {
	border-radius: 0 0.375rem 0.375rem 0 !important;
	background: white;
}

.input-group.animated-border > .form-floating,
.input-group.animated-border > .form-floating > .form-control {
	border-radius: 0.375rem 0 0 0.375rem;
}

.input-group.animated-border > .input-group-text {
	border-radius: 0 0.375rem 0.375rem 0;
}

@keyframes gradient-border {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.input-group.animated-border:focus-within {
	transform: scale(1.02);
	transition: transform 0.2s ease;
}

@-webkit-keyframes gradient-border {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* ---------------------------------------------------------------------------------------------] */

.search-drowpdown {
	background-color: var(--bs-body-bg);
	border-radius: var(--bs-border-radius);
	border: 1px solid var(--bs-border-color);
	position: absolute;
	z-index: 9;
	display: none;
	max-height: 315px;
	left: 0;
	right: 0;
	margin-right: calc(var(--bs-gutter-x)* .5);
	margin-left: calc(var(--bs-gutter-x)* .5);
	overflow: scroll;
}

.search-options {
	line-height: var(--bs-body-line-height);
}

.search-options:hover {
	font-weight: bold;
}

.search-options span {
	opacity: 0.6;
	position: absolute;
	right: 20px;
}

.search-options:first-child {
	margin-top: 0px !important;
}

.search-options:last-child {
	margin-bottom: 0px !important;
}

/* ---------------------------------------------------------------------------------------------] */

.how-card {
	.how-card-img-top {
		max-width: 85px;
	}

	.how-card-counter {
		box-shadow: var(--custom-odg-shadow);
		background: var(--custom-odg-gradient);
		border: 3px solid var(--custom-odg-accent);
	}
}

/* ---------------------------------------------------------------------------------------------] */

.accordion-button:focus {
	box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
	color: var(--custom-color-white);
	box-shadow: var(--custom-odg-shadow);
	background: var(--custom-odg-gradient);
}


.accordion-button::after {
	display: none !important;
}

.accordion-caret {
	display: inline-flex;
	width: 1.25rem;
	height: 1.25rem;
	font-size: 1.25rem;
	line-height: 1;
	color: currentColor;            
	transition: transform .2s ease;
}

.accordion-button:not(.collapsed) .accordion-caret {
	transform: rotate(-180deg);
}

/* ---------------------------------------------------------------------------------------------] */

.cta-card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	border: 1px solid var(--bs-gray-800);
	padding: 65px 45px;
	background: var(--bs-gray-900);
}

.cta-card-counter {
	box-shadow: var(--custom-odg-shadow);
	background: var(--custom-odg-gradient);
	border: 3px solid var(--custom-odg-accent);
}

/* ---------------------------------------------------------------------------------------------] */

.input-group {
	transition: border-color .15s ease, box-shadow .15s ease;
}

.input-group.is-invalid {
	border: 1px solid #dc3545;
	border-radius: .375rem;
}

.input-group.is-invalid .input-group-text {
	background-color: #f8d7da;
	border-color: #dc3545;
	color: #dc3545;
}

.input-group.is-invalid .form-select {
	border-color: #dc3545;
	box-shadow: none;
}

.input-group.is-invalid .form-select:focus {
	border-color: #dc3545;
	box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .15);
}

.input-group.is-valid {
	border: 1px solid #198754;
	border-radius: .375rem;
}

.input-group.is-valid .input-group-text {
	background-color: #d1e7dd;
	border-color: #198754;
	color: #198754;
}

.input-group.is-valid .form-select {
	border-color: #198754;
	box-shadow: none;
}

.input-group.is-valid .form-select:focus {
	border-color: #198754;
	box-shadow: 0 0 0 .2rem rgba(25, 135, 84, .15);
}

.input-group.is-valid .form-floating > label,
.input-group.is-invalid .form-floating > label {
	color: inherit;
}

button#btnBuscarCep {
	border: var(--bs-border-width) solid var(--bs-border-color);
}

.input-group.mb-3:last-child {
	margin-bottom: 0 !important;
}

/* ---------------------------------------------------------------------------------------------] */

.switch-container {
	display: flex;
	position: relative;
	width: 100%;
	background-color: #e9ecef;
	border-radius: 50px;
	padding: 5px;
	cursor: pointer;
}

.switch-container input {
	display: none;
}

.switch-container label {
	flex: 1;
	padding: 10px 0;
	z-index: 2;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
	color: #6c757d;
	transition: color 0.3s ease;
}

.switch-container input:checked + label {
	color: var(--custom-color-primary) !important;
}

.switch-selection {
	position: absolute;
	z-index: 1;
	top: 5px;
	left: 5px;
	width: calc(50% - 5px);
	height: calc(100% - 10px);
	background: white;
	border-radius: 50px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

#empresa:checked ~ .switch-selection {
	transform: translateX(100%);
}

.switch-container.is-invalid {
	border: 1px solid #dc3545;
	box-shadow: 0 0 0 0.25 rgba(220, 53, 69, 0.25);
}

/* ---------------------------------------------------------------------------------------------] */

.avatar-upload { position: relative; max-width: 150px;; }
.avatar-edit { position: absolute; right: 10px; z-index: 1; bottom: 10px; }
.avatar-edit input { display: none; }
.avatar-edit label {
	display: flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; margin-bottom: 0;
	border-radius: 100%; background: #FFFFFF; border: 1px solid #ddd;
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.12); cursor: pointer;
}
.avatar-preview {
	width: 150px; height: 150px; position: relative;
	border-radius: 100%; border: 4px solid #f8f8f8;
	box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.1);
}
.avatar-preview > div {
	width: 100%; height: 100%; border-radius: 100%;
	background-size: cover; background-repeat: no-repeat; background-position: center;
}

/* ---------------------------------------------------------------------------------------------] */

.pagination-wrapper ul.pagination li a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 45px;
	height: 45px;
	padding: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: #495057;
	background-color: #ffffff;
	border: 1px solid #edf2f7;
	border-radius: 12px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	text-decoration: none;
	margin: 0px var(--bs-pagination-padding-x);
}

.pagination-wrapper ul.pagination li a i {
	font-size: 1.2rem;
	line-height: 1;
}

.pagination-wrapper ul.pagination li.active a {
	background-color: var(--custom-color-primary);
	color: #ffffff !important;
	border-color: var(--custom-color-primary);
	box-shadow: 0 4px 15px var(--custom-color-primary);
}

.pagination-wrapper ul.pagination li a:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
	color: var(--custom-color-primary);
}

.pagination-wrapper ul.pagination {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

.text-danger.fw-bold {
	background-color: #fff5f5;
	padding: 2px 6px;
	border-radius: 4px;
}

/* ---------------------------------------------------------------------------------------------] */

#fex-preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fex-logo-anim {
	width: 300px;
	margin-bottom: 20px;
	animation: fexPulse 1.5s infinite ease-in-out;
}

.fex-spinner {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.fex-dot {
	width: 12px;
	height: 12px;
	background-color: var(--custom-color-primary);
	border-radius: 50%;
	animation: fexBounce 1.4s infinite ease-in-out both;
}

.fex-dot:nth-child(1) { animation-delay: -0.32s; }
.fex-dot:nth-child(2) { animation-delay: -0.16s; }

.fex-text-loading {
	font-size: 0.85rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.7;
	color: var(--custom-color-primary);
}

@keyframes fexPulse {
	0% { transform: scale(1); opacity: 0.8; }
	50% { transform: scale(1.05); opacity: 1; }
	100% { transform: scale(1); opacity: 0.8; }
}

@keyframes fexBounce {
	0%, 80%, 100% { transform: scale(0); }
	40% { transform: scale(1.0); }
}

.fex-loaded {
	opacity: 0 !important;
	visibility: hidden !important;
}

#fex-preloader:not(.fex-loaded) {
	opacity: 1;
	visibility: visible;
}

/* ---------------------------------------------------------------------------------------------] */

.logo-row {
	position: relative;
	overflow: hidden;
	margin: 35px 0;
}

.logo-row:first-child {
	margin-top: 0px;
}

.logo-row:last-child {
	margin-bottom: 0px;
}

.logo-row::before,
.logo-row::after {
	content: "";
	position: absolute;
	top: 0;
	width: 120px;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

.logo-row::before {
	left: 0;
	background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.logo-row::after {
	right: 0;
	background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.logo-track {
	display: flex;
	width: max-content;
	gap: 60px;
	will-change: transform;
}

.logo-row:nth-child(1) .logo-track {
	animation: scroll 50s linear infinite; 
}

.logo-row:nth-child(2) .logo-track {
	animation: scroll 48s linear infinite reverse; 
}

.logo-row:nth-child(3) .logo-track {
	animation: scroll 58s linear infinite; 
}

.logo-track img {
	height: 65px;
	padding: 10px 15px; 
	object-fit: contain;
	border-radius: 12px;
	filter: brightness(0); 
	opacity: 0.2; 
	transition: all 0.4s ease;
}

.logo-track img:hover {
	filter: brightness(1);
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.05); 
	transform: scale(1.1);
}

@keyframes scroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.logo-row:hover .logo-track {
	animation-play-state: paused;
}

@media (max-width: 768px) {
	.logo-track img {
		height: 40px;
	}
	.logo-row::before,
	.logo-row::after {
		width: 60px;
	}
}

/* ---------------------------------------------------------------------------------------------] */
/*  --------------------------------------------------------------------------------------[ END ] */
/* ---------------------------------------------------------------------------------------------] */
