/* ----------------------------------------
   Design tokens (Eventos e Incentivo)
---------------------------------------- */
.ei-page {
	--ei-red: #d82f20;
}

.ei-page .site-content {
	padding: 0;
}

.button--ei-red {
	background: var(--ei-red);
	color: var(--th-white);
}

/* ----------------------------------------
   Hero
---------------------------------------- */
.ei-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 100px 0 100px 14%;
	min-height: 760px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.ei-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(6, 6, 18, 0.85) 0%, rgba(6, 6, 18, 0.55) 45%, rgba(6, 6, 18, 0.05) 80%);
}

.ei-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 620px;
	margin: 0;
}

.ei-hero h1 {
	color: var(--th-white);
	font-size: 46px;
	line-height: 1.2;
	margin-bottom: 28px;
}

/* ----------------------------------------
   Brands strip
---------------------------------------- */
.ei-brands {
	background: var(--ei-red);
}

/* ----------------------------------------
   Motion / institutional banner
---------------------------------------- */
.ei-motion {
	padding: 80px 0;
}

.ei-motion__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
}

.ei-motion__media {
	flex: 0 0 auto;
	width: 320px;
}

.ei-motion__media img {
	width: 100%;
	height: auto;
	display: block;
}

.ei-motion__content {
	flex: 1 1 auto;
	max-width: 640px;
}

.ei-motion__content h2 {
	font-size: 34px;
	line-height: 1.25;
	margin-bottom: 20px;
}

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

/* ----------------------------------------
   Conheça nossas soluções (tabs)
---------------------------------------- */
.ei-solutions {
	padding: 80px 0;
}

.ei-solutions__tabs {
	display: flex;
	justify-content: center;
	background: var(--th-gray-100);
	border-radius: var(--th-radius-pill);
	padding: 6px;
	gap: 4px;
	margin: 0 auto 48px;
	width: fit-content;
}

.ei-solutions__tab {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border: 0;
	background: transparent;
	font-family: var(--th-font);
	font-weight: 700;
	font-size: 16px;
	color: var(--th-navy);
	padding: 14px 28px;
	border-radius: var(--th-radius-pill);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.ei-solutions__tab-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.ei-solutions__tab.is-active {
	background: var(--th-navy);
	color: var(--th-white);
}

.ei-solutions__panel {
	display: none;
}

.ei-solutions__panel.is-active {
	display: block;
}

.ei-solutions__panel-grid {
	display: flex;
	align-items: center;
	gap: 56px;
}

.ei-solutions__panel-content {
	flex: 1 1 50%;
	min-width: 0;
}

.ei-solutions__panel-content h3 {
	font-size: 32px;
	margin-bottom: 16px;
}

.ei-solutions__panel-content p {
	font-size: 17px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin-bottom: 28px;
}

.ei-solutions__panel-media {
	flex: 1 1 50%;
	min-width: 0;
}

.ei-solutions__panel-media img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 16px;
}

/* ----------------------------------------
   Tipos de eventos (nested in Eventos tab)
---------------------------------------- */
.ei-event-types {
	background: #f1f1f1;
	border-radius: 24px;
	padding: 64px 40px;
	margin-top: 64px;
}

.ei-event-types__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px 16px;
	margin-top: 48px;
}

.ei-event-type {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
}

.ei-event-type__icon {
	height: 64px;
	width: auto;
}

.ei-event-type__label {
	color: var(--th-navy);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
}

/* ----------------------------------------
   Por que escolher / Nossos diferenciais (accordion)
---------------------------------------- */
.ei-why {
	margin-top: 64px;
}

.ei-why__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: stretch;
	gap: 56px;
}

.ei-why__content {
	display: flex;
	flex-direction: column;
}

.ei-why__content > h2 {
	margin-bottom: 24px;
}

.ei-why__media img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

.ei-why-accordion {
	display: flex;
	flex-direction: column;
}

.ei-why-accordion-item {
	border-bottom: 1px solid var(--th-gray-300);
	padding: 18px 0;
}

.ei-why-accordion-item:first-child {
	padding-top: 0;
}

.ei-why-accordion-item__label {
	font-weight: 700;
	font-size: 22px;
	color: var(--th-gray-400);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ei-why-accordion-item[open] .ei-why-accordion-item__label {
	color: var(--th-navy);
}

.ei-why-accordion-item__label::-webkit-details-marker {
	display: none;
}

.ei-why-accordion-item__label::after {
	content: '\25BE';
	flex: 0 0 auto;
	font-size: 16px;
	color: var(--th-gray-400);
	transition: transform 0.2s ease;
}

.ei-why-accordion-item[open] .ei-why-accordion-item__label::after {
	transform: rotate(180deg);
}

.ei-why-accordion-item__text {
	padding-top: 14px;
	color: var(--th-navy-soft);
	font-size: 16px;
	font-weight: 500;
}

.ei-why-accordion-item__text p {
	margin: 0;
}

.ei-why__cta {
	margin-top: 32px;
}

/* ----------------------------------------
   SPEC platform
---------------------------------------- */
.ei-spec {
	background: #204297;
	padding: 100px 0;
}

.ei-spec__grid {
	display: flex;
	align-items: center;
	gap: 64px;
}

.ei-spec__media {
	position: relative;
	flex: 1 1 45%;
	min-width: 0;
}

.ei-spec__media-main {
	width: 100%;
	height: auto;
	display: block;
}

.ei-spec__media-mini {
	position: absolute;
	bottom: -24px;
	right: -24px;
	width: 45%;
	border-radius: 8px;
	box-shadow: 0 16px 32px rgba(6, 6, 18, 0.25);
	display: block;
}

.ei-spec__content {
	flex: 1 1 55%;
	min-width: 0;
	color: var(--th-white);
}

.ei-spec__content h2 {
	color: var(--th-white);
	font-size: 34px;
	margin-bottom: 20px;
}

.ei-spec__content p {
	color: var(--th-white);
	font-size: 16px;
	font-weight: 500;
	margin-bottom: 16px;
}

.ei-spec__content .button {
	margin-top: 12px;
}

/* ----------------------------------------
   2-column highlights
---------------------------------------- */
.ei-highlights {
	padding: 80px 0;
}

.ei-highlights__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 48px;
}

.ei-highlight__media {
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
}

.ei-highlight__media img {
	width: 100%;
	height: auto;
	display: block;
}

.ei-highlight h3 {
	font-size: 24px;
	margin-bottom: 12px;
}

.ei-highlight p {
	font-size: 16px;
	font-weight: 500;
	color: var(--th-navy-soft);
	margin: 0;
}

/* ----------------------------------------
   Fale com especialistas (image banner)
---------------------------------------- */
.ei-contact-banner {
	padding: 0 0 80px;
}

.ei-contact-banner img {
	width: 100%;
	height: auto;
	display: block;
}

/* ----------------------------------------
   Awards / Reconhecimento
---------------------------------------- */
.ei-awards {
	padding: 0 0 80px;
}

.ei-awards__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 48px;
}

.ei-award {
	text-align: center;
	padding: 32px 24px;
}

.ei-award__logo {
	height: 56px;
	width: auto;
	margin: 0 auto 20px;
	display: block;
}

.ei-award__text {
	font-weight: 700;
	color: var(--th-navy);
	font-size: 15px;
	line-height: 1.4;
	margin: 0;
}

/* ----------------------------------------
   Cases slider (same format as Home)
---------------------------------------- */
.ei-page .cases {
	background: #f1f1f1;
	padding: 80px 0;
}

.cases-slider {
	margin-bottom: 8px;
}

.cases-slider__viewport {
	overflow: hidden;
}

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

.case-card {
	position: relative;
	flex: 0 0 auto;
	width: min(300px, 75vw);
	aspect-ratio: 5 / 6;
	border-radius: 16px;
	background-size: cover;
	background-position: center;
	background-color: #1a1a1a;
	overflow: hidden;
	display: block;
}

.case-card__logo {
	position: absolute;
	left: 16px;
	top: 16px;
	max-width: 96px;
	max-height: 32px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
}

.case-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--th-navy);
}

.case-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 48px 16px 16px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%);
}

.case-card__text {
	color: var(--th-white);
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 8px;
}

.case-card__cite {
	display: block;
	color: var(--th-white);
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
}

.case-card__plus {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--th-green);
	color: var(--th-white);
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.cases__cta {
	text-align: center;
}

/* ----------------------------------------
   Responsive
---------------------------------------- */
@media (max-width: 980px) {
	.ei-hero {
		min-height: 560px;
	}

	.ei-hero::before {
		background: linear-gradient(180deg, rgba(6, 6, 18, 0.55) 0%, rgba(6, 6, 18, 0.85) 100%);
	}

	.ei-hero h1 {
		font-size: 32px;
	}

	.ei-motion__inner {
		flex-direction: column;
		text-align: center;
	}

	.ei-motion__media {
		width: 220px;
	}

	.ei-solutions__panel-grid {
		flex-direction: column;
	}

	.ei-event-types {
		padding: 48px 24px;
	}

	.ei-event-types__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.ei-why__grid {
		grid-template-columns: 1fr;
	}

	.ei-why__media img {
		min-height: 280px;
	}

	.ei-spec__grid {
		flex-direction: column;
	}

	.ei-spec__media-mini {
		right: 0;
	}

	.ei-highlights__grid {
		grid-template-columns: 1fr;
	}

	.ei-awards__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ei-solutions__tabs {
		display: flex;
		width: 100%;
	}

	.ei-solutions__tab {
		flex: 1 1 auto;
		padding: 12px 16px;
		font-size: 14px;
	}

	.ei-solutions__tab-icon {
		width: 18px;
		height: 18px;
	}

	.ei-event-types__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
