/* Inter (SIL OFL 1.1, ver fonts/OFL-Inter.txt), servida localmente: sem pedidos a terceiros.
   Marca MYCODE: tokens copiados do brand book (docs/13_BRAND_BOOK.md no projeto MYCODE). */
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #f5f5f1;
  --paper-soft: #ecede7;
  --surface: #fbfbf8;
  --ink: #161c1b;
  --night: #121a16;
  --muted: #5f6964;
  --hair: #d7dcd3;
  --hair-strong: #bfc8bd;
  --leaf: #82a24d;
  --leaf-ink: #5d7a2e;
  --acid: #ceff84;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", ui-monospace, Consolas, Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--acid); color: var(--ink); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 96px; }
.mono { font: 600 10px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 84px; border-bottom: 1px solid var(--hair); }
.top img { display: block; height: 44px; width: auto; margin-left: -4px; }
.top .mono { color: var(--muted); text-align: right; }

.hero { padding: 56px 0 40px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--muted); margin: 0; }
.dot { height: 7px; width: 7px; flex-shrink: 0; background: #88b751; box-shadow: 0 0 0 5px #88b7511f; border-radius: 50%; }
h1 { font-size: clamp(46px, 11vw, 84px); line-height: .98; letter-spacing: -.06em; font-weight: 720; margin: 26px 0 24px; }
h1 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.06em; color: #647165; }
.intro { color: #55625a; font-size: 17px; line-height: 1.67; letter-spacing: -.015em; margin: 0 0 10px; }
.meta { font-size: 12px; color: var(--muted); margin: 0; min-height: 18px; }

.card { background: var(--surface); border: 1px solid var(--hair); padding: 28px 24px; margin-bottom: 24px; }
.card h2 { font: 600 11px/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }

.field { margin-bottom: 24px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label { display: block; font-size: 15px; font-weight: 620; letter-spacing: -.01em; margin-bottom: 4px; }
.opt { font-size: 12px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.help { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.5; }

input[type="text"], textarea, select {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hair-strong);
  border-radius: 6px;
  padding: 12px 16px;
  font: inherit;
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 92px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #8b958f; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px #82a24d33; }
select { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235f6964' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }

.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #fff; border: 1px solid var(--hair); border-radius: 6px; font-size: 14px; cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.check:hover { border-color: var(--hair-strong); }
.check:has(input:checked) { border-color: var(--leaf); background: #f3f7ea; }
.check input { accent-color: var(--ink); width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.check span { min-width: 0; overflow-wrap: break-word; line-height: 1.35; }

.savebar { position: sticky; bottom: 16px; z-index: 10; display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: -4px 0 40px; }
.status { font: 600 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); border: 1px solid var(--hair); border-radius: 999px; padding: 8px 14px; opacity: 0; transition: opacity .2s; }
.status.show { opacity: 1; }
.status.ok { color: var(--leaf-ink); }
.btn { font: inherit; cursor: pointer; border-radius: 70px; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid #78a747; outline-offset: 4px; }

.export { background: var(--night); color: var(--paper); padding: 36px 24px 32px; position: relative; overflow: hidden; isolation: isolate; }
.export::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .45; background-image: linear-gradient(90deg, #adc8a419 1px, transparent 1px), linear-gradient(#adc8a419 1px, transparent 1px); background-size: 43px 43px; mask-image: linear-gradient(to bottom, transparent 0%, black 40%, transparent 100%); }
.export .mono { color: #97af9e; margin: 0; }
.export h2 { font-size: clamp(30px, 7vw, 44px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; margin: 14px 0 20px; }
.export h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.05em; color: #c7eea3; }
.export p { font-size: 14px; color: #bfc9c1; margin: 0 0 14px; }
.export a { color: var(--paper); text-underline-offset: 3px; }
.export strong { color: var(--paper); font-weight: 650; }
.steps { list-style: none; counter-reset: step; margin: 0 0 26px; padding: 0; font-size: 15px; color: #bfc9c1; }
.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 42px; border-top: 1px solid #ffffff1a; }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 15px; font: 600 11px/2 var(--mono); letter-spacing: .1em; color: #97af9e; }
.export .warn { margin: 16px 0 0; padding: 12px 14px; border-radius: 6px; font-size: 13px; color: #fde68a; background: #3a2f0f; border: 1px solid #a1781f; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn-copy { background: var(--acid); color: var(--ink); border: 0; padding: 15px 24px; font-size: 14px; font-weight: 650; }
.btn-copy:hover { background: #dcff9f; }
.btn-copy.done { background: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-strong); padding: 10px 16px; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; }
.btn-ghost:hover { border-color: var(--ink); }
.export .btn-ghost { color: var(--paper); border-color: #ffffff38; padding: 14px 20px; }
.export .btn-ghost:hover { border-color: var(--paper); }
pre.preview { margin: 18px 0 0; background: #0b110e; border: 1px solid #ffffff1a; border-radius: 6px; padding: 14px; font: 12px/1.6 var(--mono); color: #c9d3cb; white-space: pre-wrap; word-break: break-word; max-height: 384px; overflow: auto; }

.backup { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.btn-danger.armed { border-color: #b42318; color: #b42318; }
.foot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: var(--ink); }
@media (min-width: 640px) { .card { padding: 32px; } .export { padding: 44px 40px 40px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* A marca escreve-se sempre em minúsculas, como no logótipo: as etiquetas mono não a passam a maiúsculas. */
.foot .brand, .foot a { text-transform: none; }
