@charset "UTF-8";

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
html {
	font-size: 62.5%;
}

:root {
	--corpreto: #000000;
	--corareia: #c79f78;
	--cormarron: #855e4e;
	--corbege: #fdfaf0;
	--corbranco: #ffffff;
	--fontepadrao: sans-serif;
	--fontedestaque: serif;
}
/* ------------- Base da seção ------------- */
.tc-section {
	padding: 2.4rem;
	padding-top: 8rem;
	max-width: 1200px;
	margin: 0 auto;
	font-family: var(--fontepadrao);
	color: var(--corpreto);
}
.tc-inner {
	display: flex;
	flex-direction: column;
	gap: 8rem;
}

/* header */
.tc-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.6rem;
}
.tc-header h2 {
	font-size: 3rem;
	margin: 0 0 0.4rem;
	font-weight: 700;
}
.tc-sub {
	margin: 0;
	color: var(--cormarron);
	font-size: 2rem;
}

/* grid de cartões */
.tc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	margin-top: 1rem;
}
.tc-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	cursor: default;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tc-card:focus {
	outline: 3px solid #f0e4d8;
	outline-offset: 3px;
}
.tc-card:hover {
	transform: translateY(-6px);
}
.tc-thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
}

/* conteúdo do cartão */
.tc-content {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}
.tc-name {
	margin: 0;
	font-size: 1.2rem;
}
.tc-excerpt {
	margin: 0;
	color: #555;
	font-size: 1.35rem;
}
.tc-meta {
	display: flex;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
	color: #777;
	font-size: 1.25rem;
}
.tc-actions {
	margin-top: auto;
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

/* CTAs */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	font-weight: 600;
	font-size: 1.4rem;
	border: 0;
	cursor: pointer;
}
.btn-primary {
	background: #c79f78;
	color: #fff;
}
.btn-outline {
	background: transparent;
	border: 1px solid #e6d8c9;
	color: #855e4e;
}
.btn-ghost {
	background: #fff;
	border: 1px solid #efe7df;
	color: #855e4e;
	text-decoration: none;
}

.cta-button {
	transition: background-color 0.3s ease, color 0.3s ease;
	text-decoration: none;
}

/* CTA geral */
.tc-cta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	border-radius: 10px;
	background: linear-gradient(90deg, #fff, #fbfaf8);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}
.tc-cta-text {
	margin: 0;
	color: #4a4a4a;
	font-size: 1.25rem;
}

/* modal */
.tc-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	z-index: 120;
}
.tc-modal[aria-hidden='false'] {
	display: flex;
}
.tc-modal-panel {
	background: #fff;
	padding: 1.4rem;
	border-radius: 12px;
	max-width: 520px;
	width: 94%;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.tc-modal-close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	background: transparent;
	border: 0;
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
}

/* form */
.tc-form {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.tc-field {
	display: flex;
	flex-direction: column;
	font-size: 1.2rem;
	color: #444;
}
.tc-field input,
.tc-field textarea {
	padding: 0.8rem;
	border-radius: 8px;
	border: 1px solid #eaeaea;
	font-size: 1.4rem;
}
.tc-form-row {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.4rem;
}
.btn-block {
	flex: 1;
}

/* feedback */
.tc-feedback {
	font-size: 1.2rem;
	color: #666;
	margin-top: 0.4rem;
}

/* responsividade */
@media (max-width: 980px) {
	.tc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.tc-grid {
		grid-template-columns: 1fr;
	}
	.tc-cta {
		flex-direction: column;
		gap: 0.8rem;
		align-items: stretch;
	}
	.tc-form-row {
		flex-direction: column;
	}
}
