@import url("./formulario-base.css");

/* Corrige a regra .half do tema antigo, que usa !important. */
.adel-form-main .wpcf7-form p > span.half,
.adel-form-main .wpcf7-form p > span:has(.half),
.adel-form-main .wpcf7-form p > span:has(input.half),
.adel-form-main .wpcf7-form-control-wrap.half {
	width: 100% !important;
	max-width: none !important;
}

.adel-form-main .wpcf7-form p > span.half input,
.adel-form-main .wpcf7-form p > span:has(.half) input,
.adel-form-main .wpcf7-form p > span:has(input.half) input,
.adel-form-main .wpcf7-form-control-wrap.half input,
.adel-form-main .wpcf7-form-control-wrap input.half {
	width: 100% !important;
	max-width: none !important;
}

.adel-form-main .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}

.adel-form-main .wpcf7-not-valid-tip {
	width: 100%;
	margin-top: 5px;
}

/* Listas e espaçamentos da relação de documentos. */
.adel-form-aside ul.adel-doc-list,
.adel-form-aside ul {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.adel-form-aside ul.adel-doc-list li,
.adel-form-aside ul li {
	position: relative;
	margin: 0 0 7px;
	padding-left: 17px;
}

.adel-form-aside ul.adel-doc-list li::before,
.adel-form-aside ul li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--adel-gold);
	font-size: 18px;
	line-height: 1.1;
}

.adel-form-aside h2 {
	margin-bottom: 10px;
}

.adel-form-aside h3 {
	margin: 19px 0 5px;
}

.adel-form-aside strong {
	margin: 16px 0 4px;
}

.adel-form-aside strong + p,
.adel-form-aside h3 + p {
	margin-top: 0;
}

/* Rodapé claro alinhado ao site novo. */
.adel-new-footer {
	background: var(--adel-paper);
	color: var(--adel-petrol);
	border-top: 1px solid var(--adel-line);
}

.adel-new-footer__main {
	display: grid;
	grid-template-columns: 1.65fr .8fr .8fr 1fr;
	gap: 7%;
	padding: 73px 0 67px;
}

.adel-new-footer__brand img {
	width: 171px;
	filter: none;
}

.adel-new-footer__brand p {
	max-width: 270px;
	margin: 25px 0;
	color: var(--adel-petrol);
	font-size: 14px;
	line-height: 1.5;
}

.adel-new-footer__linkedin {
	color: var(--adel-petrol);
	font-size: 11px;
	text-decoration: none;
}

.adel-new-footer__label,
.adel-new-footer__area-label {
	display: block;
	color: var(--adel-gold);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.adel-new-footer__label {
	margin-bottom: 9px;
}

.adel-new-footer__area-label {
	margin: 9px 0 3px;
}

.adel-new-footer__column {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	font-size: 13px;
}

.adel-new-footer__column a {
	color: var(--adel-petrol);
	text-decoration: none;
}

.adel-new-footer__column a:hover,
.adel-new-footer__column a:focus-visible,
.adel-new-footer__linkedin:hover {
	color: var(--adel-gold);
}

.adel-new-footer__note {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 19px 0 23px;
	border-top: 1px solid var(--adel-line);
	color: var(--adel-gold);
	font-size: 9px;
	letter-spacing: .07em;
	line-height: 1.5;
	text-transform: uppercase;
}

.adel-new-footer__note span:last-child {
	color: var(--adel-muted);
}

.adel-new-whatsapp {
	position: fixed;
	z-index: 35;
	right: 27px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 8px 8px 8px 15px;
	background: var(--adel-gold);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 25px rgba(12, 32, 38, .2);
}

.adel-new-whatsapp span {
	display: grid;
	place-items: center;
	width: 25px;
	height: 25px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 50%;
}

.adel-new-backtop {
	position: fixed;
	z-index: 34;
	right: 27px;
	bottom: 84px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--adel-gold);
	border-radius: 50%;
	background: var(--adel-petrol-dark);
	color: var(--adel-gold);
	font-size: 20px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.adel-new-footer__main {
		grid-template-columns: 1fr 1fr;
		gap: 42px 24px;
		padding: 55px 0;
	}

	.adel-new-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.adel-new-footer__main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.adel-new-footer__brand {
		grid-column: auto;
	}

	.adel-new-footer__note {
		flex-direction: column;
		gap: 8px;
	}

	.adel-new-whatsapp {
		right: 16px;
		bottom: 16px;
	}

	.adel-new-backtop {
		right: 16px;
		bottom: 70px;
	}
}
