/**
 * Studio Alma do Lar — Rodapé configurável.
 *
 * A composição usa a paleta e os tokens globais do tema, com uma faixa de
 * benefícios, newsletter em contraste, coluna de marca e até três colunas de
 * navegação. O formulário da newsletter é renderizado pelo Forminator dentro
 * do componente pré-rodapé.
 */

/* ---------- Faixa de benefícios e newsletter pré-rodapé ---------- */

.studioalmadolar-pre-footer {
	margin-top: clamp(3rem, 8vw, 7rem);
	border-top: 1px solid var(--studioalmadolar-line, #e5e5e5);
	color: var(--studioalmadolar-ink, #2f2a26);
}

.studioalmadolar-pre-footer__benefits {
	background: var(--studioalmadolar-surface, #fff);
	border-bottom: 1px solid var(--studioalmadolar-line, #e5e5e5);
}

.studioalmadolar-pre-footer__benefits-inner {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 4vw, 4rem);
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(2.5rem, 5vw, 4.5rem) 2rem;
}

.studioalmadolar-pre-footer__benefit {
	display: flex;
	min-width: 0;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.studioalmadolar-pre-footer__benefit-icon {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 0 1.25rem;
	color: var(--studioalmadolar-ink, #2f2a26);
}

.studioalmadolar-pre-footer__benefit-title {
	margin: 0 0 0.75rem;
	color: var(--studioalmadolar-ink, #2f2a26);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
}

.studioalmadolar-pre-footer__benefit-description {
	max-width: 24ch;
	margin: 0;
	color: var(--studioalmadolar-ink-soft, #666);
	font-size: 1rem;
	line-height: 1.55;
}

.studioalmadolar-pre-footer__newsletter {
	background: var(--studioalmadolar-surface-muted, #f7f7f7);
	color: var(--studioalmadolar-ink, #2f2a26);
}

.studioalmadolar-pre-footer__newsletter-inner {
	max-width: 840px;
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.5rem) 2rem;
	text-align: center;
}

.studioalmadolar-pre-footer__newsletter-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 600;
	line-height: 1.25;
}

.studioalmadolar-pre-footer__newsletter-text {
	margin: 0.75rem 0 1.25rem;
	color: var(--studioalmadolar-ink-soft, #666);
	font-size: 1rem;
	line-height: 1.5;
}

.studioalmadolar-pre-footer__newsletter-form {
	max-width: 620px;
	margin: 0 auto;
}

.studioalmadolar-pre-footer__newsletter-form .forminator-ui,
.studioalmadolar-pre-footer__newsletter-form form {
	margin: 0 auto;
}

.studioalmadolar-pre-footer__newsletter-form form {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0.75rem;
}

.studioalmadolar-pre-footer__newsletter-form .forminator-row,
.studioalmadolar-pre-footer__newsletter-form .forminator-col,
.studioalmadolar-pre-footer__newsletter-form .forminator-field {
	margin: 0;
}

.studioalmadolar-pre-footer__newsletter-form .forminator-row {
	flex: 1 1 280px;
}

.studioalmadolar-pre-footer__newsletter-form input[type='email'],
.studioalmadolar-pre-footer__newsletter-form input[type='text'] {
	box-sizing: border-box;
	width: 100%;
	min-height: 42px;
	padding: 0 0.75rem;
	border: 0;
	border-bottom: 1px solid var(--studioalmadolar-line-strong, rgba(47, 42, 38, 0.35));
	border-radius: 0;
	background: transparent;
	color: var(--studioalmadolar-ink, #2f2a26);
}

.studioalmadolar-pre-footer__newsletter-form input::placeholder {
	color: var(--studioalmadolar-muted, #6e625a);
	opacity: 0.72;
}

.studioalmadolar-pre-footer__newsletter-form .forminator-button,
.studioalmadolar-pre-footer__newsletter-form button[type='submit'] {
	min-height: 42px;
	padding: 0.65rem 1.5rem;
	border: 1px solid var(--studioalmadolar-accent, #2f2a26);
	border-radius: 999px;
	background: var(--studioalmadolar-accent, #2f2a26);
	color: var(--studioalmadolar-accent-contrast, #fff);
	font-weight: 600;
	cursor: pointer;
	transition: filter 0.18s ease, transform 0.18s ease;
}

.studioalmadolar-pre-footer__newsletter-form .forminator-button:hover,
.studioalmadolar-pre-footer__newsletter-form button[type='submit']:hover {
	filter: brightness(0.94);
	transform: translateY(-1px);
}

.studioalmadolar-pre-footer__placeholder {
	max-width: 620px;
	margin: 0 auto;
	padding: 0.75rem 1rem;
	border: 1px dashed var(--studioalmadolar-danger, #a33);
	border-radius: 6px;
	color: var(--studioalmadolar-danger, #a33);
	font-size: 0.85rem;
	line-height: 1.5;
}

.site-footer {
	position: relative;
	margin-top: 0;
	border-top: 1px solid var(--studioalmadolar-line, #e5e5e5);
	background: #ffffff;
	color: var(--studioalmadolar-ink, #2f2a26);
}

.site-footer::before {
	position: absolute;
	top: -5px;
	right: 0;
	left: 0;
	height: 1px;
	background: var(--studioalmadolar-line, #e5e5e5);
	content: '';
}

.site-footer__main {
	display: grid;
	grid-template-columns: minmax(220px, 1.2fr) minmax(0, 2.8fr);
	gap: clamp(2rem, 6vw, 6rem);
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) 2rem;
}

.site-footer__brand {
	max-width: 320px;
}

.site-footer__brand-name {
	display: inline-block;
	color: var(--studioalmadolar-ink, #2f2a26);
	font-family: var(--studioalmadolar-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.site-footer__brand .custom-logo-link {
	display: inline-block;
}

.site-footer__brand img,
.site-footer__brand .custom-logo {
	display: block;
	width: auto;
	max-height: 56px;
	margin-bottom: 1rem;
}

.site-footer__official-link {
	display: inline-flex;
	max-width: 100%;
	line-height: 0;
}

.site-footer__official-logo {
	width: min(230px, 100%);
	max-width: 100%;
	max-height: none !important;
	height: auto;
	aspect-ratio: 1280 / 652;
	object-fit: contain;
}

.site-footer__tagline {
	max-width: 280px;
	margin: 1rem 0 0;
	color: var(--studioalmadolar-ink-soft, #666);
	font-size: 0.95rem;
	line-height: 1.65;
}

.site-footer__contact {
	display: flex;
	max-width: 320px;
	margin: 1.25rem 0 0;
	flex-direction: column;
	gap: 0.35rem;
	color: var(--studioalmadolar-ink-soft, #666);
	font-size: 0.82rem;
	font-style: normal;
	line-height: 1.55;
}

.site-footer__contact-line {
	display: block;
}

.site-footer__contact-line strong {
	color: var(--studioalmadolar-ink, #2f2a26);
	font-weight: 600;
}

.site-footer__contact-line a {
	color: inherit;
}

.site-footer__menus {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	text-align: left;
}

.site-footer__menu-column,
.site-footer__menu-column nav,
.site-footer__menu-column ul {
	text-align: left;
}

.site-footer__menu-title {
	margin: 0 0 1.15rem;
	color: var(--studioalmadolar-ink, #2f2a26);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.site-footer__menu-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__menu-column li + li {
	margin-top: 0.7rem;
}

.site-footer__menu-column a {
	color: var(--studioalmadolar-ink-soft, #333);
	font-size: 0.95rem;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.18s ease, transform 0.18s ease;
}

.site-footer__menu-column a:hover {
	color: var(--studioalmadolar-link, #5d3c28);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.site-footer__placeholder {
	margin: 0;
	border: 1px dashed var(--studioalmadolar-danger, #a33);
	border-radius: 6px;
	color: var(--studioalmadolar-danger, #a33);
	font-size: 0.8rem;
	line-height: 1.5;
	padding: 0.65rem 0.8rem;
}

.site-footer__bottom {
	border-top: 1px solid var(--studioalmadolar-line, #e5e5e5);
	padding: 1.25rem 2rem;
	text-align: center;
}

.site-footer__attribution {
	margin: 0;
	color: var(--studioalmadolar-ink-soft, #888);
	font-size: 0.78rem;
	line-height: 1.5;
}

.site-footer a:focus-visible,
.site-footer button:focus-visible,
.site-footer input:focus-visible {
	outline: 3px solid var(--studioalmadolar-focus, #8b5e3c);
	outline-offset: 3px;
}

@media (max-width: 900px) {
	.studioalmadolar-pre-footer__benefits-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.5rem 1.5rem;
	}

	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.site-footer__brand {
		max-width: 480px;
	}
}

@media (max-width: 640px) {
	.studioalmadolar-pre-footer__benefits-inner,
	.studioalmadolar-pre-footer__newsletter-inner,
	.site-footer__main {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.studioalmadolar-pre-footer__benefits-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.studioalmadolar-pre-footer__newsletter-form form {
		align-items: stretch;
		flex-direction: column;
	}

	.studioalmadolar-pre-footer__newsletter-form .forminator-row {
		flex-basis: auto;
		width: 100%;
	}

	.studioalmadolar-pre-footer__newsletter-form .forminator-button,
	.studioalmadolar-pre-footer__newsletter-form button[type='submit'] {
		width: 100%;
	}

	.site-footer__menus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 1.25rem;
	}
}

@media (max-width: 420px) {
	.site-footer__menus {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.studioalmadolar-pre-footer__newsletter-form .forminator-button,
	.studioalmadolar-pre-footer__newsletter-form button[type='submit'],
	.site-footer__menu-column a {
		transition: none;
	}
}


/* ---------- Rodapé institucional Animalart — paridade visual ---------- */
.site-footer {
	background: #fff;
	border-top: 1px solid #e1e1e1;
}

.site-footer__main {
	grid-template-columns: minmax(125px, 0.8fr) minmax(0, 4.8fr) minmax(126px, 0.85fr);
	align-items: start;
	gap: clamp(1.5rem, 4vw, 4rem);
	max-width: 1440px;
	padding: clamp(2.5rem, 5vw, 4rem) 2rem 3.25rem;
}

.site-footer__brand {
	max-width: 150px;
}

.site-footer__official-link {
	display: inline-flex;
	width: 118px;
	max-width: 100%;
}

.site-footer__official-logo {
	width: 118px;
	max-width: 100%;
	height: auto;
}

.site-footer__tagline {
	max-width: 150px;
	margin: 0.65rem 0 0;
	color: #666;
	font-size: 0.7rem;
	line-height: 1.35;
}

.site-footer__brand-email {
	display: inline-block;
	margin-top: 0.55rem;
	color: #171717;
	font-size: 0.72rem;
	line-height: 1.35;
	text-decoration: none;
	word-break: break-word;
}

.site-footer__menus {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: clamp(0.85rem, 2.4vw, 2.25rem);
}

.site-footer__menu-slot {
	min-width: 0;
}

.site-footer__menu-slot--institutional {
	grid-column: 1;
	grid-row: 1;
}

.site-footer__menu-slot--help {
	grid-column: 2;
	grid-row: 1;
}

.site-footer__menu-slot--products {
	grid-column: 3;
	grid-row: 1;
}

.site-footer__menu-title {
	margin: 0 0 0.65rem;
	color: #171717;
	font-family: var(--animalart-font-display, Arial, sans-serif);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1.25;
	text-transform: none;
}

.site-footer__menu-slot ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu-slot li + li {
	margin-top: 0.15rem;
}

.site-footer__menu-slot a {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.35rem 0;
	color: #222;
	font-family: var(--animalart-font-body, Arial, sans-serif);
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
}

.site-footer__menu-slot a:hover,
.site-footer__menu-slot a:focus-visible {
	color: var(--animalart-yellow, #ffcd00);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__placeholder {
	margin: 0;
	padding: 0.5rem;
	border: 1px dashed #bbb;
	border-radius: 4px;
	color: #555;
	font-size: 0.68rem;
	line-height: 1.35;
}

.site-footer__account {
	display: flex;
	align-items: stretch;
	gap: 0.75rem;
	padding-top: 0.05rem;
}

.site-footer__account-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 0.55rem 0.8rem;
	border: 1px solid #000;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-family: var(--animalart-font-body, Arial, sans-serif);
	font-size: 0.74rem;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
}

.site-footer__account-button:hover,
.site-footer__account-button:focus-visible {
	background: var(--animalart-yellow, #ffcd00);
	border-color: var(--animalart-yellow, #ffcd00);
	color: #171717;
	outline: 0;
}

.site-footer__bottom {
	padding: 0.8rem 2rem;
	background: #f5f5f5;
	border-top: 1px solid #dedede;
}

.site-footer__attribution {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	color: #555;
	font-family: var(--animalart-font-body, Arial, sans-serif);
	font-size: 0.72rem;
	line-height: 1.4;
	text-transform: uppercase;
}

.site-footer__attribution a {
	color: inherit;
	text-decoration: none;
}

.site-footer__attribution a:hover,
.site-footer__attribution a:focus-visible {
	color: #171717;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1050px) {
	.site-footer__main {
		grid-template-columns: minmax(120px, 0.75fr) minmax(0, 4fr) minmax(110px, 0.8fr);
		gap: 1.5rem;
	}

	.site-footer__menus {
		gap: 1rem;
	}

	.site-footer__menu-title,
	.site-footer__menu-slot a {
		font-size: 0.72rem;
	}
}

@media (max-width: 900px) {
	.site-footer__main {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.site-footer__brand {
		justify-self: center;
		width: min(100%, 220px);
		max-width: 220px;
		text-align: center;
	}

	.site-footer__brand .custom-logo-link,
	.site-footer__official-link {
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer__tagline {
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer__brand-email {
		display: block;
		width: fit-content;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}

	.site-footer__menus {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem 1.25rem;
	}

	.site-footer__menu-slot--institutional,
	.site-footer__menu-slot--help,
	.site-footer__menu-slot--products {
		grid-column: auto;
		grid-row: auto;
		margin-top: 0;
	}

	.site-footer__account {
		max-width: 260px;
		flex-direction: row;
	}
}

@media (max-width: 560px) {
	.site-footer__main {
		padding-inline: 1.1rem;
	}

	.site-footer__menus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__account {
		max-width: none;
	}

	.site-footer__bottom {
		padding-inline: 1.1rem;
	}
}

@media (max-width: 380px) {
	.site-footer__menus {
		grid-template-columns: 1fr;
	}

	.site-footer__account {
		flex-direction: column;
	}
}


/* ---------- Escala tipográfica oficial aplicada ao pre-footer e footer ---------- */

.studioalmadolar-pre-footer,
.site-footer {
	line-height: 1.5em;
}

.studioalmadolar-pre-footer :is(h1, h2, h3, h4, p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small),
.site-footer :is(h1, h2, h3, h4, p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small) {
	line-height: 1.5em;
}

.studioalmadolar-pre-footer :is(h1, h2, h3, h4),
.site-footer :is(h1, h2, h3, h4) {
	font-family: var(--animalart-font-display, 'Brandon Grotesque', Arial, sans-serif);
}

.studioalmadolar-pre-footer :is(h1, h2, h3, h4),
.site-footer :is(h1, h2, h3, h4),
.studioalmadolar-pre-footer :is(p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small),
.site-footer :is(p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small) {
	font-size: 1em;
}

.studioalmadolar-pre-footer h1,
.site-footer h1 {
	font-size: 2em;
}

.studioalmadolar-pre-footer h2,
.site-footer h2 {
	font-size: 1.5em;
}

.studioalmadolar-pre-footer h3,
.site-footer h3 {
	font-size: 1.2em;
}

.studioalmadolar-pre-footer h4,
.site-footer h4 {
	font-size: 1em;
	font-weight: 600;
}

.studioalmadolar-pre-footer__benefits-inner,
.studioalmadolar-pre-footer__newsletter-inner,
.site-footer__main {
	box-sizing: border-box;
	padding: 4em 1em;
}

.site-footer__bottom {
	line-height: 1.5em;
}

.site-footer__brand-name {
	font-size: 1em;
	line-height: 1.5em;
}

@media (max-width: 782px) {
	.studioalmadolar-pre-footer :is(h1, h2, h3, h4),
	.site-footer :is(h1, h2, h3, h4) {
		font-size: 4vw;
	}

	.studioalmadolar-pre-footer h1,
	.site-footer h1 {
		font-size: 6vw;
	}

	.studioalmadolar-pre-footer h2,
	.site-footer h2 {
		font-size: 5vw;
	}

	.studioalmadolar-pre-footer h3,
	.site-footer h3 {
		font-size: 4.5vw;
	}

	.studioalmadolar-pre-footer h4,
	.site-footer h4,
	.studioalmadolar-pre-footer :is(p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small),
	.site-footer :is(p, li, a, button, input, select, textarea, label, legend, dt, dd, blockquote, figcaption, strong, em, small) {
		font-size: 4vw;
	}

	.studioalmadolar-pre-footer__benefits-inner,
	.studioalmadolar-pre-footer__newsletter-inner,
	.site-footer__main {
		padding: 6vw 4vw;
	}
}
