:root {
	color-scheme: dark;
	--bg: #0a0e27;
	--bg-alt: #141935;
	--card: rgba(30, 36, 68, 0.6);
	--text: #fff;
	--muted: #b9c0dd;
	--accent: #6b5bff;
	--accent-light: #9d8fff;
	--accent-dark: #4b3bdf;
	--border: #323a63;
	--radius: 16px;
	--gutter: clamp(1.25rem, 4vw, 4rem);
	--section: clamp(4rem, 7vw, 7.5rem);
	--ease: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--font-heading: 'Geist', 'Segoe UI', system-ui, sans-serif;
	--font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* a fonte acompanha a largura da tela, para monitores grandes não ficarem vazios */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
	font-size: clamp(16px, 0.45vw + 11px, 22px);
}

body {
	font-family: var(--font-body);
	background:
		radial-gradient(ellipse 60% 50% at 85% 0%, rgba(107, 91, 255, 0.22), transparent 70%),
		radial-gradient(ellipse 50% 45% at 0% 55%, rgba(107, 91, 255, 0.12), transparent 70%),
		linear-gradient(160deg, var(--bg), var(--bg-alt) 50%, var(--bg));
	background-attachment: fixed;
	color: var(--text);
	line-height: 1.7;
}

h1, h2, h3, h4, .logo { font-family: var(--font-heading); line-height: 1.15; }

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

header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 1rem 0;
	border-bottom: 2px solid var(--border);
	background: rgba(10, 14, 39, 0.82);
	backdrop-filter: blur(12px);
}

.header-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-decoration: none;
	background: linear-gradient(135deg, #fff 20%, var(--accent-light));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.menu { display: flex; gap: 2.25rem; margin-left: auto; margin-right: 1rem; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color var(--ease); }
.menu a:hover { color: var(--text); }

.lang-selector { display: flex; gap: 0.4rem; }
.lang-btn {
	padding: 0.4rem 0.75rem;
	border: 2px solid var(--border);
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	font: 700 0.75rem var(--font-heading);
	cursor: pointer;
	transition: var(--ease);
}
.lang-btn:hover { border-color: var(--accent); color: var(--text); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

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

.band {
	border-block: 2px solid var(--border);
	background: linear-gradient(135deg, rgba(107, 91, 255, 0.09), rgba(107, 91, 255, 0.02));
}

/* Abertura */
.hero { display: flex; align-items: center; min-height: min(78vh, 52rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--gutter); }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.5rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-art svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 18px rgba(107, 91, 255, 0.45)); }
.waves path { animation: float 9s ease-in-out infinite alternate; }
.waves path:nth-child(2) { animation-delay: -1.8s; }
.waves path:nth-child(3) { animation-delay: -3.6s; }
.waves path:nth-child(4) { animation-delay: -5.4s; }
.waves path:nth-child(5) { animation-delay: -7.2s; }
@keyframes float { from { transform: translateY(-14px); } to { transform: translateY(22px); } }

/* Títulos e blocos de texto */
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.accent-line { width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gutter); align-items: start; }
.split .section-header { margin-bottom: 0; }
.prose { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
.prose p { color: var(--muted); }
.prose .prose-lead { grid-column: 1 / -1; color: var(--text); font-size: 1.4rem; line-height: 1.6; font-weight: 500; }

/* Cartões */
.grid { display: grid; gap: 1.75rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
	padding: 2.25rem;
	border: 2px solid var(--border);
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	transition: var(--ease);
}
.card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 18px 44px rgba(107, 91, 255, 0.22); }
.card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { color: var(--muted); }
.number { display: block; font: 800 3rem/1 var(--font-heading); color: var(--accent-light); opacity: 0.7; margin-bottom: 1.25rem; }

.ico {
	width: 1.2em;
	height: 1.2em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.card > .ico { width: 2.5rem; height: 2.5rem; color: var(--accent-light); margin-bottom: 1.25rem; }

/* Produtos */
.products-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 1.75rem; }
.product { display: flex; flex-direction: column; align-items: flex-start; padding: 3rem; }
.product:first-child { border-color: var(--accent); background: linear-gradient(135deg, rgba(107, 91, 255, 0.24), rgba(30, 36, 68, 0.6)); }
.product h3 { font-size: 2rem; }
.product p { font-size: 1.1rem; max-width: 36em; margin-bottom: 2rem; }
.product.next { border-style: dashed; }
.badge {
	padding: 0.25rem 0.8rem;
	margin-bottom: 1.25rem;
	border-radius: 6px;
	background: var(--accent);
	font: 700 0.75rem var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Botões e links */
.btn, .link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 10px;
	font: 700 0.95rem var(--font-heading);
	text-decoration: none;
	transition: var(--ease);
}
.btn { padding: 0.9rem 1.75rem; border: 2px solid var(--accent); background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(107, 91, 255, 0.35); }
.btn:hover { background: var(--accent-dark); transform: translateY(-3px); }
.btn-ghost { background: transparent; border-color: var(--border); box-shadow: none; }
.btn-ghost:hover { background: rgba(107, 91, 255, 0.15); border-color: var(--accent); }
.link { margin-top: auto; padding: 0.65rem 1.15rem; border: 2px solid rgba(107, 91, 255, 0.5); background: rgba(107, 91, 255, 0.12); color: var(--text); }
.link:hover { border-color: var(--accent-light); background: rgba(107, 91, 255, 0.28); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; }

/* Chamada de contato */
.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(2rem, 4vw, 4rem);
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(107, 91, 255, 0.28), rgba(107, 91, 255, 0.07));
	box-shadow: 0 18px 44px rgba(107, 91, 255, 0.18);
}
.cta h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); margin-bottom: 0.5rem; }
.cta p { color: var(--muted); font-size: 1.1rem; }

/* Rodapé */
footer { border-top: 2px solid var(--border); background: rgba(10, 14, 39, 0.75); padding: 3.5rem 0 1.5rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 2px solid var(--border); }
.footer-content p, .footer-content a, .footer-bottom { color: var(--muted); font-size: 0.9rem; }
.footer-content h4 { color: var(--accent-light); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.75rem; }
.footer-content ul { list-style: none; }
.footer-content a { text-decoration: none; }
.footer-content a:hover { color: var(--text); }
.footer-bottom { text-align: center; padding-top: 1.5rem; }

/* Páginas de texto */
.page { min-height: 60vh; }
.page h1 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1.5rem; }
.page p { color: var(--muted); margin-bottom: 1rem; }
.page a { color: var(--accent-light); }

/* Entrada suave ao rolar (só com JavaScript ativo) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
	.menu { display: none; }
	.hero { min-height: 0; }
	.hero-grid, .grid-3, .products-grid { grid-template-columns: 1fr; }
	.hero-art { display: none; }
}

@media (max-width: 600px) {
	.grid-4, .prose, .footer-content { grid-template-columns: 1fr; }
	.card, .product { padding: 1.75rem; }
	.logo { font-size: 1.25rem; }
	.cta .btn { width: 100%; justify-content: center; font-size: 0.85rem; padding-inline: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.waves path { animation: none; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
}
