:root {
	/* ─── Brand ──────────────────────
	   Pulled from the logo:
	     #1472fb = "Fácil"     (primary accent)
	     #011933 = "Etiqueta"  (background navy)
	     #fefefe = white       (text) */
	--primary:       #1472fb;
	--primary-dark:  #0a4dc7;                  /* hover / depth */
	--primary-light: #4d97ff;                  /* gradient top, focus rings */
	--primary-glow:  rgba(20, 114, 251, 0.40); /* shadow / glow tint */

	/* ─── Surfaces ──────────────────── */
	--bg:      #011933;  /* page background */
	--surface: #052348;  /* cards, footer, dropdowns */
	--border:  #0e3266;  /* dividers, input borders */

	/* ─── Text ──────────────────────── */
	--text:  #fefefe;  /* default body text */
	--muted: #8FA3B8;  /* secondary text */
	--white: #fefefe;  /* alias for fixed-white on colored bgs */

	/* ─── Status ────────────────────── */
	--success: #22C55E;
	--danger:  #EF4444;

	/* ─── Layout ────────────────────── */
	--radius:    14px;
	--shadow:    0 20px 60px -20px rgba(0,0,0,0.6);
	--max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	overflow-x: hidden;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── HEADER ─────────────────────── */
header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 11, 15, 0.85);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	max-width: var(--max-width);
	margin: 0 auto;
}
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 22px;
	color: var(--white);
	text-decoration: none;
}
.logo-mark {
	width: 38px;
	height: 38px;
	object-fit: contain;
	display: block;
}

/* Wordmark (full "EtiquetaFácil" with icon baked in) — used on login + footer */
.logo-wordmark {
	display: block;
	height: auto;
}
.logo-wordmark.lg { max-width: 280px; }
.logo-wordmark.md { max-width: 220px; }
.nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
	align-items: center;
}
.nav-links a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 500;
	font-size: 15px;
	transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.user-email {
	color: var(--muted);
	font-size: 13.5px;
	font-weight: 500;
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 8px;
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}
.user-plan {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 11px;
	border-radius: 999px;
	color: var(--white);
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	box-shadow: 0 4px 14px -4px var(--primary-glow);
	white-space: nowrap;
}
.user-plan[hidden] { display: none; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 10px;
	border: 0;
	cursor: pointer;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s, background .15s;
	font-family: inherit;
}
.btn-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	color: white;
	box-shadow: 0 10px 30px -10px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--primary-glow); }
.btn-ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); }
.mobile-toggle { display: none; background: transparent; border: 0; color: var(--text); cursor: pointer; }

/* ─── HERO ───────────────────────── */
.hero {
	position: relative;
	padding: 100px 0 80px;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 800px;
	height: 800px;
	background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(36px, 5vw, 58px);
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 22px;
	letter-spacing: -1.5px;
}
.hero h1 .gradient {
	background: linear-gradient(135deg, var(--primary-light), #a3ccff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero p {
	color: var(--muted);
	font-size: 19px;
	margin-bottom: 32px;
	max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
	display: flex;
	gap: 28px;
	margin-top: 40px;
	flex-wrap: wrap;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { color: var(--white); font-size: 22px; font-weight: 800; }
.hero-meta span { color: var(--muted); font-size: 13px; }

.hero-mock {
	position: relative;
	border-radius: var(--radius);
	background: linear-gradient(180deg, var(--surface), #082a55);
	padding: 24px;
	border: 1px solid rgba(255,255,255,0.06);
	box-shadow: var(--shadow);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.mock-label {
	background: rgba(20,114,251,0.12);
	border: 1px dashed var(--primary-light);
	border-radius: 10px;
	padding: 28px;
	text-align: center;
	color: var(--primary-light);
	font-weight: 600;
}
.mock-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-row {
	background: rgba(255,255,255,0.04);
	border-radius: 8px;
	padding: 12px 14px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: var(--muted);
}
.mock-row b { color: var(--text); }
.mock-tag { background: var(--primary); color: white; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }

/* ─── SECTION ──────────────────── */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.eyebrow {
	display: inline-block;
	color: var(--primary-light);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 12px;
	margin-bottom: 12px;
}
.section-head h2 {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -1px;
	margin-bottom: 12px;
}
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ─── FERRAMENTA ───────────────── */
#ferramenta { background: linear-gradient(180deg, var(--bg) 0%, #031c3a 100%); }
.tool-card {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 20px;
	padding: 36px;
	box-shadow: var(--shadow);
	max-width: 900px;
	margin: 0 auto;
}
.dropzone {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 2px dashed rgba(77, 151, 255, 0.4);
	border-radius: 16px;
	padding: 50px 24px;
	text-align: center;
	cursor: pointer;
	transition: all .25s;
	background: rgba(20,114,251,0.04);
	position: relative;
}
.dropzone:hover, .dropzone.dragging {
	border-color: var(--primary-light);
	background: rgba(20,114,251,0.10);
	transform: scale(1.01);
}
.dropzone svg {
	width: 56px;
	height: 56px;
	color: var(--primary-light);
	margin-bottom: 14px;
}
.dropzone h3 { font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.dropzone p { color: var(--muted); font-size: 15px; }
.dropzone .hint { display: block; margin-top: 14px; font-size: 12px; color: var(--muted); }
.dropzone input[type=file] { display: none; }

.file-list {
	margin-top: 22px;
	display: none;
	flex-direction: column;
	gap: 8px;
}
.file-list.show { display: flex; }

.file-list-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 4px 4px;
	font-size: 13px;
	color: var(--muted);
}
.file-list-head b { color: var(--text); }
.link-btn {
	background: transparent;
	border: 0;
	color: var(--primary-light);
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 6px;
	font-family: inherit;
}
.link-btn:hover { background: rgba(20,114,251,0.10); }

.file-item {
	padding: 14px 18px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.04);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	transition: background .15s, border-color .15s;
}
.file-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(20,114,251,0.25); }
.file-item .meta { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.file-item .icon {
	width: 38px; height: 38px; border-radius: 9px;
	background: var(--primary); display: grid; place-items: center;
	flex-shrink: 0;
}
.file-item .icon svg { width: 20px; height: 20px; color: white; }
.file-item .info { min-width: 0; flex: 1; }
.file-item .name { font-weight: 600; word-break: break-all; font-size: 14.5px; }
.file-item .size { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.file-item .src { color: var(--primary-light); }
.file-item .remove {
	background: transparent;
	border: 0;
	color: var(--muted);
	cursor: pointer;
	font-size: 16px;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.file-item .remove:hover { color: var(--danger); background: rgba(239,68,68,0.08); }

.actions {
	display: flex;
	gap: 12px;
	margin-top: 22px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.btn-primary[disabled] {
	opacity: .5;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.status {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 14px;
	display: none;
}
.status.show { display: block; }
.status.info { background: rgba(20,114,251,0.12); color: var(--primary-light); border: 1px solid rgba(20,114,251,0.3); }
.status.error { background: rgba(239,68,68,0.10); color: #fca5a5; border: 1px solid rgba(239,68,68,0.3); }
.status.success { background: rgba(34,197,94,0.10); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }

.progress {
	margin-top: 18px;
	width: 100%;
	height: 6px;
	background: rgba(255,255,255,0.06);
	border-radius: 6px;
	overflow: hidden;
	display: none;
}
.progress.show { display: block; }
.progress-bar {
	height: 100%;
	background: linear-gradient(90deg, var(--primary), var(--primary-light));
	width: 30%;
	animation: pulse 1.4s infinite ease-in-out;
}
@keyframes pulse {
	0%, 100% { transform: translateX(-100%); }
	50% { transform: translateX(280%); }
}

.result {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(255,255,255,0.06);
	display: none;
}
.result.show { display: block; }
.result-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 12px;
}
.result-head h4 { font-size: 18px; }
.preview-frame {
	width: 100%;
	height: 600px;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	background: white;
	margin-top: 12px;
}
.zip-note {
	padding: 16px;
	background: rgba(255,255,255,0.04);
	border-radius: 10px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.6;
	margin-top: 12px;
}

/* ─── COMO FUNCIONA ────────────── */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.step {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: var(--radius);
	padding: 32px 28px;
	position: relative;
	transition: transform .2s, border-color .2s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(20,114,251,0.4); }
.step-num {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--primary), var(--primary-light));
	display: grid; place-items: center;
	font-weight: 800;
	margin-bottom: 18px;
	font-size: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ─── FEATURES ─────────────────── */
.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 22px;
}
.feature {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: var(--radius);
	padding: 28px;
}
.feature .icon-box {
	width: 48px; height: 48px; border-radius: 12px;
	background: rgba(20,114,251,0.15);
	display: grid; place-items: center;
	margin-bottom: 16px;
	color: var(--primary-light);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ─── SOBRE ──────────────────── */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}
.about-grid h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -1px; margin-bottom: 18px; }
.about-grid p { color: var(--muted); margin-bottom: 16px; font-size: 16.5px; }
.about-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.stat {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: var(--radius);
	padding: 26px;
}
.stat b { display: block; font-size: 32px; font-weight: 800; color: var(--primary-light); margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }

/* ─── FAQ ───────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
	background: var(--surface);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 12px;
	margin-bottom: 12px;
	overflow: hidden;
}
.faq-q {
	width: 100%;
	background: transparent;
	border: 0;
	color: var(--text);
	padding: 20px 22px;
	text-align: left;
	cursor: pointer;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--primary-light); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
	padding: 0 22px;
	max-height: 0;
	overflow: hidden;
	color: var(--muted);
	transition: max-height .3s, padding .3s;
}
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 240px; }

/* ─── CONTATO ─────────────────── */
.contact-card {
	background: linear-gradient(135deg, var(--primary-dark), #021a3d);
	border-radius: 20px;
	padding: 50px;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	border: 1px solid rgba(255,255,255,0.08);
}
.contact-card h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 14px; letter-spacing: -1px; }
.contact-card p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.contact-meta {
	display: flex;
	gap: 28px;
	justify-content: center;
	margin-top: 28px;
	flex-wrap: wrap;
	color: rgba(255,255,255,0.85);
	font-size: 14.5px;
}
.contact-meta div { display: flex; align-items: center; gap: 8px; }

/* ─── FOOTER ───────────────────── */
footer {
	background: var(--surface);
	padding: 50px 0 30px;
	border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 50px;
	margin-bottom: 36px;
}
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--white); margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 380px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.05);
	padding-top: 22px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
}

/* ─── RESPONSIVE ───────────────── */
@media (max-width: 900px) {
	.hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.nav-links { display: none; }
	.mobile-toggle { display: block; }
	.nav-links.open {
		display: flex;
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		background: var(--surface);
		padding: 20px;
		border-bottom: 1px solid rgba(255,255,255,0.05);
	}
	.tool-card { padding: 24px; }
	.preview-frame { height: 480px; }
}
@media (max-width: 480px) {
	section { padding: 60px 0; }
	.hero { padding: 60px 0; }
	.contact-card { padding: 32px 22px; }
}
