/* =========================================================
   Epic's Home - Pagina Inicial
   IDV preto e branco. Escopo total em .eh-home.
   ========================================================= */

.eh-home {
	--eh-black: #000000;
	--eh-ink: #101010;
	--eh-graphite: #2b2b2b;
	--eh-gray: #6c6c6c;
	--eh-line: #e2e2e2;
	--eh-line-dark: rgba(255, 255, 255, 0.16);
	--eh-paper: #ffffff;
	--eh-bone: #f4f3f1;
	--eh-wpp: #00b359;
	--eh-pad: clamp(20px, 5vw, 80px);
	--eh-serif: "Playfair Display", Georgia, "Times New Roman", serif;

	font-family: var(--wd-text-font, inherit);
	color: var(--eh-ink);
	background: var(--eh-paper);
	overflow-x: clip;
}

/* Template standalone: sem header/footer do tema. */
html.epics-home-inicial,
body.epics-home-inicial {
	margin: 0;
	padding: 0;
	background: var(--eh-paper, #fff);
}

body.epics-home-inicial {
	padding-bottom: 0 !important;
}

.eh-home *,
.eh-home *::before,
.eh-home *::after {
	box-sizing: border-box;
}

.eh-home img {
	display: block;
	max-width: 100%;
	height: auto;
}

.eh-home svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ------------------------------------------------- tipografia base */

.eh-eyebrow {
	margin: 0 0 18px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.eh-eyebrow--dark {
	color: var(--eh-gray);
}

.eh-home em {
	font-family: var(--eh-serif);
	font-style: italic;
	font-weight: 400;
}

/* -------------------------------------------------------- botoes */

.eh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.eh-btn:hover,
.eh-btn:focus-visible {
	text-decoration: none;
	transform: translateY(-2px);
}

.eh-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.eh-btn--light {
	background: var(--eh-paper);
	color: var(--eh-black);
	border-color: var(--eh-paper);
}

.eh-btn--light:hover,
.eh-btn--light:focus-visible {
	background: transparent;
	color: var(--eh-paper);
}

.eh-btn--ghost {
	background: transparent;
	color: var(--eh-paper);
	border-color: rgba(255, 255, 255, 0.4);
}

.eh-btn--ghost:hover,
.eh-btn--ghost:focus-visible {
	background: var(--eh-paper);
	color: var(--eh-black);
	border-color: var(--eh-paper);
}

.eh-btn--dark-outline {
	background: transparent;
	color: var(--eh-ink);
	border-color: var(--eh-ink);
}

.eh-btn--dark-outline:hover,
.eh-btn--dark-outline:focus-visible {
	background: var(--eh-ink);
	color: var(--eh-paper);
}

.eh-btn--wpp {
	background: var(--eh-ink);
	color: var(--eh-paper);
	border-color: var(--eh-ink);
}

.eh-btn--wpp:hover,
.eh-btn--wpp:focus-visible {
	background: var(--eh-wpp);
	border-color: var(--eh-wpp);
	color: #fff;
}

/* -------------------------------------------------------- TOPBAR */

.eh-topbar {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--eh-black);
	border-bottom: 1px solid var(--eh-line-dark);
}

.eh-topbar__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 14px var(--eh-pad);
}

.eh-topbar__brand {
	display: block;
	line-height: 0;
}

.eh-topbar__brand img {
	width: 74px;
	height: auto;
}

.eh-topbar__nav {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-left: auto;
}

.eh-topbar__nav a {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.68);
	text-decoration: none;
	transition: color 0.25s ease;
}

.eh-topbar__nav a:hover,
.eh-topbar__nav a:focus-visible {
	color: var(--eh-paper);
}

.eh-topbar__cta {
	min-height: 42px;
	padding: 0 18px;
	font-size: 12px;
}

/* ---------------------------------------------------------- HERO */

.eh-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	background: var(--eh-black);
	color: var(--eh-paper);
	min-height: min(78vh, 660px);
	align-items: stretch;
}

.eh-hero__panel {
	display: flex;
	align-items: center;
	padding: clamp(48px, 5.5vw, 84px) var(--eh-pad);
}

.eh-hero__inner {
	width: 100%;
	max-width: 620px;
}

.eh-hero__title {
	margin: 0 0 24px;
	font-size: clamp(38px, 5.2vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.025em;
	font-weight: 700;
	color: var(--eh-paper);
	text-wrap: balance;
}

.eh-hero__title em {
	color: var(--eh-paper);
}

.eh-hero__text {
	margin: 0 0 30px;
	max-width: 46ch;
	font-size: clamp(15px, 1.15vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

.eh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 34px;
}

.eh-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 34px;
	margin: 0;
	padding: 26px 0 0;
	list-style: none;
	border-top: 1px solid var(--eh-line-dark);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.eh-hero__meta strong {
	display: block;
	margin-bottom: 2px;
	font-size: 20px;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--eh-paper);
}

.eh-hero__media {
	position: relative;
	overflow: hidden;
	background: var(--eh-graphite);
}

.eh-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	inset: 0;
	object-position: center 42%;
	filter: grayscale(1) contrast(1.06);
	transition: filter 0.6s ease, transform 0.9s ease;
}

.eh-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 38%);
	pointer-events: none;
}

.eh-hero:hover .eh-hero__media img {
	filter: grayscale(0.35) contrast(1.02);
	transform: scale(1.02);
}

/* ------------------------------------------------- BARRA DIFERENCIAIS */

.eh-bar {
	background: var(--eh-bone);
	border-bottom: 1px solid var(--eh-line);
	padding: 0 var(--eh-pad);
}

.eh-bar__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0 auto;
	padding: 0;
	max-width: 1440px;
	list-style: none;
}

.eh-bar__list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 30px 26px;
	border-left: 1px solid var(--eh-line);
}

.eh-bar__list li:first-child {
	border-left: 0;
	padding-left: 0;
}

.eh-bar__icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	color: var(--eh-ink);
}

.eh-bar__txt {
	font-size: 13px;
	line-height: 1.5;
	color: var(--eh-gray);
}

.eh-bar__txt strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.005em;
	color: var(--eh-ink);
}

/* ------------------------------------------------------- SECOES */

.eh-section {
	padding: clamp(64px, 8vw, 120px) var(--eh-pad);
	max-width: 1440px;
	margin: 0 auto;
}

.eh-section__head {
	max-width: 720px;
	margin: 0 0 clamp(38px, 5vw, 62px);
}

.eh-section__title {
	margin: 0 0 18px;
	font-size: clamp(32px, 4.2vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.028em;
	font-weight: 700;
	color: var(--eh-ink);
}

.eh-section__lead {
	margin: 0;
	max-width: 58ch;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.7;
	color: var(--eh-gray);
}

/* ---------------------------------------------------- AMBIENTES */

.eh-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--eh-line);
	border: 1px solid var(--eh-line);
}

.eh-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3vw, 42px);
	background: var(--eh-paper);
	color: var(--eh-ink);
	text-decoration: none;
	min-height: 260px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.eh-card:hover,
.eh-card:focus-visible {
	background: var(--eh-black);
	color: var(--eh-paper);
	text-decoration: none;
}

.eh-card__num {
	font-family: var(--eh-serif);
	font-size: 13px;
	letter-spacing: 0.18em;
	color: var(--eh-gray);
	margin-bottom: 22px;
	transition: color 0.3s ease;
}

.eh-card:hover .eh-card__num {
	color: rgba(255, 255, 255, 0.5);
}

.eh-card__title {
	margin: 0 0 12px;
	font-size: clamp(21px, 1.9vw, 27px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: inherit;
}

.eh-card__desc {
	margin: 0 0 26px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--eh-gray);
	transition: color 0.3s ease;
}

.eh-card:hover .eh-card__desc {
	color: rgba(255, 255, 255, 0.7);
}

.eh-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: inherit;
}

.eh-card__link svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	transition: transform 0.3s ease;
}

.eh-card:hover .eh-card__link svg {
	transform: translateX(5px);
}

/* ---------------------------------------------------- MANIFESTO */

.eh-manifesto {
	background: var(--eh-black);
	color: var(--eh-paper);
	padding: clamp(70px, 9vw, 130px) var(--eh-pad);
	text-align: center;
}

.eh-manifesto__inner {
	max-width: 900px;
	margin: 0 auto;
}

.eh-manifesto__mark {
	width: 64px;
	height: auto;
	margin: 0 auto 30px;
	opacity: 0.9;
}

.eh-manifesto blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.eh-manifesto blockquote p {
	margin: 0;
	font-family: var(--eh-serif);
	font-size: clamp(24px, 3.2vw, 42px);
	line-height: 1.34;
	letter-spacing: -0.015em;
	color: var(--eh-paper);
	text-wrap: balance;
}

.eh-manifesto__sign {
	margin: 30px 0 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------- LOJAS */

.eh-lojas {
	background: var(--eh-paper);
}

.eh-lojas__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 2.6vw, 38px);
}

.eh-loja {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--eh-line);
	background: var(--eh-paper);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.eh-loja:hover {
	border-color: var(--eh-ink);
	box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.55);
}

.eh-loja__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	background: var(--eh-bone);
}

.eh-loja__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 38%;
	filter: grayscale(1) contrast(1.05);
	transition: filter 0.5s ease, transform 0.7s ease;
}

.eh-loja:hover .eh-loja__media img {
	filter: grayscale(0);
	transform: scale(1.04);
}

.eh-loja__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: clamp(22px, 2.4vw, 32px);
}

.eh-loja__nome {
	margin: 0 0 18px;
	font-size: clamp(19px, 1.7vw, 24px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
	color: var(--eh-ink);
}

.eh-loja__end,
.eh-loja__ref {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--eh-gray);
}

.eh-loja__end {
	color: var(--eh-ink);
	font-weight: 600;
}

.eh-loja__end svg,
.eh-loja__ref svg {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: var(--eh-gray);
}

.eh-loja__actions {
	display: grid;
	gap: 10px;
	margin-top: auto;
	padding-top: 22px;
}

.eh-loja__actions .eh-btn {
	width: 100%;
	min-height: 48px;
	font-size: 12px;
}

/* ----------------------------------------------- CONTEUDO EXTRA */

.eh-editor {
	padding-top: 0;
}

/* ----------------------------------------------------- CTA FINAL */

.eh-cta {
	background: var(--eh-black);
	color: var(--eh-paper);
	padding: clamp(64px, 8vw, 120px) var(--eh-pad);
}

.eh-cta__inner {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.eh-cta__title {
	margin: 0 0 18px;
	font-size: clamp(28px, 3.8vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.028em;
	font-weight: 700;
	color: var(--eh-paper);
	text-wrap: balance;
}

.eh-cta__text {
	margin: 0 auto 36px;
	max-width: 52ch;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.7);
}

.eh-cta__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.eh-cta__insta {
	margin: 40px 0 0;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.eh-cta__insta a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 3px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.eh-cta__insta a:hover {
	color: var(--eh-paper);
	border-color: var(--eh-paper);
}

/* -------------------------------------------------------- RODAPE */

.eh-footer {
	background: var(--eh-ink);
	color: rgba(255, 255, 255, 0.7);
	padding: clamp(52px, 6vw, 84px) var(--eh-pad) 0;
}

.eh-footer__top {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) 2fr;
	gap: clamp(32px, 5vw, 72px);
	max-width: 1440px;
	margin: 0 auto;
	padding-bottom: clamp(38px, 4vw, 58px);
}

.eh-footer__brand img {
	width: 108px;
	height: auto;
	margin-bottom: 20px;
}

.eh-footer__brand p {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.7;
}

.eh-footer__insta {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--eh-paper);
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 3px;
}

.eh-footer__insta:hover {
	border-color: var(--eh-paper);
	color: var(--eh-paper);
}

.eh-footer__lojas {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.eh-footer__loja h3 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eh-paper);
}

.eh-footer__loja p {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.65;
}

.eh-footer__loja a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--eh-paper);
	text-decoration: none;
	transition: color 0.25s ease;
}

.eh-footer__loja a::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--eh-wpp);
}

.eh-footer__loja a:hover {
	color: var(--eh-wpp);
}

.eh-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 26px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 22px 0;
	border-top: 1px solid var(--eh-line-dark);
	font-size: 12px;
}

.eh-footer__bottom p {
	margin: 0;
}

.eh-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.eh-footer__links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.25s ease;
}

.eh-footer__links a:hover {
	color: var(--eh-paper);
}

/* ========================================================
   RESPONSIVO
   ======================================================== */

@media (max-width: 1200px) {
	.eh-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	.eh-hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.eh-hero__media {
		order: -1;
		aspect-ratio: 16 / 9;
		max-height: 42vh;
	}

	.eh-hero__media::after {
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
	}

	.eh-hero__panel {
		padding: clamp(40px, 7vw, 70px) var(--eh-pad) clamp(48px, 7vw, 70px);
	}

	.eh-bar__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.eh-bar__list li {
		border-left: 0;
		border-top: 1px solid var(--eh-line);
		padding: 22px 0;
	}

	.eh-bar__list li:nth-child(2n) {
		padding-left: 22px;
		border-left: 1px solid var(--eh-line);
	}

	.eh-bar__list li:nth-child(-n + 2) {
		border-top: 0;
	}

	.eh-lojas__grid {
		grid-template-columns: 1fr;
		max-width: 620px;
	}

	.eh-loja {
		flex-direction: row;
	}

	.eh-loja__media {
		flex: 0 0 40%;
		aspect-ratio: auto;
	}

	.eh-loja__body {
		flex: 1;
	}
}

@media (max-width: 767px) {
	.eh-home {
		--eh-pad: 20px;
	}

	.eh-hero__media {
		aspect-ratio: 3 / 2;
		max-height: 34vh;
	}

	.eh-hero__title {
		font-size: clamp(28px, 7.8vw, 36px);
	}

	.eh-hero__text {
		font-size: 15px;
		margin-bottom: 26px;
	}

	.eh-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 34px;
	}

	.eh-hero__meta {
		gap: 12px 26px;
	}

	.eh-hero__meta strong {
		font-size: 17px;
	}

	.eh-grid {
		grid-template-columns: 1fr;
	}

	.eh-card {
		min-height: 0;
	}

	.eh-loja {
		flex-direction: column;
	}

	.eh-loja__media {
		flex: none;
		aspect-ratio: 4 / 3;
	}

	.eh-cta__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	/* respiro para a toolbar mobile do tema */
	.eh-cta {
		padding-bottom: calc(clamp(64px, 8vw, 120px) + 20px);
	}
}

/* ---------------------------------------------------- a11y / motion */

.eh-home a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.eh-home * {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ------------------------------------- ancoras sob o topbar sticky */

.eh-home [id] {
	scroll-margin-top: 80px;
}

/* --------------------------------- responsivo do topbar / rodape */

@media (max-width: 1024px) {
	.eh-footer__top {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.eh-topbar__nav {
		display: none;
	}

	.eh-topbar__cta {
		margin-left: auto;
	}
}

@media (max-width: 767px) {
	.eh-topbar__inner {
		gap: 14px;
		padding: 12px var(--eh-pad);
	}

	.eh-topbar__brand img {
		width: 62px;
	}

	.eh-topbar__cta {
		min-height: 40px;
		padding: 0 14px;
		font-size: 11px;
	}

	.eh-footer__lojas {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.eh-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
