/*
Theme Name: Nexto Construções
Theme URI: https://gruponexto.com.br/
Author: Nexto Construções e Serviços Ltda.
Description: Tema moderno para construção, reformas, drywall, gerenciamento de obras, portfólio e blog.
Version: 1.5.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: nexto-construcoes
*/

:root {
	--nexto-navy: #07386f;
	--nexto-navy-deep: #05274d;
	--nexto-blue: #438aaf;
	--nexto-blue-soft: #a8c7d6;
	--nexto-orange: #ff7a0a;
	--nexto-orange-light: #ffb184;
	--nexto-ink: #101820;
	--nexto-slate: #52606c;
	--nexto-mist: #eef3f6;
	--nexto-paper: #f7f8f8;
	--nexto-white: #fff;
	--nexto-line: rgba(7, 56, 111, .14);
	--nexto-radius: 6px;
	--nexto-shadow: 0 24px 70px rgba(5, 39, 77, .13);
	--nexto-container: 1220px;
	--nexto-header: 84px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--nexto-ink);
	background: var(--nexto-white);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, p { margin-top: 0; }

h1,
h2,
h3,
h4 {
	line-height: 1.08;
	letter-spacing: -.035em;
}

h1 { font-size: clamp(3rem, 6.1vw, 6.3rem); }
h2 { font-size: clamp(2.25rem, 4.2vw, 4.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

::selection { color: #fff; background: var(--nexto-navy); }

.container {
	width: min(calc(100% - 48px), var(--nexto-container));
	margin-inline: auto;
}

.section { padding: clamp(88px, 10vw, 150px) 0; }

.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;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: var(--nexto-navy);
	box-shadow: var(--nexto-shadow);
}

.eyebrow {
	margin-bottom: 24px;
	color: var(--nexto-orange-light);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .18em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow--dark { color: var(--nexto-navy); }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-height: 56px;
	padding: 15px 24px;
	border: 0;
	border-radius: 3px;
	font-size: .84rem;
	font-weight: 800;
	letter-spacing: .03em;
	line-height: 1.2;
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button svg,
.text-link svg,
.card-link svg,
.work-meta > svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: transform .25s ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button:hover svg,
.text-link:hover svg,
.card-link:hover svg { transform: translateX(4px); }

.button--accent {
	color: #fff;
	background: var(--nexto-orange);
	box-shadow: 0 12px 32px rgba(255, 122, 10, .27);
}

.button--accent:hover { background: #f26b00; }

.button--dark {
	color: #fff;
	background: var(--nexto-navy);
}

.button--small { min-height: 48px; padding: 12px 18px; }
.button--full { width: 100%; }

.text-link,
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--nexto-navy);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.text-link--light { color: #fff; }

/* Cabeçalho */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: var(--nexto-header);
	background: rgba(255, 255, 255, .97);
	border-bottom: 1px solid transparent;
	transition: height .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.admin-bar .site-header { top: 32px; }

.site-header.is-scrolled {
	height: 72px;
	border-color: var(--nexto-line);
	box-shadow: 0 12px 38px rgba(5, 39, 77, .08);
}

.header-inner {
	display: flex;
	align-items: center;
	height: 100%;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 176px; max-height: 52px; object-fit: contain; object-position: left center; }
.brand .custom-logo { width: auto; max-height: 52px; }
.brand--light { width: 210px; }
.brand-logo--light { width: 205px; max-height: 60px; object-fit: contain; object-position: left center; }

.primary-navigation { margin-left: auto; }
.primary-navigation .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a {
	position: relative;
	display: block;
	padding: 12px 0;
	color: #243541;
	font-size: .92rem;
	font-weight: 750;
	letter-spacing: .035em;
}

.primary-navigation a::after {
	position: absolute;
	right: 0;
	bottom: 6px;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--nexto-orange), var(--nexto-blue));
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .25s ease;
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 44px;
	margin-left: 28px;
	padding: 10px 16px;
	color: #fff;
	background: var(--nexto-navy);
	border-radius: 3px;
	font-size: .72rem;
	font-weight: 800;
}

.header-cta svg { width: 18px; height: 18px; fill: currentColor; }

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-left: auto;
	padding: 0;
	color: var(--nexto-navy);
	background: transparent;
	border: 1px solid var(--nexto-line);
}

.menu-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.site-main { min-height: 65vh; padding-top: var(--nexto-header); }
.home .site-main { padding-top: 0; }

/* Capa */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 900px;
	padding: calc(var(--nexto-header) + 90px) 0 0;
	color: #fff;
	background: var(--nexto-navy-deep);
	overflow: hidden;
}

.hero-media,
.hero-shade { position: absolute; inset: 0; }

.hero-media {
	background-image: url("assets/images/hero-nexto.jpg");
	background-position: center center;
	background-size: cover;
	transform: scale(1.015);
}

.hero-shade {
	background:
		linear-gradient(90deg, rgba(3, 29, 56, .95) 0%, rgba(3, 29, 56, .80) 41%, rgba(3, 29, 56, .24) 76%, rgba(3, 29, 56, .12) 100%),
		linear-gradient(0deg, rgba(3, 29, 56, .78) 0%, transparent 35%);
}

.hero-inner { position: relative; z-index: 2; padding-bottom: 205px; }
.hero-copy { width: min(760px, 74%); }
.hero h1 { max-width: 750px; margin-bottom: 28px; color: #fff; }
.hero-lead { max-width: 680px; margin-bottom: 38px; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

.hero-proof {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: rgba(5, 39, 77, .87);
	border-top: 1px solid rgba(255,255,255,.16);
	backdrop-filter: blur(16px);
}

.hero-proof > div {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 116px;
	padding: 28px 34px;
	border-right: 1px solid rgba(255,255,255,.14);
}

.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong { color: var(--nexto-orange-light); font-size: .7rem; letter-spacing: .14em; }
.hero-proof span { color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 650; line-height: 1.4; }

/* Introdução e valores */
.trust-section { background: var(--nexto-paper); }
.split-intro { display: grid; grid-template-columns: 1.15fr .75fr; gap: clamp(60px, 10vw, 145px); align-items: end; }
.display-title { max-width: 760px; margin-bottom: 0; color: var(--nexto-navy-deep); }
.intro-copy { padding-bottom: 8px; }
.intro-copy p { margin-bottom: 34px; color: var(--nexto-slate); font-size: 1.05rem; }

.value-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(70px, 9vw, 125px);
	border-top: 1px solid var(--nexto-line);
	border-left: 1px solid var(--nexto-line);
}

.value-card {
	min-height: 300px;
	padding: 38px 32px;
	background: rgba(255,255,255,.42);
	border-right: 1px solid var(--nexto-line);
	border-bottom: 1px solid var(--nexto-line);
}

.value-card > span { display: block; margin-bottom: 80px; color: var(--nexto-orange); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.value-card h3 { margin-bottom: 16px; color: var(--nexto-navy); }
.value-card p { margin-bottom: 0; color: var(--nexto-slate); font-size: .92rem; }

/* Serviços */
.section--ink {
	position: relative;
	color: #fff;
	background: var(--nexto-navy-deep);
	overflow: hidden;
}

.section--ink::before {
	position: absolute;
	top: -320px;
	right: -200px;
	width: 760px;
	height: 760px;
	background: radial-gradient(circle, rgba(67,138,175,.22), transparent 65%);
	content: "";
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 62px;
}

.section-heading > div { max-width: 760px; }
.section-heading h2 { margin-bottom: 0; color: var(--nexto-navy-deep); }
.section-heading > p { max-width: 390px; margin-bottom: 5px; color: var(--nexto-slate); }
.section-heading--light { position: relative; }
.section-heading--light h2 { color: #fff; }
.section-heading--light > p { color: rgba(255,255,255,.65); }

.service-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 430px;
	padding: 36px;
	border-right: 1px solid rgba(255,255,255,.13);
	border-bottom: 1px solid rgba(255,255,255,.13);
	transition: background .28s ease, transform .28s ease;
}

.service-card:hover { z-index: 2; background: var(--nexto-navy); transform: translateY(-4px); }
.service-icon { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 56px; color: var(--nexto-orange-light); border: 1px solid rgba(255,255,255,.15); }
.service-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.service-number { position: absolute; top: 39px; right: 36px; color: rgba(255,255,255,.35); font-size: .66rem; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { max-width: 270px; margin-bottom: 18px; color: #fff; }
.service-card p { color: rgba(255,255,255,.63); font-size: .92rem; }
.service-card .card-link { margin-top: auto; color: #fff; }

/* Presença local */
.local-seo-section { background: var(--nexto-paper); }
.local-seo-grid {
	display: grid;
	grid-template-columns: 1fr .9fr;
	gap: clamp(55px, 9vw, 130px);
	align-items: center;
}
.local-seo-grid h2 { max-width: 720px; margin-bottom: 0; color: var(--nexto-navy-deep); }
.local-seo-copy > p { margin-bottom: 32px; color: var(--nexto-slate); font-size: 1.04rem; }
.local-seo-links { display: flex; flex-wrap: wrap; gap: 10px; }
.local-seo-links a {
	padding: 10px 14px;
	color: var(--nexto-navy);
	background: #fff;
	border: 1px solid var(--nexto-line);
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 750;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.local-seo-links a:hover,
.local-seo-links a:focus-visible {
	color: #fff;
	background: var(--nexto-navy);
	border-color: var(--nexto-navy);
}

/* Processo */
.process-section { background: #fff; }
.process-list { border-top: 1px solid var(--nexto-line); }
.process-item {
	display: grid;
	grid-template-columns: 170px 1fr;
	padding: 45px 0;
	border-bottom: 1px solid var(--nexto-line);
}
.process-item > span { color: var(--nexto-orange); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.process-item > div { display: grid; grid-template-columns: .7fr 1fr; gap: 60px; }
.process-item h3 { margin-bottom: 0; color: var(--nexto-navy); font-size: clamp(1.55rem, 2.7vw, 2.45rem); }
.process-item p { max-width: 550px; margin-bottom: 0; color: var(--nexto-slate); }

/* Portfólio */
.portfolio-section { background: var(--nexto-mist); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { min-width: 0; }
.work-image { position: relative; aspect-ratio: 4/3; background: var(--nexto-navy); overflow: hidden; }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.work-card:hover .work-image img { transform: scale(1.045); }
.image-placeholder,
.post-image-fallback {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(255,122,10,.85), transparent 40%),
		linear-gradient(315deg, var(--nexto-blue), var(--nexto-navy-deep));
}

.work-meta { display: flex; justify-content: space-between; gap: 20px; padding: 24px 4px; }
.work-meta span { color: var(--nexto-slate); font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.work-meta h3 { margin: 8px 0 0; color: var(--nexto-navy-deep); }
.work-meta > svg { flex: 0 0 auto; margin-top: 9px; color: var(--nexto-navy); }

.portfolio-grid--empty { display: block; }
.portfolio-empty { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 460px; background: #fff; box-shadow: var(--nexto-shadow); }
.portfolio-empty > div:last-child { align-self: center; padding: 60px; }
.portfolio-empty h3 { max-width: 490px; color: var(--nexto-navy-deep); font-size: clamp(1.8rem, 3vw, 3rem); }
.portfolio-empty p:not(.eyebrow) { max-width: 510px; margin-bottom: 30px; color: var(--nexto-slate); }
.portfolio-empty-art { position: relative; min-height: 460px; background: var(--nexto-navy-deep); overflow: hidden; }
.portfolio-empty-art::before,
.portfolio-empty-art::after,
.portfolio-empty-art span { position: absolute; border: 2px solid rgba(255,255,255,.18); content: ""; transform: rotate(45deg); }
.portfolio-empty-art::before { top: -80px; left: -60px; width: 450px; height: 450px; border-color: var(--nexto-orange); }
.portfolio-empty-art::after { right: -70px; bottom: -110px; width: 390px; height: 390px; border-color: var(--nexto-blue); }
.portfolio-empty-art span:nth-child(1) { top: 90px; left: 160px; width: 210px; height: 210px; }
.portfolio-empty-art span:nth-child(2) { top: 180px; left: 250px; width: 110px; height: 110px; border-color: var(--nexto-orange-light); }
.portfolio-empty-art span:nth-child(3) { top: -50%; left: 0; width: 100%; height: 180%; border: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent); transform: rotate(20deg); }

/* Blog */
.blog-section { background: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--nexto-line); transition: box-shadow .28s ease, transform .28s ease; }
.post-card:hover { box-shadow: var(--nexto-shadow); transform: translateY(-5px); }
.post-card-image { position: relative; display: block; aspect-ratio: 16/10; background: var(--nexto-navy); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-image-fallback { display: flex; align-items: flex-end; padding: 25px; }
.post-image-fallback::before { position: absolute; top: 38px; right: 40px; width: 110px; height: 110px; border: 2px solid rgba(255,255,255,.28); content: ""; transform: rotate(45deg); }
.post-image-fallback span { position: relative; z-index: 2; color: rgba(255,255,255,.84); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 27px; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 22px; color: var(--nexto-slate); font-size: .65rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.post-card h3 { margin-bottom: 16px; color: var(--nexto-navy-deep); }
.post-card h3 a:hover { color: var(--nexto-orange); }
.post-card p { color: var(--nexto-slate); font-size: .91rem; }
.post-card .card-link { margin-top: auto; padding-top: 15px; }

/* Formulário de orçamento */
.quote-section { position: relative; color: #fff; background: var(--nexto-navy); overflow: hidden; }
.quote-section::after { position: absolute; right: -190px; bottom: -370px; width: 780px; height: 780px; border: 2px solid rgba(255,255,255,.08); content: ""; transform: rotate(45deg); }
.quote-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.quote-copy h2 { max-width: 590px; color: #fff; }
.quote-copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.7); }
.quote-contact { display: flex; align-items: center; gap: 16px; margin-top: 42px; }
.quote-contact > span { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #fff; background: var(--nexto-orange); border-radius: 50%; }
.quote-contact svg { width: 24px; height: 24px; fill: currentColor; }
.quote-contact small { display: block; color: rgba(255,255,255,.55); font-size: .7rem; text-transform: uppercase; }
.quote-contact strong { display: block; color: #fff; font-size: 1.05rem; }

.quote-form { padding: clamp(30px, 4vw, 50px); color: var(--nexto-ink); background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form label { display: block; margin-bottom: 20px; color: var(--nexto-navy-deep); font-size: .72rem; font-weight: 800; letter-spacing: .035em; }
.quote-form input,
.quote-form select,
.quote-form textarea {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 13px 2px;
	color: var(--nexto-ink);
	background: transparent;
	border: 0;
	border-bottom: 1px solid #b9c7d0;
	border-radius: 0;
	font-size: .96rem;
	font-weight: 450;
	outline: 0;
}
.quote-form textarea { min-height: 105px; resize: vertical; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { border-color: var(--nexto-orange); box-shadow: 0 1px 0 var(--nexto-orange); }
.form-note { margin: 14px 0 0; color: var(--nexto-slate); font-size: .69rem; text-align: center; }

/* Páginas internas e listagens */
.page-hero { padding: clamp(95px, 11vw, 150px) 0 82px; color: #fff; background: var(--nexto-navy-deep); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { max-width: 950px; margin-bottom: 18px; font-size: clamp(2.8rem, 6vw, 5.8rem); }
.page-hero p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.content-wrap { padding: clamp(70px, 9vw, 120px) 0; }
.content-narrow { width: min(calc(100% - 48px), 820px); margin-inline: auto; }
.entry-content { color: #334653; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 2em; color: var(--nexto-navy-deep); }
.entry-content h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.entry-content h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.entry-content p,
.entry-content li { line-height: 1.8; }
.entry-content a { color: var(--nexto-navy); text-decoration: underline; text-decoration-color: var(--nexto-orange); text-underline-offset: 3px; }
.entry-content blockquote { margin: 42px 0; padding: 28px 34px; color: var(--nexto-navy-deep); background: var(--nexto-mist); border-left: 4px solid var(--nexto-orange); }
.entry-content img { border-radius: var(--nexto-radius); }
.entry-content .wp-block-image.alignwide { width: min(1100px, calc(100vw - 48px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }

.listing-section { padding: clamp(70px, 9vw, 120px) 0; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pagination { margin-top: 60px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; color: var(--nexto-navy); border: 1px solid var(--nexto-line); }
.page-numbers.current,
.page-numbers:hover { color: #fff; background: var(--nexto-navy); }

.article-header { padding: clamp(80px, 10vw, 135px) 0 70px; background: var(--nexto-mist); }
.article-header .post-meta { justify-content: flex-start; margin-bottom: 24px; color: var(--nexto-navy); }
.article-header h1 { max-width: 980px; margin-bottom: 24px; color: var(--nexto-navy-deep); font-size: clamp(2.5rem, 5.5vw, 5rem); }
.article-header .article-excerpt { max-width: 760px; color: var(--nexto-slate); font-size: 1.1rem; }
.article-cover { width: min(calc(100% - 48px), 1120px); margin: -20px auto 70px; }
.article-cover img { width: 100%; max-height: 680px; object-fit: cover; }
.article-content { padding-bottom: 100px; }
.article-cta { margin-top: 70px; padding: 38px; color: #fff; background: var(--nexto-navy); }
.article-cta h2 { margin-top: 0; color: #fff; }
.article-cta p { color: rgba(255,255,255,.7); }

.nexto-work-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 34px;
}
.nexto-work-gallery figure { margin: 0; }
.nexto-work-gallery a { display: block; background: var(--nexto-mist); overflow: hidden; }
.nexto-work-gallery img { width: 100%; height: auto; transition: transform .4s ease; }
.nexto-work-gallery a:hover img { transform: scale(1.025); }
.nexto-work-gallery figcaption { padding: 10px 2px 20px; color: var(--nexto-slate); font-size: .76rem; }

.empty-state { max-width: 720px; padding: 72px; background: var(--nexto-mist); }
.empty-state h2 { color: var(--nexto-navy-deep); }
.empty-state p:not(.eyebrow) { color: var(--nexto-slate); }

.contact-page-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.contact-panel { padding: 38px; color: #fff; background: var(--nexto-navy); }
.contact-panel h2 { color: #fff; font-size: 2rem; }
.contact-panel p { color: rgba(255,255,255,.7); }
.contact-panel .contact-list { margin-top: 30px; }
.quote-form--bordered { border: 1px solid var(--nexto-line); box-shadow: var(--nexto-shadow); }
.page-hero-actions { margin-top: 34px; }

/* Rodapé */
.site-footer { padding: 90px 0 0; color: rgba(255,255,255,.7); background: #031f3e; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr 1fr; gap: 90px; padding-bottom: 70px; }
.footer-brand > p { max-width: 390px; margin: 28px 0; }
.site-footer h2 { margin-bottom: 25px; color: #fff; font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; }
.site-footer .menu { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 30px; }
.site-footer .menu li { margin-bottom: 10px; break-inside: avoid; }
.site-footer a:hover { color: #fff; }
.social-link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .82rem; font-weight: 750; }
.social-link svg,
.contact-list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.social-link svg .fill { fill: currentColor; stroke: none; }
.contact-list { margin: 0 0 28px; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; }
.contact-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--nexto-orange-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: .7rem; }
.footer-bottom p { margin: 0; }

.floating-whatsapp {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	color: #fff;
	background: #20b95a;
	border-radius: 50%;
	box-shadow: 0 14px 35px rgba(0,0,0,.22);
	transition: transform .25s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }
.floating-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	color: #fff;
	background: var(--nexto-navy);
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 50%;
	box-shadow: 0 14px 35px rgba(0,0,0,.18);
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, background .25s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover,
.back-to-top:focus-visible { background: var(--nexto-orange); transform: translateY(-3px); }
.back-to-top svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
	.primary-navigation .menu { gap: 20px; }
	.header-cta { margin-left: 18px; }
	.header-cta span { display: none; }
	.header-cta { width: 44px; padding: 0; justify-content: center; }
	.value-grid { grid-template-columns: repeat(2, 1fr); }
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { gap: 55px; }
}

@media (max-width: 860px) {
	:root { --nexto-header: 72px; }
	.admin-bar .site-header { top: 46px; }
	.container { width: min(calc(100% - 36px), var(--nexto-container)); }
	.brand-logo { width: 154px; }
	.menu-toggle { display: flex; }
	.header-cta { display: none; }
	.primary-navigation {
		position: fixed;
		top: var(--nexto-header);
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding: 35px;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
	}
	.admin-bar .primary-navigation { top: calc(var(--nexto-header) + 46px); }
	.primary-navigation.is-open { opacity: 1; visibility: visible; transform: none; }
	.primary-navigation .menu { display: block; width: min(100%, 520px); text-align: center; }
	.primary-navigation .menu li { border-bottom: 1px solid var(--nexto-line); }
	.primary-navigation a { padding: 18px 0; color: var(--nexto-navy-deep); font-size: 1.1rem; }
	.primary-navigation a::after { display: none; }

	.hero { min-height: 820px; }
	.hero-media { background-position: 58% center; }
	.hero-shade { background: linear-gradient(90deg, rgba(3,29,56,.96), rgba(3,29,56,.67)); }
	.hero-inner { padding-bottom: 180px; }
	.hero-copy { width: min(100%, 700px); }
	.hero h1 { font-size: clamp(3rem, 10vw, 5.3rem); }
	.hero-proof > div { padding: 22px; }
	.hero-proof strong { display: none; }

	.split-intro,
	.local-seo-grid,
	.quote-grid,
	.portfolio-empty,
	.contact-page-grid { grid-template-columns: 1fr; }
	.split-intro { gap: 44px; }
	.value-card > span { margin-bottom: 45px; }
	.section-heading { display: block; }
	.section-heading > p,
	.section-heading > .text-link { margin-top: 26px; }
	.process-item { grid-template-columns: 90px 1fr; }
	.process-item > div { grid-template-columns: 1fr; gap: 12px; }
	.portfolio-grid,
	.post-grid,
	.listing-grid { grid-template-columns: repeat(2, 1fr); }
	.portfolio-empty-art { min-height: 330px; }
	.quote-copy { max-width: 680px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }
	.container,
	.content-narrow,
	.article-cover { width: min(calc(100% - 28px), var(--nexto-container)); }
	.section { padding: 78px 0; }
	.hero { min-height: 790px; padding-top: 118px; }
	.hero-media { background-position: 65% center; }
	.hero-inner { align-self: stretch; padding-bottom: 222px; }
	.hero h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
	.hero-lead { font-size: .98rem; }
	.hero-actions { display: grid; justify-items: start; gap: 22px; }
	.hero-proof { grid-template-columns: 1fr; width: 100%; }
	.hero-proof > div { min-height: 58px; padding: 12px 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
	.hero-proof span { font-size: .78rem; }
	.hero-proof br { display: none; }

	.value-grid,
	.service-grid,
	.portfolio-grid,
	.post-grid,
	.listing-grid { grid-template-columns: 1fr; }
	.value-card { min-height: 250px; }
	.service-card { min-height: 390px; padding: 30px; }
	.process-item { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
	.portfolio-empty > div:last-child { padding: 38px 26px; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.quote-form { padding: 28px 20px; }
	.footer-grid { grid-template-columns: 1fr; gap: 45px; }
	.footer-brand { grid-column: auto; }
	.footer-bottom { display: block; }
	.footer-bottom p + p { margin-top: 8px; }
	.site-footer .menu { columns: 1; }
	.empty-state { padding: 45px 26px; }
	.nexto-work-gallery { grid-template-columns: 1fr; }
	.floating-whatsapp { left: 16px; bottom: 16px; width: 54px; height: 54px; }
	.back-to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
	.reveal { opacity: 1; transform: none; }
}


/* Menu desktop com leitura mais confortável */
@media (min-width: 1025px) {
	.primary-navigation a { font-size: 1.05rem; }
}
