/* =========================================================
   Zampieri Consulting — folha de estilo principal
   Paleta e tipografia inspiradas no layout de referência.
   ========================================================= */

:root {
	--z-brand: #2f67b0;
	--z-brand-dark: #133b6f;
	--z-brand-soft: #eef5ff;
	--z-accent: #e66eb2;
	--z-cyan: #109bd4;
	--z-teal: #24b6bf;
	--z-anthra: #373d5b;
	--z-ink: #222222;
	--z-muted: #5d6474;
	--z-line: #d9d9d9;
	--z-grey: #f6f6f6;
	--z-white: #ffffff;

	--z-radius: 14px;
	--z-radius-lg: 24px;
	--z-shadow: 0 18px 40px -24px rgba(19, 59, 111, .45);
	--z-shadow-lg: 0 32px 70px -34px rgba(19, 59, 111, .55);

	--z-container: 1200px;
	--z-gutter: 24px;
	--z-section-y: clamp(56px, 7vw, 104px);

	--z-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ------------------------------------------------ Base */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--z-font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--z-ink);
	background: var(--z-white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--z-brand);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--z-brand-dark);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--z-font);
	color: var(--z-brand-dark);
	line-height: 1.18;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.01em;
}

p {
	margin: 0 0 1.1em;
}

ul, ol {
	padding-left: 1.2em;
}

:focus-visible {
	outline: 3px solid var(--z-cyan);
	outline-offset: 2px;
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 20px;
	background: var(--z-brand-dark);
	color: #fff;
	border-radius: 8px;
}

.z-container {
	width: 100%;
	max-width: var(--z-container);
	margin: 0 auto;
	padding: 0 var(--z-gutter);
}

.z-icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* ------------------------------------------------ Botões */

.z-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.25;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
	text-decoration: none;
}

.z-btn:hover,
.z-btn:focus {
	text-decoration: none;
	transform: translateY(-1px);
}

.z-btn .z-icon {
	width: 18px;
	height: 18px;
}

.z-btn--lg {
	padding: 16px 32px;
	font-size: 17px;
}

.z-btn--primary {
	background: var(--z-brand);
	border-color: var(--z-brand);
	color: #fff;
	box-shadow: var(--z-shadow);
}

.z-btn--primary:hover,
.z-btn--primary:focus {
	background: var(--z-brand-dark);
	border-color: var(--z-brand-dark);
	color: #fff;
}

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

.z-btn--accent:hover,
.z-btn--accent:focus {
	background: #d4569e;
	border-color: #d4569e;
	color: #fff;
}

.z-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--z-brand-dark);
}

.z-btn--light:hover,
.z-btn--light:focus {
	background: var(--z-brand-soft);
	border-color: var(--z-brand-soft);
	color: var(--z-brand-dark);
}

.z-btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: var(--z-brand);
}

.z-btn--ghost:hover,
.z-btn--ghost:focus {
	background: var(--z-brand);
	border-color: var(--z-brand);
	color: #fff;
}

.z-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--z-brand);
}

.z-link-arrow .z-icon {
	width: 18px;
	height: 18px;
	transition: transform .16s ease;
}

.z-link-arrow:hover .z-icon,
.z-link-arrow:focus .z-icon {
	transform: translateX(4px);
}

/* ------------------------------------------------ Barra superior */

.z-topbar {
	background: var(--z-brand-dark);
	color: rgba(255, 255, 255, .88);
	font-size: 14px;
}

.z-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	padding-top: 6px;
	padding-bottom: 6px;
}

.z-topbar__text {
	margin: 0;
}

.z-topbar__phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
}

.z-topbar__phone .z-icon {
	width: 17px;
	height: 17px;
}

/* ------------------------------------------------ Cabeçalho */

.z-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--z-line);
}

.z-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.z-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-decoration: none;
}

.z-brand__name {
	font-size: 22px;
	font-weight: 900;
	color: var(--z-brand-dark);
	letter-spacing: -.02em;
}

.z-brand__tagline {
	font-size: 12px;
	color: var(--z-muted);
	font-weight: 400;
}

.custom-logo {
	max-height: 48px;
	width: auto;
}

.z-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid var(--z-line);
	border-radius: 10px;
	cursor: pointer;
}

.z-menu-toggle__bars {
	display: grid;
	gap: 5px;
	width: 22px;
}

.z-menu-toggle__bars span {
	display: block;
	height: 2px;
	background: var(--z-brand-dark);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.z-menu-toggle[aria-expanded="true"] .z-menu-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.z-menu-toggle[aria-expanded="true"] .z-menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.z-menu-toggle[aria-expanded="true"] .z-menu-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.z-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: auto;
}

.z-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.z-menu > li {
	position: relative;
}

.z-menu > li > a {
	display: block;
	padding: 10px 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--z-anthra);
	border-radius: 8px;
}

.z-menu > li > a:hover,
.z-menu > li > a:focus,
.z-menu > li.current-menu-item > a {
	color: var(--z-brand);
	background: var(--z-brand-soft);
	text-decoration: none;
}

.z-menu .menu-item-has-children > a {
	padding-right: 30px;
}

.z-submenu-toggle {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	color: var(--z-anthra);
	cursor: pointer;
	padding: 0;
}

.z-submenu-toggle svg {
	width: 16px;
	height: 16px;
	transition: transform .2s ease;
}

.z-submenu-toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.z-submenu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 268px;
	list-style: none;
	margin: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius);
	box-shadow: var(--z-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 20;
}

.z-menu > li:hover > .z-submenu,
.z-menu > li:focus-within > .z-submenu,
.z-menu > li.is-open > .z-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.z-submenu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 15px;
	color: var(--z-anthra);
}

.z-submenu a:hover,
.z-submenu a:focus {
	background: var(--z-brand-soft);
	color: var(--z-brand);
	text-decoration: none;
}

/* ------------------------------------------------ Hero */

.z-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 8vw, 112px) 0 clamp(56px, 8vw, 104px);
	background: linear-gradient(180deg, var(--z-brand-soft) 0%, #ffffff 78%);
}

.z-hero__glow {
	position: absolute;
	inset: -30% -20% auto auto;
	width: 720px;
	height: 720px;
	background: radial-gradient(circle at 30% 30%, rgba(47, 103, 176, .22), transparent 62%),
	            radial-gradient(circle at 70% 60%, rgba(230, 110, 178, .18), transparent 60%);
	filter: blur(10px);
	pointer-events: none;
}

.z-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.z-hero__inner--split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	max-width: var(--z-container);
}

.z-hero__title {
	font-size: clamp(38px, 5.4vw, 66px);
	font-weight: 900;
	margin-bottom: 14px;
	color: var(--z-brand-dark);
}

.z-hero__subtitle {
	font-size: clamp(19px, 2.1vw, 25px);
	font-weight: 500;
	color: var(--z-brand);
	margin-bottom: 22px;
}

.z-hero__text {
	font-size: 17.5px;
	color: var(--z-muted);
	max-width: 68ch;
}

.z-hero__text strong {
	color: var(--z-ink);
}

.z-hero__quote {
	position: relative;
	margin: 28px 0;
	padding: 18px 22px 18px 26px;
	background: #fff;
	border-radius: 0 var(--z-radius) var(--z-radius) 0;
	box-shadow: var(--z-shadow);
	font-size: 18px;
	font-weight: 500;
	font-style: italic;
	color: var(--z-brand-dark);
	max-width: 62ch;
}

.z-hero__quote-mark {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	border-radius: 5px;
	background: linear-gradient(180deg, var(--z-brand), var(--z-accent));
}

.z-hero__actions {
	margin: 30px 0 0;
}

.z-hero-media {
	position: relative;
}

/* ------------------------------------------------ Seções */

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

.z-section--tinted {
	background: var(--z-brand-soft);
}

.z-section--dark {
	background: linear-gradient(160deg, var(--z-brand-dark) 0%, #0f2f57 100%);
	color: rgba(255, 255, 255, .86);
}

.z-section--dark h2,
.z-section--dark h3 {
	color: #fff;
}

.z-section-head {
	max-width: 820px;
	margin: 0 auto clamp(36px, 4vw, 56px);
}

.z-section-head--center {
	text-align: center;
}

.z-section-head--left {
	margin-left: 0;
	text-align: left;
}

.z-section-title {
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 12px;
}

.z-section-subtitle {
	font-size: 18px;
	color: var(--z-muted);
	margin: 0;
}

.z-section--dark .z-section-subtitle {
	color: rgba(255, 255, 255, .78);
}

.z-section-subtitle--left {
	text-align: left;
}

.z-eyebrow {
	text-transform: uppercase;
	letter-spacing: .12em;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--z-accent);
	margin-bottom: 10px;
}

.z-prose-text {
	color: var(--z-muted);
	font-size: 17px;
}

/* ------------------------------------------------ Jornada */

.z-journey {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: journey;
}

.z-journey__item {
	display: flex;
}

.z-journey__card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 30px 26px 26px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
	overflow: hidden;
}

.z-journey__card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, var(--z-brand), var(--z-cyan));
}

.z-journey__item--3 .z-journey__card::before {
	background: linear-gradient(90deg, var(--z-accent), #f0a3cd);
}

.z-journey__item--4 .z-journey__card::before {
	background: linear-gradient(90deg, var(--z-teal), var(--z-cyan));
}

.z-journey__step {
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .14em;
	color: var(--z-line);
}

.z-journey__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 12px 0 16px;
	border-radius: 14px;
	background: var(--z-brand-soft);
	color: var(--z-brand);
}

.z-journey__item--3 .z-journey__icon {
	background: #fdeef6;
	color: var(--z-accent);
}

.z-journey__item--4 .z-journey__icon {
	background: #e6f7f8;
	color: var(--z-teal);
}

.z-journey__icon .z-icon {
	width: 26px;
	height: 26px;
}

.z-journey__title {
	font-size: 19px;
	margin-bottom: 10px;
}

.z-journey__text {
	color: var(--z-muted);
	font-size: 15.5px;
	flex: 1;
}

.z-journey__quote {
	margin: 14px 0 0;
	padding-top: 14px;
	border-top: 1px dashed var(--z-line);
	font-style: italic;
	font-weight: 500;
	font-size: 15px;
	color: var(--z-brand);
}

.z-journey__item--3 .z-journey__quote {
	color: var(--z-accent);
}

.z-journey__item--4 .z-journey__quote {
	color: var(--z-teal);
}

/* ------------------------------------------------ Texto + mídia */

.z-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.z-split--reverse .z-split__text {
	order: 2;
}

.z-split__image {
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow-lg);
}

.z-split .z-section-title {
	text-align: left;
}

/* Painel decorativo usado quando não há imagem */

.z-dashboard {
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow-lg);
	overflow: hidden;
}

.z-dashboard__bar {
	display: flex;
	gap: 7px;
	padding: 14px 18px;
	background: var(--z-brand-soft);
	border-bottom: 1px solid var(--z-line);
}

.z-dashboard__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--z-line);
}

.z-dashboard__bar span:first-child {
	background: var(--z-accent);
}

.z-dashboard__bar span:nth-child(2) {
	background: var(--z-cyan);
}

.z-dashboard__body {
	padding: 24px;
}

.z-dashboard__kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 24px;
}

.z-dashboard__kpi {
	padding: 14px;
	border-radius: 12px;
	background: var(--z-grey);
	text-align: center;
}

.z-dashboard__kpi-value {
	display: block;
	font-size: 22px;
	font-weight: 900;
	color: var(--z-brand-dark);
}

.z-dashboard__kpi-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--z-muted);
}

.z-dashboard__chart {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 150px;
}

.z-dashboard__chart span {
	flex: 1;
	border-radius: 6px 6px 0 0;
	background: linear-gradient(180deg, var(--z-brand), var(--z-cyan));
	opacity: .85;
}

.z-dashboard__chart span:nth-child(even) {
	background: linear-gradient(180deg, var(--z-accent), #f3b3d6);
}

/* ------------------------------------------------ Perguntas */

.z-questions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.z-questions__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius);
}

.z-questions__icon {
	color: var(--z-brand);
	display: flex;
}

.z-questions__text {
	font-weight: 500;
	color: var(--z-anthra);
}

.z-questions__note {
	max-width: 900px;
	margin: 0 auto;
	padding: 22px 26px;
	border-left: 5px solid var(--z-accent);
	background: #fff;
	border-radius: 0 var(--z-radius) var(--z-radius) 0;
	color: var(--z-muted);
	box-shadow: var(--z-shadow);
}

.z-questions__note p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------ Números e depoimentos */

.z-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: clamp(36px, 4vw, 56px);
}

.z-stat {
	text-align: center;
	padding: 26px 18px;
	border-radius: var(--z-radius-lg);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
}

.z-stat__value {
	display: block;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 900;
	color: #fff;
	line-height: 1.1;
}

.z-stat__label {
	display: block;
	margin-top: 8px;
	font-size: 12.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
}

.z-section:not(.z-section--dark) .z-stat {
	background: var(--z-brand-soft);
	border-color: var(--z-line);
}

.z-section:not(.z-section--dark) .z-stat__value {
	color: var(--z-brand-dark);
}

.z-section:not(.z-section--dark) .z-stat__label {
	color: var(--z-muted);
}

.z-testimonials {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.z-testimonial {
	position: relative;
	margin: 0;
	padding: 30px 28px;
	border-radius: var(--z-radius-lg);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
}

.z-section:not(.z-section--dark) .z-testimonial {
	background: #fff;
	border-color: var(--z-line);
	box-shadow: var(--z-shadow);
}

.z-testimonial__mark {
	display: block;
	color: var(--z-accent);
	margin-bottom: 12px;
}

.z-testimonial__mark .z-icon {
	width: 30px;
	height: 30px;
}

.z-testimonial__quote {
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.6;
	font-style: italic;
}

.z-testimonial__author {
	display: flex;
	align-items: center;
	gap: 14px;
}

.z-testimonial__avatar {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}

.z-testimonial__avatar--initial {
	display: grid;
	place-items: center;
	background: var(--z-brand);
	color: #fff;
	font-weight: 900;
	font-size: 21px;
}

.z-testimonial__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.z-testimonial__name {
	font-weight: 700;
	color: #fff;
}

.z-testimonial__role {
	font-size: 14px;
	opacity: .8;
}

.z-section:not(.z-section--dark) .z-testimonial__name {
	color: var(--z-brand-dark);
}

.z-section:not(.z-section--dark) .z-testimonial__role {
	color: var(--z-muted);
}

/* ------------------------------------------------ Cards de serviços */

.z-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.z-card {
	display: flex;
	flex-direction: column;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
	transition: transform .18s ease, box-shadow .18s ease;
}

.z-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--z-shadow-lg);
}

.z-card__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	margin-bottom: 18px;
	background: var(--z-brand-soft);
	color: var(--z-brand);
}

.z-card__icon .z-icon {
	width: 28px;
	height: 28px;
}

.z-card__title {
	font-size: 17px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--z-brand);
	margin-bottom: 12px;
}

.z-card__text {
	color: var(--z-muted);
	font-size: 15.5px;
	flex: 1;
}

/* ------------------------------------------------ CTA */

.z-section--cta {
	background: linear-gradient(135deg, var(--z-brand) 0%, var(--z-brand-dark) 100%);
	color: #fff;
}

.z-cta {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
}

.z-cta__title {
	color: #fff;
	font-size: clamp(30px, 3.6vw, 46px);
	margin-bottom: 10px;
}

.z-cta__subtitle {
	font-size: 19px;
	font-weight: 500;
	color: rgba(255, 255, 255, .9);
	margin-bottom: 18px;
}

.z-cta__text {
	color: rgba(255, 255, 255, .82);
	margin-bottom: 30px;
}

/* ------------------------------------------------ Conteúdo interno */

.z-page-header {
	padding: clamp(40px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
	background: var(--z-brand-soft);
	border-bottom: 1px solid var(--z-line);
}

.z-page-title {
	font-size: clamp(28px, 3.6vw, 44px);
	margin: 0;
}

.z-page-subtitle {
	color: var(--z-muted);
	margin-top: 10px;
}

.z-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(28px, 4vw, 56px);
	padding-top: clamp(40px, 5vw, 72px);
	padding-bottom: clamp(48px, 6vw, 88px);
}

.no-sidebar .z-layout {
	grid-template-columns: minmax(0, 1fr);
	max-width: 860px;
}

.z-prose {
	font-size: 17.5px;
	color: #33383f;
}

.z-prose h2 { font-size: 30px; margin-top: 1.6em; }
.z-prose h3 { font-size: 23px; margin-top: 1.5em; }

.z-prose img,
.post-thumbnail img {
	border-radius: var(--z-radius);
}

.post-thumbnail {
	display: block;
	margin-bottom: 26px;
}

.z-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 14px;
	color: var(--z-muted);
	margin-bottom: 14px;
}

.z-entry-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 32px 0;
	padding-top: 20px;
	border-top: 1px solid var(--z-line);
	font-size: 14.5px;
	color: var(--z-muted);
}

.z-posts {
	display: grid;
	gap: 26px;
}

.z-post-card {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
}

.z-post-card--search,
.z-post-card:not(:has(.post-thumbnail)) {
	grid-template-columns: minmax(0, 1fr);
}

.z-post-card__title {
	font-size: 24px;
	margin-bottom: 10px;
}

.z-post-card__excerpt {
	color: var(--z-muted);
}

.z-no-results {
	padding: 40px 0;
}

.z-search-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 20px 0;
}

.z-search-form__field {
	flex: 1;
	min-width: 220px;
	padding: 13px 18px;
	border: 1px solid var(--z-line);
	border-radius: 999px;
	font: inherit;
	font-size: 16px;
}

.z-404__inner {
	text-align: center;
	max-width: 640px;
	margin: 0 auto;
}

.z-404__code {
	font-size: clamp(70px, 12vw, 130px);
	font-weight: 900;
	line-height: 1;
	margin: 0;
	color: var(--z-brand-soft);
}

.z-404 .z-search-form {
	justify-content: center;
}

/* Barra lateral e widgets */

.z-layout__aside .widget {
	padding: 24px;
	background: var(--z-grey);
	border-radius: var(--z-radius);
	margin-bottom: 22px;
}

.widget-title {
	font-size: 18px;
	margin-bottom: 12px;
}

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

.z-layout__aside li + li {
	margin-top: 8px;
}

/* Navegação de posts e paginação */

.pagination,
.post-navigation {
	margin: 36px 0;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	margin: 0 4px 8px 0;
	border-radius: 10px;
	border: 1px solid var(--z-line);
	color: var(--z-anthra);
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--z-brand);
	border-color: var(--z-brand);
	color: #fff;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.post-navigation a {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius);
	font-weight: 600;
}

.nav-label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--z-muted);
	font-weight: 500;
}

/* Comentários */

.z-comments {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--z-line);
}

.z-comments__list,
.z-comments__list .children {
	list-style: none;
	padding-left: 0;
}

.z-comments__list .children {
	padding-left: 28px;
}

.z-comments__list li {
	margin-bottom: 22px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--z-line);
	border-radius: 10px;
	font: inherit;
	margin-top: 6px;
}

.comment-form .submit {
	display: inline-flex;
	padding: 14px 28px;
	border-radius: 999px;
	border: 0;
	background: var(--z-brand);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

/* ------------------------------------------------ Rodapé */

.z-footer {
	background: var(--z-anthra);
	color: rgba(255, 255, 255, .78);
	padding: clamp(48px, 6vw, 80px) 0 28px;
	font-size: 15px;
}

.z-footer a {
	color: rgba(255, 255, 255, .78);
}

.z-footer a:hover,
.z-footer a:focus {
	color: #fff;
}

.z-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.2fr);
	gap: clamp(32px, 5vw, 64px);
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.z-footer__logo {
	margin-bottom: 16px;
}

.z-footer__logo .z-brand__name,
.z-footer .z-brand__name {
	color: #fff;
}

.z-footer__logo .custom-logo {
	filter: brightness(0) invert(1);
}

.z-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.z-footer__heading {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #fff;
	margin-bottom: 14px;
}

.z-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.z-footer__menu li {
	margin-bottom: 9px;
}

.z-footer__contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.z-footer__contact .z-icon {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--z-accent);
}

.z-footer__hint {
	font-size: 13px;
	opacity: .55;
}

.z-line {
	display: block;
}

.z-footer__social {
	margin-top: 22px;
}

.z-footer__social-label {
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 10px;
	color: #fff;
}

.z-social {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.z-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .24);
	transition: background-color .16s ease, border-color .16s ease;
}

.z-social a:hover,
.z-social a:focus {
	background: var(--z-brand);
	border-color: var(--z-brand);
}

.z-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	font-size: 13.5px;
	opacity: .82;
}

.z-footer__copy {
	margin: 0;
}

.z-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ================================================================
   Páginas internas (Expertise SAP, Soluções, Contato)
   ================================================================ */

.z-page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(48px, 6.5vw, 92px) 0 clamp(40px, 5vw, 68px);
	background: linear-gradient(180deg, var(--z-brand-soft) 0%, #ffffff 88%);
	border-bottom: 1px solid var(--z-line);
}

.z-page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 880px;
}

.z-page-hero__inner--split {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
	max-width: var(--z-container);
}

/* Imagem à esquerda do texto (padrão, configurável no Personalizador) */

.z-hero__inner--split.is-media-left,
.z-page-hero__inner--split.is-media-left {
	grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.is-media-left .z-hero__content,
.is-media-left .z-page-hero__content {
	order: 2;
}

.is-media-left .z-hero-media {
	order: 1;
}

.z-hero-media__figure {
	margin: 0;
}

.z-hero-media img {
	width: 100%;
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow-lg);
}

/* Espaço reservado para a imagem que ainda não foi enviada */

.z-media-slot {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3;
	min-height: 260px; /* garantia para navegadores sem aspect-ratio */
	overflow: hidden;
	border-radius: var(--z-radius-lg);
	background:
		radial-gradient(circle at 78% 22%, rgba(230, 110, 178, .22), transparent 55%),
		linear-gradient(150deg, var(--z-brand) 0%, var(--z-brand-dark) 100%);
	box-shadow: var(--z-shadow-lg);
}

.z-media-slot__icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: clamp(88px, 12vw, 124px);
	height: clamp(88px, 12vw, 124px);
	border-radius: 28px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .26);
	color: #fff;
}

.z-media-slot__icon .z-icon {
	width: 52%;
	height: 52%;
	stroke-width: 1.4;
}

.z-media-slot__shine {
	position: absolute;
	inset: auto -20% -55% -20%;
	height: 78%;
	background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .22), transparent 68%);
}

.z-media-slot__hint {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--z-muted);
	padding-left: 12px;
	border-left: 3px solid var(--z-accent);
}

.z-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--z-muted);
}

.z-breadcrumb span[aria-hidden] {
	opacity: .5;
}

.z-page-hero__title {
	font-size: clamp(32px, 4.6vw, 56px);
	font-weight: 900;
	margin-bottom: 14px;
}

.z-page-hero__subtitle {
	font-size: clamp(18px, 2vw, 23px);
	font-weight: 500;
	color: var(--z-brand);
	margin-bottom: 18px;
}

.z-page-hero__lead {
	font-size: 17.5px;
	color: var(--z-muted);
	max-width: 68ch;
	margin-bottom: 0;
}

.z-page-hero__actions {
	margin: 28px 0 0;
}

/* Ritmo entre seções encadeadas da mesma página */

.site-main--doc .z-section {
	padding-top: clamp(40px, 4.6vw, 68px);
	padding-bottom: clamp(40px, 4.6vw, 68px);
}

.site-main--doc .z-section:not(.z-section--tinted):not(.z-section--cta):not(.z-section--pullquote)
+ .z-section:not(.z-section--tinted):not(.z-section--cta):not(.z-section--pullquote) {
	padding-top: 0;
}

.z-measure {
	max-width: 860px;
}

.z-section-title--left {
	text-align: left;
	font-size: clamp(24px, 2.8vw, 34px);
}

/* Lista com marcadores de confirmação */

.z-checklist {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.z-checklist__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 15px 18px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius);
	color: var(--z-anthra);
}

.z-section--tinted .z-checklist__item {
	border-color: transparent;
	box-shadow: var(--z-shadow);
}

.z-checklist__icon {
	display: flex;
	color: var(--z-brand);
}

.z-checklist__icon .z-icon {
	width: 21px;
	height: 21px;
}

/* Etapas numeradas */

.z-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: step;
}

.z-steps__item {
	position: relative;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
}

.z-steps__number {
	display: block;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	color: var(--z-brand-soft);
	margin-bottom: 10px;
}

.z-section--tinted .z-steps__number {
	color: var(--z-line);
}

.z-steps__title {
	font-size: 17px;
	margin-bottom: 8px;
}

.z-steps__text {
	margin: 0;
	color: var(--z-muted);
	font-size: 15.5px;
}

/* Tabelas */

.z-table-wrap {
	margin-top: 22px;
	overflow-x: auto;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius);
	background: #fff;
}

.z-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15.5px;
	min-width: 520px;
}

.z-table th,
.z-table td {
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--z-line);
}

.z-table thead th {
	background: var(--z-brand-soft);
	color: var(--z-brand-dark);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .08em;
	white-space: nowrap;
}

.z-table tbody th {
	font-weight: 600;
	color: var(--z-anthra);
}

.z-table td {
	color: var(--z-muted);
}

.z-table tbody tr:last-child th,
.z-table tbody tr:last-child td {
	border-bottom: 0;
}

/* Citação em destaque */

.z-section--pullquote {
	background: var(--z-brand-soft);
}

.z-pullquote {
	max-width: 860px;
	margin: 0 auto;
	text-align: center;
	color: var(--z-brand-dark);
}

.z-pullquote .z-icon {
	width: 36px;
	height: 36px;
	margin: 0 auto 16px;
	color: var(--z-accent);
}

.z-pullquote p {
	margin: 0;
	font-size: clamp(21px, 2.6vw, 30px);
	font-weight: 500;
	font-style: italic;
	line-height: 1.4;
}

/* Cards em quatro colunas */

.z-cards--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.z-card__title--plain {
	text-transform: none;
	letter-spacing: normal;
	font-size: 19px;
	color: var(--z-brand-dark);
}

/* Contato */

.z-contact-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.z-contact-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
}

.z-contact-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: var(--z-brand-soft);
	color: var(--z-brand);
}

.z-contact-card__label {
	font-size: 12.5px;
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--z-muted);
}

.z-contact-card__value {
	font-weight: 600;
	color: var(--z-brand-dark);
	line-height: 1.5;
}

.z-contact-form {
	margin-top: clamp(36px, 4vw, 56px);
}

.z-form-area {
	margin-top: 22px;
	padding: clamp(24px, 3vw, 36px);
	background: #fff;
	border: 1px solid var(--z-line);
	border-radius: var(--z-radius-lg);
	box-shadow: var(--z-shadow);
}

.z-form-area input[type="text"],
.z-form-area input[type="email"],
.z-form-area input[type="tel"],
.z-form-area input[type="url"],
.z-form-area select,
.z-form-area textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--z-line);
	border-radius: 10px;
	font: inherit;
	margin-top: 6px;
}

.z-form-area input[type="submit"],
.z-form-area button[type="submit"] {
	padding: 14px 30px;
	border: 0;
	border-radius: 999px;
	background: var(--z-brand);
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
}

.z-form-area__fallback {
	margin: 0;
	font-size: 17px;
}

.z-form-area__hint {
	margin: 14px 0 0;
	padding: 12px 16px;
	border-left: 4px solid var(--z-accent);
	background: var(--z-grey);
	font-size: 14px;
	color: var(--z-muted);
}

/* ------------------------------------------------ Responsivo */

@media (max-width: 1080px) {
	.z-journey,
	.z-steps,
	.z-cards--4,
	.z-contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.z-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

	.z-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 12px var(--z-gutter) 24px;
		background: #fff;
		border-bottom: 1px solid var(--z-line);
		box-shadow: var(--z-shadow-lg);
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}

	.z-nav.is-open {
		display: flex;
	}

	.z-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.z-menu > li > a {
		padding: 14px 6px;
		border-bottom: 1px solid var(--z-line);
		border-radius: 0;
	}

	.z-submenu {
		position: static;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-bottom: 1px solid var(--z-line);
		border-radius: 0;
		padding: 4px 0 12px 14px;
	}

	.z-menu > li.is-open > .z-submenu {
		display: block;
	}

	.z-submenu-toggle {
		right: 0;
		top: 22px;
		width: 40px;
		height: 40px;
	}

	.z-nav__cta {
		margin-top: 16px;
	}

	.z-nav__cta .z-btn {
		width: 100%;
		justify-content: center;
	}

	.z-hero__inner--split,
	.z-page-hero__inner--split,
	.z-split,
	.z-layout,
	.z-post-card {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Em telas estreitas o texto vem sempre primeiro. */
	.is-media-left .z-hero__content,
	.is-media-left .z-page-hero__content {
		order: 0;
	}

	.is-media-left .z-hero-media {
		order: 1;
	}

	.z-hero-media {
		max-width: 520px;
	}

	.z-split--reverse .z-split__text {
		order: 0;
	}

	.z-testimonials,
	.z-cards,
	.z-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.z-topbar__text {
		display: none;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.z-journey,
	.z-questions,
	.z-stats,
	.z-testimonials,
	.z-cards,
	.z-cards--4,
	.z-steps,
	.z-contact-grid,
	.z-footer__cols,
	.z-dashboard__kpis,
	.post-navigation .nav-links {
		grid-template-columns: minmax(0, 1fr);
	}

	.z-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}
