/* Weser Finanças · landing page
   Paleta: Marinho #16324F · Azul-céu #5B9BD5 · Gelo #F3F6FA · Branco · Grafite #22303C
   Nunca amarelo, dourado ou mostarda. */

:root {
  --navy: #16324F;
  --navy-deep: #0F2438;
  --sky: #5B9BD5;
  --sky-soft: #E4EEF8;
  --ice: #F3F6FA;
  --white: #FFFFFF;
  --ink: #22303C;
  --muted: #55636F;
  --line: #DCE3EC;

  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(22, 50, 79, .06), 0 8px 24px rgba(22, 50, 79, .06);
  --wrap: 1120px;
  --pad: 20px;
  --section-pad: 44px; /* espaço vertical igual em todas as seções */
}

*, *::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-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
strong { font-weight: 600; color: var(--navy); }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-weight: 800; font-size: clamp(2rem, 7.2vw, 3.4rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0 0 1em; }

.ic {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 800px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--sky); border-radius: 2px;
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700;
  background: var(--navy); color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 24px;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px rgba(22, 50, 79, .22);
}
.btn:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: .9375rem; box-shadow: none; }
.btn--lg { padding: 17px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn--light:hover { background: var(--ice); }

/* Topo */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--navy); letter-spacing: -.01em; }
.brand__name-light { font-weight: 500; }
.brand__tag { font-size: .75rem; color: var(--muted); letter-spacing: .01em; }
.topnav { display: none; }
.topnav a {
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem;
  color: var(--ink); text-decoration: none; padding: 6px 2px; position: relative;
}
.topnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sky); transform: scaleX(0); transition: transform .2s;
}
.topnav a:hover { color: var(--navy); }
.topnav a:hover::after { transform: scaleX(1); }
.logo { height: 44px; width: auto; }
.topbar__inner { gap: 16px; }

/* Hero */
.hero { padding: 24px 0 var(--section-pad); background: linear-gradient(180deg, var(--white) 0%, var(--ice) 100%); }
.hero__grid { display: grid; gap: 36px; align-items: center; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 36em; }
.cta-block { margin-top: 26px; }
.micro { font-size: .9375rem; color: var(--muted); margin: 12px 0 0 6px; }

.hero__text { max-width: 720px; }
.hero__facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts .ic { color: var(--navy); width: 20px; height: 20px; }

.intro {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); max-width: 460px; width: 100%; justify-self: center;
  position: relative; scroll-margin-top: 90px;
}
.intro::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; background: var(--sky); border-radius: 0 0 3px 3px; }
.intro__label {
  font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.intro__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.intro__name { margin: 0; }
.intro__photo {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none;
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--sky);
}
.intro__name { font-size: 1.1875rem; margin: 0 0 2px; letter-spacing: -.01em; }
.intro__role { font-size: .875rem; color: var(--muted); margin: 0; }
.intro__text p { font-size: .9375rem; line-height: 1.6; color: var(--ink); margin-bottom: 12px; }
.intro__quote {
  margin: 16px 0 0; padding: 14px 16px; background: var(--ice); border-radius: 12px;
  border-left: 3px solid var(--sky);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--navy);
}

/* Seções */
.section { padding: var(--section-pad) 0; }
.section--ice { background: var(--ice); }
.section__head { max-width: 720px; margin-bottom: 24px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* Dor */
.pain { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.pain li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.pain .ic { color: var(--white); background: var(--navy); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; stroke-width: 2.25; }
.closing {
  font-size: 1.1875rem; line-height: 1.5;
  border-left: 3px solid var(--sky); padding: 4px 0 4px 18px; margin: 0;
}

/* Cards */
.cards { display: grid; gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #C5D3E3; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.card__icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--sky-soft); color: var(--navy); margin-bottom: 16px;
}
.card__icon .ic { width: 24px; height: 24px; }
.tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--font-body); font-weight: 500; font-size: .75rem; letter-spacing: 0;
  color: var(--navy); background: var(--ice); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 999px; margin-left: 6px;
}
.card--highlight { background: var(--navy); border-color: var(--navy); }
.card--highlight h3, .card--highlight strong { color: var(--white); }
.card--highlight p { color: #C9D6E6; }
.card--highlight .card__icon { background: rgba(255,255,255,.1); color: var(--white); }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  background: var(--white); border-radius: var(--radius-lg); padding: 24px;
  border: 1px solid var(--line);
}
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem;
}
.step h3 { margin-bottom: 4px; }
.step p:last-child { margin: 0; color: var(--muted); }
.note {
  display: flex; gap: 12px; align-items: center;
  background: var(--white); border: 1px dashed #B9C9DB; border-radius: var(--radius);
  padding: 16px 18px; margin: 0; font-weight: 500;
}
.note .ic { color: var(--navy); width: 22px; height: 22px; }

/* Preço */
.price {
  max-width: 480px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 32px 26px; text-align: center; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.price::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--navy); }
.price__label {
  display: inline-block; font-size: .8125rem; font-weight: 500;
  background: var(--sky-soft); color: var(--navy); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.price__title { font-size: 1.375rem; margin-bottom: 2px; }
.price__sub { color: var(--muted); margin-bottom: 14px; }
.price__value {
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  font-size: 3.75rem; line-height: 1; margin: 0 0 8px; letter-spacing: -.03em;
}
.price__currency { font-size: 1.5rem; vertical-align: top; margin-right: 6px; position: relative; top: 8px; letter-spacing: 0; }
.price__after { color: var(--muted); font-size: .9375rem; margin-bottom: 22px; }
.price__list { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.price__list li { display: flex; gap: 10px; align-items: flex-start; }
.price__list .ic { color: var(--navy); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.25; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-family: var(--font-head); font-weight: 700; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; color: var(--navy); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* CTA final */
.final { background: var(--navy); color: #DCE6F1; padding: var(--section-pad) 0; text-align: center; }
.final h2 { color: var(--white); }
.final p { font-size: 1.125rem; margin-bottom: 28px; }
.final__inner { max-width: 720px; }

/* Rodapé */
.footer { background: var(--navy-deep); color: #A9B9CB; padding: 48px 0 40px; font-size: .9375rem; }
.footer a { color: #DCE6F1; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__top { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer .brand__mark { width: 52px; height: 52px; }
.brand--footer .brand__name { color: var(--white); font-size: 1.375rem; }
.brand--footer .brand__tag { color: var(--sky); font-size: .8125rem; white-space: nowrap; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 24px 0 16px; }
.footer__legal { font-size: .8125rem; line-height: 1.6; max-width: 760px; }
.footer__copy { font-size: .8125rem; margin: 0; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  box-shadow: 0 10px 26px rgba(22, 50, 79, .35);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.wa-float .ic { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--navy-deep); }

/* Aviso de cookies */
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70;
  max-width: 560px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(22, 50, 79, .18);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.cookies[hidden] { display: none; }
.cookies__text { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.cookies__text a { color: var(--navy); font-weight: 500; }
.cookies__actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookies .btn { transform: none; }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--ice); }
.footer__links button.js-cookie-prefs {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: inherit; cursor: pointer;
}

/* < 640px: botões do hero/preço/final ocupam a largura toda */
@media (max-width: 639px) {
  .btn--lg { width: 100%; padding: 16px 18px; font-size: 1rem; }
  .price { padding: 30px 20px; }
  .price .btn .ic { display: none; }
  .brand__tag { font-size: .6875rem; }
  .brand__name, .brand__tag { white-space: nowrap; }
  .topbar .btn--sm { padding: 10px; }
  .topbar .btn--sm span { display: none; }
  .topbar .btn--sm .ic { width: 22px; height: 22px; }
}

/* ≥ 640px */
@media (min-width: 640px) {
  :root { --pad: 32px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: auto 1fr; align-items: center; }
  .footer__contact { justify-items: end; }
}

/* ≥ 960px */
@media (min-width: 960px) {
  .logo { height: 50px; }
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 1.25rem; }
  .topbar__inner { height: 76px; }
  :root { --section-pad: 56px; }
  .hero { padding: 40px 0 var(--section-pad); }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
  .hero__text { padding-top: 16px; }
  .intro { justify-self: end; }
  .hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; }
  .hero__facts li { white-space: nowrap; }
  .topnav { display: flex; gap: 22px; margin-left: auto; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { grid-template-columns: 1fr; }
}

/* Páginas de documento (política, termos) */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc p, .doc li { color: var(--ink); }
.doc .updated { color: var(--muted); font-size: .9375rem; }
.doc .back { display: inline-flex; margin-top: 32px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; }
