/* Página inicial (template page-home.php) */
.cl-home {
	--cl-blue: #1e73be;
	--cl-blue-dark: #12538c;
	--cl-red: #e63946;
	--cl-yellow: #f4b400;
	--cl-green: #2e9e5b;
	--cl-ink: #26303b;
	--cl-muted: #6b7682;
	--cl-soft: #f5f7fa;
	color: var(--cl-ink);
	font-size: 16px;
}

.cl-home > * {
	margin-top: 0;
	margin-bottom: 0;
}

.cl-home-section {
	padding: 64px 16px;
}

.cl-home-section > .wp-block-group__inner-container,
.cl-home-inner {
	max-width: 1170px;
	margin: 0 auto;
}

.cl-home-alt {
	background: var(--cl-soft);
}

.cl-home h2.cl-home-title {
	color: var(--cl-ink);
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 6px;
	text-align: center;
}

.cl-home p.cl-home-lead {
	color: var(--cl-muted);
	font-size: 17px;
	margin: 0 auto 36px;
	max-width: 620px;
	text-align: center;
}

/* Hero */
.cl-home-hero {
	background:
		radial-gradient(circle at 88% 15%, rgba(244, 180, 0, .12), transparent 38%),
		radial-gradient(circle at 8% 92%, rgba(46, 158, 91, .10), transparent 42%),
		linear-gradient(180deg, #eef5fc, #f8fbfe);
	border-top: 1px solid #e3ecf5;
	border-bottom: 1px solid #e3ecf5;
	color: var(--cl-ink);
	padding: 72px 16px 80px;
	text-align: center;
}

.cl-home-hero h1 {
	color: var(--cl-ink);
	font-size: 44px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0 auto 14px;
	max-width: 820px;
}

.cl-home-hero p {
	color: var(--cl-muted);
	font-size: 19px;
	margin: 0 auto 36px;
	max-width: 640px;
}

.cl-home-hero .geodir-search-container {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(30, 115, 190, .12);
	margin: 0 auto;
	max-width: 860px;
	padding: 14px;
	text-align: left;
}

.cl-home-hero .geodir-search-container .form-control,
.cl-home-hero .geodir-search-container .btn {
	height: 52px;
	font-size: 16px;
}

.cl-home-hero .geodir-search-container .btn {
	background: var(--cl-red);
	border-color: var(--cl-red);
	border-radius: 10px;
	padding: 0 28px;
}

.cl-home-hero .geodir-search-container .btn:hover {
	background: #c92a37;
	border-color: #c92a37;
}

.cl-home-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 28px;
}

.cl-home-stats span {
	background: #fff;
	border: 1px solid #d6e4f2;
	border-radius: 999px;
	color: var(--cl-blue);
	font-size: 14px;
	padding: 6px 16px;
}

/* Categorias */
.cl-home .geodir-categories-container .card {
	border: 1px solid #e6eaef;
	border-radius: 12px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cl-home .geodir-categories-container .card:hover {
	border-color: var(--cl-blue);
	box-shadow: 0 10px 24px rgba(30, 115, 190, .15);
	transform: translateY(-3px);
}

.cl-home .geodir-categories-container .card a {
	color: var(--cl-ink);
	font-weight: 700;
	text-decoration: none;
}

/* Listagens */
.cl-home .geodir-listings .widgettitle {
	display: none;
}

.cl-home .geodir-listings .card {
	border: 0;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(20, 40, 60, .08);
	height: 100%;
	overflow: hidden;
	transition: transform .15s ease, box-shadow .15s ease;
}

.cl-home .geodir-listings .card:hover {
	box-shadow: 0 14px 30px rgba(20, 40, 60, .16);
	transform: translateY(-4px);
}

.cl-home .geodir-listings .geodir-post-title,
.cl-home .geodir-listings .geodir-entry-title {
	font-size: 18px;
	font-weight: 700;
}

.cl-home .geodir-listings .geodir-post-content-container {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.cl-home .cl-home-more {
	margin-top: 32px;
	text-align: center;
}

/* Botões */
.cl-home .wp-block-button__link {
	background: var(--cl-blue);
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	padding: 14px 30px;
	text-decoration: none;
}

.cl-home .wp-block-button__link:hover {
	background: var(--cl-blue-dark);
	color: #fff;
}

/* Mapa */
.cl-home .cl-home-map .geodir_map_container,
.cl-home .cl-home-map .geodir-map-wrap {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 26px rgba(20, 40, 60, .12);
}

/* Chamada para anunciantes */
.cl-home-cta {
	background: var(--cl-ink);
	color: #fff;
	text-align: center;
}

.cl-home-cta h2.cl-home-title {
	color: #fff;
}

.cl-home-cta p.cl-home-lead {
	color: rgba(255, 255, 255, .75);
}

.cl-home-cta .wp-block-button__link {
	background: var(--cl-yellow);
	color: var(--cl-ink);
}

.cl-home-cta .wp-block-button__link:hover {
	background: #ffc928;
	color: var(--cl-ink);
}

.cl-home .wp-block-buttons {
	justify-content: center;
}

/* Páginas internas (ex.: Sobre) montadas com o mesmo template */
.cl-home-hero.cl-page-hero {
	padding: 56px 16px 48px;
}

.cl-home-hero.cl-page-hero h1 {
	font-size: 42px;
	margin-bottom: 10px;
}

.cl-home-hero.cl-page-hero p {
	margin-bottom: 0;
}

.cl-home p.cl-eyebrow {
	background: #fff;
	border: 1px solid #d6e4f2;
	border-radius: 999px;
	color: var(--cl-blue);
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	margin: 0 0 16px;
	padding: 6px 14px;
	text-transform: uppercase;
}

.cl-home .cl-split {
	align-items: center;
	gap: 48px;
	margin-bottom: 0;
}

.cl-home .cl-split h2 {
	color: var(--cl-ink);
	font-size: 30px;
	font-weight: 700;
	margin: 0 0 16px;
}

.cl-home .cl-split p {
	color: var(--cl-muted);
	font-size: 17px;
	line-height: 1.7;
}

/* Números */
.cl-stats {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, 1fr);
}

.cl-stat {
	background: #fff;
	border-radius: 14px;
	border-top: 4px solid var(--cl-blue);
	box-shadow: 0 6px 20px rgba(20, 40, 60, .08);
	padding: 22px 20px;
}

.cl-stat strong {
	color: var(--cl-ink);
	display: block;
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 8px;
}

.cl-stat span {
	color: var(--cl-muted);
	font-size: 14px;
}

.cl-stat-green { border-top-color: var(--cl-green); }
.cl-stat-yellow { border-top-color: var(--cl-yellow); }
.cl-stat-red { border-top-color: var(--cl-red); }

/* Passos e cartões */
/* O tema não tem layout de blocos: o grupo envolve os filhos em __inner-container. */
.cl-home .cl-steps > .wp-block-group__inner-container,
.cl-home .cl-audience > .wp-block-group__inner-container {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}

.cl-home .cl-audience > .wp-block-group__inner-container {
	grid-template-columns: repeat(2, 1fr);
}

.cl-home .cl-steps {
	counter-reset: cl-step;
}

.cl-home .cl-step,
.cl-home .cl-audience-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 16px rgba(20, 40, 60, .08);
	margin: 0;
	padding: 28px;
	transition: transform .15s ease, box-shadow .15s ease;
}

.cl-home .cl-step:hover,
.cl-home .cl-audience-card:hover {
	box-shadow: 0 14px 30px rgba(20, 40, 60, .14);
	transform: translateY(-4px);
}

.cl-home .cl-step::before {
	align-items: center;
	background: rgba(30, 115, 190, .1);
	border-radius: 50%;
	color: var(--cl-blue);
	content: counter(cl-step);
	counter-increment: cl-step;
	display: flex;
	font-size: 20px;
	font-weight: 700;
	height: 48px;
	justify-content: center;
	margin-bottom: 18px;
	width: 48px;
}

.cl-home .cl-step:nth-child(2)::before { background: rgba(46, 158, 91, .12); color: var(--cl-green); }
.cl-home .cl-step:nth-child(3)::before { background: rgba(230, 57, 70, .1); color: var(--cl-red); }

.cl-home .cl-step h3,
.cl-home .cl-audience-card h3 {
	color: var(--cl-ink);
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 8px;
}

.cl-home .cl-step p,
.cl-home .cl-audience-card p,
.cl-home .cl-audience-card li {
	color: var(--cl-muted);
	font-size: 15px;
	line-height: 1.6;
}

.cl-home .cl-audience-card {
	border-left: 5px solid var(--cl-blue);
}

.cl-home .cl-audience-card + .cl-audience-card {
	border-left-color: var(--cl-yellow);
}

.cl-home .cl-audience-card ul {
	margin: 12px 0 20px;
	padding-left: 20px;
}

.cl-home .cl-audience-card .wp-block-buttons {
	justify-content: flex-start;
}

/* Perguntas frequentes */
.cl-home .cl-faq {
	margin: 0 auto;
	max-width: 780px;
}

.cl-home .cl-faq details {
	background: #fff;
	border: 1px solid #e3ecf5;
	border-radius: 12px;
	margin: 0 0 12px;
	padding: 0;
	transition: box-shadow .15s ease;
}

.cl-home .cl-faq details[open] {
	box-shadow: 0 8px 24px rgba(20, 40, 60, .08);
}

.cl-home .cl-faq summary {
	color: var(--cl-ink);
	cursor: pointer;
	font-size: 17px;
	font-weight: 700;
	list-style: none;
	padding: 18px 52px 18px 22px;
	position: relative;
}

.cl-home .cl-faq summary::-webkit-details-marker {
	display: none;
}

.cl-home .cl-faq summary::after {
	color: var(--cl-blue);
	content: "+";
	font-size: 24px;
	line-height: 1;
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform .2s ease;
}

.cl-home .cl-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
}

.cl-home .cl-faq details > :not(summary) {
	color: var(--cl-muted);
	margin: 0;
	padding: 0 22px 20px;
}

/* Contato */
.cl-home .cl-contact {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 34px rgba(20, 40, 60, .10);
	margin: 0 auto;
	max-width: 680px;
	padding: 36px;
}

.cl-home .cl-contact .nf-form-title {
	display: none;
}

.cl-home .cl-contact .nf-field-label label {
	color: var(--cl-ink);
	font-weight: 700;
}

.cl-home .cl-contact input[type="text"],
.cl-home .cl-contact input[type="email"],
.cl-home .cl-contact textarea {
	background: var(--cl-soft);
	border: 1px solid #d6e4f2;
	border-radius: 10px;
	padding: 12px 14px;
}

.cl-home .cl-contact input[type="text"]:focus,
.cl-home .cl-contact input[type="email"]:focus,
.cl-home .cl-contact textarea:focus {
	background: #fff;
	border-color: var(--cl-blue);
	box-shadow: 0 0 0 3px rgba(30, 115, 190, .15);
	outline: 0;
}

.cl-home .cl-contact input[type="submit"],
.cl-home .cl-contact input[type="button"] {
	background: var(--cl-blue);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-weight: 700;
	padding: 14px 34px;
}

.cl-home .cl-contact input[type="submit"]:hover,
.cl-home .cl-contact input[type="button"]:hover {
	background: var(--cl-blue-dark);
}

@media (max-width: 991px) {
	.cl-home .cl-steps > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.cl-home .cl-audience > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
	}

	.cl-home-hero.cl-page-hero h1 {
		font-size: 30px;
	}

	.cl-home .cl-split h2 {
		font-size: 24px;
	}

	.cl-stat strong {
		font-size: 32px;
	}

	.cl-home .cl-contact {
		padding: 24px 18px;
	}
}

@media (max-width: 767px) {
	.cl-home-section {
		padding: 44px 16px;
	}

	.cl-home-hero {
		padding: 56px 16px 64px;
	}

	.cl-home-hero h1 {
		font-size: 30px;
	}

	.cl-home-hero p {
		font-size: 16px;
	}

	.cl-home h2.cl-home-title {
		font-size: 24px;
	}
}

@media (max-width: 575px) {
	.cl-home .gd-cptcat-row .row-cols-1 > * {
		flex: 0 0 50%;
		max-width: 50%;
		padding-left: 6px;
		padding-right: 6px;
	}

	.cl-home .gd-cptcat-row .card-body {
		padding: 14px 8px;
	}

	.cl-home .gd-cptcat-row .card a {
		font-size: 13px;
	}
}
