/**
 * Calendário — réplica do CTAImage do site do cliente (Ton)
 * Ref: __cofre/_ref/_calendario.html + __cofre/_ref/styles.css
 * Atenção: html { font-size: 62.5% } → 1rem = 10px
 * Breakpoints: mobile (<768) · md (≥768) · lg (≥1024)
 */

.stone-calendario {
	background: #a5fa00 !important;
	padding: 4rem 2rem !important;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.stone-calendario__container {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2.4rem;
	min-height: 36rem;
	max-width: 136rem;
	margin: 0 auto;
	padding: 1.6rem;
	border-radius: 2.4rem;
	background: #eef1f0;
	box-sizing: border-box;
}

.stone-calendario__media {
	position: relative;
	flex: 1;
	min-width: 0;
	min-height: 22rem;
	overflow: hidden;
	border-radius: 2.4rem;
}

.stone-calendario__media picture {
	display: contents;
}

.stone-calendario__media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
	object-position: center;
}

.stone-calendario__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.stone-calendario__tag {
	margin: 0 0 0.8rem;
	font-family: var(--font-body, "Inter", sans-serif);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 130%;
	text-transform: uppercase;
	color: #2a5200;
}

.stone-calendario__title {
	margin: 0 0 0.8rem;
	font-family: var(--font-heading, "Inter", sans-serif);
	font-size: 4rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.0432rem;
	color: #1b221f;
}

.stone-calendario__desc {
	margin: 0 0 2.4rem;
	font-family: var(--font-body, "Inter", sans-serif);
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 130%;
	color: #1b221f;
}

/* Boxes de data — estilo "stats" do site do cliente */
.stone-calendario__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	place-content: center;
	gap: 0.8rem;
	width: 100%;
	container-type: inline-size;
}

.stone-calendario__meta > :last-child:nth-child(odd) {
	grid-column: span 2;
}

.stone-calendario__range {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	flex-grow: 1;
	max-width: 100%;
	margin: 0;
	padding: 1.6rem 0.8rem;
	border: 0;
	border-radius: 1.6rem;
	background: #fff;
	box-shadow: none;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	box-sizing: border-box;
}

.stone-calendario__range-label {
	font-family: var(--font-body, "Inter", sans-serif);
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1.1;
	color: #1b221f;
}

.stone-calendario__range strong {
	font-family: var(--font-heading, "Inter", sans-serif);
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.0432rem;
	color: #2a5200;
}

/* Container largo: 4 boxes em linha */
@container (min-width: 600px) {
	.stone-calendario__meta {
		display: flex;
		flex-flow: row nowrap;
		align-items: stretch;
	}

	.stone-calendario__range {
		flex: 1;
		min-width: 0;
	}
}

.stone-calendario__note {
	max-width: 136rem;
	margin: 1.6rem auto 0;
	text-align: center;
	font-family: var(--font-body, "Inter", sans-serif);
	font-size: 1.2rem;
	line-height: 130%;
	color: rgba(0, 0, 0, 0.6);
}

.stone-calendario__note a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 449.98px) {
	.stone-calendario__range-label {
		font-size: 1rem;
		letter-spacing: 0;
		text-transform: none;
	}
}

/* Mobile pequeno */
@media (max-width: 380px) {
	.stone-calendario {
		padding: 3.2rem 1.2rem !important;
	}

	.stone-calendario__range strong {
		font-size: 2rem;
	}
}

/* md ≥ 768px */
@media (min-width: 768px) {
	.stone-calendario__container {
		flex-direction: row;
		height: auto;
		min-height: 36rem;
		align-items: stretch;
	}

	.stone-calendario__media {
		min-height: 28rem;
	}

	.stone-calendario__content {
		padding: 2.4rem;
		text-align: left;
	}

	.stone-calendario__title {
		font-size: 4.5rem;
	}
}

/* lg ≥ 1024px */
@media (min-width: 1024px) {
	.stone-calendario {
		padding: 8rem 4rem !important;
	}

	.stone-calendario__container {
		gap: 4rem;
		padding: 2rem;
		border-radius: 4rem;
	}

	.stone-calendario__media {
		border-radius: 4rem;
	}

	.stone-calendario__content {
		padding: 4rem;
	}

	.stone-calendario__tag {
		margin-bottom: 1.6rem;
		font-size: 1.6rem;
	}

	.stone-calendario__title {
		margin-bottom: 1.6rem;
		font-size: 5.625rem;
	}

	.stone-calendario__desc {
		margin-bottom: 4rem;
		font-size: 1.6rem;
	}

	.stone-calendario__meta {
		gap: 1.6rem;
	}

	.stone-calendario__range {
		padding: 2rem 1rem;
		border-radius: 2rem;
	}

	.stone-calendario__range-label {
		font-size: 1.6rem;
        line-height: 1.1;
		letter-spacing: 0rem;
		text-transform: none;
	}

	.stone-calendario__range strong {
		font-size: clamp(2.4rem, 2.4vw, 3.4rem);
	}
}
