/**
 * Inspiro Construction — estilos principais
 */

/* ==========================================================================
   Variables
   ========================================================================== */

:root {
	--color-bg: #0c0c0c;
	--color-bg-alt: #141414;
	--color-bg-card: #1a1a1a;
	--color-surface: #f5f3ef;
	--color-text: #ffffff;
	--color-text-muted: rgba(255, 255, 255, 0.65);
	--color-text-dark: #1a1a1a;
	--color-text-dark-muted: #666666;
	--color-accent: #E68A2E;
	--color-accent-hover: #D97D22;
	--color-border: rgba(255, 255, 255, 0.12);
	--color-border-dark: rgba(0, 0, 0, 0.08);

	--font-heading: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

	--container-max: 1240px;
	--section-padding: clamp(4rem, 8vw, 7rem);
	--header-height: 80px;
	--radius: 4px;
	--transition: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text-dark);
	background: var(--color-surface);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition), opacity var(--transition);
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 1rem;
}

p {
	margin: 0 0 1rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
	padding: var(--section-padding) 0;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.75rem;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--transition);
}

.btn-primary {
	background: var(--color-accent);
	color: #fff;
	border-color: var(--color-accent);
}

.btn-primary:hover {
	background: var(--color-accent-hover);
	border-color: var(--color-accent-hover);
	color: #fff;
}

.btn-outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
	border-color: #fff;
	color: #fff;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--color-accent);
}

.link-arrow:hover {
	opacity: 0.8;
}

/* ==========================================================================
   Section Typography
   ========================================================================== */

.section-eyebrow {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 0.75rem;
}

.section-title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--color-text-dark);
	margin-bottom: 1.5rem;
}

.section-text {
	color: var(--color-text-dark-muted);
	font-size: 1.05rem;
	max-width: 56ch;
}

.section-header {
	margin-bottom: 3rem;
}

.section-header--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--header-height);
	transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
	background: rgba(12, 12, 12, 0.95);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 var(--color-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.site-branding .site-title,
.site-branding .custom-logo-link {
	font-family: var(--font-heading);
	font-size: 1.35rem;
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
}

.site-branding img {
	max-height: 48px;
	width: auto;
}

.main-navigation .nav-menu {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.main-navigation .nav-menu a {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	font-weight: 500;
}

.main-navigation .nav-menu a:hover {
	color: #fff;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.search-toggle,
.menu-toggle {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 32px;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--color-bg) var(--hero-bg) center / cover no-repeat;
	padding-top: var(--header-height);
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(12, 12, 12, 0.88) 0%,
		rgba(12, 12, 12, 0.55) 50%,
		rgba(12, 12, 12, 0.75) 100%
	);
}

.hero-inner {
	position: relative;
	z-index: 1;
	max-width: 780px;
	padding: 4rem 0;
}

.hero-badge {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--color-text-muted);
	letter-spacing: 0.05em;
	margin-bottom: 1.5rem;
}

.hero-title {
	font-family: var(--font-heading);
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1.5rem;
}

.hero-description {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--color-text-muted);
	max-width: 52ch;
	margin-bottom: 2.5rem;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */

.stats-bar {
	background: var(--color-bg);
	padding: 2.5rem 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.stat-value {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.stat-label {
	display: block;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 0.35rem;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
	background: var(--color-surface);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.about-media {
	position: relative;
}

.about-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
}

.about-badge {
	position: absolute;
	bottom: -1.5rem;
	right: -1.5rem;
	background: var(--color-accent);
	color: #fff;
	padding: 1.5rem 2rem;
	border-radius: var(--radius);
	text-align: center;
}

.about-badge-value {
	display: block;
	font-family: var(--font-heading);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.about-badge-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0.35rem;
	max-width: 120px;
}

.feature-list {
	margin: 1.5rem 0 2rem;
}

.feature-list li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--color-text-dark-muted);
	font-size: 0.95rem;
}

.feature-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--color-accent);
	border-radius: 50%;
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
	background: var(--color-bg);
	padding: 1.25rem 0;
	overflow: hidden;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.marquee-track {
	display: flex;
	width: max-content;
	animation: marquee 30s linear infinite;
}

.marquee-item {
	flex-shrink: 0;
	padding: 0 2rem;
	font-family: var(--font-heading);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	white-space: nowrap;
}

.marquee-item::after {
	content: '·';
	margin-left: 2rem;
	color: var(--color-accent);
}

@keyframes marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
	background: var(--color-surface);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.service-card {
	background: #fff;
	padding: 2rem 1.75rem;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius);
	transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
	font-size: 2rem;
	display: block;
	margin-bottom: 1.25rem;
}

.service-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--color-text-dark);
}

.service-desc {
	font-size: 0.9rem;
	color: var(--color-text-dark-muted);
	margin: 0;
	line-height: 1.65;
}

/* ==========================================================================
   Projects
   ========================================================================== */

.projects {
	background: var(--color-bg);
}

.projects .section-eyebrow,
.projects .section-title {
	color: #fff;
}

.projects .section-title {
	color: #fff;
}

.projects .link-arrow {
	color: var(--color-accent);
}

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.project-card {
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-card);
	transition: transform var(--transition);
}

.project-card:hover {
	transform: translateY(-6px);
}

.project-image {
	position: relative;
	overflow: hidden;
}

.project-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
	transform: scale(1.05);
}

.project-category {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--color-accent);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 2px;
}

.project-info {
	padding: 1.5rem;
}

.project-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.35rem;
}

.project-location {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin: 0;
}

/* ==========================================================================
   Process
   ========================================================================== */

.process {
	background: var(--color-surface);
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.process-number {
	display: block;
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--color-accent);
	opacity: 0.35;
	line-height: 1;
	margin-bottom: 1rem;
}

.process-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--color-text-dark);
	margin-bottom: 0.75rem;
}

.process-desc {
	font-size: 0.9rem;
	color: var(--color-text-dark-muted);
	margin: 0;
	line-height: 1.65;
}

/* ==========================================================================
   Metrics
   ========================================================================== */

.metrics {
	background: var(--color-bg);
	padding: 4rem 0;
}

.metrics-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	text-align: center;
}

.metric-value {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #fff;
}

.metric-label {
	display: block;
	font-size: 0.85rem;
	color: var(--color-text-muted);
	margin-top: 0.35rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
	background: var(--color-surface);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.testimonial-card {
	background: #fff;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius);
	padding: 2.5rem;
	margin: 0;
}

.testimonial-stars {
	color: var(--color-accent);
	font-size: 1rem;
	letter-spacing: 0.1em;
	margin-bottom: 1.25rem;
}

.testimonial-quote {
	font-size: 1.05rem;
	line-height: 1.75;
	color: var(--color-text-dark);
	margin-bottom: 1.5rem;
	font-style: normal;
}

.testimonial-author cite {
	display: block;
	font-style: normal;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--color-text-dark);
}

.testimonial-author span {
	display: block;
	font-size: 0.85rem;
	color: var(--color-text-dark-muted);
	margin-top: 0.25rem;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
	background: var(--color-bg);
	text-align: center;
}

.cta-inner {
	max-width: 640px;
	margin: 0 auto;
}

.cta-section .section-eyebrow {
	color: var(--color-accent);
}

.cta-section .section-title {
	color: #fff;
}

.cta-section .section-text {
	color: var(--color-text-muted);
	margin: 0 auto 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: #080808;
	color: var(--color-text-muted);
	padding: 4rem 0 2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--color-border);
}

.footer-logo {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	display: inline-block;
	margin-bottom: 1rem;
}

.footer-tagline {
	font-size: 0.9rem;
	line-height: 1.7;
	max-width: 36ch;
}

.footer-nav h4,
.footer-contact h4 {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1.25rem;
}

.footer-menu li {
	margin-bottom: 0.6rem;
}

.footer-menu a,
.footer-contact a {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.footer-menu a:hover,
.footer-contact a:hover {
	color: #fff;
}

.footer-contact address {
	font-style: normal;
	font-size: 0.9rem;
	line-height: 1.8;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 2rem;
	font-size: 0.85rem;
}

.scroll-top {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	color: #fff;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--transition);
}

.scroll-top:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
}

/* ==========================================================================
   Elementor
   ========================================================================== */

.elementor-page-content {
	padding: 0;
}

.inspiro-elementor-page .site-main {
	padding-top: 0;
}

.inspiro-elementor-page:not(.elementor-template-canvas) .elementor-page-content {
	padding-top: var(--header-height);
}

.elementor-page-content .elementor {
	width: 100%;
}

.elementor-page-content .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--container-max);
}

/* ==========================================================================
   Blog / Pages
   ========================================================================== */

.page-header {
	background: var(--color-bg);
	padding: calc(var(--header-height) + 3rem) 0 3rem;
	text-align: center;
}

.page-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: -0.02em;
}

.page-title span {
	color: var(--color-accent);
}

.post-meta,
.archive-description {
	color: var(--color-text-muted);
	font-size: 0.9rem;
}

.content-area {
	padding: var(--section-padding) 0;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.post-card {
	background: #fff;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius);
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card-body {
	padding: 1.5rem;
}

.post-card-date {
	font-size: 0.8rem;
	color: var(--color-text-dark-muted);
}

.post-card-title {
	font-size: 1.2rem;
	margin: 0.5rem 0 0.75rem;
}

.post-card-title a:hover {
	color: var(--color-accent);
}

.post-card-excerpt {
	font-size: 0.9rem;
	color: var(--color-text-dark-muted);
	margin-bottom: 1rem;
}

.entry-content {
	max-width: 760px;
	margin: 0 auto;
	font-size: 1.05rem;
	line-height: 1.8;
}

.entry-content .featured-image {
	margin-bottom: 2rem;
	border-radius: var(--radius);
}

/* Pagination */
.navigation.pagination {
	margin-top: 3rem;
	text-align: center;
}

.nav-links {
	display: inline-flex;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	background: #fff;
	border: 1px solid var(--color-border-dark);
	border-radius: var(--radius);
	font-size: 0.9rem;
	font-weight: 600;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.services-grid,
	.process-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
	}

	.main-navigation {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(12, 12, 12, 0.98);
		padding: 2rem;
		transform: translateX(100%);
		transition: transform var(--transition);
	}

	.main-navigation.is-open {
		transform: translateX(0);
	}

	.main-navigation .nav-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.main-navigation .nav-menu a {
		font-size: 1.25rem;
	}

	.stats-grid,
	.metrics-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-badge {
		right: 1rem;
		bottom: -1rem;
	}

	.services-grid,
	.process-grid,
	.projects-grid,
	.testimonials-grid {
		grid-template-columns: 1fr;
	}

	.section-header--row {
		flex-direction: column;
		align-items: flex-start;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .btn {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.stats-grid,
	.metrics-grid {
		grid-template-columns: 1fr;
	}
}
