/* Estrutura principal do Rodapé */
footer {
	margin: 0;
	padding: 0;
}

/* WRAPPER 1: Área Principal
*/
#footer_data_wrapper {
	background-color: var(--cor-fundo-claro);
	padding-top: var(--space-8);
	padding-bottom: var(--space-8);
}

/* WRAPPER 2: Copyright
*/
#footer_copy_wrapper {
	background-color: var(--cor-primaria);
	color: var(--cor-fundo-claro);
	padding-top: var(--space-4);
	padding-bottom: var(--space-4);

	font-size: var(--text-sm);
	font-weight: var(--peso-negrito);
	text-align: center;
}
/* ==========================================================================
	Grid Layout para o conteúdo interno
	========================================================================== */
.footer_content {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	gap: var(--space-8);
}

.footer_info {
	/* align-self: center; */
	margin-right: 0.5rem;
}

.footer_info h1 {
	color: var(--cor-primaria-media);
	font-size: var(--text-3xl);
	margin-bottom: 0.75rem;
}

.footer_info p {
	font-size: var(--text-xl);
	line-height: 1;
	font-weight: var(--peso-base);
}

.footer_social_media {
	margin-top: 1rem;
}

/* Ícones Sociais */
.footer_social_media a {
	color: #808080;
	font-size: 1.5rem;
	margin-right: var(--space-4);
	text-decoration: none;
}

.footer_social_media a:hover {
	color: var(--cor-primaria);
}

.footer_emec {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1.5rem;
}

.footer_emec img {
	width: 100%;
	height: auto;
	max-width: 358px;
}

.footer_links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer_links h4 {
	font-size: var(--text-base);
}

.footer-menu-list li {
	margin-bottom: 0.5rem;
}

.footer-menu-list li a {
	color: #626262;
	text-decoration: none;
}

.footer-menu-list li a:hover {
	color: var(--cor-primaria);
	text-decoration: none;
}

.footer_contacts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer_contacts h4 {
	font-size: var(--text-base);
}

.footer_campus h5 {
	color: var(--cor-primaria);
	margin-bottom: 0.5rem;
}

.footer_campus_endereco {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.footer_campus_endereco i {
	margin-right: 0.5rem;
	font-size: var(--text-xl);
	color: #808080;
}

.footer_campus_phone {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.footer_campus_phone i {
	margin-right: 0.5rem;
	font-size: var(--text-xl);
	color: #808080;
}

.footer_campus p {
	line-height: 1.2;
}

.item-contact {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
}

.item-contact i {
	margin-right: 0.8rem;
	color: #808080;
	font-size: large;
}

.item-contact a {
	text-decoration: none;
	color: #404040;
}

.footer_logos {
	display: flex;
	align-items: center;
	justify-content: space-evenly;
	margin-top: 2rem;
}

.footer_logos img {
	width: 10rem;
	height: auto;
}

.footer_hr {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 1rem;
	margin-top: 2rem;
}

.footer_hr hr {
	border: none;
	height: 1px;
	background-color: #ccc;
	margin: 20px 0;
	width: 100%;
}

.footer-copy-container {
	display: grid;
	align-items: center;
	grid-template-columns: 1fr 1fr 1fr;
}

.footer-copy-container > p:first-child {
	justify-self: start;
	margin: 0;
}

.footer-copy-container > p:nth-child(2) {
	justify-self: center;
	margin: 0;
	text-align: center;
	white-space: nowrap;
}

.link-wrapper-iescs {
	justify-self: end;
	text-decoration: none;
	color: inherit;
	display: block;
	cursor: pointer;
}

.link-wrapper-iescs:hover {
	color: #fff;
}

.projeto-iescs {
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

.footer-copy-container img {
	width: 3rem;
	height: auto;
}

/* ==========================================================================
	Media Queries (Responsivo)
	========================================================================== */
@media screen and (max-width: 1300px) {
	.footer_content {
		grid-template-columns: 1fr 1fr;
		padding: 2rem;
	}
}

@media screen and (max-width: 500px) {
	.footer_content {
		grid-template-columns: 1fr;
	}
	#footer_copy_wrapper {
		padding: 1rem 2rem;
	}

	.footer_logos {
		flex-direction: column;
		gap: 3rem;
	}

	.footer-copy-container {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}

	.footer-copy-container > p:first-child {
		justify-self: auto;
	}

	.footer-copy-container > p:nth-child(2) {
		justify-self: auto;
	}

	.link-wrapper-iescs {
		justify-self: center;
	}
}
