/* Site Hábitos Financeiros: fundo creme, verde do app, celulares mostrando o app */

:root {
  --green: #19a463;
  --green-strong: #11804c;
  --green-dark: #0f3d28;
  --green-soft: #dcf4e6;
  --cream: #fefdf9;
  --tint: #f2f6ef;
  --ink: #1f2a22;
  --muted: #5d665e;
  --line: #e6e9e2;
  --radius: 20px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--green); color: #fff; font-weight: 700; border-radius: 14px; padding: 13px 22px; font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s; box-shadow: 0 6px 18px rgba(25, 164, 99, .28); }
.btn:hover { background: var(--green-strong); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 17px; border-radius: 16px; }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 12px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--green-strong); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green-soft); }
.btn-white { background: #fff; color: var(--green-strong); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.btn-white:hover { background: #f2fbf6; }

/* cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: rgba(254, 253, 249, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--green-strong); }

/* abertura */
.hero { padding: 64px 0 40px; overflow: hidden; background: radial-gradient(1200px 500px at 85% 0%, #e3f6ea 0%, rgba(227, 246, 234, 0) 60%), var(--cream); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: 600; color: var(--green-strong); background: var(--green-soft); border-radius: 999px; padding: 6px 14px; }
.badge b { background: var(--green); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12.5px; }
h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; letter-spacing: -1.5px; font-weight: 800; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--green); }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--muted); font-weight: 500; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

.hero-art { position: relative; height: 600px; }
.phone { position: relative; width: 280px; border-radius: 42px; padding: 10px; background: #1f2a22; box-shadow: 0 30px 60px rgba(15, 61, 40, .22), 0 6px 16px rgba(15, 61, 40, .12); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #1f2a22; z-index: 2; }
.phone img { border-radius: 33px; width: 100%; aspect-ratio: 714 / 1546; object-fit: cover; object-position: top; }
.phone-front { position: absolute; left: 4%; top: 30px; z-index: 2; }
.phone-back { position: absolute; right: 2%; top: 0; transform: rotate(5deg) scale(.92); opacity: .97; }
.float { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 40px rgba(15, 61, 40, .16); font-size: 14px; }
.float b { display: block; font-size: 14.5px; }
.float small { display: block; color: var(--muted); font-size: 12.5px; }
.f1 { left: -6%; bottom: 120px; }
.f2 { right: 0; bottom: 40px; min-width: 210px; }
.fi { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; flex: none; }
.fi-green { background: var(--green); color: #fff; }
.fi-amber { background: #fdf0d3; }
.bar { display: block; height: 7px; border-radius: 4px; background: #eef0eb; margin-top: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--green); border-radius: 4px; }

/* vantagens */
.perks { padding: 8px 0 24px; }
.perks-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perk { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.perk-ic { font-size: 24px; width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; flex: none; }
.perk b { font-size: 16.5px; }
.perk p { color: var(--muted); font-size: 15px; }

/* seções */
.section { padding: 88px 0; scroll-margin-top: 72px; }
.tinted { background: var(--tint); }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green-strong); margin-bottom: 10px; }
.kicker.light { color: #8fe3b4; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -1px; font-weight: 800; margin-bottom: 18px; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sub { color: var(--muted); font-size: 18px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split-text > p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.split-art { display: grid; place-items: center; }
.split-art .phone { width: 300px; }

.steps { list-style: none; display: grid; gap: 22px; margin: 26px 0 30px; }
.steps li { display: flex; gap: 18px; }
.num { font-size: 15px; font-weight: 800; color: var(--green-strong); background: var(--green-soft); border-radius: 12px; width: 48px; height: 48px; display: grid; place-items: center; flex: none; }
.steps p { color: var(--muted); font-size: 16px; margin-top: 4px; }

.types { list-style: none; display: grid; gap: 10px; margin: 6px 0 22px; }
.types li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--muted); }
.types i { width: 14px; height: 14px; border-radius: 4px; flex: none; transform: translateY(2px); }
.types b { color: var(--ink); min-width: 118px; }
.note { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; font-size: 15.5px !important; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .15s, box-shadow .15s; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 61, 40, .08); }
.feat-ic { font-size: 26px; width: 52px; height: 52px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; margin-bottom: 14px; }
.feat p { color: var(--muted); font-size: 15.5px; margin-top: 6px; }

.dark { background: var(--green-dark); color: #fff; }
.dark h2 { color: #fff; }
.safe { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.safe span { font-size: 28px; display: block; margin-bottom: 12px; }
.safe p { color: #c6dccf; font-size: 15.5px; margin-top: 6px; }

.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px; }
.inst { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.inst h3 { margin-bottom: 12px; }
.inst ol { padding-left: 20px; display: grid; gap: 8px; color: var(--muted); font-size: 15.5px; }

.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.final { background: linear-gradient(135deg, #19a463 0%, #11804c 100%); color: #fff; padding: 80px 0; text-align: center; }
.final-ic { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.final h2 { color: #fff; }
.final p { font-size: 18px; opacity: .92; margin-bottom: 28px; }

/* segurança: o que o app não tem */
.dark .sub { color: #c6dccf; }
.nos { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: -16px 0 40px; }
.nos li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; background: rgba(143, 227, 180, .12); border: 1px solid rgba(143, 227, 180, .35); color: #fff; border-radius: 999px; padding: 8px 16px; }
.nos li::before { content: "✓"; color: #8fe3b4; font-weight: 800; }

/* página Quem somos */
.qs-hero { position: relative; overflow: hidden; color: #fff; padding: 88px 0 72px; background: radial-gradient(900px 420px at 85% 0%, rgba(143, 227, 180, .18) 0%, rgba(143, 227, 180, 0) 60%), linear-gradient(160deg, #0f3d28 0%, #0b2a1c 100%); }
.qs-hero::after { content: ""; position: absolute; right: -170px; top: -170px; width: 540px; height: 540px; border-radius: 50%; border: 64px solid rgba(143, 227, 180, .07); }
.qs-hero-in { position: relative; z-index: 1; }
.qs-hero h1 { color: #fff; max-width: 860px; margin-top: 4px; }
.qs-hero h1 em { font-style: normal; color: #8fe3b4; }
.qs-lead { font-size: 20px; color: #c6dccf; max-width: 640px; }
.qs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.qs-stats div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(143, 227, 180, .22); border-radius: var(--radius); padding: 22px 20px; }
.qs-stats b { display: block; font-size: clamp(32px, 4vw, 48px); line-height: 1; font-weight: 800; letter-spacing: -1px; color: #8fe3b4; margin-bottom: 8px; }
.qs-stats span { color: #c6dccf; font-size: 15px; font-weight: 600; }

.qs-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.qs-story-text > p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.timeline { list-style: none; position: relative; display: grid; gap: 30px; }
.timeline::before { content: ""; position: absolute; left: 47px; top: 12px; bottom: 12px; width: 2px; background: var(--green-soft); }
.timeline li { display: flex; gap: 18px; align-items: flex-start; }
.tl-year { position: relative; z-index: 1; flex: none; width: 96px; text-align: center; font-weight: 800; font-size: 15px; color: #fff; background: var(--green); border-radius: 999px; padding: 8px 0; box-shadow: 0 0 0 6px var(--cream); }
.timeline h3 { margin-top: 5px; }
.timeline p { color: var(--muted); font-size: 16px; margin-top: 4px; }

.qs-manifesto { background: linear-gradient(135deg, #19a463 0%, #11804c 100%); color: #fff; padding: 76px 0; text-align: center; }
.qs-quote { font-size: clamp(24px, 3vw, 36px); line-height: 1.3; font-weight: 800; letter-spacing: -.6px; max-width: 900px; margin: 0 auto; }
.qs-sign { display: block; margin-top: 18px; font-weight: 600; opacity: .85; }

.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .15s, box-shadow .15s; }
.value:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 61, 40, .08); }
.value-ic { font-size: 26px; width: 54px; height: 54px; border-radius: 16px; background: var(--green-soft); display: grid; place-items: center; margin-bottom: 16px; }
.value p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }

.qs-promises { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.qs-promises-lead { color: #c6dccf; font-size: 17px; }
.qs-promises-lead a { color: #8fe3b4; text-decoration: underline; text-underline-offset: 3px; }
.promises { list-style: none; display: grid; gap: 12px; }
.promises li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 16px 18px; color: #c6dccf; font-size: 15.5px; }
.promises li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8fe3b4; color: var(--green-dark); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.promises b { color: #fff; }

.btn-outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }
.center-row { justify-content: center; margin: 0; }

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.trust-line { text-align: center; color: var(--muted); font-size: 15.5px; margin: 30px auto 26px; max-width: 620px; }
.faq details a, .doc a, .contact a, .muted-sm a { color: var(--green-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* rodapé */
.foot { background: #0b2a1c; color: #c6dccf; }
.trust { border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 34px 0; }
.trust-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.seal { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(143, 227, 180, .22); border-radius: 16px; padding: 14px; }
.seal-ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #8fe3b4; background: rgba(143, 227, 180, .12); }
.seal b { display: block; color: #fff; font-size: 14.5px; line-height: 1.25; }
.seal small { display: block; font-size: 12.5px; line-height: 1.35; color: #a9c4b4; margin-top: 2px; }
.foot-main { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-top: 52px; padding-bottom: 48px; }
.foot-logo { height: 46px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: 15px; line-height: 1.6; max-width: 320px; margin-bottom: 20px; }
.get { display: flex; gap: 10px; flex-wrap: wrap; }
.get-badge { display: flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; padding: 8px 16px 8px 12px; transition: border-color .15s; }
.get-badge:hover { border-color: #8fe3b4; }
.get-badge small { display: block; font-size: 11px; line-height: 1.1; opacity: .8; }
.get-badge b { display: block; font-size: 16px; line-height: 1.2; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.foot-col a:hover, .foot-bottom a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13.5px; color: #a9c4b4; }
.foot-bottom-in { display: flex; gap: 10px 24px; flex-wrap: wrap; align-items: center; }
.to-top { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.to-top svg { width: 16px; height: 16px; }

/* páginas internas: abertura, como instalar e contato */
.page-hero { padding: 64px 0 8px; text-align: center; background: radial-gradient(900px 360px at 50% 0%, #e3f6ea 0%, rgba(227, 246, 234, 0) 70%), var(--cream); }
.page-hero h1 { margin-top: 4px; }
.page-hero .lead { margin: 0 auto; }
.install-page { padding-top: 40px; }
.inst.mine { order: -1; border-color: var(--green); box-shadow: 0 14px 30px rgba(25, 164, 99, .12); }
.mine-tag { display: inline-block; vertical-align: middle; font-size: 12px; font-weight: 700; color: var(--green-strong); background: var(--green-soft); border-radius: 999px; padding: 2px 10px; margin-left: 6px; }
.tip { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 0 auto 56px; background: #fff8e1; border: 1px solid #f3e2a9; border-radius: 16px; padding: 16px 18px; font-size: 16px; }
.safe-install { text-align: center; max-width: 640px; margin: 0 auto; }
.safe-install h2 { font-size: clamp(26px, 3vw, 34px); }
.checks-col { flex-direction: column; align-items: flex-start; text-align: left; gap: 10px; font-size: 16.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 28px; }
.muted-sm { color: var(--muted); font-size: 15px; margin-top: 16px; }

.contact { padding: 56px 0 88px; background: radial-gradient(900px 360px at 20% 0%, #e3f6ea 0%, rgba(227, 246, 234, 0) 70%), var(--cream); }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-text h1 { margin-top: 4px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 24px 50px rgba(15, 61, 40, .08); display: grid; gap: 16px; }
.f-field { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.f-field input, .f-field select, .f-field textarea { font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.f-field textarea { resize: vertical; min-height: 140px; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(25, 164, 99, .12); }
.f-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.f-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-card .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.contact-card .btn:disabled { opacity: .6; cursor: default; transform: none; }
.form-status { border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; }
.form-status.ok { background: var(--green-soft); color: var(--green-strong); }
.form-status.err { background: #fde8e7; color: #a8322f; }

/* página de texto (política de privacidade) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.doc h2 { font-size: 24px; letter-spacing: -.3px; margin: 36px 0 10px; }
.doc p, .doc li { color: #3a443c; font-size: 16.5px; }
.doc p { margin-bottom: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 12px; }

/* celular */
@media (max-width: 960px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding-top: 40px; }
  .hero-in, .split { grid-template-columns: 1fr; }
  .split.reverse .split-text { order: 0; }
  .hero-art { height: 520px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phone { width: 240px; }
  .phone-front { left: 0; }
  .f1 { left: 0; bottom: 104px; }
  .f2 { right: 0; bottom: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .perks-in, .install { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .contact-in, .qs-story, .qs-promises { grid-template-columns: 1fr; gap: 32px; }
  .qs-hero { padding: 56px 0 48px; }
  .qs-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-in { grid-template-columns: repeat(2, 1fr); }
  .trust-in .seal:last-child { grid-column: 1 / -1; }
  .foot-main { grid-template-columns: repeat(2, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 38px; }
  .hero-art { height: 470px; }
  .phone { width: 210px; border-radius: 36px; padding: 8px; }
  .phone img { border-radius: 29px; }
  .phone::before { top: 14px; width: 66px; height: 18px; }
  .phone-back { right: -4%; }
  .float { padding: 10px 12px; }
  .f2 { min-width: 0; }
  .grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .split-art .phone { width: 250px; }
  .trust-in { grid-template-columns: 1fr; }
  .qs-stats { gap: 10px; margin-top: 36px; }
  .qs-stats div { padding: 18px 16px; }
  .qs-lead { font-size: 18px; }
  .center-row .btn { width: 100%; }
  .contact-card { padding: 22px 18px; }
  .to-top { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
