/*
Theme Name: Santillana Sustentabilidade
Theme URI: https://sustentabilidade.santillana.com.br/
Description: Tema filho do Hello Elementor com cabeçalho e rodapé institucionais próprios.
Author: Santillana
Template: hello-elementor
Version: 1.0.0
Text Domain: santillana-sustentabilidade
*/

:root {
	--ss-olive: #45472a;
	--ss-olive-dark: #363724;
	--ss-pink: #e5007e;
	--ss-white: #ffffff;
	--ss-content-width: 1348px;
}

.ss-skip-link {
	position: fixed;
	left: 1rem;
	top: -4rem;
	z-index: 10000;
	padding: .75rem 1rem;
	background: var(--ss-pink);
	color: var(--ss-white);
	font-weight: 700;
	transition: top .2s ease;
}

.ss-skip-link:focus {
	top: 1rem;
}

.ss-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	min-height: 102px;
	background: var(--ss-white);
	box-shadow: 0 3px 7px rgb(0 0 0 / 24%);
}

.ss-header-inner,
.ss-footer-inner {
	width: min(calc(100% - 64px), var(--ss-content-width));
	margin: 0 auto;
}

.ss-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 102px;
	gap: 2rem;
}

.ss-brand {
	display: inline-flex;
	align-items: center;
	width: 267px;
	max-width: 44%;
}

.ss-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.ss-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ss-olive);
	cursor: pointer;
}

.ss-menu-toggle:hover,
.ss-menu-toggle:focus-visible {
	background: #f0f0ec;
}

.ss-menu-toggle svg {
	width: 25px;
	height: 25px;
}

.ss-primary-navigation .menu,
.ss-primary-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.1vw, 3.65rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.ss-primary-navigation a {
	position: relative;
	display: block;
	padding: .55rem 0;
	color: var(--ss-olive);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	white-space: nowrap;
}

.ss-primary-navigation a::after {
	position: absolute;
	right: 0;
	bottom: .2rem;
	left: 0;
	height: 2px;
	background: var(--ss-pink);
	content: '';
	transform: scaleX(0);
	transform-origin: center;
	opacity: 0;
	transition: transform .2s ease, opacity .2s ease;
}

.ss-primary-navigation a:hover::after,
.ss-primary-navigation a:focus-visible::after {
	transform: scaleX(1);
	opacity: 1;
}

.ss-site-footer {
	position: relative;
	margin-top: 0;
	background: var(--ss-olive);
	color: var(--ss-white);
	font-family: Arial, Helvetica, sans-serif;
}

.ss-footer-inner {
	display: grid;
	grid-template-columns: minmax(300px, 520px) minmax(460px, 1fr);
	gap: clamp(5rem, 11vw, 12rem);
	padding-top: 88px;
	padding-bottom: 88px;
}

.ss-footer-brand {
	display: inline-block;
	width: 242px;
	margin-bottom: 64px;
}

.ss-footer-brand img {
	display: block;
	width: 100%;
	height: auto;
}

.ss-footer-links {
	margin: 0;
	padding: 0 0 35px;
	border-bottom: 1px solid rgb(255 255 255 / 85%);
	list-style: none;
}

.ss-footer-links li + li {
	margin-top: 12px;
}

.ss-footer-links a,
.ss-footer-contact a {
	color: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.ss-footer-links a:hover,
.ss-footer-links a:focus-visible,
.ss-footer-contact a:hover,
.ss-footer-contact a:focus-visible {
	color: #f4e100;
	text-decoration: underline;
}

.ss-footer-contact {
	max-width: 530px;
	margin-top: 35px;
	font-size: 15px;
	line-height: 1.35;
}

.ss-footer-contact p {
	margin: 0 0 17px;
}

.ss-footer-contact address {
	margin: 0;
	font-style: normal;
}

.ss-footer-contact a {
	font-weight: 400;
}

.ss-network-heading {
	margin: 42px 0 24px 137px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.ss-network-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ss-network {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto;
	align-items: center;
	gap: 2rem;
	min-height: 119px;
	border-bottom: 1px solid rgb(255 255 255 / 85%);
}

.ss-network:first-child {
	border-top: 0;
}

.ss-network-logo {
	display: block;
	max-width: 215px;
}

.ss-network-logo img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 54px;
}

.ss-network--solutions .ss-network-logo img {
	width: 153px;
	max-height: none;
}

.ss-network--foundation .ss-network-logo img {
	width: 211px;
}

.ss-social-list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ss-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--ss-white);
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.ss-social-link:hover,
.ss-social-link:focus-visible {
	background: var(--ss-white);
	color: var(--ss-olive);
	transform: translateY(-2px);
}

.ss-social-link svg {
	display: block;
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.ss-social-link--instagram svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.3;
}

.ss-footer-bottom {
	min-height: 42px;
	padding: 12px 2rem;
	background: var(--ss-olive-dark);
	color: var(--ss-white);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
}

.ss-back-to-top {
	position: fixed;
	right: 50px;
	bottom: 52px;
	z-index: 99;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: var(--ss-pink);
	color: var(--ss-white);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease;
}

.ss-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ss-back-to-top:hover,
.ss-back-to-top:focus-visible {
	background: #c3006b;
}

.ss-back-to-top svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
}

@media (max-width: 1024px) {
	.ss-header-inner,
	.ss-footer-inner {
		width: min(calc(100% - 48px), var(--ss-content-width));
	}

	.ss-header-inner {
		min-height: 88px;
	}

	.ss-site-header {
		min-height: 88px;
	}

	.ss-brand {
		width: 230px;
	}

	.ss-menu-toggle {
		display: inline-flex;
	}

	.ss-primary-navigation {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		padding: 1rem 24px 1.5rem;
		border-top: 1px solid #e7e7e3;
		background: var(--ss-white);
		box-shadow: 0 6px 8px rgb(0 0 0 / 11%);
	}

	.ss-primary-navigation.is-open {
		display: block;
	}

	.ss-primary-navigation .menu,
	.ss-primary-navigation ul {
		display: block;
		width: min(100%, 680px);
		margin: 0 auto;
	}

	.ss-primary-navigation li + li {
		border-top: 1px solid #e7e7e3;
	}

	.ss-primary-navigation a {
		padding: .85rem 0;
	}

	.ss-primary-navigation a::after {
		display: none;
	}

	.ss-footer-inner {
		grid-template-columns: minmax(260px, .85fr) minmax(370px, 1.15fr);
		gap: 4rem;
		padding-top: 68px;
		padding-bottom: 68px;
	}

	.ss-network-heading {
		margin-left: 0;
	}

	.ss-social-list {
		gap: 18px;
	}
}

@media (max-width: 720px) {
	.ss-header-inner,
	.ss-footer-inner {
		width: min(calc(100% - 40px), var(--ss-content-width));
	}

	.ss-brand {
		width: 190px;
	}

	.ss-footer-inner {
		display: block;
		padding-top: 50px;
		padding-bottom: 52px;
	}

	.ss-footer-brand {
		width: 208px;
		margin-bottom: 43px;
	}

	.ss-footer-contact {
		margin-bottom: 52px;
	}

	.ss-network-heading {
		margin-top: 0;
	}

	.ss-network {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		padding: 25px 0;
	}

	.ss-network-logo,
	.ss-network-logo img {
		max-height: 48px;
	}

	.ss-social-list {
		justify-content: flex-start;
		gap: 23px;
	}

	.ss-back-to-top {
		right: 20px;
		bottom: 21px;
	}
}

@media (max-width: 390px) {
	.ss-header-inner,
	.ss-footer-inner {
		width: calc(100% - 32px);
	}

	.ss-brand {
		width: 165px;
	}

	.ss-primary-navigation {
		padding-right: 16px;
		padding-left: 16px;
	}

	.ss-footer-bottom {
		font-size: 12px;
	}
}
