/* Homepage sections. */

/* Main banner. */

.home-banner {
	overflow: hidden;
	background: #f2f8fe url('../images/inicio/fundo-banner-betano-brasil.webp') center / auto 100% no-repeat;
	color: var(--color-ink);
}

.home-banner__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
	align-items: center;
	gap: 32px;
	min-height: 440px;
	margin-inline: auto;
	padding-block: 32px;
}

.home-banner__copy {
	position: relative;
	z-index: 1;
}

.home-banner__eyebrow {
	margin: 0 0 12px;
	color: #7d8eae;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.045em;
	line-height: 1.4;
	text-transform: uppercase;
}

.home-banner__title {
	margin: 0 0 12px;
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.home-banner__description {
	max-width: 360px;
	margin: 0 0 20px;
	color: var(--color-muted);
	font-size: 18px;
	line-height: 1.45;
}

.home-banner__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 184px;
	min-height: 44px;
	padding: 12px 22px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(110deg, #ff6500, #ff4700);
	box-shadow: 0 8px 20px #ff55001a;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	cursor: pointer;
	transition: background-color 150ms ease, box-shadow 150ms ease;
}

.home-banner__action:hover {
	background: #ed4500;
	box-shadow: 0 10px 24px #ff550033;
}

.home-banner__action:focus-visible {
	outline-color: var(--color-ink);
}

.home-banner__features {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 0;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.home-banner__features li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-inline: 14px;
	color: #132d54;
	font-size: 13px;
	line-height: 1.4;
}

.home-banner__features li:first-child {
	padding-left: 0;
}

.home-banner__features li + li {
	border-left: 1px solid #dce6f1;
}

.home-banner__features svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: #132d54;
}

.home-banner__visual {
	position: relative;
	isolation: isolate;
	min-width: 0;
	width: 100%;
	max-width: 640px;
	justify-self: end;
	aspect-ratio: 1.7;
}

.home-banner__desktop {
	position: absolute;
	top: -2.5%;
	right: -8%;
	display: block;
	width: 88%;
	height: auto;
}

.home-banner__phone {
	position: absolute;
	z-index: 1;
	top: 9%;
	left: -2%;
	width: 29%;
	height: auto;
	filter: drop-shadow(0 10px 14px #0b193026);
}

@media (min-width: 768px) and (max-width: 1000px) {
	.home-banner__inner {
		min-height: 360px;
		padding-block: 28px;
	}
}

@media (max-width: 767px) {
	.home-banner {
		background-position: 65% bottom;
		background-size: auto 300px;
	}

	.home-banner__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		min-height: 0;
		padding-block: 28px 20px;
	}

	.home-banner__title {
		font-size: clamp(28px, 7vw, 35px);
	}

	.home-banner__description {
		max-width: 380px;
		font-size: 16px;
	}

	.home-banner__features {
		margin-top: 20px;
	}

	.home-banner__features li {
		gap: 6px;
		padding-inline: 10px;
		font-size: 12px;
	}

	.home-banner__visual {
		margin-inline: 0 12px;
		aspect-ratio: 1.6;
	}

	.home-banner__desktop {
		top: 0;
		right: -8%;
		width: 90%;
	}
}

/* Highlights. */

.home-highlights {
	padding: 16px 0 24px;
	background: linear-gradient(180deg, #f2f8fe, #f7fbff);
	color: var(--color-ink);
}

.home-highlights__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	padding: 24px 0;
	border: 1px solid #fff;
	border-radius: 14px;
	background: #ffffffb3;
	box-shadow: 0 8px 28px #19355304;
	list-style: none;
}

.home-highlights__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding-inline: 24px;
	text-align: center;
}

.home-highlights__item + .home-highlights__item {
	border-left: 1px solid #e2ebf6;
}

.home-highlights__icon {
	display: block;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	color: #ff5300;
}

.home-highlights__icon--pix {
	background: #ff5300;
	-webkit-mask: url('../images/rodape/pagamento-pix.webp') left center / auto 40px no-repeat;
	mask: url('../images/rodape/pagamento-pix.webp') left center / auto 40px no-repeat;
}

.home-highlights__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.home-highlights__description {
	max-width: 200px;
	margin: 0;
	color: #596a84;
	font-size: 14px;
	line-height: 1.45;
}

@media (min-width: 768px) and (max-width: 1000px) {
	.home-highlights__item {
		padding-inline: 16px;
	}
}

@media (max-width: 767px) {
	.home-highlights {
		padding: 12px 0 20px;
	}

	.home-highlights__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0;
	}

	.home-highlights__item {
		padding: 20px 16px;
	}

	.home-highlights__item:nth-child(3) {
		border-left: 0;
	}

	.home-highlights__item:nth-child(n + 3) {
		border-top: 1px solid #e2ebf6;
	}

	.home-highlights__title {
		font-size: 17px;
	}

	.home-highlights__description {
		font-size: 13px;
	}
}

/* Sports cards. */

.home-sports {
	padding: 24px 0 32px;
	background: linear-gradient(180deg, #f7fbff, #fff);
	color: var(--color-ink);
}

.home-sports__inner {
	margin-inline: auto;
}

.home-sports__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 18px;
}

.home-sports__title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.home-sports__description {
	margin: 0;
	color: #596a84;
	font-size: 14px;
	line-height: 1.45;
}

.home-sports__more {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: #e84200;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
}

.home-sports__more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.home-sports__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.home-sport-card {
	position: relative;
	isolation: isolate;
	display: block;
	overflow: hidden;
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 1px solid #d5e1ee;
	border-radius: 12px;
	aspect-ratio: 7 / 5;
	background: var(--color-ink);
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.home-sport-card::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, #07132826 55%, #071328ed 100%);
	content: '';
}

.home-sport-card__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 180ms ease;
}

.home-sport-card__copy {
	position: absolute;
	z-index: 1;
	right: 64px;
	bottom: 18px;
	left: 18px;
}

.home-sport-card__title {
	display: block;
	margin-bottom: 5px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.home-sport-card__description {
	display: block;
	color: #edf2fc;
	font-size: 12px;
	line-height: 1.4;
}

.home-sport-card__arrow {
	position: absolute;
	z-index: 1;
	right: 16px;
	bottom: 18px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid #ffffffb3;
	border-radius: 50%;
	background: #ffffff12;
	transition: background-color 180ms ease, border-color 180ms ease;
}

.home-sport-card:hover .home-sport-card__image {
	transform: scale(1.025);
}

.home-sport-card:hover .home-sport-card__arrow {
	border-color: #ff5300;
	background: #ff5300;
}

.home-sport-card:focus-visible {
	outline: 2px solid #ff5300;
	outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1000px) {
	.home-sport-card__copy {
		right: 50px;
		bottom: 14px;
		left: 14px;
	}

	.home-sport-card__arrow {
		right: 12px;
		bottom: 14px;
		width: 30px;
		height: 30px;
	}
}

@media (max-width: 767px) {
	.home-sports {
		padding: 20px 0 28px;
	}

	.home-sports__header {
		flex-wrap: wrap;
		gap: 8px;
	}

	.home-sports__title {
		font-size: 24px;
	}

	.home-sports__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.home-sport-card {
		height: clamp(190px, 54vw, 260px);
		aspect-ratio: auto;
	}

	.home-sport-card__image {
		object-position: center top;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-sport-card__image,
	.home-sport-card__arrow {
		transition: none;
	}

	.home-sport-card:hover .home-sport-card__image {
		transform: none;
	}
}

/* Slot cards. */

.home-slots {
	padding: 0 0 32px;
	background: var(--color-page);
	color: var(--color-ink);
}

.home-slots__inner {
	margin-inline: auto;
	padding-top: 24px;
	border-top: 1px solid #dfe9f4;
}

.home-slots__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.home-slots__title {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.home-slots__description {
	margin: 0;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.4;
}

.home-slots__more,
.home-slots__explore {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	background: transparent;
	color: #ef4b00;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
}

.home-slots__more {
	flex-shrink: 0;
	min-height: 40px;
	padding: 6px 0;
}

.home-slots__more:hover {
	color: #bf3c00;
}

.home-slots__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.home-slots__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.home-slots__category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 9px 16px;
	border: 1px solid var(--color-border);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 2px 6px #23496e05;
	color: #132747;
	font-size: 12px;
	line-height: 20px;
	white-space: nowrap;
	cursor: pointer;
}

.home-slots__category:hover {
	border-color: #ff6500;
}

.home-slots__category--featured {
	border-color: #ff5500;
	background: #ff5500;
	color: #fff;
	font-weight: 700;
}

.home-slots__category--featured:hover {
	background: #ed4900;
}

.home-slots__search {
	display: flex;
	flex: 0 1 240px;
	align-items: center;
	gap: 10px;
	min-width: 170px;
	min-height: 40px;
	padding: 9px 13px;
	margin: 0;
	border: 1px solid var(--color-border);
	border-radius: 9px;
	background: #fff;
	color: #132747;
}

.home-slots__search-submit {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.home-slots__search input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-muted);
	font: inherit;
	font-size: 12px;
	line-height: 20px;
	opacity: 1;
	-webkit-text-fill-color: var(--color-muted);
}

.home-slots__search input::placeholder {
	color: var(--color-muted);
	opacity: 1;
}

.home-slots__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}

.home-slot-card {
	display: block;
	min-width: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e2eaf5;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 3px 12px #284d7405;
	color: var(--color-ink);
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.home-slot-card:hover {
	border-color: #ff9759;
	box-shadow: 0 5px 14px #284d7414;
}

.home-slot-card__visual {
	position: relative;
	display: block;
	aspect-ratio: 340 / 191;
	overflow: hidden;
	border-radius: 10px;
	background: var(--color-border);
}

.home-slot-card__visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-slot-card__heart {
	position: absolute;
	top: 7px;
	right: 7px;
	display: grid;
	width: 26px;
	height: 26px;
	place-items: center;
	border: 1px solid #ffffff80;
	border-radius: 50%;
	background: #0b193099;
	color: #fff;
}

.home-slots__footer {
	margin-top: 24px;
	text-align: center;
}

.home-slots__explore {
	min-width: 196px;
	min-height: 42px;
	padding: 11px 24px;
	border: 1px solid #ff6500;
	border-radius: 9px;
}

.home-slots__explore:hover {
	background: #fff0e5;
}

@media (min-width: 768px) and (max-width: 1000px) {
	.home-slots__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.home-slots__toolbar {
		flex-wrap: wrap;
	}
}

@media (max-width: 767px) {
	.home-slots {
		padding-bottom: 28px;
	}

	.home-slots__inner {
		padding-top: 22px;
	}

	.home-slots__header {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
		margin-bottom: 12px;
	}

	.home-slots__title {
		font-size: 24px;
	}

	.home-slots__description {
		font-size: 14px;
	}

	.home-slots__more {
		min-height: 32px;
	}

	.home-slots__toolbar {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	.home-slots__categories {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.home-slots__category {
		gap: 6px;
		padding-inline: 8px;
	}

	.home-slots__search {
		flex-basis: auto;
		min-width: 0;
	}

	.home-slots__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-slot-card {
		transition: none;
	}
}
