/* =========================================================
   VANTIX BLOG THEME - main.css
   Paleta e tipografia alinhadas ao site institucional
   (grupovantix.com.br): navy escuro + gradiente roxo/azul,
   accent magenta, cards brancos na seção de blog.
   ========================================================= */

:root {
	/* Cores base */
	--vx-bg: #090c22;
	--vx-bg-soft: #0d1230;
	--vx-bg-card-dark: #10153a;
	--vx-border: rgba(255, 255, 255, 0.08);

	--vx-purple: #7b2ff7;
	--vx-blue: #2f6fed;
	--vx-magenta: #ec1ec7;
	--vx-cyan: #3fb6ff;

	--vx-text: #f3f4fb;
	--vx-text-dim: #a7acd1;
	--vx-white: #ffffff;

	/* Gradientes */
	--vx-grad-brand: linear-gradient(135deg, var(--vx-purple), var(--vx-blue));
	--vx-grad-cta: linear-gradient(90deg, #a83ff2, #3f7bf0);
	--vx-grad-accent-line: linear-gradient(90deg, var(--vx-magenta), var(--vx-blue));
	--vx-grad-text: linear-gradient(90deg, var(--vx-magenta), #b23ff2);

	/* Tipografia */
	--vx-font-display: 'Poppins', 'Segoe UI', sans-serif;
	--vx-font-body: 'Inter', 'Segoe UI', sans-serif;

	/* Layout */
	--vx-container: 1180px;
	--vx-radius-lg: 20px;
	--vx-radius-md: 14px;
	--vx-radius-full: 999px;
	--vx-shadow: 0 20px 50px -20px rgba(123, 47, 247, 0.35);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--vx-bg);
	color: var(--vx-text);
	font-family: var(--vx-font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
	font-family: var(--vx-font-display);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.6em;
	color: var(--vx-white);
}
p { margin: 0 0 1.2em; }
:focus-visible { outline: 2px solid var(--vx-cyan); outline-offset: 3px; }

.vx-container {
	max-width: var(--vx-container);
	margin: 0 auto;
	padding: 0 24px;
}
.vx-section { padding: 72px 0; }
.vx-page-narrow { max-width: 760px; }

.vx-text-gradient {
	background: var(--vx-grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.vx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--vx-font-display);
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--vx-cyan);
	margin-bottom: 0.8em;
}
.vx-eyebrow-dash {
	display: inline-block;
	width: 34px;
	height: 3px;
	border-radius: 2px;
	background: var(--vx-grad-accent-line);
}

.vx-section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.vx-section-lead { color: var(--vx-text-dim); font-size: 1.05rem; max-width: 640px; }

/* ---------- Botões ---------- */
.vx-btn {
	display: inline-block;
	font-family: var(--vx-font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: var(--vx-radius-full);
	border: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.vx-btn--gradient {
	background: var(--vx-grad-cta);
	color: var(--vx-white);
	box-shadow: 0 12px 30px -10px rgba(123, 47, 247, 0.6);
}
.vx-btn--gradient:hover { transform: translateY(-2px); opacity: 0.94; }

/* ---------- Header ---------- */
.vx-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(0 0 5);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--vx-border);
	padding: 20px;
}
.vx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 76px;
}
.vx-brand { display: flex; align-items: center; }
.vx-logo-fallback {
	display: flex;
	align-items: baseline;
	gap: 2px;
	font-family: var(--vx-font-display);
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: 0.02em;
	color: var(--vx-white);
}
.vx-logo-mark {
	background: var(--vx-grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: 1.5rem;
}
.custom-logo {height: 100px;width: auto;object-fit: cover;}

.vx-nav-list {
	display: flex;
	align-items: center;
	gap: 32px;
	font-size: 0.95rem;
	color: var(--vx-text-dim);
}
.vx-nav-list a { transition: color 0.2s ease; }
.vx-nav-list a:hover,
.vx-nav-list a.is-active,
.vx-nav-list .current-menu-item a { color: var(--vx-white); }

.vx-header-cta { padding: 11px 22px; font-size: 0.9rem; }

.vx-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}
.vx-nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--vx-white);
	border-radius: 2px;
}

/* ---------- Hero do blog ---------- */
.vx-blog-hero {
	padding-top: 88px;
	padding-bottom: 40px;
	background:
		radial-gradient(circle at 15% 20%, rgba(123, 47, 247, 0.18), transparent 45%),
		radial-gradient(circle at 85% 0%, rgba(47, 111, 237, 0.18), transparent 40%);
}

/* ---------- Grid de cards ---------- */
.vx-blog-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}

.vx-blog-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.vx-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.vx-card {
	background: var(--vx-white);
	border-radius: var(--vx-radius-lg);
	overflow: hidden;
	box-shadow: var(--vx-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}
.vx-card:hover { transform: translateY(-6px); }
.vx-card-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.vx-card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.vx-card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.vx-card-meta {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #9a9fc2;
	margin-bottom: 0.6em;
}
.vx-card-title { font-size: 1.25rem; margin-bottom: 0.5em; }
.vx-card-title a { color: var(--vx-magenta); transition: opacity 0.2s ease; }
.vx-card-title a:hover { opacity: 0.8; }
.vx-card-excerpt { color: #55597c; font-size: 0.95rem; flex: 1; }
.vx-card-excerpt p { margin: 0; }

.vx-read-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--vx-font-display);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--vx-blue);
	margin-top: 0.5em;
}
.vx-read-more-line {
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: var(--vx-grad-accent-line);
}

/* ---------- Sidebar ---------- */
.vx-sidebar { display: flex; flex-direction: column; gap: 24px; }
.vx-widget {
	background: var(--vx-bg-card-dark);
	border: 1px solid var(--vx-border);
	border-radius: var(--vx-radius-md);
	padding: 24px;
}
.vx-widget-title { font-size: 1.05rem; margin-bottom: 0.7em; }
.vx-widget--cta {
	background: var(--vx-grad-brand);
	border: none;
}
.vx-widget--cta p { color: rgba(255,255,255,0.88); font-size: 0.92rem; }
.vx-widget--cta .vx-btn { width: 100%; text-align: center; }

.vx-search-form { display: flex; gap: 8px; }
.vx-search-input {
	flex: 1;
	background: var(--vx-bg);
	border: 1px solid var(--vx-border);
	border-radius: var(--vx-radius-full);
	padding: 10px 16px;
	color: var(--vx-text);
	font-family: var(--vx-font-body);
}
.vx-search-submit {
	background: var(--vx-grad-cta);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	color: var(--vx-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* ---------- Paginação ---------- */
.vx-pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.vx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--vx-radius-full);
	background: var(--vx-bg-card-dark);
	border: 1px solid var(--vx-border);
	color: var(--vx-text-dim);
	font-size: 0.9rem;
}
.vx-pagination .page-numbers.current,
.vx-pagination .page-numbers:hover {
	background: var(--vx-grad-cta);
	color: var(--vx-white);
	border-color: transparent;
}

/* ---------- Post único ---------- */
.vx-single-header { padding-top: 100px; }
.vx-single-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.vx-single-meta { color: var(--vx-text-dim); font-size: 0.9rem; display: flex; gap: 10px; margin-bottom: 2em; }
.vx-single-thumb { border-radius: var(--vx-radius-lg); overflow: hidden; margin-bottom: 2em; }

.vx-single-content { color: #d3d6ef; font-size: 1.05rem; }
.vx-single-content h2,
.vx-single-content h3 { margin-top: 1.6em; }
.vx-single-content a { color: var(--vx-cyan); text-decoration: underline; }
.vx-single-content blockquote {
	border-left: 3px solid var(--vx-magenta);
	margin: 1.5em 0;
	padding: 0.4em 0 0.4em 1.2em;
	color: var(--vx-text-dim);
	font-style: italic;
}
.vx-single-content img { border-radius: var(--vx-radius-md); margin: 1.4em 0; }
.vx-single-content pre {
	background: var(--vx-bg-card-dark);
	border: 1px solid var(--vx-border);
	border-radius: var(--vx-radius-md);
	padding: 18px;
	overflow-x: auto;
}
.vx-single-content ul,
.vx-single-content ol { padding-left: 1.3em; margin-bottom: 1.2em; }

.vx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em; }
.vx-tags a {
	font-size: 0.82rem;
	padding: 6px 14px;
	border-radius: var(--vx-radius-full);
	background: var(--vx-bg-card-dark);
	border: 1px solid var(--vx-border);
	color: var(--vx-text-dim);
}

/* ---------- Comentários ---------- */
.vx-comments { margin-top: 3.5em; padding-top: 2.5em; border-top: 1px solid var(--vx-border); }
.vx-comments-title { font-size: 1.3rem; }
.vx-comment-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 2em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--vx-bg-card-dark);
	border: 1px solid var(--vx-border);
	border-radius: var(--vx-radius-md);
	padding: 12px 14px;
	color: var(--vx-text);
	font-family: var(--vx-font-body);
	margin-bottom: 14px;
}
.comment-form label { display: block; font-size: 0.85rem; color: var(--vx-text-dim); margin-bottom: 6px; }
/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: #030410;
  padding-top: 70px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img{ height: 70px; margin-bottom: 16px; border-radius:50%; }
.footer-brand p{ color: var(--text-muted-2); font-size:.88rem; max-width: 280px; }
.footer-social{ display:flex; gap:12px; margin-top: 20px; }
.footer-social a{
  width: 38px; height:38px;
  border-radius:50%;
  background: rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, transform .2s ease;
  font-size: 1rem;
}
.footer-social a:hover{ background: var(--grad-purple-pink); transform: translateY(-3px); }
.footer-col h4{ color:#fff; font-size: 1rem; margin: 0 0 20px; font-weight:600; }
.footer-col ul li{ margin-bottom: 12px; }
.footer-col a{ color: var(--text-muted-2); font-size:.9rem; transition: color .2s ease; }
.footer-col a:hover{ color: var(--pink-light); }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; color: var(--text-muted-2); font-size:.9rem; margin-bottom:14px; }
.footer-contact li span{ flex-shrink:0; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 12px;
  color: var(--text-muted-2);
  font-size:.82rem;
}
.footer-bottom a{ color: var(--text-muted-2); }
.footer-bottom a:hover{ color: var(--pink-light); }
.footer-legal{ display:flex; gap:20px; }

.vx-empty { color: var(--vx-text-dim); }



/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
	.vx-blog-layout { grid-template-columns: 1fr; }
	.vx-card-grid { grid-template-columns: 1fr; }
	.vx-nav { display: none; }
	.vx-nav.is-open {
		display: block;
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		background: var(--vx-bg-soft);
		border-bottom: 1px solid var(--vx-border);
		padding: 20px 24px;
	}
	.vx-nav.is-open .vx-nav-list { flex-direction: column; align-items: flex-start; gap: 16px; }
	.vx-nav-toggle { display: flex; }
	.vx-header-cta { display: none; }
	.vx-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	.vx-footer-grid { grid-template-columns: 1fr; }
	.vx-footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
	.vx-section { padding: 48px 0; }
	.vx-single-header { padding-top: 72px; }
}
