/* Blue Forge Tecnologia — institutional page. No external fonts, no inline styles (strict CSP). */

:root {
	--blue: #3366CC;
	--blue-dark: #24499A;
	--blue-deep: #0B1F44;
	--sky: #0099FF;
	--blue-soft: #EAF1FC;
	--gray: #7A8594;
	--ink: #0E1A2E;
	--ink-2: #36445A;
	--muted: #5C6879;
	--line: #DFE5EE;
	--bg-alt: #F4F7FB;
	--sinfe: #4E8A22;
	--mybucks: #C7EF00;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(14, 26, 46, .06), 0 10px 28px rgba(14, 26, 46, .08);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px;
	border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
	border: 2px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.05rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: var(--blue-soft); color: var(--blue-deep); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sinfe { background: var(--sinfe); color: #fff; }
.btn-sinfe:hover { background: #3F731A; color: #fff; }
.btn-mybucks { background: var(--mybucks); color: var(--ink); }
.btn-mybucks:hover { background: #B4D900; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 92px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav ul a:hover { color: var(--blue); }
.site-nav .btn { min-height: 40px; padding: 8px 16px; font-size: .95rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; gap: 16px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 24px; box-shadow: var(--shadow); }
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 4px; }
	.site-nav ul a { display: block; padding: 10px 4px; font-size: 1.05rem; }
	.site-nav .btn { min-height: 48px; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { max-width: 760px; margin-bottom: 32px; }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow-light { color: #9CC4FF; }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero {
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(0, 153, 255, .45), transparent 60%),
		linear-gradient(135deg, var(--blue-deep) 0%, #163A80 55%, var(--blue) 100%);
	color: #DCE7FA; padding: 104px 0 112px;
}
.hero h1 { color: #fff; max-width: 860px; }
.hero .lead { font-size: 1.2rem; max-width: 680px; }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow); }
.product-sinfe { border-top: 5px solid #79BD44; }
.product-mybucks { border-top: 5px solid var(--mybucks); }
.product-logo { display: inline-flex; align-self: flex-start; align-items: center; border-radius: 10px; padding: 10px 14px; margin-bottom: 20px; }
.product-logo-light { background: #fff; border: 1px solid var(--line); }
.product-logo-dark { background: var(--blue-deep); }
.product-logo img { height: 40px; width: auto; }
.product .checklist { margin-bottom: 14px; }
.product-for { font-size: .95rem; color: var(--muted); flex: 1; }
.product .btn { align-self: flex-start; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding: 5px 0 5px 28px; }
.checklist li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 13px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

/* Split + flow */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.flow strong { color: var(--ink); }
.flow p { margin: 2px 0 0; font-size: .95rem; }
.flow-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 700; }

/* Tags */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; color: var(--ink-2); font-weight: 500; }

/* Cards */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { position: relative; padding-top: 18px; }
.card h3::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 4px; border-radius: 2px; background: var(--sky); }
.card p:last-child { margin-bottom: 0; }

/* Facts */
.facts { margin: 0; display: grid; gap: 16px; }
.facts div { border-left: 4px solid var(--blue); padding: 6px 0 6px 18px; }
.facts dt { font-size: 1.9rem; font-weight: 800; color: var(--blue-deep); line-height: 1.1; }
.facts dd { margin: 4px 0 0; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); color: #E3ECFB; padding: 72px 0; }
.contact h2 { color: #fff; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.contact-inner .cta-row { margin-top: 0; }
.contact p { margin: 0; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; }
.site-footer img { margin-bottom: 10px; width: 77px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink-2); }
.legal { grid-column: 1 / -1; color: var(--muted); margin: 8px 0 0; border-top: 1px solid var(--line); padding-top: 20px; }

/* Simple pages */
.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.page h2 { font-size: 1.3rem; margin-top: 2em; }

/* WhatsApp */
.nowrap { white-space: nowrap; }
.wa-icon { flex: none; }
.btn-wa-light { gap: 10px; }
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 18px;
	border-radius: 999px; background: #128C4A; color: #fff; font-weight: 700; text-decoration: none;
	box-shadow: 0 6px 20px rgba(14, 26, 46, .25);
}
.wa-float:hover { background: #0E7A40; color: #fff; }
@media (max-width: 640px) {
	.wa-float { right: 14px; bottom: 14px; padding: 14px; }
	.wa-float-label { display: none; }
}
@media print { .wa-float { display: none; } }

/* Responsive */
@media (max-width: 960px) {
	.products, .split { grid-template-columns: 1fr; gap: 32px; }
	.cards-4 { grid-template-columns: 1fr 1fr; }
	.section { padding: 64px 0; }
	.hero { padding: 72px 0 80px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.cards-4 { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-row .btn { width: 100%; }
	.product { padding: 24px; }
}
