/* Digna · C · Extrato. Tokens from 00-ecosystem/offer/branding/brands/digna.json */
:root {
  --ink: #16201C;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --green: #1E7A55;
  --green-hover: #186447;
  --green-light: #5CC596;
  --amber: #B7791F;
  --amber-text: #8A5A12;
  --risk: #B4442F;
  --muted: #5E6863;
  --support: #3A4540;
  --line: #DAD6CD;
  --line-soft: #ECE9E2;
  --dark-body: #DAD6CD;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --f-head: "Instrument Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); font: 600 15px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--green); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); margin-top: 24px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font: 500 12px/1.6 var(--f-body); letter-spacing: 0; text-transform: none; vertical-align: middle; }
.chip--muted { background: var(--line-soft); color: var(--muted); }
.chip--build { background: #F4EBDD; color: var(--amber-text); }
.chip--wait { background: #F4EBDD; color: var(--amber-text); }

.eyebrow { font: 600 13px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.eyebrow--light { color: var(--green-light); }
.h-section { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; font-weight: 600; max-width: 22ch; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 60ch; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(245 243 238 / .9); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgb(22 32 28 / .06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { text-decoration: none; color: var(--support); font: 500 15px/1 var(--f-body); }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; }
.hero h1 em, .cta h2 em { font-family: var(--f-accent); font-weight: 400; font-style: italic; color: var(--green); letter-spacing: -0.01em; }
.lead { font-size: 19px; color: var(--support); margin-top: 22px; max-width: 54ch; }
.hero__actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__note { margin-top: 24px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero__note::before { content: ""; width: 18px; height: 6px; border-radius: 3px; background: var(--green); flex: none; }

/* Statement card */
.statement { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px; box-shadow: 0 1px 0 rgb(22 32 28 / .04), 0 24px 48px -24px rgb(22 32 28 / .18); }
.statement__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.statement__label { font: 500 13px/1.4 var(--f-body); color: var(--muted); }
.statement__who { font: 600 20px/1.3 var(--f-head); letter-spacing: -0.02em; }
.statement__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.statement__table th { text-align: left; font: 500 12px/1.4 var(--f-body); color: var(--muted); padding: 0 8px 10px; border-bottom: 1px solid var(--line); }
.statement__table th.num { text-align: right; }
.statement__table td { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
.statement__table tr.is-mine td { background: rgb(30 122 85 / .07); }
.statement__table tr.is-mine td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.st { display: inline-block; padding: 2px 8px; border-radius: 999px; font: 500 12px/1.5 var(--f-body); white-space: nowrap; }
.st--ok { background: rgb(30 122 85 / .12); color: var(--green); }
.st--wait { background: #F4EBDD; color: var(--amber-text); }
.st--risk { background: #F6E3DE; color: var(--risk); }
.statement__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Bands and sections */
.band { background: var(--ink); color: var(--paper); padding: 80px 0; }
.band .h-section { color: var(--paper); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.pain { border-top: 2px solid var(--risk); padding-top: 20px; }
.pain h3 { font-size: 20px; color: var(--paper); margin-bottom: 8px; }
.pain p { color: var(--dark-body); }

.section { padding: 96px 0; }
.section--paper { background: var(--white); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.seg { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.seg__tag { font: 600 13px/1.4 var(--f-body); color: var(--green); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg h3 { font-size: 20px; line-height: 1.25; }
.seg p:last-child { color: var(--muted); font-size: 15px; }

.mod { padding: 24px; border-radius: var(--radius-lg); background: var(--paper); }
.mod__bar { display: block; width: 44px; height: 10px; border-radius: 5px; background: var(--ink); margin-bottom: 20px; }
.mod--accent .mod__bar { background: var(--green); }
.mod h3 { font-size: 20px; margin-bottom: 8px; }
.mod p { color: var(--muted); font-size: 15px; }

.beforeafter { display: grid; gap: 10px; margin-top: 48px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ba__before { color: var(--muted); text-decoration: line-through; text-decoration-color: rgb(94 104 99 / .4); }
.ba__after { font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 1px solid var(--line); padding-top: 24px; }
.steps__n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--white); font: 600 15px/1 var(--f-head); margin-bottom: 18px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

.plan { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.plan--featured { background: var(--white); border-color: var(--ink); box-shadow: 0 24px 48px -28px rgb(22 32 28 / .3); }
.plan h3 { font-size: 24px; }
.plan__for { color: var(--muted); }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 22px; position: relative; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 6px; border-radius: 3px; background: var(--green); }
.plan__price { font: 600 16px/1.4 var(--f-head); color: var(--amber-text); border-top: 1px dashed var(--line); padding-top: 14px; }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--f-head); 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: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; max-width: 64ch; }

/* CTA + form */
.cta { background: var(--ink); color: var(--paper); }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 600; color: var(--paper); }
.cta__grid > div > p:not(.eyebrow) { color: var(--dark-body); margin-top: 16px; font-size: 18px; max-width: 46ch; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius-xl); padding: 28px; display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font: 500 14px/1.4 var(--f-body); }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font: 400 16px/1.3 var(--f-body); color: var(--ink); background: var(--paper); }
.form input:invalid.touched, .form select:invalid.touched { border-color: var(--risk); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--support); font-size: 14px; }
.form .check input { width: 20px; min-height: 20px; height: 20px; margin-top: 1px; accent-color: var(--green); flex: none; }
.form__msg { min-height: 1.4em; font-size: 14px; }
.form__msg.ok { color: var(--green); font-weight: 600; }
.form__msg.err { color: var(--risk); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.footer { background: var(--ink); color: var(--dark-body); border-top: 1px solid rgb(245 243 238 / .08); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.footer__inner img { height: 26px; width: auto; }
.footer__muted { margin-left: auto; color: #959C97; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 24px; }
.notfound h1 { font-size: 40px; margin: 16px 0 8px; }
.notfound p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 1024px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 820px) {
  .nav__links { display: none; }
  .grid3, .steps, .cta__grid { grid-template-columns: 1fr; }
  .cta__grid { gap: 32px; }
  .section { padding: 72px 0; }
  .band { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .lead { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .statement { padding: 16px; border-radius: var(--radius-lg); }
  .statement__table { font-size: 13px; }
  .statement__table th:nth-child(2), .statement__table td:nth-child(2) { display: none; }
  .statement__table td, .statement__table th { padding-left: 4px; padding-right: 4px; }
  .ba { grid-template-columns: 1fr; gap: 4px; }
  .form { padding: 20px; }
  .form__row { grid-template-columns: 1fr; }
  .nav__logo img { height: 28px; }
  .footer__muted { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
[hidden] { display: none !important; }
.faq { max-width: 1180px; }
.faq details { max-width: 820px; }
