/* style.css */
:root {
	--primary-font: 'Poppins', sans-serif;
	--text-main: #333333;
	--text-light: #777777;
	--bg-card: #e9ecef;
	--btn-bg: #34403B;
}

body {
	font-family: var(--primary-font);
	color: var(--text-main);
	background-color: #ffffff;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

/* Limiting width for large screens */
.container {
	max-width: 850px !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
}

.section-heading h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 0.2rem;
}

.section-heading p {
	font-size: 0.9rem;
	color: var(--text-light);
}

/* Sticky Navbar */
#sticky-navbar {
	background-color: #0c221f;
	padding: 12px 0;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
	transform: translateY(-100%);
	opacity: 0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(5px);
}

#sticky-navbar.visible-nav {
	transform: translateY(0);
	opacity: 1;
}

.sticky-logo {
	height: 35px;
	width: auto;
	transition: transform 0.2s;
}

.sticky-logo:hover {
	transform: scale(1.05);
}

/* Hero Section */
.hero-section {
	position: relative;
	background: url('images/topo-big-v2.jpg') center/cover no-repeat;
	background-color: #0c221f;
	/* Fallback */
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	z-index: 1;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(8, 26, 23, 0.85);
	/* Escurece bem para dar o contraste e o degrade escuro */
	z-index: -1;
}

#particles-js {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.z-index-1 {
	z-index: 1;
}

.hero-logo {
	max-width: 365px;
	height: auto;
}

.hero-title {
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.3;
	color: #ffffff;
}

/* Wave Separator */
.wave-bottom {
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	overflow: hidden;
	line-height: 0;
	transform: rotate(180deg);
}

.wave-bottom svg {
	position: relative;
	display: block;
	width: calc(100% + 1.3px);
	height: 70px;
}

.wave-bottom .shape-fill {
	fill: #ffffff;
}

/* Cards Section */
.service-card {
	background-color: var(--bg-card);
	border-radius: 12px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: none;
	min-height: 250px;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card h4 {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-main);
}

.service-card p {
	font-size: 0.85rem;
	color: var(--text-light);
	line-height: 1.5;
}

.icon-hover {
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .icon-hover {
	transform: scale(1.2) translateY(-3px);
}

/* Form Section */
.custom-input {
	border: 1px solid #ced4da;
	border-radius: 6px;
	font-size: 0.95rem;
	background-color: #ffffff;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.custom-input::placeholder {
	color: #adb5bd;
}

.custom-input:focus {
	box-shadow: 0 0 0 0.2rem rgba(52, 64, 59, 0.25);
	border-color: var(--btn-bg);
}

.btn-submit {
	background-color: var(--btn-bg);
	color: #ffffff;
	border-radius: 8px;
	font-size: 0.95rem;
	font-weight: 500;
	transition: background-color 0.3s, transform 0.2s;
	border: none;
}

.btn-submit:hover {
	background-color: #1a2320;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Footer */
.footer {
	border-top: 1px solid #eaeaea;
}

.footer-text {
	font-size: 0.8rem;
	color: #999999;
}

/* Animations */
.animate-slide-up {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in {
	opacity: 0;
	transition: opacity 1s ease-out;
}

.animate-zoom-in {
	opacity: 0;
	transform: scale(0.9);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible Classes added by IntersectionObserver */
.visible.animate-slide-up,
.visible.animate-zoom-in {
	opacity: 1;
	transform: translate(0) scale(1);
}

.visible.animate-fade-in {
	opacity: 1;
}

/* Animation Delays */
.delay-1 {
	transition-delay: 0.1s;
}

.delay-2 {
	transition-delay: 0.2s;
}

.delay-3 {
	transition-delay: 0.3s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	#ocean-canvas,
	#particles-js {
		display: none !important;
	}

	.hero-section {
		padding-top: 4rem;
		padding-bottom: 6rem;
	}

	.hero-title {
		font-size: 1.6rem;
	}

	.wave-bottom svg {
		height: 40px;
	}

	.service-card {
		min-height: auto;
		padding: 2rem !important;
	}
}