/* Adaptado do footer do tema local handmade-base. */
.day1-footer {
	position: relative;
	overflow: hidden;
	padding: 56px 0;
	background: #01000f;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.35;
}

.day1-footer__triangle {
	position: absolute;
	right: 0;
	bottom: 0;
	width: max(209px, calc(50vw - 65px));
	height: 100%;
	overflow: hidden;
	pointer-events: none;
}

.day1-footer__triangle::before {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 0;
	padding-bottom: 186.312849162%;
	background: linear-gradient(
		to top left,
		#09e1cd 0,
		#09e1cd 50%,
		transparent 50.05%,
		transparent 100%
	);
	content: "";
}

.day1-footer__container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	padding-inline: 25px;
}

.day1-footer__content {
	position: relative;
	z-index: 1;
	width: 100%;
}

.day1-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.day1-footer a {
	color: #fff;
}

.day1-footer__social {
	max-width: 500px;
}

.day1-footer__social a {
	position: relative;
	display: inline-block;
	overflow: hidden;
	padding-bottom: 6px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.day1-footer__social a::after {
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 2px;
	background: #09e1cd;
	content: "";
	transform-origin: center top;
	transition: transform 150ms ease;
}

.day1-footer__social a:hover::after,
.day1-footer__social a:focus::after {
	transform: scaleX(1.12);
}

.day1-footer__meta {
	margin-top: 30px;
}

.day1-footer__meta h2 {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.2;
}

.day1-footer__meta p {
	margin: 0;
}

.day1-footer__navigation {
	margin-top: 32px;
}

.day1-footer__navigation ul {
	flex-direction: column;
}

.day1-footer__navigation a,
.day1-footer__credit a {
	position: relative;
	display: inline-block;
	text-decoration: none;
	transition: color 350ms ease;
}

.day1-footer__navigation a::after,
.day1-footer__credit a::after {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
}

.day1-footer__navigation a:hover,
.day1-footer__navigation a:focus,
.day1-footer__credit a:hover,
.day1-footer__credit a:focus {
	color: #ffcf53;
}

.day1-footer__credit {
	margin: 56px 0 0;
	font-size: 10px;
}

.day1-footer__logo {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	flex: 0 0 auto;
	align-items: flex-end;
	justify-content: flex-end;
	margin-top: -94px;
}

.day1-footer__logo img {
	width: 94px;
	height: auto;
}

@media (min-width: 768px) {
	.day1-footer {
		padding: 75px 0 80px;
	}

	.day1-footer__triangle {
		width: max(298px, calc(50vw - 90px));
	}

	.day1-footer__content {
		width: 83.3333%;
	}

	.day1-footer__social a {
		font-size: 20px;
	}

	.day1-footer__meta {
		margin-top: 80px;
	}

	.day1-footer__logo {
		width: 16.6667%;
		margin-top: 0;
	}

	.day1-footer__logo img {
		width: 100px;
	}
}

@media (min-width: 992px) {
	.day1-footer {
		padding: 90px 0 80px;
	}

	.day1-footer__triangle {
		width: max(454px, calc(50vw - 237px));
	}

	.day1-footer__content {
		width: 75%;
	}

	.day1-footer__social {
		max-width: none;
	}

	.day1-footer__social a {
		font-size: 22px;
	}

	.day1-footer__meta {
		margin-top: 138px;
	}

	.day1-footer__navigation {
		margin-top: 15px;
	}

	.day1-footer__navigation--legal {
		margin-top: 8px;
	}

	.day1-footer__navigation ul {
		flex-direction: row;
	}

	.day1-footer__logo {
		width: 25%;
		margin-top: 0;
	}

	.day1-footer__logo img {
		width: 152px;
	}
}

/* Integração com o container compartilhado e a newsletter do layout Day1. */
.day1-footer { font-family: "Day1 Inter", Arial, sans-serif; }
.day1-footer__container { padding-inline: 10%; }
.day1-footer__content { max-width: 75%; }
.day1-footer__newsletter { margin-bottom: 46px; }
.day1-footer__newsletter h2 { margin: 0 0 24px; font-family: "Day1 Founders", Arial, sans-serif; font-size: 28px; font-weight: 600; }
.day1-footer__newsletter a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 192px; padding: 12px 24px; color: #01000f; background: #09e1cd; font-weight: 600; }
.day1-footer__logo img { display: block; }
.day1-footer :focus-visible { outline-color: #ffcf53; }
@media (min-width: 992px) {
  .day1-footer { padding-block: 70px 64px; }
  .day1-footer__social a { font-size: 16px; }
  .day1-footer__meta { margin-top: 116px; }
  .day1-footer__meta h2 { margin-bottom: 12px; font-size: 14px; }
  .day1-footer__navigation ul { gap: 12px 20px; }
  .day1-footer__logo { align-items: flex-end; }
}
@media (max-width: 767px) {
  .day1-footer__container { padding-inline: var(--day1-mobile-gutter); }
  .day1-footer__content { width: 100%; max-width: none; }
  .day1-footer__triangle { width: 190px; height: 270px; }
  .day1-footer__social a { font-size: 14px; }
  .day1-footer__meta { margin-top: 70px; }
  .day1-footer__navigation { max-width: 210px; }
  .day1-footer__logo { margin-top: 26px; }
  .day1-footer__logo img { width: 74px; height: 74px; }
}
