/* -----GERAL----- */
* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	font-family:
		ui-sans-serif,
		system-ui,
		sans-serif,
		"Apple Color Emoji",
		"Segoe UI Emoji",
		"Segoe UI Symbol",
		"Noto Color Emoji";
}

:root {
	--dark-green: #047857;
	--light-green: #059669;
	--ice-white: #e5e5e5;
	--light-gray: #f2f5f5;
	--dark-gray: #242424;
	--black: #0f1112;
	--title-size-desk: 4.5rem;
}
.layout-container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* -----SITE LOADING----- */
body {
	font-family:
		ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	opacity: 1;
	transition: opacity 300ms ease;
}
html.is-loading body {
	opacity: 0;
}
body.is-ready {
	opacity: 1;
}

/* -----BUTTON----- */
.btn {
	min-height: 3.25rem;
	min-width: 3.25rem;
	border: 0px;
	border-radius: 30px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}

.btn:hover {
	cursor: pointer;
}

/* -----HEADER----- */
.site-header {
	position: relative;
	z-index: 100;
}

.site-header__nav {
	position: fixed;
	width: 100%;
	border-bottom: 1px solid #77777750;
	background-color: #00000080;
	backdrop-filter: blur(10px);
	z-index: 100;
	transition: background-color ease 0.5s;
}

.site-header__nav.solid-color {
	background-color: #0f1112;
}

/* ----- BREADCRUMB ----- */
.site-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 1.35rem;
	margin-bottom: 1rem;
	color: #5f6f6a;
	font-size: 0.92rem;
	line-height: 1.4;
}

.site-breadcrumb__link {
	color: var(--dark-green);
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-breadcrumb__link:hover {
	color: var(--light-green);
}

.site-breadcrumb__separator {
	color: #9ca3af;
}

.site-breadcrumb__current {
	color: #263238;
	font-weight: 600;
}

.header-trigger {
	height: 0px;
	width: 100%;
}

.site-header__nav-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.logo:hover {
	cursor: pointer;
}

.logo a {
	display: inline-flex;
}

.logo img {
	display: block;
	width: auto;
}

.site-header__desktop-nav {
	display: none;
	min-width: 0;
}

.site-header__desktop-nav a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
	height: 40px;
	text-align: center;
}

.site-header__desktop-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: var(--light-green);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

.site-header__desktop-nav a:hover,
.site-header__desktop-nav a:focus-visible {
	color: var(--light-green);
	opacity: 1;
}

.site-header__desktop-nav a:hover::after,
.site-header__desktop-nav a:focus-visible::after {
	transform: scaleX(1);
}

/* -----TYPOGRAPHY----- */
.eyebrow {
	position: relative;
	font-weight:600;
	color: var(--dark-green);
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.eyebrow--on-dark {
	color: var(--light-green);
}

.eyebrow::after {
	content: "";
	position: absolute;
	margin-left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 2px;
	background-color: currentColor;
}

.section-title {
	color: var(--black);
	font-size: 30px;
	font-weight: 700;
	line-height: 2.25rem;
}

.section-title span {
	color: #c3c6cc;
}

.section-title--on-dark {
	color: #fff;
}

/* -----MENU----- */
.menu-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--light-green);
	width: 3.5rem;
	height: 3.5rem;
	z-index: 100;
	flex: 0 0 auto;
}

.menu-btn img {
	height: 1.5rem;
	width: 1.5rem;
}

.menu-btn:focus-visible {
	outline: 2px solid var(--light-green);
	outline-offset: 3px;
}

/* -----FOOTER----- */
footer {
	background-color: var(--black);
	color: white;
	width: 100%;
}

.footer__top-divider {
	border-bottom: 2px solid #343a42;
}

.footer__contacts,
#contacts {
	scroll-margin-top: 96px;
}

.footer__contacts {
	padding-top: 30px;
	padding-bottom: 30px;
}

.footer__contacts h2 {
	color: var(--light-green);
	font-size: 18px;
	font-weight: 600;
}

.contacts__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 12px;
	margin-top: 2rem;
}

.contacts__grid a {
	text-decoration: none;
}

.contacts__card {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	grid-template-rows: repeat(2, fit-content);
	align-items: center;
	gap: 0.5rem;
	background-color: #1b1d1e;
	border-radius: 0.75rem;
	padding: 1.25rem 1rem;
	transition: all 0.3s ease;
}

.contacts__card:hover {
	cursor: pointer;
	background-color: #2f3131;
}

.contacts__card svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: var(--light-green);
}

.card__content h3 {
	color: #fff;
	font-weight: 600;
}

.card__content p {
	color: #9ca3af;
	font-size: 15px;
}

.footer__meta {
	display: flex;
	flex-direction: column;
}

.footer__links,
.footer__info {
	padding-top: 20px;
	padding-bottom: 20px;
}

.footer-links__grid,
.footer-info__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, fit-content);
	padding-top: 16px;
	padding-bottom: 16px;
}

.footer-links__column,
.footer-info__column {
	display: flex;
	flex-direction: column;
}

.footer-links__column h3,
.footer-info__column h3 {
	padding-bottom: 16px;
	color: #e5e5e5;
}

.footer-links__column a {
	font-size: 15px;
	text-decoration: none;
	color: #6b7280;
	width: max-content;
	padding: 8px 4px 8px 0;
}

.footer-links__column a:hover {
	color: #8890a0;
}

.footer-links__column a:last-of-type {
	padding-bottom: 0;
}

.info__p {
	font-size: 15px;
	color: #6b7280;
	padding-bottom: 8px;
}

.info__p_secondary {
	font-size: 14px;
	max-width: 130px;
	color: #4b5563;
	line-height: 16px;
}

footer hr {
	border-color: #343a42;
}

.footer__bottom {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 16px;
	color: #4b5563;
	font-size: 14px;
	padding-top: 25px;
	padding-bottom: 40px;
}

/* -----MEDIA QUERIES----- */
@media screen and (min-width: 768px) {
	.layout-container {
		padding-left: 48px;
		padding-right: 48px;
	}

	.site-header__desktop-nav {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: clamp(0.85rem, 2vw, 1.5rem);
		margin-left: auto;
	}

	.contacts__grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr;
	}

	.footer__meta {
		flex-direction: row;
	}

	.footer__links,
	.footer__info {
		width: 50%;
	}
}

/* ----- FOOTER ----- */
.footer__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 40px;
	padding-bottom: 40px;
	width: 100%;
}

.footer__sitemap-columns {
	display: none;
	flex-direction: row;
	gap: 4rem;
	margin-bottom: 2.5rem;
	width: 100%;
	justify-content: center;
}

.sitemap-col {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.sitemap-col h3 {
	color: #e5e5e5;
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.sitemap-col nav {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.sitemap-col nav a {
	color: #9ca3af;
	font-size: 15px;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.sitemap-col nav a:hover {
	color: var(--light-green);
}

.footer__brand-social {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	width: 100%;
	flex-wrap: wrap;
}

.footer__brand {
	display: flex;
	align-items: center;
}

.footer__brand img {
	display: block;
	max-height: 28px;
	width: auto;
}

.footer__socials {
	display: flex;
	gap: 1.5rem;
}

.footer__socials .social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background-color: #1b1d1e;
	border-radius: 50%;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer__socials .social-icon svg {
	width: 20px;
	height: 20px;
	fill: #e5e5e5;
	transition: fill 0.3s ease;
}

.footer__socials .social-icon:hover {
	background-color: var(--light-green);
	transform: translateY(-3px);
}

.footer__socials .social-icon:hover svg {
	fill: #fff;
}

.footer__divider {
	display: none;
	width: 100%;
	border: 0;
	border-top: 1px solid #343a42;
	margin: 0;
}

.footer__bottom-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding-top: 0;
}

.footer__bottom-area .footer__bottom {
	padding-top: 2rem;
	padding-bottom: 0;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.footer__sitemap-columns {
		display: flex;
	}

	.footer__divider {
		display: block;
	}

	.footer__bottom-area {
		flex-direction: row-reverse;
		justify-content: space-between;
		padding-top: 2rem;
	}

	.footer__bottom-area .footer__bottom {
		align-items: flex-start;
		text-align: left;
		padding-top: 0;
	}

	.footer__brand-social {
		width: auto;
		justify-content: flex-end;
	}
}


/* ----- MOBILE BOTTOM NAV ----- */
.mobile-bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background-color: #ffffff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000;
	box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.bottom-nav__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 20%;
	height: 100%;
	position: relative;
}

.bottom-nav__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: #9ca3af;
	width: 100%;
	height: 100%;
	justify-content: center;
}

.bottom-nav__item svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

.bottom-nav__item.active a {
	color: #059669;
}

/* Ponto verde para o item ativo */
.bottom-nav__item.active::after {
	content: '';
	position: absolute;
	bottom: 12px;
	width: 5px;
	height: 5px;
	background-color: #059669;
	border-radius: 50%;
}

/* Espaço no footer para a nav bar */
@media screen and (max-width: 767px) {
	#site-footer {
		padding-bottom: 70px;
	}
}

@media screen and (min-width: 768px) {
	.mobile-bottom-nav {
		display: none;
	}
}
