/*
Theme Name: Neve Child
Theme URI: https://themeisle.com/themes/neve/
Template: neve
Author: Passe Livre
Description: Tema filho personalizado para a agenda de shows do Passe Livre.
Version: 2.1.0
Text Domain: passelivre
*/

/* ==========================================================
   1. IDENTIDADE VISUAL
   ========================================================== */

:root {
	--pl-navy: #07142f;
	--pl-navy-light: #101b35;
	--pl-red: #f51f32;
	--pl-red-hover: #d91528;
	--pl-white: #ffffff;
	--pl-background: #f3f6fa;
	--pl-text: #17233f;
	--pl-muted: #748099;
	--pl-border: #e5e9f0;
	--pl-container: 1160px;
	--pl-radius: 9px;
	--pl-shadow: 0 3px 12px rgba(16, 27, 53, 0.06);
	--pl-shadow-hover: 0 8px 24px rgba(16, 27, 53, 0.12);
}

/* ==========================================================
   2. BASE
   ========================================================== */

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

.pl-home {
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--pl-text);
	font-family: inherit;
}

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

.pl-home a {
	text-decoration: none;
}

.pl-home a:focus-visible,
.pl-home button:focus-visible,
.pl-home input:focus-visible {
	outline: 3px solid var(--pl-red);
	outline-offset: 3px;
}

.pl-container {
	width: 100%;
	max-width: var(--pl-container);
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

/* Neutraliza espaçamentos herdados que podem desorganizar
   as seções internas do template personalizado. */

.pl-home > section {
	margin-block: 0;
}

.pl-home h1,
.pl-home h2,
.pl-home h3,
.pl-home p {
	font-family: inherit;
}

/* ==========================================================
   3. CONTEÚDO EDITORIAL
   ========================================================== */

.pl-home-editorial {
	width: 100%;
	margin: 0;
	padding: 0;
}

.pl-home-editorial > *:first-child {
	margin-top: 0;
}

.pl-home-editorial > *:last-child {
	margin-bottom: 0;
}

/* ==========================================================
   4. HERO
   ========================================================== */

.pl-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 58px 0 62px;
	background: var(--pl-navy);
	color: var(--pl-white);
}

.pl-hero-inner {
	display: flex;
	align-items: center;
}

.pl-hero-content {
	width: 100%;
	max-width: 690px;
}

.pl-eyebrow {
	margin: 0 0 15px;
	color: inherit;
	font-size: 12px;
	font-weight: 750;
	line-height: 1.5;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}

.pl-hero .pl-eyebrow {
	color: rgba(255, 255, 255, 0.92);
}

.pl-hero-title {
	max-width: 680px;
	margin: 0 0 19px;
	color: var(--pl-white);
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -1.5px;
}

.pl-hero-title span {
	display: block;
	color: var(--pl-red);
}

.pl-hero-description {
	max-width: 510px;
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	line-height: 1.75;
}

/* ==========================================================
   5. BUSCA
   ========================================================== */

.pl-search-form {
	display: flex;
	align-items: stretch;
	gap: 6px;
	width: 100%;
	max-width: 560px;
	margin: 0;
	padding: 5px;
	border-radius: var(--pl-radius);
	background: var(--pl-white);
}

.pl-search-form input[type="search"] {
	flex: 1;
	width: 100%;
	min-width: 0;
	min-height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: 5px;
	background: transparent;
	box-shadow: none;
	color: var(--pl-text);
	font-family: inherit;
	font-size: 13px;
}

.pl-search-form input[type="search"]::placeholder {
	color: #8992a5;
	opacity: 1;
}

.pl-search-form input[type="search"]:focus {
	border: 0;
	box-shadow: none;
	outline-offset: -2px;
}

.pl-search-form button {
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	padding: 0 20px;
	border: 0;
	border-radius: 5px;
	background: var(--pl-red);
	color: var(--pl-white);
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 180ms ease;
}

.pl-search-form button:hover {
	background: var(--pl-red-hover);
	color: var(--pl-white);
}

/* ==========================================================
   6. SEÇÃO DE SHOWS
   ========================================================== */

.pl-featured-section {
	width: 100%;
	padding: 42px 0 48px;
	background: var(--pl-white);
}

.pl-section-header {
	margin: 0 0 24px;
}

.pl-eyebrow-red {
	margin-bottom: 8px;
	color: var(--pl-red);
}

.pl-section-title {
	margin: 0 0 10px;
	color: var(--pl-navy-light);
	font-size: clamp(23px, 2.5vw, 30px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.6px;
}

.pl-section-description {
	margin: 0;
	color: var(--pl-muted);
	font-size: 14px;
	line-height: 1.7;
}

/* ==========================================================
   7. GRADE DE CARDS
   ========================================================== */

.pl-shows-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
}

/* ==========================================================
   8. CARD DE SHOW
   ========================================================== */

.pl-show-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 1px solid #e9edf3;
	border-radius: var(--pl-radius);
	background: var(--pl-white);
	box-shadow: var(--pl-shadow);
	transition:
		box-shadow 180ms ease,
		transform 180ms ease;
}

.pl-show-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--pl-shadow-hover);
}

.pl-show-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #edf0f6;
	color: var(--pl-muted);
}

.pl-show-card-media:hover {
	color: var(--pl-navy);
}

.pl-show-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.pl-show-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #69758e;
	font-size: 14px;
	font-weight: 650;
}

.pl-show-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 17px 16px 15px;
}

.pl-show-card-title {
	width: 100%;
	margin: 0 0 10px;
	font-size: 16px;
	font-weight: 750;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.pl-show-card-title a {
	color: var(--pl-navy-light);
}

.pl-show-card-title a:hover {
	color: var(--pl-red);
}

.pl-show-card-excerpt {
	width: 100%;
	margin: 0 0 17px;
	color: var(--pl-muted);
	font-size: 13px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.pl-show-card-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin-top: auto;
	padding-top: 4px;
	color: var(--pl-red);
	font-size: 12px;
	font-weight: 750;
	line-height: 1.5;
}

.pl-show-card-link:hover {
	color: var(--pl-red-hover);
}

.pl-show-card-link span:last-child {
	font-size: 19px;
}

/* ==========================================================
   9. ESTADO VAZIO
   ========================================================== */

.pl-empty-state {
	width: 100%;
	margin: 0;
	padding: 22px 20px;
	border: 1px dashed #dbe2ed;
	border-radius: var(--pl-radius);
	background: #f8faff;
	text-align: center;
}

.pl-empty-state p {
	margin: 0;
	color: var(--pl-muted);
	font-size: 13px;
	line-height: 1.7;
}

/* ==========================================================
   10. BOTÃO EXPLORAR SHOWS
   ========================================================== */

.pl-section-action {
	display: flex;
	justify-content: center;
	margin-top: 25px;
}

.pl-button-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid var(--pl-red);
	border-radius: 5px;
	background: var(--pl-white);
	color: var(--pl-red);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	transition:
		background-color 180ms ease,
		color 180ms ease;
}

.pl-button-outline:hover {
	background: var(--pl-red);
	color: var(--pl-white);
}

/* ==========================================================
   11. SEÇÃO DE CIDADES
   ========================================================== */

.pl-cities-section {
	width: 100%;
	padding: 38px 0 44px;
	background: var(--pl-background);
}

.pl-cities-section .pl-section-header {
	margin-bottom: 22px;
}

.pl-cities-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
}

.pl-city-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid #e8ecf2;
	border-radius: 6px;
	background: var(--pl-white);
	color: var(--pl-navy-light);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	transition:
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.pl-city-card:hover {
	border-color: #f3a1a8;
	box-shadow: 0 3px 10px rgba(16, 27, 53, 0.05);
	color: var(--pl-navy-light);
}

.pl-city-card > span:first-child {
	overflow-wrap: anywhere;
}

.pl-city-arrow {
	flex: 0 0 auto;
	color: var(--pl-red);
	font-size: 17px;
	font-weight: 400;
}

/* ==========================================================
   12. RESPONSIVIDADE — TABLETS
   ========================================================== */

@media (max-width: 960px) {

	.pl-container {
		max-width: 100%;
		padding-right: 24px;
		padding-left: 24px;
	}

	.pl-hero {
		padding-top: 48px;
		padding-bottom: 50px;
	}

	.pl-hero-content {
		max-width: 620px;
	}

	.pl-shows-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.pl-cities-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

/* ==========================================================
   13. RESPONSIVIDADE — CELULARES
   ========================================================== */

@media (max-width: 600px) {

	.pl-container {
		padding-right: 16px;
		padding-left: 16px;
	}

	.pl-hero {
		padding-top: 35px;
		padding-bottom: 36px;
	}

	.pl-hero-content {
		max-width: 100%;
	}

	.pl-eyebrow {
		margin-bottom: 12px;
		font-size: 10px;
		letter-spacing: 0.9px;
	}

	.pl-hero-title {
		margin-bottom: 15px;
		font-size: clamp(32px, 8.5vw, 39px);
		line-height: 1.1;
		letter-spacing: -0.8px;
	}

	.pl-hero-description {
		margin-bottom: 20px;
		font-size: 13px;
		line-height: 1.7;
	}

	.pl-search-form {
		gap: 4px;
		padding: 4px;
	}

	.pl-search-form input[type="search"] {
		min-height: 42px;
		padding-right: 7px;
		padding-left: 8px;
		font-size: 12px;
	}

	.pl-search-form button {
		min-height: 42px;
		padding-right: 13px;
		padding-left: 13px;
		font-size: 12px;
	}

	.pl-featured-section {
		padding-top: 32px;
		padding-bottom: 36px;
	}

	.pl-section-header {
		margin-bottom: 20px;
	}

	.pl-section-title {
		font-size: 23px;
		line-height: 1.3;
	}

	.pl-section-description {
		font-size: 13px;
	}

	.pl-shows-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.pl-show-card-content {
		padding: 16px;
	}

	.pl-show-card-title {
		font-size: 16px;
	}

	.pl-show-card-link {
		min-height: 30px;
	}

	.pl-section-action {
		margin-top: 22px;
	}

	.pl-cities-section {
		padding-top: 32px;
		padding-bottom: 34px;
	}

	.pl-cities-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.pl-city-card {
		min-height: 46px;
		padding: 12px 14px;
	}

}

/* ==========================================================
   14. ACESSIBILIDADE
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

	.pl-show-card,
	.pl-show-card-image,
	.pl-show-card-link,
	.pl-button-outline,
	.pl-city-card,
	.pl-search-form button {
		transition: none;
	}

	.pl-show-card:hover {
		transform: none;
	}

}

/* ==========================================================
   FIM — PASSE LIVRE NEVE CHILD
   ========================================================== */