/* ==========================================================================
   Trincheira Paintball — main.css
   Sistema de design: "campo táctico" — verde mata densa, barro/terracota do
   cerrado, e um verde-limão de "respingo de tinta" usado só como acento.
   Tipografia condensada (Big Shoulders) para títulos + Work Sans no corpo.
   ========================================================================== */

:root {
	--tp-ink:        #15171A;
	--tp-forest:     #1F2B22;
	--tp-forest-2:   #28392C;
	--tp-clay:       #C1502E;
	--tp-clay-dark:  #9C3D22;
	--tp-sand:       #E8DFC8;
	--tp-sand-light: #F6F2E7;
	--tp-splat:      #C7D62B;
	--tp-white:      #FAF8F2;

	--tp-font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
	--tp-font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	--tp-radius: 4px;
	--tp-max: 1180px;
	--tp-gap: 24px;
}

/* ---------- Base ---------- */
body {
	font-family: var(--tp-font-body);
	color: var(--tp-ink);
	background: var(--tp-sand-light);
	line-height: 1.55;
	font-size: 17px;
}

h1, h2, h3, h4 {
	font-family: var(--tp-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1.05;
	color: var(--tp-forest);
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.02em; }

p { margin: 0 0 1em; }
a { color: var(--tp-clay-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--tp-splat);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	left: -9999px;
}

.tp-skip-link:focus {
	position: fixed;
	top: 8px; left: 8px;
	background: var(--tp-ink);
	color: var(--tp-white);
	padding: 10px 16px;
	z-index: 1000;
	border-radius: var(--tp-radius);
}

.tp-section-inner {
	max-width: var(--tp-max);
	margin: 0 auto;
	padding: 0 var(--tp-gap);
}

/* ---------- Buttons (a marca de assinatura: borda "rasgada" tipo respingo) ---------- */
.tp-button {
	display: inline-block;
	font-family: var(--tp-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	padding: 0.85em 1.6em;
	border-radius: var(--tp-radius);
	border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease;
}
.tp-button:hover { text-decoration: none; transform: translateY(-2px); }

.tp-button-primary {
	background: var(--tp-clay);
	color: var(--tp-white);
	clip-path: polygon(0 0, 96% 0, 100% 100%, 4% 100%);
}
.tp-button-primary:hover { background: var(--tp-clay-dark); }

.tp-button-ghost {
	background: transparent;
	border-color: var(--tp-forest);
	color: var(--tp-forest);
}
.tp-button-ghost:hover { background: var(--tp-forest); color: var(--tp-white); }

/* ---------- Header ---------- */
.tp-header {
	background: var(--tp-forest);
	position: sticky;
	top: 0;
	z-index: 100;
}
.tp-header-inner {
	max-width: var(--tp-max);
	margin: 0 auto;
	padding: 14px var(--tp-gap);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.tp-brand { display: flex; align-items: center; gap: 10px; }
.tp-brand-mark {
	width: 30px; height: 30px;
	background: var(--tp-splat);
	clip-path: polygon(50% 0%, 90% 15%, 100% 55%, 75% 100%, 25% 95%, 0% 50%);
	flex-shrink: 0;
}
.tp-brand-name {
	font-family: var(--tp-font-display);
	font-weight: 800;
	color: var(--tp-white);
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.tp-nav-toggle {
	display: none;
	background: none;
	border: 0;
	width: 38px; height: 32px;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
	padding: 4px 0;
}
.tp-nav-toggle span {
	display: block;
	height: 3px;
	background: var(--tp-white);
	border-radius: 2px;
}

.tp-primary-nav { display: flex; align-items: center; gap: 22px; }
.tp-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.tp-menu a {
	color: var(--tp-sand);
	font-size: 0.92rem;
	font-weight: 500;
}
.tp-menu a:hover { color: var(--tp-white); text-decoration: none; }

.tp-nav-cta {
	background: var(--tp-clay);
	color: var(--tp-white) !important;
	padding: 8px 16px;
	border-radius: var(--tp-radius);
	font-weight: 600;
	font-size: 0.88rem;
	white-space: nowrap;
}
.tp-nav-cta:hover { background: var(--tp-clay-dark); text-decoration: none; }

/* ---------- Hero ---------- */
.tp-hero {
	background: var(--tp-forest);
	color: var(--tp-white);
	padding: 64px 0 96px;
	position: relative;
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}
.tp-hero.has-bg-image {
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
	min-height: 560px;
	display: flex;
	align-items: center;
}
.tp-hero-inner { max-width: 760px; margin: 0 auto; padding: 0 var(--tp-gap); text-align: left; }
.tp-hero-eyebrow {
	font-family: var(--tp-font-display);
	color: var(--tp-splat);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.85rem;
	margin-bottom: 0.6em;
}
.tp-hero-title { color: var(--tp-white); }
.tp-hero-subtitle { color: var(--tp-sand); font-size: 1.08rem; max-width: 56ch; }
.tp-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.tp-hero-actions .tp-button-ghost { border-color: var(--tp-sand); color: var(--tp-sand); }
.tp-hero-actions .tp-button-ghost:hover { background: var(--tp-sand); color: var(--tp-forest); }

/* ---------- Benefits ---------- */
.tp-benefits { background: var(--tp-sand-light); padding: 56px 0 24px; margin-top: -48px; }
.tp-benefits-inner {
	max-width: var(--tp-max);
	margin: 0 auto;
	padding: 0 var(--tp-gap);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--tp-gap);
}
.tp-benefit {
	background: var(--tp-white);
	border-left: 4px solid var(--tp-splat);
	padding: 20px;
	border-radius: var(--tp-radius);
}
.tp-benefit h3 { font-size: 1rem; margin-bottom: 0.4em; }
.tp-benefit p { font-size: 0.92rem; color: #4A4A44; margin: 0; }

/* ---------- Generic sections ---------- */
section { padding: 64px 0; }
.tp-section-intro { max-width: 62ch; color: #4A4A44; }

/* ---------- Services teaser ---------- */
.tp-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--tp-gap);
	margin: 2em 0;
}
.tp-service-card {
	background: var(--tp-white);
	padding: 22px;
	border-radius: var(--tp-radius);
	border-top: 4px solid var(--tp-clay);
}
.tp-service-card h3 { font-size: 1.02rem; }
.tp-service-card p { font-size: 0.92rem; color: #4A4A44; margin: 0; }

.tp-link-arrow {
	font-family: var(--tp-font-display);
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 700;
	color: var(--tp-clay-dark);
}

/* ---------- How it works ---------- */
.tp-how { background: var(--tp-forest); color: var(--tp-white); }
.tp-how h2 { color: var(--tp-white); }
.tp-how-layout {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 48px;
	align-items: start;
}
.tp-how-figure { margin: 0; }
.tp-how-figure img {
	border-radius: var(--tp-radius);
	width: 100%;
	height: auto;
	border: 3px solid var(--tp-splat);
}
.tp-how-figure figcaption {
	font-size: 0.82rem;
	color: var(--tp-sand);
	margin-top: 8px;
}
.tp-how-steps {
	list-style: none;
	margin: 2em 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--tp-gap);
}
.tp-how-steps li { position: relative; padding-top: 8px; }
.tp-how-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	background: var(--tp-splat);
	color: var(--tp-ink);
	font-family: var(--tp-font-display);
	font-weight: 800;
	clip-path: polygon(50% 0%, 90% 15%, 100% 55%, 75% 100%, 25% 95%, 0% 50%);
	margin-bottom: 10px;
}
.tp-how-steps h3 { color: var(--tp-white); font-size: 1rem; }
.tp-how-steps p { color: var(--tp-sand); font-size: 0.92rem; }

/* ---------- Contact block ---------- */
.tp-contact-block {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: start;
}
.tp-contact-info { background: var(--tp-white); padding: 24px; border-radius: var(--tp-radius); border-left: 4px solid var(--tp-forest); }
.tp-contact-list { list-style: none; padding: 0; margin: 1em 0; }
.tp-contact-list li { margin-bottom: 0.4em; font-size: 0.95rem; }
.tp-map-embed { margin-top: 1em; border-radius: var(--tp-radius); overflow: hidden; }

.tp-contact-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--tp-white);
	padding: 24px;
	border-radius: var(--tp-radius);
}
.tp-contact-form label { font-weight: 600; font-size: 0.9rem; margin-top: 6px; }
.tp-contact-form input,
.tp-contact-form textarea {
	font-family: var(--tp-font-body);
	font-size: 0.95rem;
	padding: 10px 12px;
	border: 1px solid #CFC8B4;
	border-radius: var(--tp-radius);
	background: var(--tp-sand-light);
}
.tp-checkbox { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 0.85rem; }
.tp-checkbox input { width: auto; margin-top: 3px; }
.tp-form-success {
	background: #E4EEDD;
	border: 1px solid var(--tp-forest);
	padding: 10px 14px;
	border-radius: var(--tp-radius);
	font-size: 0.9rem;
}
.tp-contact-form button { margin-top: 10px; align-self: flex-start; }

/* ---------- Compliance note ---------- */
.tp-compliance-note {
	font-size: 0.78rem;
	color: #8C8A7C;
	max-width: 60ch;
	line-height: 1.5;
}

/* ---------- Internal pages ---------- */
.tp-page-header {
	background: var(--tp-sand);
	padding: 48px 0 28px;
}
.tp-page-header.has-bg-image {
	background-size: cover;
	background-position: center;
	padding: 72px 0 40px;
}
.tp-page-header.has-bg-image h1 { color: var(--tp-white); }
.tp-page-content { padding: 16px 0 48px; }
.tp-page-404 { padding-top: 64px; }
.tp-prose { max-width: 76ch; }
.tp-prose-narrow { max-width: 68ch; }
.tp-prose h2 { margin-top: 1.6em; }
.tp-prose ul { padding-left: 1.2em; }

.tp-faq-list { margin-top: 1.5em; }
.tp-faq-item {
	background: var(--tp-white);
	border: 1px solid #E1DAC6;
	border-radius: var(--tp-radius);
	padding: 14px 18px;
	margin-bottom: 10px;
}
.tp-faq-item summary {
	font-family: var(--tp-font-display);
	font-weight: 700;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 0.95rem;
}
.tp-faq-item p { margin-top: 0.6em; }

/* ---------- Footer ---------- */
.tp-footer { background: var(--tp-ink); color: var(--tp-sand); padding: 56px 0 0; }
.tp-footer-inner {
	max-width: var(--tp-max);
	margin: 0 auto;
	padding: 0 var(--tp-gap);
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: var(--tp-gap);
}
.tp-footer-heading {
	font-family: var(--tp-font-display);
	color: var(--tp-white);
	text-transform: uppercase;
	font-size: 0.95rem;
	margin-bottom: 0.6em;
}
.tp-footer-name { font-family: var(--tp-font-display); color: var(--tp-white); font-size: 1.2rem; text-transform: uppercase; margin-bottom: 0.3em; }
.tp-footer a { color: var(--tp-sand); }
.tp-footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tp-footer-legal {
	margin-top: 40px;
	border-top: 1px solid #2C2E32;
	padding: 18px var(--tp-gap) 24px;
	text-align: center;
	font-size: 0.82rem;
	color: #8C8A7C;
}
.tp-footer-legal a { color: #B7B49E; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.tp-benefits-inner,
	.tp-services-grid { grid-template-columns: repeat(2, 1fr); }
	.tp-how-layout { grid-template-columns: 1fr; }
	.tp-how-figure { order: -1; }
	.tp-footer-inner { grid-template-columns: 1fr; }
	.tp-contact-block { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
	.tp-nav-toggle { display: flex; }
	.tp-primary-nav {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		padding-bottom: 16px;
	}
	.tp-primary-nav.is-open { display: flex; }
	.tp-menu { flex-direction: column; gap: 10px; width: 100%; }
	.tp-nav-cta { margin-top: 10px; }
	.tp-benefits-inner,
	.tp-services-grid,
	.tp-how-steps { grid-template-columns: 1fr; }
	.tp-hero { clip-path: none; padding-bottom: 56px; }
	.tp-hero.has-bg-image { min-height: 420px; }
	.tp-benefits { margin-top: 0; }
}
