/* -----HERO----- */
.page-hero {
	display: flex;
	align-items: flex-end;
	min-height: 72vh;
	padding-top: 8rem;
	padding-bottom: 3.5rem;
	background-color: #36231d;
	background-image:
		linear-gradient(180deg, rgba(8, 10, 11, 0.6) 0%, rgba(8, 10, 11, 0.9) 52%, rgba(8, 10, 11, 0.94) 100%),
		url("../assets/hero/o-que-fazer.jpg");
	background-position: center;
	background-size: cover;
}

.page-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.page-hero__title {
	max-width: 12ch;
	color: #fff;
	font-size: clamp(2.5rem, 7vw, 4.75rem);
	font-weight: 700;
	line-height: 0.95;
}

.page-hero__description {
	max-width: 40rem;
	margin-top: 1.5rem;
	color: #f2e9e5;
	font-size: 1rem;
	line-height: 1.7;
}
/* -----MAIN----- */
.main-content {
	background-color: #f9f9f9;
}

/* -----ELEMENTOS EM DESTAQUE----- */
.discover-section {
	padding-top: 80px;
	padding-bottom: 80px;
}

.discover-section__featured-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 2.5rem;
}

.featured-card {
	position: relative;
	height: 180px;
	border-radius: 1rem;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-card--experiencias {
	background-color: #059669;
}
.featured-card--eventos {
	background-color: #059669;
}
.featured-card--outros {
	background-color: #059669;
}

.featured-card__link {
	text-decoration: none;
	display: block;
	height: 100%;
}

.featured-card__overlay {
	position: absolute;
	inset: 0;
	background: #05966940;
	display: flex;
	align-items: center;
	justify-content: center;
}

.featured-card__title {
	color: #fff;
	font-size: 2.125rem;
	font-weight: 700;
	margin: 0;
	text-shadow: 0 0 10px #000;
}

.featured-card:hover {
	transform: translateY(-3px);;
}

/* -----EVENTOS----- */
.events-section__calendar-grid {
	display: flex;
	flex-direction: row;
	gap: 16px; 
	max-width: 100%; 
	overflow-x: auto;
	overflow-y: hidden;
	white-space: nowrap; 
	padding: 16px; 
	box-sizing: border-box;
}

.calendar-grid__event-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex-shrink: 0; 
	height: 320px;
	width: 220px; 
	text-decoration: none;
	background-color: #059669;
	color: white;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.calendar-grid__event-card:hover {
	cursor: pointer;
	transform: translateY(-4px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.calendar-grid__event-card--featured {
	border: 3px solid #10b981;
}

.event-card__content-wrapper{
	display: flex;
	flex-direction: column;
	height: max-content;
	width: 100%;
	gap: 3px;
	padding: 30px 16px;
	background-image: linear-gradient(to top ,#00000090, #00000090, #00000060, #00000000);
	box-sizing: border-box;
}

.event-card__event-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 5px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	line-height: 1.4;
}

.event-card__event-local, .event-card__event-date {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 0.8rem;
	font-weight: 400;
	color: #e5e7eb;
	width: 100%;
	overflow: hidden;
}

.event-card__local-icon, .event-card__date-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	fill: #fff;
}

.event-card__text {
	font-size: 15px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

/* -----CATEGORIAS----- */
.discover-section__categories-grid {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 1.8rem;
}

.category-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	min-height: 110px;
	background-color: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.9rem;
	padding: 1.15rem;
	text-decoration: none;
	box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.55);
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
	border-color: #cbd5d7;
	transform: translateY(-2px);
}

.category-card__icon-wrapper {
	width: 52px;
	height: 52px;
	background-color: #e8f5ee;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dark-green);
	flex: 0 0 auto;
}

.category-card__icon-wrapper svg {
	width: 28px;
	height: 28px;
	fill: currentColor;
}

.category-card__content {
	display: flex;
	flex-direction: column;
	gap: 0.48rem;
	min-width: 0;
}

.category-card__title {
	color: var(--black);
	font-size: 1.16rem;
	font-weight: 700;
	line-height: 1.22;
}

.category-card__meta {
	color: #6b7280;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.35;
}

.category-card__cta {
	color: var(--dark-green);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	margin-top: auto;
}

.category-card:hover .category-card__cta {
	color: var(--dark-green);
}

/* -----MEDIA QUERIES----- */
@media (min-width: 768px) {
	.discover-section__featured-group {
		flex-direction: row;
	}

	.featured-card {
		flex: 1;
		height: 260px;
	}

	.calendar-grid__event-card {
		height: 380px;
		width: 260px;
	}

	.event-card__event-title {
		font-size: 1.5rem;
	}

	.event-card__event-local, .event-card__event-date {
	font-size: 0.8rem;
}

	.discover-section__categories-grid {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 16px;
	}
}
