/* Cravou Fluxo de Caixa — site de vendas.
   Layout: faixa escura de abertura com o "mês" desenhado, corpo claro em seções com ritmo editorial,
   oferta em cartão escuro, CTA fixo no celular. Visual único (não muda com o tema do sistema). */
:root {
  --pine: #0f2a22; --pine-2: #143a2e; --mint: #7ee2b4; --mint-soft: #c9f3de;
  --paper: #f3f6f4; --white: #ffffff; --ink: #10231c; --ink-2: #3d4f47; --line: #dbe4df;
  --coral: #e2543b; --coral-soft: #fde9e4; --ok: #157a3c;
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
  --shadow: 0 1px 2px rgba(16,35,28,.06), 0 18px 40px -22px rgba(16,35,28,.28);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); letter-spacing: -0.02em; text-wrap: balance; margin: 0; line-height: 1.08; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 720px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); }
.dark .eyebrow { color: var(--mint); }
.lead { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.dark .lead { color: #b9d6ca; }
section { padding-block: clamp(64px, 9vw, 112px); }
.stack { display: flex; flex-direction: column; gap: 18px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(15,42,34,.92); backdrop-filter: blur(10px); color: #e8f5ef; border-bottom: 1px solid rgba(255,255,255,.08); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; text-decoration: none; white-space: nowrap; }
.logo .m { width: 34px; height: 34px; border-radius: 10px; background: var(--mint); color: var(--pine); display: grid; place-items: center; flex: none; }
.logo .m svg { width: 19px; height: 19px; }
.logo b { color: var(--mint); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav-links a:not(.btn) { text-decoration: none; opacity: .8; }
.nav-links a:not(.btn):hover { opacity: 1; }
@media (max-width: 720px) { .nav-links a:not(.btn) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 700 1.02rem var(--f-body); text-decoration: none; border-radius: 14px; padding: 16px 26px; background: var(--mint); color: var(--pine); border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 10px 30px -10px rgba(126,226,180,.7); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(126,226,180,.85); }
.btn.sm { padding: 10px 16px; font-size: .92rem; border-radius: 11px; box-shadow: none; }
.btn.ink { background: var(--pine); color: #e8f5ef; box-shadow: 0 10px 30px -12px rgba(15,42,34,.6); }
.btn.ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; box-shadow: none; opacity: .9; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.cta-note { font-size: .88rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.dark .cta-note { color: #9dbdb0; }
.cta-note span::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.dark .cta-note span::before { color: var(--mint); }

/* hero */
.dark { background: var(--pine); color: #e8f5ef; position: relative; overflow: hidden; }
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); }
.hero::after { content: ""; position: absolute; right: -240px; top: -260px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(126,226,180,.22), transparent 64%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* mês desenhado (assinatura visual) */
.month { background: #fff; color: var(--ink); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 40px 80px -36px rgba(0,0,0,.65); }
.month-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.month-h b { font-family: var(--f-display); font-size: 1.05rem; }
.month-h span { font-size: .8rem; color: var(--ink-2); }
.month svg { display: block; width: 100%; height: auto; }
.month .lg { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-2); margin-top: 8px; }
.month .lg i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.pinlab { font: 700 12px var(--f-body); }
.axis { font: 11px var(--f-body); fill: #6b7c74; }

/* problema */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 36px; }
.check { background: var(--white); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.check .x { width: 28px; height: 28px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; font-weight: 800; flex: none; font-size: .9rem; }
.turn { margin-top: 40px; font-family: var(--f-display); font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 650; letter-spacing: -0.015em; max-width: 30ch; }
.turn em { font-style: normal; background: linear-gradient(transparent 62%, var(--mint-soft) 62%); }

/* causas */
.causes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 44px; border-top: 2px solid var(--ink); }
.cause { padding: 26px 26px 6px 0; }
.cause + .cause { padding-left: 26px; border-left: 1px solid var(--line); }
.cause .n { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: var(--coral); line-height: 1; margin-bottom: 12px; }
.cause p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 820px) { .causes { grid-template-columns: 1fr; } .cause, .cause + .cause { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); } .cause:first-child { border-top: 0; } }

/* features */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 56px); }
.feat.rev .feat-txt { order: 2; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat.rev .feat-txt { order: 0; } }
.feat-txt { display: flex; flex-direction: column; gap: 14px; }
.feat-txt p { color: var(--ink-2); }
.feat-txt ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feat-txt li { padding-left: 26px; position: relative; }
.feat-txt li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.ui { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; font-size: .92rem; }
.ui-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.ui-h b { font-family: var(--f-display); font-size: 1.05rem; }
.ui-h span { font-size: .78rem; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.chip { font-size: .8rem; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.chip.on { background: #0b6b4f; border-color: #0b6b4f; color: #fff; }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--paper); display: flex; justify-content: space-between; gap: 10px; }
.field small { color: var(--ink-2); }
.preview { margin-top: 12px; background: #eaf6ef; border-radius: 10px; padding: 11px 13px; color: #0b5a43; font-weight: 500; }
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2f0; font-variant-numeric: tabular-nums; }
.row:last-child { border-bottom: 0; }
.day { background: #edf2ef; border-radius: 9px; text-align: center; line-height: 1.05; padding: 4px 0; }
.day b { display: block; font-family: var(--f-display); }
.day small { font-size: .62rem; text-transform: uppercase; color: var(--ink-2); letter-spacing: .05em; }
.row.in .day { background: #e4f4ea; }
.row .v { text-align: right; white-space: nowrap; }
.row.in .v { color: var(--ok); font-weight: 600; }
.row .s { text-align: right; white-space: nowrap; font-weight: 600; min-width: 6.5rem; }
.row .s.neg span { background: var(--coral-soft); color: var(--coral); padding: 2px 8px; border-radius: 999px; }
.row .t { display: block; font-size: .75rem; color: var(--ink-2); }
@media (max-width: 480px) { .row { grid-template-columns: 38px minmax(0, 1fr) auto; } .row .v { display: none; } }
.pv { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 6.2rem; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #eef2f0; font-size: .86rem; }
.pv:last-child { border-bottom: 0; }
.pv .tr { height: 10px; background: #edf2ef; border-radius: 5px; position: relative; overflow: hidden; }
.pv .tr i { position: absolute; inset: 0 auto 0 0; background: #0b6b4f; border-radius: 5px; }
.pv .tr i.over { background: var(--coral); }
.pv .tr u { position: absolute; top: 0; bottom: 0; width: 2px; background: #6b7c74; }
.pv em { font-style: normal; text-align: right; font-size: .78rem; }
.pv em.ok { color: var(--ok); } .pv em.bad { color: var(--coral); }
.save { background: var(--pine); color: #e8f5ef; }
.save .big { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; color: var(--mint); letter-spacing: -0.02em; line-height: 1.1; }
.save .bar { height: 12px; background: rgba(255,255,255,.12); border-radius: 6px; position: relative; overflow: hidden; margin: 16px 0 10px; }
.save .bar i { position: absolute; inset: 0 auto 0 0; width: 34%; background: linear-gradient(90deg, var(--mint), #c6f5df); border-radius: 6px; }
.save .bar u { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--pine); }
.save .ms { display: flex; justify-content: space-between; font-size: .76rem; color: #9dbdb0; gap: 8px; flex-wrap: wrap; }
.debt { display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 5px; height: 130px; margin-top: 6px; }
.debt i { background: var(--coral); border-radius: 4px 4px 0 0; opacity: .85; }
.debt i.p { background: #3c7fb0; }
.debt-lg { display: flex; justify-content: space-between; font-size: .74rem; color: var(--ink-2); margin-top: 6px; }

/* história */
.story { background: var(--white); }
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }
.quote { font-family: var(--f-display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.quote em { font-style: normal; color: var(--coral); }
.story-txt { display: flex; flex-direction: column; gap: 16px; color: var(--ink-2); font-size: 1.05rem; }
.story-txt strong { color: var(--ink); }
.sig { font-size: .9rem; color: var(--ink); font-weight: 600; }

/* para quem */
.fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }
.fit > div { border-radius: var(--r); padding: 26px; }
.fit .yes { background: var(--white); box-shadow: var(--shadow); }
.fit .no { background: transparent; border: 1.5px dashed #b7c6bf; }
.fit ul { margin: 14px 0 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }

/* oferta */
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } }
.includes { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; color: #d5e9df; }
.includes li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a22' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; margin-top: 2px; }
.price-card { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(26px, 4vw, 38px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 14px; text-align: center; }
.tagline { align-self: center; background: var(--coral-soft); color: var(--coral); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.from { color: var(--ink-2); font-size: 1rem; }
.from s { color: var(--coral); }
.price { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.price small { font-size: 1.4rem; margin-top: 12px; }
.price b { font-size: clamp(4.2rem, 11vw, 5.6rem); }
.once { font-weight: 600; }
.price-card .btn { width: 100%; font-size: 1.1rem; padding: 18px; }
.secure { font-size: .82rem; color: var(--ink-2); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* garantia */
.guar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 40px); align-items: center; background: var(--white); border-radius: 26px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
@media (max-width: 620px) { .guar { grid-template-columns: 1fr; } }
.seal { width: 132px; height: 132px; border-radius: 50%; background: var(--pine); color: var(--mint); display: grid; place-items: center; text-align: center; font-family: var(--f-display); line-height: 1; box-shadow: inset 0 0 0 6px var(--pine), inset 0 0 0 8px var(--mint); }
.seal b { display: block; font-size: 3rem; }
.seal span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

/* faq */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--white); border-radius: 14px; padding: 4px 20px; box-shadow: 0 1px 2px rgba(16,35,28,.05); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; color: var(--ok); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* passos (landing) */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; color: var(--ok); font-size: .95rem; display: block; margin-bottom: 10px; }
.step p { color: var(--ink-2); margin-top: 6px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 20px; } }
.pillar { padding-right: 26px; }
.pillar + .pillar { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.14); }
@media (max-width: 820px) { .pillar, .pillar + .pillar { padding: 0; border: 0; } }
.pillar b { display: block; font-family: var(--f-display); font-size: 1.25rem; color: #fff; margin-bottom: 6px; }
.pillar p { color: #b9d6ca; }

/* final + rodapé */
.final { text-align: left; }
.final .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; position: relative; z-index: 1; }
footer { background: #0b1f19; color: #8fb0a3; font-size: .85rem; padding-block: 36px 110px; }
footer .wrap { display: flex; flex-direction: column; gap: 10px; }
footer a { color: #cfe6dc; }

/* CTA fixo no celular */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(15,42,34,.96); backdrop-filter: blur(8px); padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: none; align-items: center; gap: 12px; color: #e8f5ef; transform: translateY(110%); transition: transform .25s ease; }
.sticky.on { transform: none; }
.sticky .p { line-height: 1.15; font-size: .8rem; color: #9dbdb0; }
.sticky .p b { display: block; font-family: var(--f-display); font-size: 1.25rem; color: #fff; }
.sticky .btn { flex: 1; padding: 13px 16px; box-shadow: none; }
@media (max-width: 760px) { .sticky { display: flex; } }

/* entrada suave, a partir de estado visível */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d2 { animation-delay: .08s; } .rise.d3 { animation-delay: .16s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
  .line-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s .25s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .btn .arr { transition: none; } }

/* ajustes de leitura */
.axis { font-size: 13px; }
.pinlab { font-size: 13px; }
.nav .btn.sm { white-space: nowrap; }
.month-h { flex-wrap: wrap; }
@media (max-width: 440px) {
  .logo { font-size: .95rem; gap: 8px; }
  .logo .m { width: 30px; height: 30px; }
  .nav .btn.sm { padding: 9px 12px; font-size: .85rem; }
  .month { padding: 16px 14px 12px; }
}

/* Página de obrigado (pós-compra) */
.ty-hero { text-align: center; }
.ty-center { align-items: center; margin-inline: auto; position: relative; z-index: 1; }
.ty-center .lead { margin-inline: auto; }
.ty-badge { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: var(--pine); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(126,226,180,.16); }
.ty-badge svg { width: 36px; height: 36px; }
.ty-hero h1 em { font-style: normal; color: var(--mint); }
.ty-steps { list-style: none; counter-reset: ty; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ty-steps li { counter-increment: ty; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.ty-steps li::before { content: counter(ty); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pine); color: var(--mint); display: grid; place-items: center; font: 700 1rem var(--f-display); }
.ty-steps h3 { margin-bottom: 4px; }
.ty-steps p { color: var(--ink-2); }
.ty-note { margin-top: 24px; border-left: 4px solid var(--mint); background: #eaf6ef; border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; }
.ty-note b { font-family: var(--f-display); font-size: 1.05rem; }
.ty-note p { color: var(--ink-2); margin-top: 4px; }
