/* ----------------------------------------
   Hero
---------------------------------------- */
.esg-page .site-content {
	padding: 0;
}

.esg-hero {
	background-size: cover;
	background-position: center;
	position: relative;
	padding: 110px 0;
	aspect-ratio: 1920 / 813;
	min-height: 480px;
	display: flex;
	align-items: center;
}

.esg-hero__content {
	position: relative;
	max-width: 900px;
}

.esg-hero h1 {
	color: var(--th-white);
	font-size: 64px;
	line-height: 1.2;
	margin-bottom: 24px;
}

.esg-hero p {
	color: var(--th-white);
	font-size: 20px;
	font-weight: 500;
	margin: 0;
	opacity: 0.95;
}

.esg-hero p strong {
	font-weight: 700;
}

/* ----------------------------------------
   Buttons
---------------------------------------- */
.button--esg-green {
	background: var(--th-green);
	color: var(--th-white);
}

.button--esg-navy {
	background: #06065c;
	color: var(--th-white);
	flex: 0 0 300px;
	white-space: nowrap;
}

/* ----------------------------------------
   Parceiros de impacto
---------------------------------------- */
.esg-partners-impact {
	padding: 80px 0;
}

.esg-partners-impact .section-header h2 {
	color: var(--th-green);
	font-size: 44px;
}

.esg-partners-impact__grid {
	display: flex;
	align-items: center;
	gap: 56px;
}

.esg-partners-impact__col {
	flex: 1 1 50%;
	min-width: 0;
}

.esg-partners-impact__media {
	flex: 1 1 50%;
	min-width: 0;
}

.esg-partners-impact__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

/* ----------------------------------------
   O que é ESG (hover pillars)
---------------------------------------- */
.esg-pillars {
	background: var(--th-gray-50);
	padding: 80px 0;
}

.esg-pillars .section-header h2 {
	font-size: 44px;
}

.esg-pillars .section-header p {
    font-size: 32px;
    line-height: 1.2;
	margin-bottom: 80px;
}

.esg-pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

.esg-pillar-card {
	position: relative;
	min-height: 500px;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	cursor: default;
}

.esg-pillar-card:hover {
	justify-content: flex-start;
	padding-top: 50px;
}

.esg-pillar-card__label {
	position: relative;
	color: var(--th-white);
	text-shadow: 0 2px 10px rgba(6, 6, 92, 0.45);
	font-weight: 700;
	font-size: 26px;
	z-index: 2;
}

.esg-pillar-card__plus {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--th-green);
	color: var(--th-white);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	transition: transform 0.3s ease;
}

.esg-pillar-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	padding-top: 100px;
	background: var(--th-navy);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.esg-pillar-card__overlay p {
	color: var(--th-white);
	font-size: 26px;
	font-weight: 500;
	text-align: left;
	margin: 0;
}

.esg-pillar-card:hover .esg-pillar-card__plus {
	opacity: 0;
}

.esg-pillar-card:hover .esg-pillar-card__overlay {
	opacity: 1;
	transform: translateY(0);
}

.esg-pillar-card:hover .esg-pillar-card__plus {
	transform: rotate(135deg);
}

.esg-pillars__closing {
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
	font-size: 18px;
	font-weight: 500;
	color: var(--th-navy);
}

.esg-pillars__closing strong {
	font-weight: 700;
}

/* ----------------------------------------
   ESG forms (policy / evaluation gate)
---------------------------------------- */
.esg-forms {
	padding: 80px 0;
}

.esg-forms__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.esg-form-card {
	background: #d0ddc6;
	border-radius: 20px;
	padding: 40px 30px;
}

.esg-form-card h3 {
	font-size: 26px;
	margin-bottom: 16px;
}

.esg-form-card > p {
    font-size: 15px;
	font-weight: 500;
	color: var(--th-navy);
	margin-bottom: 24px;
}

.esg-form-card__check {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 15px;
	font-weight: 500;
	color: var(--th-navy);
	margin-top: 20px;
	cursor: pointer;
}

.esg-form-card__check input {
	margin-top: 5px;
	flex: 0 0 auto;
}

.esg-form-card__check strong {
	font-weight: 700;
}

.esg-form-card__submit {
	opacity: 0.5;
	pointer-events: none;
}

.esg-form-card__submit.is-enabled {
	opacity: 1;
	pointer-events: auto;
}

.esg-form-card__hint {
	font-size: 13px;
	color: var(--th-navy-soft);
	margin: 12px 0 0;
}

/* ----------------------------------------
   Governança corporativa
---------------------------------------- */
.esg-governance {
	background: #f1f1f1;
	padding: 80px 0;
}

.esg-governance__inner {
	display: flex;
	align-items: center;
	gap: 56px;
}

.esg-governance__media {
	flex: 1 1 45%;
	min-width: 0;
}

.esg-governance__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.esg-governance__content {
	flex: 1 1 55%;
	min-width: 0;
}

.esg-governance__content h2 {
	font-size: 40px;
	line-height: 1.2;
	margin-bottom: 16px;
}

.esg-governance__content > p {
    font-size: 20px;
    max-width: 620px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin-bottom: 20px;

}

.esg-governance__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 630px;
}

.esg-governance__list li {
	font-size: 20px;
	font-weight: 500;
	color: var(--th-navy-soft);
}

.esg-governance__list strong {
	color: var(--th-navy);
}

/* ----------------------------------------
   Metas Tour House
---------------------------------------- */
.esg-goals {
	padding: 80px 0;
}

.esg-goals .section-header h2 {
	font-size: 44px;
}

.esg-goals .section-header p {
	font-size: 26px;
	max-width: 820px;
	line-height: 1.1;
}

.esg-goals__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

.esg-goal-card {
	background: var(--th-green);
	border-radius: 16px;
	padding: 20px 42px;
	color: var(--th-white);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.esg-goal-card:hover {
	transform: scale(1.1);
	box-shadow: 0 20px 45px rgba(6, 6, 92, 0.25);
	z-index: 1;
}

.esg-goal-card__number {
	display: block;
	font-size: 64px;
	font-weight: 700;
	color: var(--th-navy);
	margin-bottom: 18px;
}

.esg-goal-card h3 {
	color: var(--th-white);
	font-size: 22px;
	margin-bottom: 12px;
}

.esg-goal-card p {
	font-size: 20px;
	font-weight: 500;
	margin: 0;
	opacity:1;
}

.esg-goal-card p strong {
	font-weight: 700;
}

.esg-goals__commitment {
	text-align: center;
	margin: 0 auto;
}

.esg-goals__commitment h3 {
	margin-top: 100px;
	font-size: 34px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.esg-goals__commitment p strong {
	font-weight: 700;
}

.esg-goals__commitment p {
	color: #06065C;
	text-align: center;
	font-size: 29px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.2;
}

/* ----------------------------------------
   Shared contained photo card (Ambiental / Ética)
---------------------------------------- */
.esg-environment,
.esg-ethics {
	padding: 80px 0;
}

.esg-photo-card {
	position: relative;
	min-height: 700px;
	border-radius: 24px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.esg-photo-card__overlay {
	position: relative;
	z-index: 1;
	max-width: 560px;
    padding: 60px 0 60px 100px;
}

.esg-photo-card__overlay h2 {
	color: var(--th-white);
	font-size: 64px;
	margin-bottom: 16px;
	line-height: 1.2;
}

.esg-photo-card__overlay p {
	color: var(--th-white);
	font-size: 18px;
	font-weight: 500;
	opacity: 0.95;
	margin: 0 0 24px;
}

.esg-photo-card__overlay p:last-child {
	margin-bottom: 0;
}

.esg-photo-card__overlay p strong {
	font-weight: 700;
}

/* ----------------------------------------
   Sustentabilidade slider
---------------------------------------- */
.esg-sustainability {
	background: var(--th-white);
	padding: 80px 0;
}

.esg-sustainability .section-header h2 {
	color: #06065c;
	font-size: 40px;
}

.esg-sustainability .section-header p {
	color: #06065c;
	font-size: 18px;
}

.esg-sustainability .section-header p strong {
	font-weight: 700;
}

.esg-sustain-slider {
	display: flex;
	align-items: center;
	gap: 12px;
}

.esg-sustain-slider__arrow {
	color: #06065c;
}

.esg-sustain-slider__viewport {
	flex: 1 1 auto;
	overflow: hidden;
	min-width: 0;
}

.esg-sustain-slider__track {
	display: flex;
	gap: 24px;
	will-change: transform;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.esg-sustain-card {
	flex: 0 0 auto;
	width: 260px;
	background: var(--th-green);
	border-radius: 16px;
    padding: 28px 23px;
}

.esg-sustain-card__icon {
	display: block;
	width: 61px;
	height: 65px;
	aspect-ratio: 61/65;
	margin:0 auto	 20px;
}

.esg-sustain-card p {
	color: var(--th-white);
	font-size: 15px;
	font-weight: 300;
	margin: 0;
}

.esg-sustain-card p strong {
	font-weight: 700;
}

/* ----------------------------------------
   Política de sustentabilidade
---------------------------------------- */
.esg-sustainability-policy {
	padding: 80px 0;
}

.esg-sustainability-policy__inner {
	display: flex;
	align-items: center;
}

.esg-sustainability-policy__media {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
    width: 520px;
    margin-right: -144px;
}

.esg-sustainability-policy__media img {
	width: 100%;
	height: auto;
}

.esg-sustainability-policy__panel {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 32px;
	background: var(--th-gray-50);
	border-radius: 20px;
	padding: 40px 40px 40px 96px;
}

.esg-sustainability-policy__content {
	flex: 1 1 auto;
	min-width: 0;
}

.esg-sustainability-policy__content h2 {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.esg-sustainability-policy__content p {
	font-size: 17px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin: 0;
}

.esg-sustainability-policy__content p strong {
	font-weight: 700;
}

/* ----------------------------------------
   Parceiros
---------------------------------------- */
.esg-partners {
	padding: 80px 0;
}

.esg-partners__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
}

.esg-partners__header {
	min-width: 0;
	text-align: left;
}

.esg-partners__header h2 {
	font-size: 44px;
	line-height: 1.2;
}

.esg-partners__header p {
    color: #06065C;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 42px;
    letter-spacing: -1.2px;
    max-width: 500px;
}

.esg-partners__header p strong {
	font-weight: 700;
}

.esg-partners__logos {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 32px;
	justify-content: flex-end;
	background: var(--th-white);
	border-radius: 16px;
	padding: 24px 32px;
}

.esg-partners__logos img {
	width: auto;
}

/* Proportions taken from the Figma spec (measured off each logo's actual
   visible artwork, trimmed of the padding baked into the source files —
   IPE's mark reads taller than Eccaplan's wordmark, but not by much). */
.esg-partners__logo--ipe {
	height: 95px;
}

.esg-partners__logo--eccaplan {
	height: 50px;
}

/* ----------------------------------------
   Responsabilidade social
---------------------------------------- */
.esg-social {
	padding: 80px 0;
}

.esg-social h2 {
	font-size: 48px;
	line-height: 1.2;
	margin-bottom: 0;
	text-align: center;
}

.esg-social__subtitle {
	font-size: 22px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin-bottom: 98px;
	margin-top: 0;
	text-align: center;
}

.esg-social__grid {
	display: flex;
	align-items: center;
	gap: 56px;
}

.esg-social__media {
	flex: 1 1 45%;
	min-width: 0;
}

.esg-social__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
}

.esg-social__media-group--diversidade {
	display: none;
	flex-direction: column;
	gap: 24px;
}

.esg-social__grid:has(#esg-diversidade-item[open]) .esg-social__media-group--acoes {
	display: none;
}

.esg-social__grid:has(#esg-diversidade-item[open]) .esg-social__media-group--diversidade {
	display: flex;
}

.esg-social__accordion {
	flex: 1 1 55%;
	min-width: 0;
	max-width: 620px;
}

.esg-social .esg-accordion-item__label {
	color: var(--th-navy);
}

.esg-social .esg-accordion-item:not([open]) .esg-accordion-item__label {
	color: var(--th-gray-300);
}

.esg-accordion-item__text .button {
	margin-top: 20px;
}

/* ----------------------------------------
   Ética e Transparência (uses .esg-photo-card)
---------------------------------------- */
.esg-photo-card--ethics {
	/* etica-transparencia-photo.png is 2032x941 — noticeably wider than the
	   Figma reference photo, so we match the actual asset's ratio instead
	   of Figma's number (which would over-crop this specific image). */
	aspect-ratio: 2032 / 941;
	min-height: 0;
}

.esg-photo-card--ethics .esg-photo-card__overlay {
	max-width: 600px;
	margin: 0 0 28px;
}

/* ----------------------------------------
   Relatório Socioambiental
---------------------------------------- */
.esg-report {
	background: #d0ddc6;
	padding: 64px 0;
	text-align: center;
}

.esg-report h2 {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 16px;
}

.esg-report p {
	font-size: 17px;
	font-weight: 500;
	color: var(--th-navy);
	max-width: 760px;
	margin: 0 auto 16px;
}

.esg-report p:last-of-type {
	margin-bottom: 24px;
}

.esg-report p strong {
	font-weight: 700;
}

/* ----------------------------------------
   Código de Conduta e Ética
---------------------------------------- */
.esg-conduct {
	background: var(--th-green);
	padding: 64px 0;
	text-align: center;
}

.esg-conduct .button {
	background: #06065c;
	color: var(--th-white);
}

.esg-conduct__inner {
	max-width: 780px;
	margin: 0 auto;
}

.esg-conduct h2 {
	font-size: 32px;
	line-height: 1.2;
	margin-bottom: 16px;
}

.esg-conduct p {
	font-size: 17px;
	font-weight: 500;
	color: var(--th-navy);
	margin: 0 0 24px;
}

.esg-conduct p strong {
	color: var(--th-navy);
	font-weight: 700;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 980px) {
	.esg-hero h1 {
		font-size: 36px;
	}

	.esg-partners-impact__grid,
	.esg-governance__inner,
	.esg-sustainability-policy__inner,
	.esg-social__grid {
		flex-direction: column;
	}

	.esg-sustainability-policy__media {
		width: 100%;
		max-width: 420px;
		margin-right: 0;
	}

	.esg-sustainability-policy__panel {
		flex-direction: column;
		align-items: stretch;
	}

	.button--esg-navy {
		flex: 0 0 auto;
		width: 100%;
		text-align: center;
		justify-content: center;
	}

	.esg-partners__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.esg-partners__logos {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
	}

	.esg-pillars__grid,
	.esg-goals__grid,
	.esg-forms__grid {
		grid-template-columns: 1fr;
	}

	.esg-photo-card__overlay {
		max-width: 100%;
	}
}

@media (max-width: 600px) {
	.esg-hero {
		padding: 72px 0;
		aspect-ratio: auto;
		min-height: 620px;
		/* center crop hides the in-focus subject (the moss globe sits
		   right-of-center) and shows mostly the dark, blurry background,
		   which reads as low quality; shift the focal point onto it */
		background-position: 68% 55%;
	}

	/* min-height:700px is tuned for a wide desktop card; on a narrow
	   mobile viewport it forces a very tall, heavily-cropped sliver of
	   the (landscape) photo with a short text overlay floating at the
	   top, leaving a big empty-looking photo below it. */
	.esg-photo-card:not(.esg-photo-card--ethics) {
		min-height: 420px;
	}

	.esg-photo-card__overlay h2,
	.esg-social h2 {
		font-size: 32px;
	}

	.esg-photo-card--ethics {
		aspect-ratio: auto;
		min-height: 520px;
		position: relative;
	}

	.esg-photo-card--ethics::before {
		content: '';
		position: absolute;
		inset: 0;
		background: rgba(6, 6, 18, 0.45);
		z-index: 0;
	}

	.esg-photo-card--ethics .esg-photo-card__overlay {
		position: relative;
		z-index: 1;
	}

	.esg-partners__logos img {
		max-height: 100px;
	}

	.esg-hero h1 {
		font-size: 22px;
	}

	.esg-hero p {
		font-size: 18px;
	}

	.esg-pillars .section-header p {
		font-size: 15px;
	}

	.esg-pillars__closing {
		font-size: 16px;
	}

	.esg-goals .section-header h2 {
		font-size: 25px;
	}

	.esg-goals .section-header p {
		font-size: 14px;
	}

	.esg-goal-card p {
		font-size: 15px;
	}

	.esg-goals__commitment p {
		font-size: 16px;
	}

	.esg-sustainability-policy__panel {
		padding: 10px;
	}

	.esg-partners__header p {
		font-size: 18px;
		line-height: 25px;
	}

	.esg-photo-card__overlay {
		padding: 30px;
	}

	.esg-photo-card__overlay p {
		font-size: 15px;
	}

	.esg-conduct h2 {
		font-size: 24px;
	}

	.esg-conduct p {
		font-size: 15px;
	}

	/* Desktop-only manual line breaks; a trailing space was added before
	   each <br> in the markup so the text still reads correctly with the
	   break hidden. */
	.esg-accordion-item__text p br,
	.esg-form-card > p br,
	.esg-report p br,
	.esg-photo-card__overlay p br {
		display: none;
	}
}
