/**
 * Unidata Angola — estilos base do tema.
 * Design tokens espelham theme.json. Mobile-first, Flexbox/Grid.
 */

:root {
	--ud-blue: #2563eb;
	--ud-purple: #7c3aed;
	--ud-cyan: #06b6d4;
	--ud-cyan-300: #22d3ee;
	--ud-navy: #0b1220;
	--ud-navy-700: #12294d;
	--ud-white: #ffffff;
	--ud-slate: #64748b;
	--ud-slate-100: #f1f5f9;
	--ud-ink: #0f172a;
	--ud-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
	--ud-radius: 16px;
	--ud-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	--ud-container: 1200px;
}

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

body {
	margin: 0;
	color: var(--ud-ink);
	background: var(--ud-white);
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--ud-cyan);
	text-decoration: none;
}

a:hover {
	color: var(--ud-cyan-300);
}

h1,
h2,
h3 {
	color: var(--ud-navy);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
}

.container {
	width: 100%;
	max-width: var(--ud-container);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.section {
	padding-block: clamp(3rem, 6vw, 6rem);
}

.section--navy {
	background: var(--ud-navy);
	color: var(--ud-white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
	color: var(--ud-white);
}

.section--muted {
	background: var(--ud-slate-100);
}

.section--gradient {
	background: linear-gradient(135deg, #0b1f3a 0%, #12294d 55%, #06b6d4 140%);
	color: var(--ud-white);
}

.section--gradient h1,
.section--gradient h2 {
	color: var(--ud-white);
}

.section__title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.section__intro {
	max-width: 60ch;
	color: var(--ud-slate);
}

/* Grids */
.grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 720px) {
	.grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid--stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Botões */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 999px;
	font-weight: 600;
	line-height: 1;
	border: 1px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--ud-grad);
	color: #fff;
}

.btn--primary:hover {
	filter: brightness(1.08);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: currentColor;
	border-color: rgba(255, 255, 255, 0.35);
}

.btn--lg {
	padding: 1rem 2rem;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--ud-slate-100);
}

/* Hero */
.hero__inner {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
	}
}

.hero__title {
	font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.hero__subtitle {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.125rem;
	max-width: 52ch;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.hero__glow {
	aspect-ratio: 3 / 2;
	border-radius: var(--ud-radius);
	background: radial-gradient(120% 120% at 70% 20%, rgba(34, 211, 238, 0.4), transparent 60%),
		linear-gradient(135deg, #12294d, #0b1f3a);
	border: 1px solid rgba(34, 211, 238, 0.25);
}

/* Cards */
.card,
.service-card {
	background: var(--ud-white);
	border: 1px solid var(--ud-slate-100);
	border-radius: var(--ud-radius);
	padding: 1.75rem;
	box-shadow: var(--ud-shadow);
}

.service-card__list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.service-card__list li::before {
	content: "▹";
	color: var(--ud-cyan);
	margin-right: 0.5rem;
}

/* Estatísticas */
.stat {
	text-align: center;
}

.stat__number {
	display: block;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: var(--ud-navy);
}

.stat__label {
	color: var(--ud-slate);
}

/* Indústrias */
.industry-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem;
	border-radius: var(--ud-radius);
	background: var(--ud-white);
	border: 1px solid var(--ud-slate-100);
	box-shadow: var(--ud-shadow);
	color: var(--ud-ink);
}

.industry-card__link {
	color: var(--ud-cyan);
	font-weight: 600;
}

/* CTA / Lweza IA */
.cta__inner,
.agente-smith-teaser__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	text-align: center;
	flex-direction: column;
}

.agente-smith-teaser__badge,
.as-hero__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.15);
	color: var(--ud-cyan-300);
	font-size: 0.875rem;
	font-weight: 600;
}

.check-list {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.check-list li::before {
	content: "✓";
	color: var(--ud-cyan);
	font-weight: 700;
	margin-right: 0.5rem;
}

.chip {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--ud-slate-100);
	color: var(--ud-navy);
	font-size: 0.875rem;
}

/* Footer */
.site-footer {
	background: var(--ud-navy);
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__inner {
	max-width: var(--ud-container);
	margin-inline: auto;
	padding: 3rem 1.25rem;
	display: grid;
	gap: 2rem;
}

@media (min-width: 720px) {
	.site-footer__inner {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

.site-footer__title {
	font-weight: 800;
	color: var(--ud-white);
	font-size: 1.25rem;
}

.site-footer__menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.5rem;
}

.site-footer__menu a,
.site-footer__contact a {
	color: rgba(255, 255, 255, 0.8);
}

.site-footer__contact {
	display: grid;
	gap: 0.5rem;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	padding: 1.25rem;
	font-size: 0.875rem;
}

/* Acessibilidade */
.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	background: var(--ud-white);
	padding: 0.5rem 1rem;
	border-radius: 8px;
	z-index: 200;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* Foco visível (A11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
	outline: 3px solid var(--ud-cyan);
	outline-offset: 2px;
}

/* ================================================================
   UX pass — landing premium (hero, dashboard mock, trust, reveal)
   ================================================================ */

/* Scroll reveal (só quando há JS, para não esconder sem ele) */
.has-js [data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: opacity, transform;
}

.has-js [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.has-js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ---- Hero ---- */
.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(3.5rem, 8vw, 7rem);
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 60% at 85% 10%, rgba(34, 211, 238, 0.22), transparent 60%),
		radial-gradient(50% 50% at 10% 90%, rgba(6, 182, 212, 0.18), transparent 55%),
		linear-gradient(160deg, #0a1a33 0%, #0b1f3a 45%, #12294d 100%);
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}

.hero__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

@media (min-width: 960px) {
	.hero__inner {
		grid-template-columns: 1.05fr 0.95fr;
	}
}

.hero__eyebrow {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(34, 211, 238, 0.12);
	border: 1px solid rgba(34, 211, 238, 0.3);
	color: var(--ud-cyan-300);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-bottom: 1.25rem;
}

.hero__title {
	font-size: clamp(2.4rem, 5.5vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 0 0 1.1rem;
	background: linear-gradient(180deg, #ffffff 60%, #cfe9f2 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero__subtitle {
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	max-width: 52ch;
	margin: 0 0 1.75rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

.hero__note {
	margin: 1.5rem 0 0;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
}

/* ---- Dashboard mock (hero visual) ---- */
.dashmock {
	position: relative;
	padding: 1.5rem;
}

.dashmock__glow {
	position: absolute;
	inset: 10% 5%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
	filter: blur(40px);
	z-index: -1;
}

.dashmock__card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	padding: 1.25rem 1.35rem 1.5rem;
	backdrop-filter: blur(12px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.dashmock__head {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 1.15rem;
}

.dashmock__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}

.dashmock__dot:first-child { background: #f87171; }
.dashmock__dot:nth-child(2) { background: #fbbf24; }
.dashmock__dot:nth-child(3) { background: #34d399; }

.dashmock__title {
	margin-left: auto;
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.75);
}

.dashmock__kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	margin-bottom: 1.1rem;
}

.dashmock__kpi {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 0.7rem 0.8rem;
}

.dashmock__kpi-label {
	display: block;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: rgba(255, 255, 255, 0.55);
}

.dashmock__kpi-value {
	display: block;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ud-cyan-300);
}

.dashmock__chart {
	width: 100%;
	height: 90px;
	display: block;
	margin-bottom: 0.9rem;
}

.dashmock__bars {
	display: flex;
	align-items: flex-end;
	gap: 0.5rem;
	height: 56px;
}

.dashmock__bars span {
	flex: 1;
	height: var(--h);
	background: linear-gradient(180deg, var(--ud-cyan-300), rgba(6, 182, 212, 0.35));
	border-radius: 4px 4px 0 0;
	transform-origin: bottom;
	animation: ud-bar-grow 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ud-bar-grow {
	from { transform: scaleY(0); }
	to { transform: scaleY(1); }
}

.dashmock__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	background: rgba(11, 31, 58, 0.85);
	border: 1px solid rgba(34, 211, 238, 0.35);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
	animation: ud-float 5s ease-in-out infinite;
}

.dashmock__chip--ai { top: 4%; right: 0; }
.dashmock__chip--live { bottom: 6%; left: 0; animation-delay: -2.5s; }
.dashmock__chip-icon { color: var(--ud-cyan-300); }

.dashmock__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
	animation: ud-pulse 1.8s infinite;
}

@keyframes ud-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

@keyframes ud-pulse {
	0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
	100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.dashmock__chip,
	.dashmock__bars span,
	.dashmock__pulse {
		animation: none;
	}
}

/* ---- Trust bar ---- */
.trustbar {
	padding-block: 2.25rem;
	border-bottom: 1px solid var(--ud-slate-100);
	background: var(--ud-white);
}

.trustbar__label {
	text-align: center;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ud-slate);
	margin: 0 0 1rem;
}

.trustbar__logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 2.5rem;
}

.trustbar__item {
	font-weight: 700;
	font-size: 1.05rem;
	color: #94a3b8;
	letter-spacing: -0.01em;
	transition: color 0.2s ease;
}

.trustbar__item:hover {
	color: var(--ud-navy);
}

/* ---- Cabeçalho de secção ---- */
.section__head {
	max-width: 640px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.section__eyebrow {
	display: inline-block;
	color: var(--ud-cyan);
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.6rem;
}

.section__head .section__intro {
	margin-inline: auto;
}

/* ---- Service cards: ícone ---- */
.service-card {
	padding: 2rem;
}

.service-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	color: var(--ud-cyan);
	background: rgba(6, 182, 212, 0.1);
	margin-bottom: 1.1rem;
}

.service-card__icon svg {
	width: 26px;
	height: 26px;
}

.service-card__desc {
	color: var(--ud-slate);
}

/* ---- Estatísticas sobre gradiente ---- */
.statistics {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.statistics .stat__number {
	color: #fff;
}

.statistics .stat__label {
	color: rgba(255, 255, 255, 0.8);
}

/* ================================================================
   REFERÊNCIA DO CLIENTE — landing (azul → roxo)
   Classes novas (single-dash). Convivem com as páginas internas.
   ================================================================ */

.reveal {
	opacity: 1;
	transform: none;
}

.has-js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.has-js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Botões (referência) */
.btn-primary,
.btn-outline,
.btn-outline-dark,
.btn-outline-light,
.btn-white {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border-radius: 12px;
	font-weight: 600;
	line-height: 1;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-outline-dark:hover,
.btn-outline-light:hover,
.btn-white:hover { transform: translateY(-2px); }

.btn-primary {
	background: var(--ud-grad);
	color: #fff;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(124, 58, 237, 0.34); color: #fff; }

.btn-outline { background: transparent; color: var(--ud-ink); border-color: #d5dbe6; }
.btn-outline:hover { border-color: var(--ud-blue); color: var(--ud-blue); }

.btn-outline-dark { background: transparent; color: var(--ud-ink); border-color: #cbd5e1; }
.btn-outline-dark:hover { background: var(--ud-ink); color: #fff; }

.btn-white { background: #fff; color: var(--ud-blue); }
.btn-white:hover { color: var(--ud-purple); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Header (referência) */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
	border-bottom-color: var(--ud-slate-100);
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.85rem 0;
}
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--ud-ink);
	letter-spacing: -0.02em;
}
/* Logótipo Unidata (SVG inline; wordmark = currentColor) */
.site-header .logo { color: #57534e; }
.unidata-logo { display: block; height: 42px; width: auto; }
.site-header .custom-logo { display: block; height: 42px; width: auto; }
/* Logótipo real em "pílula" branca — igual no cabeçalho e no rodapé */
.logo--pill { display: inline-flex; align-items: center; background: #fff; padding: 8px 14px; border-radius: 12px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08); }
.logo--pill img { display: block; height: 38px; width: auto; }
.footer-brand .logo--pill { margin-bottom: 1rem; box-shadow: none; }
@media (max-width: 600px) {
	.unidata-logo { height: 34px; }
	.logo--pill img { height: 32px; }
}
.main-nav {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	margin-left: auto;
}
.main-nav a {
	color: #475569;
	font-weight: 500;
	font-size: 0.95rem;
}
.main-nav a:hover { color: var(--ud-blue); }
/* Menu do WordPress (wp_nav_menu) com o mesmo aspeto da nav fixa */
.main-nav__list {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav__list li { margin: 0; }

/* Botão chamativo "Conheça Lweza IA" no menu */
.nav-lweza {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	border-radius: 999px;
	background: var(--ud-grad);
	color: #fff !important;
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
	box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.55);
	animation: nav-lweza-pulse 2s ease-out infinite;
	transition: transform 0.15s ease, filter 0.2s ease;
}
.nav-lweza:hover {
	color: #fff !important;
	transform: translateY(-1px);
	filter: brightness(1.08);
	animation-play-state: paused;
}
.nav-lweza__dot {
	width: 8px; height: 8px; border-radius: 50%; background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
	animation: nav-lweza-dot 2s ease-out infinite;
}
@keyframes nav-lweza-pulse {
	0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.55); }
	70% { box-shadow: 0 0 0 12px rgba(124, 58, 237, 0); }
	100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
@keyframes nav-lweza-dot {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); opacity: 1; }
	70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); opacity: 0.6; }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.nav-lweza, .nav-lweza__dot { animation: none; }
}
.header-cta { flex-shrink: 0; }
.mobile-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	margin-left: auto;
}
.mobile-toggle span {
	width: 24px;
	height: 2px;
	background: var(--ud-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
body.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.main-nav { display: none; }
	.mobile-toggle { display: flex; }
	body.nav-open .main-nav {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.25rem;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		padding: 1rem 1.25rem 1.5rem;
		box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
		border-bottom: 1px solid var(--ud-slate-100);
	}
	body.nav-open .main-nav a { padding: 0.6rem 0; width: 100%; }
	body.nav-open .main-nav__list { flex-direction: column; align-items: flex-start; gap: 0.25rem; width: 100%; }
	/* CTA "Marcar reunião" mantém aspeto de botão dentro do menu aberto */
	body.nav-open .header-cta { justify-content: center; text-align: center; margin-top: 0.5rem; }
}

/* Hero (referência) */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3rem, 7vw, 6rem) 0;
	background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}
.hero-bg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at 70% 20%, #000, transparent 70%);
	z-index: 0;
}
.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
@media (min-width: 980px) {
	.hero-inner { grid-template-columns: 1.05fr 1fr; }
}
.hero-label {
	display: inline-block;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: rgba(37, 99, 235, 0.1);
	color: var(--ud-blue);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	margin: 0 0 1.25rem;
}
.hero h1 {
	font-size: clamp(2.4rem, 5vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
}
.hero-sub {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: #475569;
	max-width: 54ch;
	margin: 0 0 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }
.hero-metrics { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.metric strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--ud-ink); letter-spacing: -0.02em; }
.metric span { font-size: 0.85rem; color: var(--ud-slate); }
.metric-divider { width: 1px; height: 36px; background: #e2e8f0; }

/* Hero dashboard */
.hero-visual { position: relative; }
.hero-dashboard {
	position: relative;
	z-index: 1;
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 18px;
	box-shadow: 0 30px 60px rgba(15, 23, 42, 0.14);
	overflow: hidden;
}
.dash-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #eef2f7;
	background: #fbfcfe;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.dash-dots i:first-child { background: #f87171; }
.dash-dots i:nth-child(2) { background: #fbbf24; }
.dash-dots i:nth-child(3) { background: #34d399; }
.dash-header span { font-size: 0.8rem; color: var(--ud-slate); }
.dash-body { display: grid; grid-template-columns: 48px 1fr; }
.dash-sidebar {
	background: #fafbfe;
	border-right: 1px solid #eef2f7;
	padding: 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
}
.dash-nav-item { width: 22px; height: 22px; border-radius: 6px; background: #e8edf5; }
.dash-nav-item.active { background: var(--ud-grad); }
.dash-main { padding: 1.1rem; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.dash-kpi { background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px; padding: 0.6rem 0.7rem; }
.kpi-label { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ud-slate); }
.kpi-value { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ud-ink); }
.kpi-change { font-size: 0.7rem; font-weight: 600; }
.kpi-change.up { color: #16a34a; }
.dash-chart { margin-bottom: 1rem; }
.dash-chart svg { width: 100%; height: 80px; display: block; }
.dash-table { font-size: 0.8rem; }
.dash-row { display: grid; grid-template-columns: 1fr auto 3.25rem; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-top: 1px solid #f1f5f9; }
.dash-row.head { color: var(--ud-slate); font-weight: 600; border-top: 0; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.03em; }
.dash-row strong, .dash-row span:nth-child(2) { font-weight: 600; color: var(--ud-ink); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; justify-self: center; }
.status-dot.green { background: #34d399; }
.status-dot.yellow { background: #fbbf24; }

.hero-float-card {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 12px;
	padding: 0.7rem 0.9rem;
	box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
	animation: ud-float 5s ease-in-out infinite;
}
.hero-float-card small { display: block; font-size: 0.7rem; color: var(--ud-slate); }
.hero-float-card span { font-size: 0.85rem; font-weight: 600; color: var(--ud-ink); }
.float-ai { top: -14px; right: -10px; }
.float-data { bottom: -14px; left: -10px; animation-delay: -2.5s; }

@keyframes ud-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .hero-float-card { animation: none; } }

/* Cabeçalhos de secção (referência) */
.section-label {
	text-align: center;
	color: var(--ud-blue);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 0.6rem;
}
.section-title { text-align: center; font-size: clamp(1.9rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.section-sub { text-align: center; color: var(--ud-slate); max-width: 60ch; margin: 0 auto 3rem; font-size: 1.05rem; }
.section-label.light { color: var(--ud-cyan-300); }
.section-title.light, .section-sub.light { color: #fff; }
.section-sub.light { color: rgba(255,255,255,0.75); }

/* Serviços (referência) */
.services { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.service-cards { display: grid; gap: 1.75rem; }
@media (min-width: 820px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
.service-card {
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 20px;
	padding: 2.25rem;
	box-shadow: var(--ud-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12); border-color: rgba(37,99,235,0.25); }
.service-icon {
	width: 72px; height: 72px; border-radius: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	margin-bottom: 1.25rem;
}
.service-icon.data-icon { background: rgba(37, 99, 235, 0.08); }
.service-icon.ai-icon { background: rgba(124, 58, 237, 0.08); }
.service-card h3 { font-size: 1.5rem; margin: 0 0 0.6rem; }
.service-card > p { color: var(--ud-slate); margin: 0 0 1.4rem; }
.service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.6rem; }
.service-tags li {
	font-size: 0.85rem;
	font-weight: 500;
	color: #334155;
	background: #f1f5f9;
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
}
.service-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--ud-blue); }
.service-link span { transition: transform 0.2s ease; }
.service-link:hover span { transform: translateX(4px); }

/* Lweza IA (referência, dark) */
.smith { position: relative; padding: clamp(4rem, 8vw, 7rem) 0; background: #0b1220; overflow: hidden; }
.smith-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(50% 50% at 80% 0%, rgba(124, 58, 237, 0.3), transparent 60%),
		radial-gradient(50% 50% at 10% 100%, rgba(37, 99, 235, 0.28), transparent 55%);
}
.smith .container { position: relative; z-index: 1; }
.smith-header { margin-bottom: 3rem; }
.smith-showcase { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .smith-showcase { grid-template-columns: 1fr 1fr; } }

.smith-chat {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	overflow: hidden;
	backdrop-filter: blur(10px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.chat-header { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.chat-header strong { color: #fff; display: block; }
.chat-status { font-size: 0.75rem; color: #34d399; }
.chat-status::before { content: "● "; }
.chat-messages { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.85rem; }
.chat-msg { max-width: 85%; }
.chat-msg p { margin: 0; padding: 0.7rem 1rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.user p { background: var(--ud-grad); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.bot p { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.92); border-bottom-left-radius: 4px; }
.chat-data { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 0.5rem 0.85rem; margin: 0.5rem 0; }
.chat-data-row { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; align-items: center; padding: 0.35rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.chat-data-row strong { color: #fff; }
.chat-data-row .up { color: #34d399; font-size: 0.75rem; }
.chat-note { font-size: 0.82rem !important; opacity: 0.7; }
.chat-typing { display: flex; gap: 4px; padding: 0.8rem 1rem; background: rgba(255,255,255,0.08); border-radius: 14px; width: fit-content; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.6); animation: ud-typing 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ud-typing { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-input { display: flex; gap: 0.5rem; padding: 0.85rem 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.chat-input input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 0.6rem 0.85rem; color: #fff; font: inherit; }
.chat-input button { width: 42px; border: 0; border-radius: 10px; background: var(--ud-grad); cursor: not-allowed; display: inline-flex; align-items: center; justify-content: center; }

.smith-features { display: grid; gap: 1rem; }
.smith-feature { display: flex; gap: 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 1.1rem 1.25rem; }
.sf-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(37,99,235,0.15); color: var(--ud-cyan-300); display: inline-flex; align-items: center; justify-content: center; }
.smith-feature strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.smith-feature p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.smith-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; margin-top: 3rem; }

/* Indústrias (referência) */
.cases { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #f8fafc; }
.case-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .case-grid { grid-template-columns: repeat(4, 1fr); } }
.case-card {
	display: block;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 18px;
	padding: 1.75rem;
	color: var(--ud-ink);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15,23,42,0.1); border-color: rgba(37,99,235,0.25); color: var(--ud-ink); }
.case-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.case-card h4 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.case-card p { margin: 0; color: var(--ud-slate); font-size: 0.92rem; }

/* Processo (referência) */
.process { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.process-steps { display: grid; gap: 2rem; }
@media (min-width: 700px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step { position: relative; }
.step-number { font-size: 2.5rem; font-weight: 800; background: var(--ud-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.step-line { height: 2px; background: linear-gradient(90deg, var(--ud-blue), transparent); margin: 0.75rem 0 1.1rem; }
.process-step h4 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.process-step p { margin: 0; color: var(--ud-slate); font-size: 0.92rem; }

/* CTA (referência) */
.cta-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta-inner {
	background: var(--ud-grad);
	border-radius: 28px;
	padding: clamp(2.5rem, 5vw, 4.5rem);
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}
.cta-inner::before {
	content: "";
	position: absolute; inset: 0;
	background: radial-gradient(60% 100% at 50% 0%, rgba(255,255,255,0.18), transparent 70%);
}
.cta-inner h2 { position: relative; color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 0.75rem; }
.cta-inner p { position: relative; color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.cta-section .btn-outline-dark { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-section .btn-outline-dark:hover { background: #fff; color: var(--ud-blue); }

/* Footer (referência) */
.site-footer { background: #0b1220; color: rgba(255,255,255,0.7); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; font-size: 0.92rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col strong { color: #fff; margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ud-cyan-300); }
.footer-location { font-size: 0.92rem; margin: 0.2rem 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.88rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }
.footer-socials a:hover { background: var(--ud-grad); color: #fff; }

/* ================================================================
   Página Lweza IA (produto)
   ================================================================ */
.lz-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0; text-align: center; }
.lz-hero__bg {
	position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(60% 60% at 80% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
		radial-gradient(55% 55% at 10% 100%, rgba(37, 99, 235, 0.3), transparent 55%),
		linear-gradient(160deg, #0a1226 0%, #0b1220 60%, #12183a 100%);
}
.lz-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.lz-badge {
	display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px;
	background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.3);
	color: var(--ud-cyan-300); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
	text-transform: uppercase; margin-bottom: 1.25rem;
}
.lz-hero__title { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.lz-hero__tagline { color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 600; margin: 0 0 0.75rem; }
.lz-hero__sub { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; margin: 0 0 2rem; }
.lz-hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

.lz-grid-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .lz-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lz-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.lz-card {
	background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 1.75rem;
	box-shadow: var(--ud-shadow);
}
.lz-card h3 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.lz-card p { margin: 0; color: var(--ud-slate); }
.lz-card--accent { border-top: 3px solid var(--ud-blue); }
.lz-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
	color: var(--ud-blue);
}
.lz-card__icon svg { width: 24px; height: 24px; }

.lz-risk__col {
	background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px; padding: 1.75rem;
}
.lz-risk__col h3 { color: #fff; margin: 0 0 1rem; font-size: 1.2rem; }

.lz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.lz-list li { position: relative; padding-left: 1.75rem; color: rgba(255, 255, 255, 0.85); }
.lz-list--warn li::before { content: "!"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(248, 113, 113, 0.18); color: #f87171; font-weight: 800; font-size: 0.8rem; }
/* Em fundos claros (cartões e info dos agentes) as listas usam texto escuro */
.lz-card .lz-list li,
.lz-agent__info .lz-list li { color: #334155; }
.lz-list--check li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
	background: var(--ud-grad);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.lz-steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 700px) { .lz-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lz-steps { grid-template-columns: repeat(4, 1fr); } }
.lz-step { background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 1.5rem; box-shadow: var(--ud-shadow); }
.lz-step__n { display: inline-block; font-size: 1.6rem; font-weight: 800; background: var(--ud-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lz-step h3 { font-size: 1.1rem; margin: 0.5rem 0 0.4rem; }
.lz-step p { margin: 0; color: var(--ud-slate); font-size: 0.95rem; }

.lz-usecase { background: #fff; border: 1px solid #eef2f7; border-radius: 18px; padding: 2rem; box-shadow: var(--ud-shadow); }
.lz-usecase h3 { font-size: 1.3rem; margin: 0 0 0.75rem; }
.lz-usecase p { color: var(--ud-slate); }
.lz-usecase__quote { font-style: italic; color: var(--ud-blue) !important; font-weight: 600; }
.lz-usecase .lz-list { margin: 1rem 0 1.25rem; }
.lz-usecase__kpis { display: flex; flex-wrap: wrap; gap: 1rem; }
.lz-usecase__kpis span { background: rgba(37, 99, 235, 0.08); border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.9rem; color: #334155; }
.lz-usecase__kpis strong { color: var(--ud-blue); font-size: 1.15rem; }

/* ================================================================
   Página Nossa Equipa
   ================================================================ */
.mv-title { font-size: 1.4rem; margin: 0 0 0.6rem; }

.values-grid { gap: 1rem; }
.value-item {
	display: flex; align-items: center; gap: 0.85rem;
	background: #fff; border: 1px solid #eef2f7; border-radius: 12px;
	padding: 1rem 1.25rem; box-shadow: var(--ud-shadow); font-weight: 600; color: var(--ud-ink);
}
.value-check {
	flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(124,58,237,0.12)); color: var(--ud-blue);
}
.value-check svg { width: 18px; height: 18px; }

/* Timeline dinâmica */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 0.5rem 0; }
.timeline__line { position: absolute; top: 0; bottom: 0; left: 27px; width: 2px; background: #e2e8f0; border-radius: 2px; }
.timeline__progress { position: absolute; top: 0; left: 27px; width: 2px; height: 0; background: linear-gradient(180deg, var(--ud-blue), var(--ud-purple)); border-radius: 2px; transition: height 0.15s linear; }
.timeline__item { position: relative; padding: 0 0 2rem 4.5rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
	position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--ud-grad); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3), 0 0 0 6px rgba(37, 99, 235, 0.12);
	z-index: 1; transition: transform 0.2s ease;
}
.timeline__marker svg { width: 26px; height: 26px; }
.timeline__item:hover .timeline__marker { transform: scale(1.08); }
.timeline__card {
	background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 1.25rem 1.5rem;
	box-shadow: var(--ud-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.timeline__item:hover .timeline__card { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12); border-color: rgba(37, 99, 235, 0.25); }
.timeline__date {
	display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--ud-blue); background: rgba(37, 99, 235, 0.1); padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.5rem;
}
.timeline__title { font-size: 1.15rem; margin: 0 0 0.35rem; }
.timeline__text { margin: 0; color: var(--ud-slate); }

/* Zig-zag no desktop */
@media (min-width: 820px) {
	.timeline__line,
	.timeline__progress { left: 50%; transform: translateX(-50%); }
	.timeline__item { width: 50%; padding: 0 0 2.5rem 0; }
	.timeline__marker { left: auto; }
	/* Ímpares à esquerda */
	.timeline__item:nth-of-type(odd) { left: 0; padding-right: 3.5rem; text-align: right; }
	.timeline__item:nth-of-type(odd) .timeline__marker { right: -28px; left: auto; }
	/* Pares à direita */
	.timeline__item:nth-of-type(even) { left: 50%; padding-left: 3.5rem; }
	.timeline__item:nth-of-type(even) .timeline__marker { left: -28px; }
}

/* Equipa */
.team-grid { display: grid; gap: 1.5rem; }
@media (min-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-member {
	background: #fff; border: 1px solid #eef2f7; border-radius: 16px; padding: 1.75rem 1.5rem;
	box-shadow: var(--ud-shadow); text-align: center;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.team-member:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(15,23,42,0.12); }
.team-avatar {
	width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1rem;
	display: flex; align-items: center; justify-content: center;
	background: var(--ud-grad); color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: 0.02em;
}
.team-avatar--photo { padding: 0; overflow: hidden; background: #eef2f8; }
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-name { display: block; color: var(--ud-ink); font-size: 1.05rem; }
.team-role { display: block; color: var(--ud-blue); font-weight: 600; font-size: 0.9rem; margin-top: 0.2rem; }
.team-desc { color: #4b5563; font-size: 0.9rem; line-height: 1.55; margin: 0.85rem 0 0; }

/* Casos de uso — simulação de chat em tempo real */
.lz-agents { display: grid; gap: 2rem; }
.lz-agent { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 920px) {
	.lz-agent { grid-template-columns: 0.95fr 1.05fr; }
	.lz-agent--rev .lz-chatsim { order: 2; }
}
.lz-agent__tag {
	display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
	letter-spacing: 0.05em; color: var(--ud-blue); background: rgba(37, 99, 235, 0.1);
	padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.lz-agent__info h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.lz-agent__info > p { color: var(--ud-slate); }

.lz-chatsim {
	background: #fff; border: 1px solid #e6ebf3; border-radius: 20px; overflow: hidden;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12); display: flex; flex-direction: column;
}
.lz-chatsim__head { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1rem; border-bottom: 1px solid #eef2f7; background: #fbfcff; }
.lz-chatsim__avatar { display: inline-flex; }
/* Avatares do chat com o ícone real do Lweza IA */
.chat-avatar--img,
.lz-chatsim__avatar {
	width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
	background: #fff; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
}
.chat-avatar--img img,
.lz-chatsim__avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lz-chatsim__meta { display: flex; flex-direction: column; line-height: 1.2; }
.lz-chatsim__meta strong { font-size: 0.95rem; color: var(--ud-ink); }
.lz-chatsim__status { font-size: 0.75rem; color: #16a34a; }
.lz-chatsim__status::before { content: "● "; }
.lz-chatsim__live { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #ef4444; }
.lz-chatsim__dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: ud-pulse-red 1.6s infinite; }
@keyframes ud-pulse-red { 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6);} 70% { box-shadow: 0 0 0 7px rgba(239,68,68,0);} 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0);} }

.lz-chatsim__body { padding: 1.1rem; display: flex; flex-direction: column; gap: 0.6rem; min-height: 300px; max-height: 380px; overflow-y: auto; background: linear-gradient(180deg, #f8faff, #fff); }
.lz-msg { max-width: 82%; opacity: 0; transform: translateY(8px); animation: lz-in 0.28s ease forwards; }
@keyframes lz-in { to { opacity: 1; transform: none; } }
.lz-msg p { margin: 0; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; }
.lz-msg--user { align-self: flex-end; }
.lz-msg--user p { background: var(--ud-grad); color: #fff; border-bottom-right-radius: 4px; }
.lz-msg--bot { align-self: flex-start; }
.lz-msg--bot p { background: #eef2f8; color: var(--ud-ink); border-bottom-left-radius: 4px; }
.lz-typing { display: inline-flex; gap: 4px; padding: 0.7rem 0.9rem; background: #eef2f8; border-radius: 14px; }
.lz-typing span { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: ud-typing 1.2s infinite; }
.lz-typing span:nth-child(2) { animation-delay: 0.2s; }
.lz-typing span:nth-child(3) { animation-delay: 0.4s; }

.lz-chatsim__input { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid #eef2f7; }
.lz-chatsim__ph { flex: 1; color: #94a3b8; font-size: 0.88rem; background: #f1f5f9; border-radius: 999px; padding: 0.55rem 0.9rem; }
.lz-chatsim__send { width: 38px; height: 38px; border-radius: 50%; background: var(--ud-grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
	.lz-msg { opacity: 1; transform: none; animation: none; }
	.lz-chatsim__dot, .lz-typing span { animation: none; }
}

/* Âncoras: scroll suave e offset para o header fixo */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- Sobre a Unidata ---- */
.about { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #f8fafc; }
.about-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .about-inner { grid-template-columns: 1.1fr 0.9fr; } }
.about-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin: 0.4rem 0 1rem; text-align: left; }
.about-lead { font-size: 1.15rem; color: var(--ud-ink); font-weight: 500; margin: 0 0 1rem; }
.about-desc { color: var(--ud-slate); margin: 0; }
.about-focus { display: grid; gap: 1rem; }
.about-focus-item {
	display: flex;
	gap: 1rem;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	padding: 1.1rem 1.25rem;
	box-shadow: var(--ud-shadow);
}
.about-focus-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
	color: var(--ud-blue);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.about-focus-item strong { display: block; margin-bottom: 0.2rem; color: var(--ud-ink); }
.about-focus-item p { margin: 0; font-size: 0.92rem; color: var(--ud-slate); }

/* Áreas de foco clicáveis (botão) */
.about-focus-item {
	width: 100%;
	text-align: left;
	align-items: center;
	cursor: pointer;
	font: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.about-focus-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
	border-color: rgba(37, 99, 235, 0.3);
}
.about-focus-body { flex: 1; display: flex; flex-direction: column; }
.about-focus-text { font-size: 0.92rem; color: var(--ud-slate); }
.about-focus-arrow { color: var(--ud-blue); font-weight: 700; font-size: 1.1rem; transition: transform 0.18s ease; }
.about-focus-item:hover .about-focus-arrow { transform: translateX(4px); }
.about-hint { color: var(--ud-blue); font-weight: 600; margin: 1.25rem 0 0; }

/* Painel do modal Sobre (com imagem) */
.service-modal__dialog--wide { max-width: 600px; }
.about-panel__media { margin: 0 0 1.5rem; border-radius: 12px; overflow: hidden; line-height: 0; }
.about-panel__media img { width: 100%; height: auto; display: block; }
.about-panel__title { font-size: 1.6rem; margin: 0 0 0.5rem; }
.about-panel__lead { color: var(--ud-slate); margin: 0 0 1.25rem; }
.about-focus-item { color: inherit; }

/* ---- Página de Área de Especialidade ---- */
.area-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.area-hero__crumb { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0 0 1rem; }
.area-hero__crumb a { color: var(--ud-cyan-300); }
.area-hero__title { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 0.75rem; }
.area-hero__lead { color: rgba(255, 255, 255, 0.85); max-width: 62ch; font-size: 1.1rem; margin: 0; }
.area-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.05fr 0.95fr; } }
.area-media { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--ud-shadow); line-height: 0; }
.area-media img { width: 100%; height: auto; display: block; }
.area-detail__title { font-size: 1.4rem; margin: 0 0 1rem; }
.area-detail__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---- Serviços clicáveis + modal de detalhe ---- */
.service-tags li { padding: 0; background: none; }
.service-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	color: #334155;
	background: #f1f5f9;
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	cursor: pointer;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.service-tag:hover {
	background: #fff;
	color: var(--ud-blue);
	border-color: rgba(37, 99, 235, 0.4);
	transform: translateY(-1px);
}
.service-tag__plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(37, 99, 235, 0.12);
	color: var(--ud-blue);
	font-size: 0.85rem;
	line-height: 1;
}
.service-tag:hover .service-tag__plus { background: var(--ud-grad); color: #fff; }

body.modal-open { overflow: hidden; }

.service-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}
.service-modal[hidden] { display: none; }
.service-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 18, 32, 0.6);
	backdrop-filter: blur(3px);
	animation: ud-fade 0.2s ease;
}
.service-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	padding: 2.25rem;
	box-shadow: 0 40px 80px rgba(15, 23, 42, 0.35);
	animation: ud-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-modal__close {
	position: absolute;
	top: 1rem;
	right: 1.1rem;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 10px;
	background: #f1f5f9;
	color: var(--ud-slate);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.service-modal__close:hover { background: var(--ud-ink); color: #fff; }

.service-panel__pillar {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}
.service-panel__pillar--data { background: rgba(37, 99, 235, 0.1); color: var(--ud-blue); }
.service-panel__pillar--ai { background: rgba(124, 58, 237, 0.1); color: var(--ud-purple); }
.service-panel__title { font-size: 1.6rem; margin: 0 0 0.6rem; }
.service-panel__desc { color: var(--ud-slate); margin: 0 0 1.5rem; }
.service-panel__subtitle { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ud-ink); margin: 0 0 0.75rem; }
.service-panel__list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.6rem; }
.service-panel__list li { position: relative; padding-left: 1.75rem; color: #334155; }
.service-panel__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ud-grad);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.service-panel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes ud-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ud-pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.service-modal__overlay, .service-modal__dialog { animation: none; }
}

/* ---- Fase 1: componentes da Home ---- */

/* Hover coerente em cartões */
.card,
.service-card,
.industry-card,
.project-card {
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.service-card:hover,
.industry-card:hover,
.project-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(11, 31, 58, 0.12);
	border-color: rgba(6, 182, 212, 0.35);
}

.card__title {
	font-size: 1.125rem;
}

.card__text {
	color: var(--ud-slate);
	margin: 0;
}

/* Hero visual — brilho animado subtil */
.hero__glow {
	position: relative;
	overflow: hidden;
}

.hero__glow::after {
	content: "";
	position: absolute;
	inset: -30%;
	background: conic-gradient(from 180deg, transparent, rgba(34, 211, 238, 0.25), transparent 60%);
	animation: ud-spin 12s linear infinite;
}

@keyframes ud-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero__glow::after {
		animation: none;
	}
}

/* Projetos em destaque */
.project-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	color: var(--ud-ink);
	background: var(--ud-white);
	border: 1px solid var(--ud-slate-100);
	border-radius: var(--ud-radius);
	box-shadow: var(--ud-shadow);
}

.project-card__thumb {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.project-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
}

.project-card__client {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ud-cyan);
}

.project-card__title {
	font-size: 1.125rem;
	margin: 0.25rem 0 0;
}

.projects__more {
	margin-top: 2rem;
	text-align: center;
}

/* Grelha de logótipos (integrações) */
.logo-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem 2rem;
}

.logo-grid img {
	opacity: 0.85;
	filter: grayscale(1);
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.logo-grid img:hover {
	opacity: 1;
	filter: none;
}

/* Lweza IA (página + teaser) */
.as-hero__inner,
.as-cta__inner {
	text-align: center;
	max-width: 760px;
	margin-inline: auto;
}

.as-hero__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin-top: 0.75rem;
}

.as-hero__actions,
.as-cta__actions,
.agente-smith-teaser__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.agente-smith-teaser__inner {
	max-width: 760px;
	margin-inline: auto;
}

/* Conteúdo de página/post */
.page-entry,
.single-entry {
	padding-block: clamp(2rem, 5vw, 4rem);
}

.entry-content {
	max-width: 72ch;
}

.single-entry__thumb {
	margin: 1.5rem 0;
	border-radius: var(--ud-radius);
	overflow: hidden;
}

/* ---- Fase 2: Casos de Uso ---- */

.cu-hero__inner {
	max-width: 760px;
}

.cu-hero__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
}

.cu-hero__subtitle {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.125rem;
	margin: 0;
}

.cu-ps__col {
	background: var(--ud-white);
	border: 1px solid var(--ud-slate-100);
	border-radius: var(--ud-radius);
	padding: 1.75rem;
	box-shadow: var(--ud-shadow);
}

.cu-ps__col--problema {
	border-top: 3px solid var(--ud-slate);
}

.cu-ps__col--solucao {
	border-top: 3px solid var(--ud-cyan);
}

.cu-ps__title {
	font-size: 1.25rem;
	margin-top: 0;
}

.cu-ps__body {
	color: var(--ud-slate);
}

.check-list--cols {
	display: grid;
	gap: 0.75rem 2rem;
}

@media (min-width: 720px) {
	.check-list--cols {
		grid-template-columns: repeat(2, 1fr);
	}
}

.results {
	text-align: center;
}

.result {
	padding: 2rem 1.5rem;
	border-radius: var(--ud-radius);
	background: linear-gradient(135deg, #12294d, #0b1f3a);
	color: var(--ud-white);
	border: 1px solid rgba(34, 211, 238, 0.25);
}

.result__value {
	display: block;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	color: var(--ud-cyan-300);
	line-height: 1.1;
}

.result__metric {
	display: block;
	margin-top: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
}

/* ---- Fase 3: Projetos + Blog ---- */

/* Cabeçalho de arquivo */
.archive-header__eyebrow {
	color: var(--ud-cyan-300);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.8125rem;
	margin: 0 0 0.5rem;
}

.archive-header__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin: 0;
}

.archive-header__subtitle {
	color: rgba(255, 255, 255, 0.85);
	max-width: 60ch;
	margin: 0.75rem 0 0;
}

/* Barra de filtros */
.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.filter-bar__item {
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: var(--ud-slate-100);
	color: var(--ud-navy);
	font-weight: 500;
	font-size: 0.9375rem;
}

.filter-bar__item:hover,
.filter-bar__item.is-active {
	background: var(--ud-cyan);
	color: var(--ud-navy);
}

/* Chips de tecnologias */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Hero do projeto */
.projeto-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	color: var(--ud-cyan-300);
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.projeto-hero__meta a {
	color: var(--ud-cyan-300);
}

.projeto-hero__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin: 0;
}

.projeto__thumb {
	margin: -3rem auto 0;
	border-radius: var(--ud-radius);
	overflow: hidden;
	box-shadow: var(--ud-shadow);
	position: relative;
	z-index: 1;
}

.projeto__back {
	padding-block: 1rem;
}

/* Cartão de post (blog) */
.post-card {
	background: var(--ud-white);
	border: 1px solid var(--ud-slate-100);
	border-radius: var(--ud-radius);
	overflow: hidden;
	box-shadow: var(--ud-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(11, 31, 58, 0.12);
	border-color: rgba(6, 182, 212, 0.35);
}

.post-card__link {
	color: var(--ud-ink);
	display: block;
}

.post-card__thumb {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 1.25rem 1.5rem 1.5rem;
}

.post-card__cat {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--ud-cyan);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.post-card__title {
	font-size: 1.125rem;
	margin: 0.35rem 0 0.5rem;
}

.post-card__meta {
	color: var(--ud-slate);
	font-size: 0.875rem;
	margin: 0;
}

/* Paginação */
.pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.5rem;
	margin: 0 0.15rem;
	border-radius: 8px;
	background: var(--ud-slate-100);
	color: var(--ud-navy);
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--ud-cyan);
	color: var(--ud-navy);
}

/* ---- Fase 4: Contactos + Conversão ---- */

.contactos-hero__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	margin: 0;
}

.contactos-hero__subtitle {
	color: rgba(255, 255, 255, 0.85);
	max-width: 60ch;
	margin: 0.75rem 0 0;
}

.contactos__grid {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 900px) {
	.contactos__grid {
		grid-template-columns: 1.4fr 0.6fr;
	}
}

/* Formulário */
.contact-form__row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 600px) {
	.contact-form__row {
		grid-template-columns: repeat(2, 1fr);
	}
}

.contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0 0 1.25rem;
}

.contact-form__field label {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--ud-navy);
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	font: inherit;
	color: var(--ud-ink);
	background: var(--ud-white);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--ud-cyan);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

/* Honeypot: fora do ecrã, não usar display:none (alguns bots detetam). */
.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 1rem 1.25rem;
	border-radius: 10px;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.form-notice.is-success {
	background: rgba(6, 182, 212, 0.12);
	color: #0e7490;
	border: 1px solid rgba(6, 182, 212, 0.4);
}

.form-notice.is-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

/* Canais diretos */
.contactos__info-title {
	font-size: 1.125rem;
	margin-top: 0;
}

.contactos__info-title:not(:first-child) {
	margin-top: 2rem;
}

.contactos__channels {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 1rem;
}

.contactos__channels li {
	display: flex;
	flex-direction: column;
}

.contactos__channels span {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ud-slate);
	font-weight: 600;
}

.contactos__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 200;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
	transition: transform 0.15s ease;
}

.whatsapp-float:hover {
	transform: scale(1.08);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.whatsapp-float {
		transition: none;
	}
}
