/* Site institucional da HubraPay (web/site). Folha única, sem recurso de fora: a política de conteúdo do servidor
   só aceita estilo em arquivo do próprio endereço, então nada de estilo embutido na página. */
:root { --ink: #18242c; --muted: #66747a; --blue: #2935b4; --mint: #d4f3e9; --bg: #f2f4f3; --line: #e1e7e5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1296px; margin: auto; padding: 0 36px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 22px; padding-bottom: 22px; }
.logo { color: var(--blue); font-size: 29px; letter-spacing: -1.7px; font-weight: 800; }
.logo span { color: #172630; }
.logo { display: inline-flex; align-items: center; gap: 5px; }
.brand-icon { width: 30px; height: 30px; display: inline-block; margin-right: 2px; }
.nav { display: flex; gap: 32px; align-items: center; background: white; border-radius: 50px; padding: 15px 25px; font-size: 14px; }
.nav a:hover { color: var(--blue); }
.head-right { display: flex; align-items: center; gap: 21px; font-size: 14px; font-weight: 650; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 13px; background: var(--blue); color: white; padding: 15px 23px; border-radius: 100px; font-size: 14px; font-weight: 700; transition: .2s; }
.btn:hover { transform: translateY(-2px); background: #202a92; }
.btn.light { background: #fff; color: var(--ink); }
.hero { padding: 68px 0 75px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow:before { content: ""; display: inline-block; background: #47c6a9; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(46px,5.3vw,76px); line-height: 1.04; letter-spacing: -.065em; margin: 22px 0 24px; max-width: 650px; }
h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: 19px; line-height: 1.7; color: #58696e; max-width: 560px; }
.actions { display: flex; gap: 22px; align-items: center; margin-top: 30px; }
.text-link { font-size: 14px; font-weight: 700; }
.fine { font-size: 12px; color: #85918f; margin-top: 24px; }
.dashboard { background: white; border: 1px solid #e5eae8; border-radius: 24px; padding: 22px; box-shadow: 0 30px 90px rgba(20,39,38,.11); transform: rotate(1deg); }
.dash-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #edf0ef; padding-bottom: 16px; }
.dashbrand { font-size: 16px; font-weight: 800; color: var(--blue); letter-spacing: -.05em; }
.tag { background: #e8f8f2; color: #267a69; font-size: 10px; border-radius: 30px; padding: 6px 10px; font-weight: 700; }
.dash-body { padding: 23px 4px 2px; }
.dash-top { display: flex; justify-content: space-between; align-items: end; }
.tiny { color: #8b989b; font-size: 11px; }
.balance { font-size: 34px; line-height: 1.2; font-weight: 750; letter-spacing: -.055em; margin: 5px 0; }
.chart { height: 105px; margin: 22px 0 18px; display: flex; align-items: end; gap: 9px; border-bottom: 1px solid var(--line); }
.chart i { flex: 1; background: #e8ebfb; border-radius: 5px 5px 0 0; }
.chart i:nth-last-child(-n+4) { background: #aeb6f0; }
.chart i:last-child { background: var(--blue); }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: #f5f7f6; border-radius: 12px; padding: 12px 14px; }
.stat strong { display: block; font-size: 16px; margin-top: 3px; }
.transactions { margin-top: 20px; }
.trans-title { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f1f3f2; font-size: 11px; }
.circle { height: 29px; width: 29px; border-radius: 10px; background: #e9f7f3; display: grid; place-items: center; color: #19866d; font-size: 15px; }
.row div:nth-child(2) { flex: 1; }
.row small { display: block; color: #9aa4a5; }
.row b { font-size: 11px; }
.section { padding: 85px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 38px; }
.section h2 { font-size: clamp(35px,4vw,52px); line-height: 1.1; letter-spacing: -.055em; max-width: 680px; margin: 14px 0 0; }
.section-head p { color: var(--muted); max-width: 390px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card { background: #fff; padding: 32px; border-radius: 24px; min-height: 250px; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: #e6e9fb; color: var(--blue); font-size: 22px; margin-bottom: 28px; }
.card:nth-child(2) .icon { background: #def5ed; color: #168775; }
.card:nth-child(3) .icon { background: #fff2dd; color: #ae7622; }
.card h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 12px; }
.card p, .copy { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.reconcile { background: #dfe7e5; border-radius: 28px; padding: 35px; }
.match { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 12px 30px #1c46400d; }
.match+.match { margin-top: 12px; }
.matchtop { display: flex; justify-content: space-between; font-size: 12px; color: #77888a; }
.matchline { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; }
.check { background: #dff6ec; color: #158168; border-radius: 30px; font-size: 11px; font-weight: 700; padding: 6px 10px; }
.ticks { list-style: none; padding: 0; margin: 27px 0 0; display: grid; gap: 16px; }
.ticks li:before { content: '✓'; display: inline-grid; place-items: center; margin-right: 12px; width: 23px; height: 23px; border-radius: 50%; background: #e0f4ec; color: #16856c; font-size: 13px; }
.dark { background: #18262b; color: white; border-radius: 30px; padding: 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.dark .eyebrow { color: #9ad9ca; }
.dark h2 { margin-top: 15px; }
.dark p { color: #c2cdca; }
.dark ul { color: #e6efec; font-size: 15px; display: grid; gap: 13px; padding-left: 20px; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin-top: 38px; }
.step { border-top: 1px solid #ccd5d2; padding-top: 20px; }
.num { color: var(--blue); font-weight: 750; font-size: 13px; }
.step h3 { margin: 14px 0 8px; font-size: 19px; }
.cta { background: #2935b4; color: white; border-radius: 30px; padding: 58px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { margin: 0 0 12px; font-size: clamp(34px,4vw,50px); letter-spacing: -.05em; line-height: 1.1; }
.cta p { color: #dce0ff; margin: 0; max-width: 560px; }
footer { padding: 55px 0 35px; color: #768481; font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 30px; }
.foot p { max-width: 600px; margin: 10px 0; }
.disclaimer { border-top: 1px solid #dfe6e2; padding-top: 20px; margin-top: 30px; max-width: 1000px; font-size: 12px; }
.demo { font-size: 11px; color: #84918e; margin-top: 12px; text-align: right; }
@media (max-width:850px) {
  .nav { display: none; }
  .hero, .split, .dark { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 40px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .card { min-height: 0; }
  .cta { display: block; }
  .cta .btn { margin-top: 25px; }
  .dark { padding: 32px; }
  .wrap { padding-left: 22px; padding-right: 22px; }
  .foot { display: block; }
  .head-right .login { display: none; }
}
@media (max-width:480px) {
  h1 { font-size: 47px; }
  .head-right .btn { padding: 12px 15px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .cta { padding: 35px 27px; }
  .reconcile { padding: 20px; }
  .dashboard { padding: 17px; }
  .balance { font-size: 28px; }
}

/* O que na página original vinha como estilo embutido. */
.chart i:nth-child(1) { height: 30%; }
.chart i:nth-child(2) { height: 40%; }
.chart i:nth-child(3) { height: 34%; }
.chart i:nth-child(4) { height: 48%; }
.chart i:nth-child(5) { height: 42%; }
.chart i:nth-child(6) { height: 54%; }
.chart i:nth-child(7) { height: 48%; }
.chart i:nth-child(8) { height: 62%; }
.chart i:nth-child(9) { height: 56%; }
.chart i:nth-child(10) { height: 75%; }
.chart i:nth-child(11) { height: 69%; }
.chart i:nth-child(12) { height: 89%; }
.circle.out { background: #eef0fc; color: #3845b5; }
.copy.lead-in { margin-top: 20px; }
.dark .note { font-size: 12px; }
.row small { margin-top: 1px; }

/* Texto pequeno com contraste de leitura (4,5:1 ou mais sobre o fundo em que aparece); o desenho segue o do pacote. */
:root { --muted: #5e6c72; }
footer { color: #5b6966; }
.fine { color: #5b6966; }
.demo { color: #55625f; }
.matchtop { color: #5f6f71; }
.check { color: #0f6b56; }
.tiny, .row small { color: #647174; }

/* Troca de idioma e foco pelo teclado. */
.lang { display: inline-flex; gap: 2px; background: white; border-radius: 50px; padding: 4px; }
.lang button { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); padding: 7px 10px; border-radius: 50px; cursor: pointer; }
.lang button:hover { color: var(--blue); }
.lang button[aria-pressed="true"] { background: var(--blue); color: white; }
a:focus-visible, button:focus-visible { outline: 3px solid #8f9aec; outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, .lang button:focus-visible { border-radius: 100px; }
.dark a:focus-visible, .cta a:focus-visible { outline-color: white; }
section[id] { scroll-margin-top: 16px; }
.head-right .login, .nav a { white-space: nowrap; }
.hero > *, .split > *, .dark > * { min-width: 0; }
.matchline { flex-wrap: wrap; }
.foot a { white-space: nowrap; }
.btn { white-space: nowrap; }
.ticks li { display: flex; align-items: flex-start; }
.ticks li:before { flex: none; }
.matchtop, .matchline { gap: 12px; }
.matchtop span:last-child, .matchline > :last-child { text-align: right; }

/* Celular e tablet: quem já é cliente precisa achar a entrada da conta, então ela fica à vista no lugar do botão do topo. */
@media (max-width: 1200px) {
  .head-right .btn { display: none; }
  .head-right { gap: 14px; }
}
@media (max-width: 940px) {
  .nav { display: none; }
}
@media (max-width: 850px) {
  .head-right .login { display: inline-flex; background: white; padding: 12px 18px; border-radius: 100px; }
  .dashboard { transform: none; }
  .cta h2 br { display: none; }
}
@media (max-width: 560px) {
  header { flex-wrap: wrap; gap: 12px 16px; padding-top: 14px; }
  .head-right { display: contents; }
  .lang { order: -1; width: 100%; justify-content: flex-end; background: transparent; padding: 0; }
}
@media (max-width: 480px) {
  .logo { font-size: 26px; }
  h1 { font-size: clamp(36px, 11.6vw, 47px); overflow-wrap: anywhere; }
  .section h2, .cta h2 { font-size: clamp(29px, 8.6vw, 35px); }
  .matchtop { flex-direction: column; gap: 2px; }
  .matchtop span:last-child { text-align: left; }
}
@media (max-width: 360px) {
  .logo { font-size: 23px; letter-spacing: -1.2px; }
  .brand-icon { width: 26px; height: 26px; }
  .head-right .login { padding: 10px 14px; font-size: 13px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
