/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ==========================================================================
   Design tokens
   ========================================================================== */

html {
	color-scheme: light only;
}

:root {
	--cream: #FBF7F1;
	--cream-deep: #F3EBDF;
	--charcoal: #34312E;
	--charcoal-soft: #6B6560;
	--charcoal-deep: #201E1C;
	--amber: #E88A0C;
	--amber-deep: #C97207;
	--amber-soft: #F7DEB0;
	--white: #FFFFFF;

	--font-display: 'Fraunces', serif;
	--font-body: 'Manrope', sans-serif;
	--font-script: 'Caveat', cursive;

	--header-h: 92px;
	--container-w: 1180px;
	--radius: 4px;
	--ease: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	background: var(--cream);
	color: var(--charcoal);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

.container {
	width: 100%;
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 28px;
}

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--charcoal-deep);
	letter-spacing: -0.01em;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-script);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--amber-deep);
	margin-bottom: 6px;
}

.section {
	padding: 96px 0;
	position: relative;
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.section-intro {
	max-width: 640px;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--charcoal-soft);
	margin-top: 18px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 34px;
	border-radius: var(--radius);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.btn-primary {
	background: var(--amber);
	color: var(--white);
	box-shadow: 0 10px 24px -10px rgba(232, 138, 12, 0.65);
}
.btn-primary:hover {
	background: var(--amber-deep);
	transform: translateY(-2px);
}

.btn-whatsapp {
	background: var(--charcoal-deep);
	color: var(--white);
}
.btn-whatsapp:hover {
	background: var(--amber-deep);
	transform: translateY(-2px);
}

/* ==========================================================================
   Header + Hamburger (padrão sanduíche em todas as telas)
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-h);
	z-index: 200;
	background: rgba(251, 247, 241, 0.85);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
	border-bottom-color: rgba(52, 49, 46, 0.1);
}

.header-inner {
	max-width: var(--container-w);
	margin: 0 auto;
	height: 100%;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-link {
	display: flex;
	align-items: center;
}

.logo-img {
	height: 40px;
	width: auto;
}

.nav-desktop {
	display: none;
}

.nav-desktop-menu {
	display: flex;
	align-items: center;
	gap: 34px;
}

.nav-desktop-menu .nav-link {
	font-family: var(--font-body);
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--charcoal);
	opacity: 1;
	transform: none;
	padding: 6px 0;
	position: relative;
	transition: color 0.3s var(--ease);
}

.nav-desktop-menu .nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--amber);
	transition: right 0.35s var(--ease);
}

.nav-desktop-menu .nav-link:hover,
.nav-desktop-menu .nav-link.is-active {
	color: var(--amber-deep);
}

.nav-desktop-menu .nav-link:hover::after,
.nav-desktop-menu .nav-link.is-active::after {
	right: 0;
}

.menu-toggle {
	position: relative;
	z-index: 260;
	width: 52px;
	height: 52px;
	background: var(--cream);
	border: 1px solid rgba(52, 49, 46, 0.18);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
	box-shadow: 0 2px 10px -4px rgba(32, 30, 28, 0.25);
	transition: background 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] {
	background: var(--charcoal-deep);
	border-color: transparent;
}

.menu-toggle-bar {
	width: 20px;
	height: 2px;
	background: var(--charcoal-deep);
	transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar {
	background: var(--white);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
	position: fixed;
	inset: 0;
	z-index: 250;
	background: var(--charcoal-deep);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
	display: flex;
	align-items: center;
}

.nav-overlay.is-open {
	visibility: visible;
	opacity: 1;
}

.nav-overlay-inner {
	width: 100%;
	max-width: var(--container-w);
	margin: 0 auto;
	padding: 0 28px;
}

.nav-eyebrow {
	display: block;
	font-family: var(--font-script);
	font-size: 1.6rem;
	color: var(--amber);
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.5s var(--ease) 0.15s, transform 0.5s var(--ease) 0.15s;
}

.nav-overlay.is-open .nav-eyebrow {
	opacity: 1;
	transform: translateY(0);
}

.nav-menu li {
	overflow: hidden;
}

.nav-link {
	display: flex;
	align-items: baseline;
	gap: 20px;
	font-family: var(--font-display);
	font-size: clamp(2rem, 6vw, 3.4rem);
	font-weight: 400;
	color: var(--white);
	padding: 10px 0;
	opacity: 0;
	transform: translateY(100%);
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}

.nav-overlay.is-open .nav-link {
	opacity: 1;
	transform: translateY(0);
}

.nav-menu li:nth-child(1) .nav-link { transition-delay: 0.05s; }
.nav-menu li:nth-child(2) .nav-link { transition-delay: 0.1s; }
.nav-menu li:nth-child(3) .nav-link { transition-delay: 0.15s; }
.nav-menu li:nth-child(4) .nav-link { transition-delay: 0.2s; }
.nav-menu li:nth-child(5) .nav-link { transition-delay: 0.25s; }
.nav-menu li:nth-child(6) .nav-link { transition-delay: 0.3s; }
.nav-menu li:nth-child(7) .nav-link { transition-delay: 0.35s; }

.nav-link:hover,
.nav-link.is-active {
	color: var(--amber);
}

.nav-index {
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--amber);
	opacity: 0.8;
}

.nav-overlay-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.6);
	opacity: 0;
	transition: opacity 0.5s var(--ease) 0.35s;
}

.nav-overlay.is-open .nav-overlay-footer {
	opacity: 1;
}

.nav-overlay-footer p + p {
	margin-top: 4px;
}

body.menu-open {
	overflow: hidden;
}

/* ==========================================================================
   Hero / A Evolux
   ========================================================================== */

#topo {
	scroll-margin-top: var(--header-h);
}

.hero-section {
	padding-top: calc(var(--header-h) + 100px);
	padding-bottom: 110px;
	overflow: hidden;
}

.spiral-decor {
	position: absolute;
	top: 50%;
	right: -120px;
	transform: translateY(-50%);
	width: 480px;
	height: 480px;
	pointer-events: none;
	opacity: 0.5;
}

.spiral-svg {
	width: 100%;
	height: 100%;
}

.spiral-ring {
	fill: none;
	stroke: var(--amber);
	stroke-width: 1.4;
}
.spiral-ring--1 { stroke-dasharray: 4 14; animation: spin 60s linear infinite; transform-origin: 200px 200px; }
.spiral-ring--2 { stroke-dasharray: 2 10; opacity: 0.7; animation: spin 45s linear infinite reverse; transform-origin: 200px 200px; }
.spiral-ring--3 { stroke-dasharray: 1 8; opacity: 0.9; animation: spin 30s linear infinite; transform-origin: 200px 200px; }

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

.hero-grid {
	position: relative;
	z-index: 2;
}

.hero-copy {
	max-width: 660px;
}

.hero-copy h1 {
	font-size: clamp(2.8rem, 7vw, 5rem);
	line-height: 1;
	margin-bottom: 26px;
}

.hero-copy .lead {
	font-size: 1.15rem;
	line-height: 1.75;
	color: var(--charcoal-soft);
	margin-bottom: 40px;
}

/* ==========================================================================
   Nossa Equipe
   ========================================================================== */

.equipe-section {
	background: var(--cream-deep);
}

.equipe-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.equipe-grid--single {
	grid-template-columns: minmax(0, 340px);
	justify-content: center;
	text-align: center;
}

.equipe-grid--single .equipe-cargo {
	display: block;
}

.equipe-card {
	background: var(--white);
	padding: 32px;
	border-radius: var(--radius);
}

.equipe-photo {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--radius);
	margin-bottom: 24px;
}

.equipe-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.6s var(--ease);
}

.equipe-card:hover .equipe-photo img {
	transform: scale(1.04);
}

.equipe-card h3 {
	font-size: 1.5rem;
	margin-bottom: 6px;
}

.equipe-cargo {
	display: block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--amber-deep);
	margin-bottom: 16px;
}

.equipe-card p {
	color: var(--charcoal-soft);
	line-height: 1.65;
}

/* ==========================================================================
   Serviços
   ========================================================================== */

.servicos-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	background: var(--charcoal);
	border-radius: var(--radius);
	overflow: hidden;
}

.servico-card {
	background: var(--white);
	padding: 36px 30px;
	transition: background 0.35s var(--ease);
}

.servico-card:hover {
	background: var(--cream-deep);
}

.servico-marca {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid var(--amber);
	margin-bottom: 22px;
	position: relative;
}

.servico-marca::after {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	background: var(--amber);
}

.servico-card h3 {
	font-size: 1.15rem;
	margin-bottom: 10px;
	line-height: 1.3;
}

.servico-card p {
	color: var(--charcoal-soft);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* ==========================================================================
   Tecnologia
   ========================================================================== */

.tecnologia-section {
	background: var(--charcoal-deep);
	color: var(--cream);
}

.tecnologia-section h2 {
	color: var(--white);
}

.tecnologia-section .eyebrow {
	color: var(--amber);
}

.tecnologia-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 60px;
	align-items: center;
}

.tecnologia-copy p {
	color: rgba(251, 247, 241, 0.75);
	line-height: 1.75;
	margin-top: 20px;
}

.tecnologia-visual {
	display: flex;
	justify-content: center;
}

.tecnologia-svg {
	width: 100%;
	max-width: 300px;
}

.tec-ring {
	fill: none;
	stroke: var(--amber);
	stroke-width: 1;
	opacity: 0.5;
}

.tec-ring--fill {
	fill: var(--amber);
	opacity: 0.15;
	stroke-width: 1.4;
	opacity: 1;
	animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.08); opacity: 0.6; }
}

/* ==========================================================================
   Portifólio
   ========================================================================== */

.portifolio-grid {
	margin-top: 56px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.portifolio-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.portifolio-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.portifolio-card:hover img {
	transform: scale(1.06);
}

.portifolio-card figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 20px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.03em;
	color: var(--white);
	background: linear-gradient(to top, rgba(32, 30, 28, 0.85), transparent);
}

/* ==========================================================================
   Contato
   ========================================================================== */

.contato-section {
	background: var(--cream-deep);
}

.contato-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr;
	gap: 56px;
	align-items: start;
}

.contato-lista {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.contato-lista li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(52, 49, 46, 0.12);
}

.contato-lista li:last-child {
	border-bottom: none;
}

.contato-mapa {
	margin-top: 36px;
	border-radius: var(--radius);
	overflow: hidden;
	line-height: 0;
	box-shadow: 0 14px 34px -18px rgba(32, 30, 28, 0.35);
}

.contato-mapa iframe {
	display: block;
}

.contato-lista strong {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--amber-deep);
}

.contato-lista span {
	font-size: 1.05rem;
	color: var(--charcoal);
}

.contato-cta {
	background: var(--charcoal-deep);
	color: var(--white);
	padding: 44px 36px;
	border-radius: var(--radius);
}

.contato-cta h3 {
	color: var(--white);
	font-size: 1.6rem;
	margin-bottom: 16px;
}

.contato-cta p {
	color: rgba(251, 247, 241, 0.75);
	line-height: 1.7;
	margin-bottom: 30px;
}

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

.site-footer {
	padding: 40px 0;
	background: var(--charcoal-deep);
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-logo {
	height: 30px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.85;
}

.footer-inner p {
	font-size: 0.85rem;
	color: rgba(251, 247, 241, 0.55);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* ==========================================================================
   Menu horizontal no desktop / hambúrguer somente no mobile
   ========================================================================== */

@media (min-width: 900px) {
	.nav-desktop {
		display: block;
	}

	.menu-toggle,
	.nav-overlay {
		display: none !important;
	}
}

@media (max-width: 960px) {
	.equipe-grid {
		grid-template-columns: 1fr;
		max-width: 420px;
	}

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

	.tecnologia-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.tecnologia-visual {
		order: -1;
	}

	.tecnologia-svg {
		max-width: 200px;
	}

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

	.spiral-decor {
		width: 340px;
		height: 340px;
		right: -160px;
		opacity: 0.35;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 76px;
	}

	.section {
		padding: 72px 0;
	}

	.container {
		padding: 0 22px;
	}

	.logo-img {
		height: 32px;
	}

	.menu-toggle {
		width: 46px;
		height: 46px;
	}

	.hero-section {
		padding-top: calc(var(--header-h) + 64px);
		padding-bottom: 72px;
	}

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

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

	.eyebrow {
		font-size: 1.3rem;
	}

	.nav-link {
		font-size: clamp(1.6rem, 9vw, 2.4rem);
		gap: 14px;
	}

	.contato-cta {
		padding: 32px 24px;
	}
}

@media (max-width: 400px) {
	.equipe-grid {
		max-width: 100%;
	}
}
