/* ESI — Gestão Financeira descomplicada. Layout próprio, landing, cadastro e login. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff") format("woff"); }

:root {
  --gfs-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --esi-navy-900: #0a2540;
  --esi-navy-800: #0b3b60;
  --esi-blue: #0e5a8a;
  --esi-blue-dark: #0b4a73;
  --esi-cyan: #12a4d9;
  --esi-cyan-light: #22d3e0;
  --esi-tint: #e8f6fb;
  --esi-tint-2: #f3fafd;
  --esi-border: #bfe6f4;
  --esi-text: #0f1f2e;
  --esi-muted: #5b6b7b;
  --esi-line: #e3eaf0;
}
body.gfs-page { margin: 0; background: #fff; color: var(--esi-text); font-family: var(--gfs-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.gfs-page-app { background: #f5f8fb; }
html:has(body.gfs-page) { margin-top: 0 !important; scroll-behavior: smooth; }
.gfs-main { min-height: 70vh; }
.gfs-main-app { padding: 20px 20px 40px; }
.gfs-main-signup { padding: 24px 16px 64px; background: linear-gradient(180deg, var(--esi-tint-2), #fff 60%); }

/* Barra superior */
.gfs-sitebar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(12px); -webkit-backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--esi-line); font-family: var(--gfs-font); }
.gfs-sitebar-app { position: static; background: #fff; }
.gfs-sitebar-in { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.gfs-sitebar-app .gfs-sitebar-in { max-width: 1320px; }
.gfs-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--esi-navy-900); text-decoration: none; min-width: 0; }
.gfs-logo img { width: 38px; height: auto; display: block; flex: none; }
.gfs-logo-txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.gfs-logo-txt b { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; color: var(--esi-navy-800); }
.gfs-logo-txt small { font-size: .74rem; color: var(--esi-muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gfs-sitenav { display: flex; align-items: center; gap: 4px; }
.gfs-sitenav a { white-space: nowrap; color: #334155; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 9px 12px; border-radius: 10px; }
.gfs-sitenav a:hover { background: var(--esi-tint); color: var(--esi-navy-800); }
.gfs-sitenav a.gfs-navbtn { background: var(--esi-blue); color: #fff; margin-left: 6px; }
.gfs-sitenav a.gfs-navbtn:hover { background: var(--esi-blue-dark); color: #fff; }

.gfs-sitefoot { border-top: 1px solid var(--esi-line); color: var(--esi-muted); font-size: .9rem; font-family: var(--gfs-font); background: #fff; }
.gfs-sitefoot .gfs-sitebar-in { padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.gfs-sitefoot .gfs-logo img { width: 28px; }
.gfs-sitefoot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.gfs-sitefoot a { color: var(--esi-muted); text-decoration: none; }
.gfs-sitefoot a:hover { color: var(--esi-navy-800); }

/* Base */
.gfs-pub { --p: var(--esi-blue); --p2: var(--esi-blue-dark); --t: var(--esi-text); --m: var(--esi-muted); --l: var(--esi-line); font-family: var(--gfs-font); color: var(--t); line-height: 1.6; font-size: 16px; }
.gfs-pub *, .gfs-pub *::before, .gfs-pub *::after { box-sizing: border-box; }
.gfs-pub h1, .gfs-pub h2, .gfs-pub h3 { font-family: var(--gfs-font); color: var(--esi-navy-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; }
.gfs-pub h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.gfs-pub p { margin: 0 0 1em; }
.gfs-pub section { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.gfs-sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.gfs-sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); }
.gfs-sec-head p { color: var(--m); font-size: 1.08rem; margin: 0; }
.gfs-eyebrow { display: inline-block; color: var(--esi-blue); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }

.gfs-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--p); color: #fff !important; padding: 14px 24px; border-radius: 12px; font-weight: 700; text-decoration: none !important; border: 2px solid var(--p); cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .12s, background .15s, box-shadow .15s; box-shadow: 0 10px 24px rgba(14, 90, 138, .22); }
.gfs-cta:hover { background: var(--p2); border-color: var(--p2); transform: translateY(-1px); }
.gfs-cta.ghost { background: #fff; color: var(--esi-navy-800) !important; border-color: #cfdbe4; box-shadow: none; }
.gfs-cta.ghost:hover { border-color: var(--esi-blue); background: var(--esi-tint-2); }
.gfs-cta.light { background: #fff; color: var(--esi-navy-800) !important; border-color: #fff; box-shadow: none; }
.gfs-cta.light:hover { background: var(--esi-tint); }
.gfs-cta:disabled { opacity: .6; cursor: wait; }
.gfs-block { width: 100%; }
.gfs-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--esi-tint); color: var(--esi-navy-800); font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; border: 1px solid var(--esi-border); }
.gfs-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--esi-cyan); box-shadow: 0 0 0 4px rgba(18, 164, 217, .18); }
.gfs-ic { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Google (texto; troque pelo botão oficial se preferir) */
.gfs-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f2937 !important; border: 1px solid #cfd8e0; border-radius: 12px; padding: 12px 18px; font-weight: 600; text-decoration: none !important; font-family: inherit; font-size: 1rem; transition: background .15s, box-shadow .15s; }
.gfs-google:hover { background: #f8fafc; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.gfs-google-inline { display: inline-flex; padding: 14px 22px; }
.gfs-g { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #9ca3af; font-size: .75rem; font-weight: 800; color: #374151; }
.gfs-or { display: flex; align-items: center; gap: 12px; color: var(--m); font-size: .85rem; margin: 4px 0; }
.gfs-or::before, .gfs-or::after { content: ""; flex: 1; height: 1px; background: var(--l); }

/* Hero */
.gfs-hero-wrap { background:
  radial-gradient(900px 420px at 85% 10%, rgba(34, 211, 224, .14), transparent 60%),
  radial-gradient(700px 380px at 0% 0%, rgba(14, 90, 138, .08), transparent 60%),
  linear-gradient(180deg, #f6fbfe, #fff); border-bottom: 1px solid var(--esi-line); }
.gfs-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px !important; padding-bottom: 72px !important; }
.gfs-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.35rem); letter-spacing: -.035em; }
.gfs-hl { color: var(--esi-blue); background: linear-gradient(90deg, var(--esi-blue), #0b8fc4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gfs-lead { font-size: 1.15rem; color: #44576a; max-width: 560px; }
.gfs-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.gfs-cta-row.center { justify-content: center; }
.gfs-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--m); font-size: .93rem; }
.gfs-trust li { display: inline-flex; align-items: center; gap: 7px; }
.gfs-trust .gfs-ic { width: 18px; height: 18px; color: #16a34a; }

/* Mockup interativo */
.gfs-hero-demo { position: relative; }
.gfs-hero-demo::before { content: ""; position: absolute; inset: 6% -4% -6% 8%; background: radial-gradient(closest-side, rgba(18, 164, 217, .22), transparent); filter: blur(14px); z-index: 0; }
.gfs-mock { position: relative; z-index: 1; background: #fff; border: 1px solid var(--l); border-radius: 20px; box-shadow: 0 30px 70px rgba(10, 37, 64, .16); overflow: hidden; max-width: 470px; margin: 0 auto; }
.gfs-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f7fafc; border-bottom: 1px solid var(--l); }
.gfs-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dbe3ea; }
.gfs-mock-bar span { margin-left: 8px; font-size: .78rem; color: var(--m); }
.gfs-mock-body { padding: 18px; display: grid; gap: 12px; }
.gfs-mock-hero { background: linear-gradient(135deg, var(--esi-navy-900), var(--esi-navy-800)); color: #fff; border-radius: 14px; padding: 18px; position: relative; overflow: hidden; }
.gfs-mock-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 224, .35), transparent 70%); }
.gfs-mock-hero small { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: #b8cfe0; display: block; }
.gfs-mock-hero strong { display: block; font-size: 2rem; color: #6ee7b7; font-variant-numeric: tabular-nums; line-height: 1.2; margin: 4px 0; transition: color .2s; }
.gfs-mock-hero strong.neg { color: #fda4af; }
.gfs-mock-hero span { font-size: .85rem; color: #dbe7f1; }
.gfs-mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gfs-mock-kpis div { border: 1px solid var(--l); border-top: 3px solid #16a34a; border-radius: 12px; padding: 10px 12px; }
.gfs-mock-kpis div.out { border-top-color: #dc2626; }
.gfs-mock-kpis small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--m); }
.gfs-mock-kpis b { font-size: 1.06rem; font-variant-numeric: tabular-nums; }
.gfs-mock-kpis .in b { color: #15803d; }
.gfs-mock-kpis .out b { color: #9f1239; }
.gfs-demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gfs-demo-form input, .gfs-demo-form select { width: 100%; padding: 11px 12px; border: 1px solid #cdd8e1; border-radius: 10px; font-size: 16px; background: #fff; font-family: inherit; color: var(--t); }
.gfs-demo-form input:focus, .gfs-demo-form select:focus { outline: 2px solid var(--esi-border); border-color: var(--esi-blue); }
.gfs-demo-btns { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gfs-demo-btns button { border: 0; border-radius: 10px; padding: 12px; font-weight: 700; cursor: pointer; font-size: .98rem; color: #fff; font-family: inherit; }
.gfs-demo-btns .in { background: #16a34a; }
.gfs-demo-btns .out { background: #dc2626; }
.gfs-demo-btns button:hover { filter: brightness(.95); }
.gfs-demo-cats { font-size: .88rem; }
.gfs-demo-bar { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px; align-items: center; margin: 5px 0; }
.gfs-demo-bar .t { background: #edf2f6; height: 8px; border-radius: 4px; overflow: hidden; }
.gfs-demo-bar .t span { display: block; height: 100%; background: var(--esi-blue); border-radius: 4px; transition: width .35s; }
.gfs-demo-bar b { font-variant-numeric: tabular-nums; font-weight: 600; }
.gfs-demo-note { color: var(--m); font-size: .75rem; text-align: center; }

/* Públicos */
.gfs-aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gfs-aud a { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--l); border-radius: 18px; padding: 22px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.gfs-aud a:hover { border-color: var(--esi-border); box-shadow: 0 14px 30px rgba(10, 37, 64, .08); transform: translateY(-2px); }
.gfs-aud p { color: var(--m); margin: 0 0 12px; font-size: .95rem; }
.gfs-aud span.go { color: var(--esi-blue); font-weight: 700; font-size: .9rem; }
.gfs-icbox { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--esi-tint); color: var(--esi-blue); margin-bottom: 14px; }
.gfs-icbox .gfs-ic { width: 24px; height: 24px; }

/* Recursos */
.gfs-feat-wrap { background: #f6f9fc; border-top: 1px solid var(--esi-line); border-bottom: 1px solid var(--esi-line); }
.gfs-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gfs-feat div { background: #fff; border: 1px solid var(--l); border-radius: 18px; padding: 24px; }
.gfs-feat p { color: var(--m); margin: 0; font-size: .96rem; }

/* Como funciona */
.gfs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.gfs-steps li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--l); border-radius: 18px; background: #fff; }
.gfs-steps li::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--esi-navy-800); color: #fff; font-weight: 800; margin-bottom: 14px; }
.gfs-steps p { color: var(--m); margin: 0; }

/* Segurança (faixa escura) */
.gfs-dark-wrap { background: linear-gradient(135deg, var(--esi-navy-900), var(--esi-navy-800)); color: #dbe7f1; position: relative; overflow: hidden; }
.gfs-dark-wrap::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 224, .18), transparent 70%); pointer-events: none; }
.gfs-dark-wrap .gfs-sec-head h2 { color: #fff; }
.gfs-dark-wrap .gfs-sec-head p { color: #b8cfe0; }
.gfs-dark-wrap .gfs-eyebrow { color: var(--esi-cyan-light); }
.gfs-sec3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; z-index: 1; }
.gfs-sec3 div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 24px; }
.gfs-sec3 h3 { color: #fff; }
.gfs-sec3 p { margin: 0; color: #b8cfe0; font-size: .96rem; }
.gfs-sec3 .gfs-icbox { background: rgba(34, 211, 224, .14); color: var(--esi-cyan-light); }

/* Preço */
.gfs-price { max-width: 420px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--esi-border); border-radius: 24px; padding: 34px; box-shadow: 0 24px 60px rgba(10, 37, 64, .10); }
.gfs-price strong { display: block; font-size: 3rem; letter-spacing: -.03em; color: var(--esi-navy-900); }
.gfs-price p { color: var(--m); }
.gfs-price ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: grid; gap: 8px; }
.gfs-price li { display: flex; gap: 8px; align-items: center; color: #334155; }
.gfs-price li .gfs-ic { width: 18px; height: 18px; color: #16a34a; }

/* FAQ */
.gfs-faq { max-width: 800px !important; }
.gfs-faq details { border-bottom: 1px solid var(--l); padding: 18px 4px; }
.gfs-faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--esi-navy-900); }
.gfs-faq summary::-webkit-details-marker { display: none; }
.gfs-faq summary::after { content: "+"; color: var(--esi-blue); font-size: 1.35rem; line-height: 1; }
.gfs-faq details[open] summary::after { content: "−"; }
.gfs-faq details p { color: #475569; margin: 10px 0 0; }

/* CTA final */
.gfs-final { text-align: center; max-width: 1152px !important; margin: 0 auto 80px !important; padding: 64px 24px !important; border-radius: 28px; color: #fff; background: radial-gradient(600px 260px at 90% 0%, rgba(34, 211, 224, .28), transparent 60%), linear-gradient(135deg, var(--esi-navy-900), var(--esi-blue)); }
.gfs-pub .gfs-final h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.gfs-final p { color: #cfe3f0; margin-bottom: 26px; font-size: 1.05rem; }

/* Cadastro / login */
.gfs-auth { max-width: 460px; margin: 30px auto; background: #fff; border: 1px solid var(--l); border-radius: 22px; padding: 32px; box-shadow: 0 24px 60px rgba(10, 37, 64, .08); }
.gfs-auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.gfs-auth-brand img { width: 34px; height: auto; }
.gfs-auth-brand span { font-size: .82rem; color: var(--m); font-weight: 600; }
.gfs-auth h2 { font-size: 1.6rem; }
.gfs-sub { color: var(--m); margin: 0 0 18px; }
.gfs-auth form { display: flex; flex-direction: column; gap: 14px; }
.gfs-auth label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .9rem; color: #1e293b; }
.gfs-auth label small { font-weight: 400; color: var(--m); }
.gfs-auth input[type=text], .gfs-auth input[type=email], .gfs-auth input[type=password] { width: 100%; padding: 12px 13px; border: 1px solid #cdd8e1; border-radius: 10px; font-size: 16px; font-family: inherit; }
.gfs-auth input:focus { outline: 2px solid var(--esi-border); border-color: var(--esi-blue); }
.gfs-auth .gfs-check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
.gfs-auth .gfs-check input { margin-top: 5px; }
.gfs-auth .gfs-seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gfs-auth .gfs-seg legend { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.gfs-auth .gfs-seg label { flex-direction: row; align-items: center; gap: 8px; border: 1px solid #cdd8e1; border-radius: 10px; padding: 11px; cursor: pointer; font-weight: 500; }
.gfs-auth .gfs-seg label:has(input:checked) { border-color: var(--esi-blue); background: var(--esi-tint); }
.gfs-auth > .gfs-google { margin-bottom: 4px; }
.gfs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.gfs-msg { color: #b91c1c; margin: 0; min-height: 1em; }
.gfs-alert { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
.gfs-pub a:not(.gfs-cta):not(.gfs-google) { color: var(--esi-blue); }
.gfs-aud a, .gfs-aud a:not(.gfs-cta) { color: inherit; }
.gfs-auth-links { text-align: center; color: var(--m); font-size: .9rem; margin: 18px 0 0; }
.gfs-auth #loginform p { margin: 0 0 12px; }
.gfs-auth #loginform label { display: block; margin-bottom: 5px; }
.gfs-auth #loginform .login-remember label { display: flex; flex-direction: row; gap: 8px; font-weight: 400; }
.gfs-auth #loginform .button-primary { background: var(--esi-blue); color: #fff; border: 0; border-radius: 12px; padding: 13px 20px; font-weight: 700; width: 100%; cursor: pointer; font-size: 1rem; font-family: inherit; }
.gfs-auth #loginform .button-primary:hover { background: var(--esi-blue-dark); }

@media (max-width: 1000px) {
  .gfs-aud { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .gfs-hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px !important; padding-bottom: 48px !important; }
  .gfs-feat, .gfs-steps, .gfs-sec3 { grid-template-columns: 1fr; }
  .gfs-pub section { padding: 56px 18px; }
  .gfs-final { margin: 0 16px 56px !important; padding: 48px 20px !important; }
  .gfs-sec-head { margin-bottom: 30px; }
}
@media (max-width: 640px) {
  .gfs-hide-sm { display: none; }
  .gfs-sitebar-in { padding: 8px 14px; }
  .gfs-logo img { width: 32px; }
  .gfs-logo-txt small { display: none; }
  .gfs-sitenav a { padding: 8px 10px; font-size: .88rem; }
  .gfs-main-app { padding: 12px 10px 30px; }
  .gfs-cta-row .gfs-cta, .gfs-cta-row .gfs-google { width: 100%; }
  .gfs-auth { padding: 22px; margin: 10px auto; }
  .gfs-aud { grid-template-columns: 1fr; }
  .gfs-hero h1 { font-size: 2.05rem; }
  .gfs-lead { font-size: 1.05rem; }
}
