/* Novo hero: invisivel no desktop para preservar a composicao atual. */
.jrca-mobile-hero {
	display: none;
}

/* Remove os links absolutos antigos que causavam overflow e toques incorretos. */
.home a[aria-label="Explorar Guias"][style*="position:absolute"],
.home a[aria-label="Ver Ofertas"][style*="position:absolute"] {
	display: none !important;
	pointer-events: none !important;
}

.home .entry-content > p:has(> a[aria-label="Explorar Guias"][style*="position:absolute"]),
.home .entry-content > p:has(> a[aria-label="Ver Ofertas"][style*="position:absolute"]) {
	display: none !important;
}

@media (max-width: 767px) {
	.home .jrca-hero-premium {
		display: none !important;
	}

	.home .jrca-mobile-hero {
		position: relative;
		display: block;
		isolation: isolate;
		width: 100%;
		aspect-ratio: 3 / 4;
		margin: 0 0 35px;
		overflow: hidden;
		color: #fff;
		background: #020b22;
		border-radius: 0 0 18px 18px;
		box-shadow: 0 18px 38px rgba(2, 11, 34, 0.2);
	}

	.jrca-mobile-hero::after {
		position: absolute;
		z-index: -1;
		top: 0;
		right: 0;
		left: 0;
		height: 54%;
		background: linear-gradient(180deg, rgba(2, 11, 34, 0.82) 0%, rgba(2, 11, 34, 0.64) 62%, rgba(2, 11, 34, 0) 100%);
		content: "";
		pointer-events: none;
	}

	.jrca-mobile-hero__image {
		position: absolute;
		z-index: -2;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
		object-fit: cover;
	}

	.jrca-mobile-hero__copy {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		padding: 22px 20px 0;
		text-align: center;
		text-wrap: balance;
	}

	.jrca-mobile-hero__eyebrow,
	.jrca-mobile-hero__description {
		margin: 0;
		color: rgba(255, 255, 255, 0.94);
	}

	.jrca-mobile-hero__eyebrow {
		font-size: clamp(0.69rem, 3vw, 0.78rem);
		font-weight: 700;
		line-height: 1.35;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	.jrca-mobile-hero h1 {
		display: grid;
		gap: 2px;
		margin: 0;
		color: #fff;
		font-size: clamp(1.8rem, 8.6vw, 2.35rem);
		font-weight: 800;
		line-height: 1.04;
		letter-spacing: -0.025em;
		text-transform: uppercase;
	}

	.jrca-mobile-hero h1 span,
	.jrca-mobile-hero h1 strong {
		font: inherit;
	}

	.jrca-mobile-hero h1 strong {
		color: #ffc400;
	}

	.jrca-mobile-hero__description {
		max-width: 34ch;
		font-size: clamp(0.88rem, 3.8vw, 1rem);
		line-height: 1.45;
	}

	.jrca-mobile-hero__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		width: 100%;
		margin-top: 2px;
	}

	.jrca-mobile-hero__button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		min-width: 0;
		min-height: 48px;
		padding: 10px 12px;
		color: #fff;
		border-radius: 11px;
		box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
		font-size: clamp(0.82rem, 3.6vw, 0.95rem);
		font-weight: 700;
		line-height: 1.15;
		text-align: center;
		text-decoration: none;
		transition: filter 160ms ease, transform 160ms ease;
	}

	.jrca-mobile-hero__button--guides {
		background: linear-gradient(135deg, #075fd5, #0879e8);
	}

	.jrca-mobile-hero__button--offers {
		background: linear-gradient(135deg, #f04a25, #ff6a1f);
	}

	.jrca-mobile-hero__button:hover {
		color: #fff;
		filter: brightness(1.08);
		transform: translateY(-1px);
	}

	.jrca-mobile-hero__button:focus-visible {
		color: #fff;
		outline: 3px solid #fff;
		outline-offset: 3px;
	}

	.jrca-mobile-hero__button svg {
		flex: 0 0 auto;
		width: 18px;
		height: 18px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
	}
}

@media (max-width: 340px) {
	.jrca-mobile-hero__copy {
		gap: 8px;
		padding-inline: 15px;
	}

	.jrca-mobile-hero__actions {
		gap: 8px;
	}

	.jrca-mobile-hero__button {
		padding-inline: 8px;
	}

	.jrca-mobile-hero__button svg {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jrca-mobile-hero__button {
		transition: none;
	}
}
