/* Tema visual escuro Volcan sobre a calculadora original. */
:root {
  --ink: #0b0d0e;
  --paper: #151819;
  --surface: #151819;
  --surface-2: #1b1f20;
  --field: #101314;
  --line: #353a3a;
  --line-soft: #272c2c;
  --text: #f4f2ed;
  --text-2: #d1d0cb;
  --text-3: #a7aaa7;
  --text-4: #929894;
  --orange: #f46b32;
  --em: #ff8755;
  --heat: #f46b32;
  --on-flame: #16100d;
  --display: 'Archivo Black', Arial, sans-serif;
  --body: 'Manrope', Arial, sans-serif;
  --read: 1120px;
  --r: 10px;
  color-scheme: dark;
}
.gate,.result,.codeblk,details,.more,.compute-overlay {
  --text: #f4f2ed;
  --text-2: #d1d0cb;
  --text-3: #a7aaa7;
  --text-4: #929894;
  --line: #353a3a;
  --line-soft: #272c2c;
}
body {
  background: radial-gradient(ellipse 46rem 35rem at 100% 5%, rgba(168,54,20,.12), transparent 68%), #0b0d0e;
  color: var(--text);
  font-size: 16px;
  line-height: 1.56;
}
strong,b { font-weight: 700; }
h1,h2,h3 { font-weight: 400; letter-spacing: -.045em; line-height: 1.08; }
em { color: var(--em); }
.page { position: relative; }
.top { border-bottom: 1px solid var(--line-soft); padding: 20px 0; }
.top img { height: 29px; }
.top a.back { color: var(--text-3); font-weight: 700; }
.top a.back:hover { color: var(--text); }
.hero { min-height: 580px; padding: 84px 0 94px; gap: 10px 58px; }
.hero::before {
  content: ''; position: absolute; inset: 0 -6vw; z-index: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 65%, rgba(244,107,50,.12) 96%, transparent),
    radial-gradient(ellipse 25rem 16rem at 88% 92%, rgba(244,107,50,.12), transparent 70%);
}
.free { color: var(--orange); font-family: var(--body); font-weight: 800; }
h1 { max-width: 17ch; color: var(--text); font-size: clamp(42px, 5.2vw, 70px); }
.sub { color: var(--text-2); font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; max-width: 38ch; }
.sub b { color: var(--text); font-family: var(--body); font-weight: 700; }
.steps { color: var(--text-3); }
.steps b { background: var(--orange); font-family: var(--body); font-weight: 800; }
.btn,.cp { border-radius: 8px; background: var(--orange); color: var(--on-flame); box-shadow: none; font-family: var(--body); font-weight: 800; }
.btn:hover,.cp:hover { transform: translateY(-1px); background: #ff8250; }
.btn:active,.cp:active { transform: translateY(0); }
.conta { background: #171b1c; border: 1px solid #434440; border-top: 2px solid var(--orange); border-radius: 12px; box-shadow: none; padding: 30px; }
.conta::before { display: none; }
.conta .tag { border-radius: 4px; color: var(--text-4); }
.conta .k,.conta .total,.conta .legend,.how span { color: var(--text-3); }
.conta .total b,.how b { color: var(--text); }
.bar { background: #303535; border-radius: 5px; }
.bar .paid { background: var(--orange); }
.bar .rest { color: var(--text-2); }
.how { border-color: var(--line); }
section.s { border-color: var(--line-soft); padding: 68px 0; }
section.s > * { max-width: 760px; }
section.s h2 { font-size: clamp(28px, 3vw, 39px); }
.lead,.f .help,.derived { color: var(--text-3); }
#numeros::before { display: none; }
.fields { border: 1px solid var(--line); border-top: 2px solid var(--orange); background: var(--surface); border-radius: 10px; box-shadow: none; padding-top: 0; }
.f { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.f:last-child { border-bottom: 0; }
.f label { color: var(--text); font-family: var(--body); font-size: 15px; font-weight: 700; }
.fields input,.gate input,.gate select,input[type=text],input[type=number],input[type=email],input[type=tel],select {
  background: var(--field); color: var(--text); border-color: #454b4a; border-radius: 6px;
}
.fields input:hover,.gate input:hover,.gate select:hover { border-color: #737875; }
.fields input:focus,.gate input:focus,.gate select:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(244,107,50,.24); }
.fields .box .pfx,.fields .box .sfx,.gate .box .pfx { color: var(--text-3); }
.derived b { color: var(--orange); }
.actions { margin-top: 24px; }
.actions .btn { min-height: 52px; }
.result { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: 10px; box-shadow: none; }
.result .answer { padding: 32px; }
.answer h2 { font-size: clamp(29px, 3.5vw, 42px); }
.answer .line { color: var(--text-2); }
.result .todo { background: #1b2221; }
.gate { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--orange); border-radius: 10px; box-shadow: none; padding: 30px; }
.gate .kicker { color: var(--orange); }
.gate h3 { font-size: clamp(26px, 3vw, 34px); }
.gate .lead { max-width: 62ch; color: var(--text-2); }
.gf label { color: var(--text-2); }
.codeblk,details,.more { border-color: var(--line); background: var(--surface); border-radius: 10px; box-shadow: none; }
summary::after { background: #2c302e; color: var(--text); border-radius: 5px; }
.chips .chip { border-radius: 6px; }
.more { background: var(--surface); }
.more .btn { white-space: nowrap; }
footer { border-color: var(--line-soft); }
footer img { height: 22px; }
textarea#prompt { color: var(--text-2); }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 640px) {
  .top { padding: 17px 0; }
  .top img { height: 24px; }
  .hero { min-height: 0; padding: 54px 0 65px; gap: 0; }
  .hero h1 { font-size: clamp(38px, 9vw, 52px); }
  .conta { margin: 15px 0 26px; padding: 23px; }
  section.s { padding: 50px 0; }
  .f { padding: 19px; }
  .gate { padding: 23px 19px; }
  .result .answer { padding: 26px 20px; }
  .steps { flex-wrap: wrap; }
}
