/* ============================================================
   Brasil Cash — landing page (réplica de brasilcash.com.br)
   Paleta: navy #003967 · azul #0096ff · azul escuro #0069b4 ·
   rodapé #001f38 · texto #212529 · índigo dos números #2b3fbf
   Tipografia: Roboto 400/500/700
   ============================================================ */
:root {
  --navy: #003967; --blue: #0096ff; --blue-dark: #0069b4; --footer: #001f38; --text: #212529; --muted: #595961;
  --indigo: #2b3fbf; --border: #d8d8d8; --bg: #fff; --container: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Roboto', system-ui, -apple-system, Segoe UI, sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; font-weight: 500; white-space: nowrap; transition: background .15s, transform .15s; }
.btn--primary { background: var(--navy); color: #fff; padding: .8rem 1.75rem; font-size: .9375rem; }
.btn--primary:hover { background: #00284a; }
.btn--lg { padding: .95rem 1.75rem; }

/* Topo */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.header__inner { display: flex; align-items: center; height: 98px; gap: 2rem; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin: 0 auto; }
.nav__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: 1rem; color: var(--text); padding: .5rem 0; }
.nav__link:hover, .nav__item--dropdown.is-open .nav__dropdown-toggle { color: var(--blue-dark); }
.nav__item--dropdown { position: relative; }
.nav__dropdown { position: absolute; top: calc(100% + .75rem); left: 0; min-width: 136px; padding: .35rem 0; background: #f9f8f8; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.12); display: none; z-index: 60; }
.nav__dropdown a { display: block; padding: .5rem .75rem; font-size: .9375rem; color: var(--text); }
.nav__dropdown a:hover { background: #eef1f4; }
.nav__item--dropdown.is-open .nav__dropdown { display: block; }
.nav__account { display: none; }
.header__account { margin-left: auto; }
.header__toggle { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 6px; }
.header__toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { padding: 1rem 0 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem; min-height: 640px; }
.hero__title { font-size: 3.5rem; font-weight: 400; line-height: 1.22; letter-spacing: -.01em; margin-bottom: 1.5rem; max-width: 520px; }
.hero__subtitle { font-size: 1rem; max-width: 400px; margin-bottom: 1.75rem; }
.hero__actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.link-account { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; }
.hero__media { display: flex; justify-content: flex-end; }
.hero__media img { width: 100%; max-width: 520px; }

/* Seções */
.section__title { font-size: 3.25rem; font-weight: 400; line-height: 1.2; text-align: center; letter-spacing: -.01em; }
.section__title--left { text-align: left; font-size: 2.75rem; margin-bottom: 1.25rem; }
.section__subtitle { text-align: center; max-width: 760px; margin: .75rem auto 0; font-size: 1rem; }

/* Soluções (carrossel) */
.solutions { padding: 5rem 0 3rem; }
.solutions__wrap { margin-top: 3rem; }
.solutions__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem; }
.solutions__track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 256px; min-height: 296px; border-radius: 8px; padding: 1.5rem 1.25rem; color: #fff; display: flex; flex-direction: column; scroll-snap-align: start; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,57,103,.18); }
.card--blue { background: var(--blue); }
.card--navy { background: var(--navy); }
.card__icon { display: block; height: 44px; margin-bottom: 1.25rem; }
.card__title { font-size: 1.25rem; line-height: 1.3; font-weight: 400; margin-bottom: 1.25rem; max-width: 170px; }
.card__text { font-size: .875rem; line-height: 1.35; }
.solutions__nav { display: flex; justify-content: flex-end; gap: .5rem; margin-top: 1.5rem; padding-right: 1rem; color: var(--text); }
.solutions__arrow { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; color: #595961; }
.solutions__arrow:hover { color: var(--navy); }
.solutions__arrow[disabled] { color: #c4c4c4; cursor: default; }

/* Conta digital (faixa azul) */
.account { background: linear-gradient(100deg, #003967 0%, #0e5a9d 55%, #0069b4 100%); color: #fff; margin-top: 2rem; }
.account__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 2rem; min-height: 520px; }
.account__media { align-self: end; display: flex; justify-content: center; padding-top: 2rem; }
.account__media img { width: 100%; max-width: 330px; margin-bottom: -2px; }
.account__text { padding: 4rem 0 4rem 3rem; }
.account__title { font-size: 3.25rem; font-weight: 400; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 1.5rem; max-width: 420px; }
.account__subtitle { font-size: .9375rem; max-width: 300px; margin-bottom: 2rem; }
.stores { display: flex; gap: .75rem; flex-wrap: wrap; }
.stores img { height: 46px; width: auto; }

/* APIs */
.api { padding: 6rem 0 4rem; }
.api__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 3rem; }
.api__p { font-size: 1rem; max-width: 350px; margin-bottom: 2rem; }
.api__media { position: relative; display: flex; justify-content: center; }
.api__glow { position: absolute; inset: 10% -5% -15% 0; border-radius: 50%; background: radial-gradient(circle at 60% 60%, rgba(0,150,255,.18), rgba(0,150,255,0) 65%); z-index: 0; }
.api__media img { position: relative; z-index: 1; width: 100%; max-width: 560px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.08)); }

/* Números */
.numbers { padding: 4rem 0 6rem; }
.numbers__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.numbers__media img { max-width: 500px; }
.stats { display: grid; gap: 1.5rem; max-width: 410px; margin-top: 2rem; }
.stat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.25rem; padding: 1.25rem 1.75rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.stat__value { font-size: 2.5rem; font-weight: 700; color: var(--indigo); white-space: nowrap; }
.stat__value b { font-weight: 700; }
.stat__label { font-size: .9375rem; color: var(--text); max-width: 120px; line-height: 1.3; }

/* Rodapé */
.footer { background: var(--footer); color: #fff; padding: 4rem 0 3rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1.6fr; gap: 3rem; }
.footer__brand { display: block; font-size: 1rem; margin-bottom: 1.25rem; }
.footer__title { font-size: 3rem; font-weight: 400; margin-bottom: 1.75rem; }
.footer__mail { display: inline-block; color: #4db3ff; text-decoration: underline; font-weight: 700; margin-bottom: 1rem; }
.footer__phone { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 1.75rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__col { display: flex; flex-direction: column; gap: .75rem; }
.footer__col h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.footer__col a { font-size: .875rem; line-height: 1.3; max-width: 160px; }
.footer__col a:hover { color: #4db3ff; }
.footer__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 3rem; font-size: .8125rem; }
.footer__lgpd { display: flex; align-items: center; gap: 1rem; text-align: right; }
.footer__lgpd div { display: flex; flex-direction: column; gap: .5rem; }
.footer__lgpd div a { text-decoration: underline; }
.footer__lgpd img { width: 76px; height: 76px; border-radius: 50%; }

/* Responsivo */
@media (max-width: 1024px) {
  .hero__title { font-size: 2.75rem; }
  .section__title { font-size: 2.5rem; }
  .account__title, .section__title--left { font-size: 2.25rem; }
  .account__text { padding-left: 1rem; }
}
@media (max-width: 820px) {
  .header__inner { height: 76px; gap: 1rem; }
  .header__logo img { height: 32px; }
  .header__account { display: none; }
  .header__toggle { display: flex; margin-left: auto; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1rem 1.25rem 1.5rem; background: #fff; box-shadow: 0 16px 30px rgba(0,0,0,.12); transform: translateY(-120%); transition: transform .2s; margin: 0; }
  .nav.is-open { transform: none; }
  .nav__dropdown { position: static; box-shadow: none; background: transparent; padding-left: .5rem; }
  .nav__account { display: inline-flex; margin-top: .75rem; }
  .hero__inner, .account__inner, .api__inner, .numbers__inner { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; padding: 2rem 0 1rem; }
  .hero__media { justify-content: center; }
  .hero__title { font-size: 2.25rem; }
  .account__inner { min-height: 0; }
  .account__text { padding: 3rem 0; order: -1; }
  .account__media img { max-width: 260px; }
  .api { padding: 4rem 0 2rem; }
  .numbers__media img { max-width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__title { font-size: 2.25rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__lgpd { text-align: left; }
}
@media (max-width: 480px) {
  .card { flex-basis: 85%; }
  .stat { grid-template-columns: 1fr; gap: .25rem; }
  .stat__label { max-width: none; }
  .footer__cols { grid-template-columns: 1fr; }
}
