/* Método BONADO® — Imóveis Bonado / Ibonado
   Fallback polish (Higgsfield website API 401) — design brief GROK/01 */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --bg: #0a0a0c;
  --bg2: #121218;
  --card: #18181f;
  --gold: #c9a227;
  --gold2: #e8c547;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --text: #f4f1ea;
  --muted: #a39e93;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #5cb85c;
  --danger: #c45c5c;
  --radius: 16px;
  --max: 1120px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold2); text-decoration: none; }
a:hover { color: #fff; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(10, 10, 12, 0.88);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem; color: var(--text);
  font-weight: 700; letter-spacing: 0.06em; font-size: 0.92rem;
  z-index: 60;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(145deg, #2a2a32, #0e0e12);
  border: 1px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold2); font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08);
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  z-index: 60;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--gold2); border-radius: 2px;
  transition: 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-links {
  display: flex; gap: 0.2rem 1rem; flex-wrap: wrap; align-items: center;
}
.nav-links a {
  color: var(--muted); font-size: 0.92rem; font-weight: 500;
  padding: 0.35rem 0.2rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold2); }

/* NEON BLINK — destaque Calculadora / E-book */
.nav-neon {
  animation: neonBlink 1.8s infinite;
  text-shadow: 0 0 4px var(--gold2), 0 0 10px var(--gold2), 0 0 18px var(--gold), 0 0 32px var(--gold);
}
.nav-neon:hover, .nav-neon.active { color: var(--gold2) !important; }
@keyframes neonBlink {
  0%, 18%, 20%, 22%, 55%, 57%, 100% {
    opacity: 1;
    text-shadow: 0 0 4px var(--gold2), 0 0 11px var(--gold2), 0 0 19px var(--gold), 0 0 40px var(--gold);
  }
  19%, 21%, 56% { opacity: 0.45; text-shadow: none; }
}

/* BUTTONS — identities */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid var(--gold);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.2), rgba(201, 162, 39, 0.05));
  color: var(--gold2) !important;
  padding: 0.75rem 1.2rem; border-radius: 999px;
  font-weight: 650; font-size: 0.92rem;
  transition: 0.22s ease;
  letter-spacing: 0.01em;
}
.btn:hover {
  background: var(--gold); color: #111 !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.25);
}
.btn-solid {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #111 !important; border-color: transparent;
}
.btn-solid:hover {
  filter: brightness(1.06); color: #000 !important;
}
.btn-ghost {
  background: transparent; border-color: var(--line); color: var(--text) !important;
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold2) !important;
  background: transparent; box-shadow: none;
}
.btn-wa {
  background: linear-gradient(180deg, #25d366, #1ebe57);
  border-color: transparent; color: #04140a !important;
  font-weight: 700;
}
.btn-wa:hover {
  filter: brightness(1.05); color: #000 !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* HERO */
.hero {
  position: relative; min-height: 92vh;
  display: grid; align-items: end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: #000 center/cover no-repeat;
  transform: scale(1.04);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0.55) 40%, rgba(10, 10, 12, 0.97) 100%),
    radial-gradient(circle at 18% 18%, rgba(201, 162, 39, 0.2), transparent 42%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 7.5rem 0 3.8rem;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold2); font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.02; max-width: 14ch;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero h1 span { color: var(--gold2); }
.lead {
  color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 40rem; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem; max-width: 580px;
}
.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 0.95rem 1rem;
  backdrop-filter: blur(8px);
}
.stat strong {
  display: block; color: var(--gold2); font-size: 1.2rem;
  font-family: var(--display); font-weight: 700;
}
.stat span { color: var(--muted); font-size: 0.85rem; }

/* SECTIONS */
section { padding: 4.8rem 0; }
.section-alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
}
.section-head { margin-bottom: 2rem; max-width: 44rem; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 0.6rem;
  font-weight: 600;
  line-height: 1.12;
}
.section-head p { color: var(--muted); }

.grid-3 {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-2 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.4);
  box-shadow: var(--shadow);
}
.card-media { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #222; }
.card-body { padding: 1.25rem 1.3rem 1.4rem; }
.card-body h3 {
  font-size: 1.2rem; margin-bottom: 0.45rem;
  font-family: var(--display); font-weight: 600;
}
.card-body p { color: var(--muted); font-size: 0.95rem; }
.tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold2);
  background: var(--gold-dim); border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 0.25rem 0.55rem; border-radius: 999px; margin-bottom: 0.7rem;
}

/* METHOD */
.method {
  display: grid; gap: 0.8rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.method-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.1rem 0.85rem; text-align: center;
  min-height: 158px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.method-item:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
}
.method-item .letter {
  width: 44px; height: 44px; margin: 0 auto 0.7rem;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #111; font-weight: 800;
  font-family: var(--display); font-size: 1.15rem;
}
.method-item h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.method-item p { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

/* CASES */
.case {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem;
}
.case img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.case-body { padding: 1.4rem 1.5rem; }
.case-body h3 {
  margin-bottom: 0.5rem;
  font-family: var(--display); font-size: 1.35rem; font-weight: 600;
}
.case-body p { color: var(--muted); margin-bottom: 0.7rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  font-size: 0.78rem; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.25rem 0.65rem; background: rgba(255, 255, 255, 0.03);
}

/* CHECKLIST */
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.check-box {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.check-box h3 { margin-bottom: 0.9rem; color: var(--gold2); font-family: var(--display); }
.check-box label {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.45rem 0; border-bottom: 1px solid var(--line);
  color: var(--muted); cursor: pointer;
}
.check-box label:last-child { border-bottom: 0; }
.check-box input { margin-top: 0.3rem; accent-color: var(--gold); }

/* EBOOK */
.ebook-wrap { max-width: 820px; margin: 0 auto; padding: 2rem 0 4rem; }
.ebook-wrap h1 {
  font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 1rem 0 0.6rem; font-weight: 600;
}
.ebook-wrap h2 {
  font-family: var(--display); font-size: 1.55rem;
  margin: 2.2rem 0 0.7rem; color: var(--gold2);
  border-top: 1px solid var(--line); padding-top: 1.4rem; font-weight: 600;
}
.ebook-wrap h3 { margin: 1.2rem 0 0.45rem; font-size: 1.08rem; }
.ebook-wrap p, .ebook-wrap li { color: var(--muted); margin-bottom: 0.75rem; }
.ebook-wrap ul, .ebook-wrap ol { padding-left: 1.2rem; margin-bottom: 1rem; }
.ebook-wrap blockquote {
  border-left: 3px solid var(--gold);
  background: var(--gold-dim);
  margin: 1.2rem 0; padding: 1rem 1.1rem;
  color: var(--text); border-radius: 0 12px 12px 0;
}
.toc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.5rem 0;
}
.toc a { display: block; padding: 0.28rem 0; color: var(--muted); }
.toc a:hover { color: var(--gold2); }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 0.7rem 0.8rem; text-align: left; }
th { background: rgba(201, 162, 39, 0.12); color: var(--gold2); }
td { color: var(--muted); }
.notice {
  background: rgba(196, 92, 92, 0.12); border: 1px solid rgba(196, 92, 92, 0.35);
  border-radius: 12px; padding: 1rem 1.1rem; color: #f0c9c9; margin: 1rem 0;
  font-size: 0.92rem;
}
.notice.ok {
  background: rgba(92, 184, 92, 0.1); border-color: rgba(92, 184, 92, 0.3); color: #c8ecc8;
}

/* PAGE HERO */
.page-hero {
  padding: 4.5rem 0 2rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(201, 162, 39, 0.18), transparent 35%),
    linear-gradient(180deg, #14141a, var(--bg));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem; font-weight: 600;
}
.page-hero p { color: var(--muted); max-width: 40rem; }

/* CTA / CONTACT */
.cta {
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(201, 162, 39, 0.03)),
    var(--card);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 22px; padding: 2rem;
  display: grid; gap: 1rem;
  grid-template-columns: 1.4fr 1fr; align-items: center;
  box-shadow: var(--shadow);
}
.cta h2 {
  font-family: var(--display); font-size: 1.9rem; margin-bottom: 0.4rem; font-weight: 600;
}
.cta p { color: var(--muted); }
.contact-list { list-style: none; }
.contact-list li {
  padding: 0.55rem 0; border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.contact-list strong { color: var(--text); display: inline-block; min-width: 5.5rem; }

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem; margin-top: 2rem;
  color: var(--muted); font-size: 0.88rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-brand { color: var(--text); font-weight: 700; margin-bottom: 0.35rem; }
.verse { font-style: italic; color: var(--gold); margin-top: 0.8rem; font-family: var(--display); }

/* FLOATING WA */
.fab-wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: linear-gradient(180deg, #25d366, #1ebe57);
  color: #04140a !important; font-weight: 700; font-size: 0.9rem;
  padding: 0.85rem 1.1rem; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.fab-wa:hover { transform: translateY(-2px); filter: brightness(1.05); color: #000 !important; }
.fab-wa svg { width: 20px; height: 20px; flex-shrink: 0; }

/* REVEAL (opacity never stuck at 0 without JS class path) */
.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* UTIL */
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.center { text-align: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: rgba(8, 8, 10, 0.97);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 1.1rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 55;
  }
  .nav-links.open {
    opacity: 1; pointer-events: auto;
  }
  .nav-links a { font-size: 1.15rem; color: var(--text); }
  .grid-3, .method, .check-grid, .grid-2, .case, .cta { grid-template-columns: 1fr; }
  .method { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr; max-width: 100%; }
  .hero { min-height: 86vh; }
  .fab-wa span { display: none; }
  .fab-wa { padding: 0.95rem; border-radius: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg { animation: none; }
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .btn:hover, .method-item:hover { transform: none; }
  .nav-neon { animation: none; opacity: 1; }
}
@media print {
  .nav, footer, .hero-actions, .btn, .fab-wa, .nav-toggle { display: none !important; }
  body { background: #fff; color: #111; }
  .ebook-wrap p, .ebook-wrap li { color: #333; }
}

/* ===== CALCULADORA + PRODUTO (v2) ===== */
.price-tag {
  display: inline-flex; align-items: baseline; gap: .4rem;
  font-family: var(--display); font-weight: 700;
  color: var(--gold2); font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.price-tag small {
  font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--muted);
}
.product-card {
  background: linear-gradient(145deg, rgba(201,162,39,.14), rgba(24,24,31,.95));
  border: 1px solid rgba(201,162,39,.4);
  border-radius: 22px; padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.product-card ul { margin: 1rem 0 1.2rem; padding-left: 1.1rem; color: var(--muted); }
.product-card li { margin-bottom: .4rem; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted);
}
.feature-list li::before {
  content: "✓"; color: var(--gold2); font-weight: 800; flex-shrink: 0;
}

.calc-tabs {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.calc-tabs button {
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  padding: .65rem 1.1rem; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .92rem;
}
.calc-tabs button.active {
  background: linear-gradient(180deg, var(--gold2), var(--gold));
  color: #111; border-color: transparent;
}
.calc-layout {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; align-items: start;
}
.calc-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.3rem;
}
.calc-panel h3 {
  font-family: var(--display); font-size: 1.25rem; color: var(--gold2);
  margin: 1.2rem 0 .8rem; font-weight: 600;
}
.calc-panel h3:first-child { margin-top: 0; }
.calc-field {
  display: grid; grid-template-columns: 1fr auto; gap: .4rem .75rem;
  align-items: center; padding: .45rem 0; border-bottom: 1px solid var(--line);
}
.calc-field label { color: var(--muted); font-size: .9rem; }
.calc-field input, .calc-field select {
  width: 9.5rem; max-width: 42vw;
  background: #0e0e14; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: .5rem .65rem; font: inherit; text-align: right;
}
.calc-field input:focus, .calc-field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.calc-results {
  position: sticky; top: 5.2rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(201,162,39,.16), transparent 50%),
    var(--card);
  border: 1px solid rgba(201,162,39,.35);
  border-radius: var(--radius); padding: 1.3rem 1.35rem;
}
.calc-results h3 {
  font-family: var(--display); font-size: 1.35rem; margin-bottom: .9rem; font-weight: 600;
}
.calc-kpi {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .92rem;
}
.calc-kpi strong { color: var(--text); font-variant-numeric: tabular-nums; }
.calc-kpi.highlight strong { color: var(--gold2); font-size: 1.15rem; }
.calc-status {
  display: inline-block; margin: .85rem 0 .6rem; padding: .45rem .85rem;
  border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .02em;
}
.status-ok { background: rgba(92,184,92,.18); color: #9de09d; border: 1px solid rgba(92,184,92,.4); }
.status-mid { background: rgba(232,197,71,.15); color: #e8c547; border: 1px solid rgba(232,197,71,.4); }
.status-bad { background: rgba(196,92,92,.15); color: #f0a0a0; border: 1px solid rgba(196,92,92,.4); }
.calc-bar {
  height: 10px; background: rgba(255,255,255,.06); border-radius: 999px; overflow: hidden; margin: .4rem 0 1rem;
}
.calc-bar-fill { height: 100%; width: 0; transition: width .35s ease; border-radius: 999px; }
.calc-bar-fill.status-ok { background: linear-gradient(90deg, #3d9a3d, #5cb85c); }
.calc-bar-fill.status-mid { background: linear-gradient(90deg, #b89620, #e8c547); }
.calc-bar-fill.status-bad { background: linear-gradient(90deg, #a04040, #c45c5c); }
.calc-note { font-size: .82rem; color: var(--muted); margin-top: .8rem; line-height: 1.45; }

.comp-wrap { overflow-x: auto; }
.comp-table { min-width: 920px; width: 100%; border-collapse: collapse; font-size: .88rem; }
.comp-table th {
  background: rgba(201,162,39,.12); color: var(--gold2);
  padding: .65rem .5rem; border: 1px solid var(--line); text-align: left; font-weight: 600;
}
.comp-table td { border: 1px solid var(--line); padding: .4rem .35rem; vertical-align: middle; }
.comp-table input {
  width: 100%; background: #0e0e14; border: 1px solid transparent; color: var(--text);
  border-radius: 8px; padding: .4rem .45rem; font: inherit;
}
.comp-table input:focus { outline: none; border-color: var(--gold); }
.comp-st { font-weight: 700; font-size: .78rem; white-space: nowrap; }
.comp-st.status-ok { color: #9de09d; }
.comp-st.status-mid { color: #e8c547; }
.comp-st.status-bad { color: #f0a0a0; }
.comp-toolbar {
  display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.btn.small { padding: .45rem .8rem; font-size: .82rem; }
.comp-st.comp-locked {
  cursor: pointer; color: #04140a; background: linear-gradient(180deg, #25d366, #1ebe57);
  padding: .3rem .6rem; border-radius: 999px; display: inline-block;
}
.comp-st.comp-locked:hover { filter: brightness(1.06); }

.chapters {
  display: grid; gap: .55rem; margin: 1rem 0 1.5rem;
}
.chapter {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem;
  padding: .85rem 1rem; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; color: var(--muted);
}
.chapter b { color: var(--gold2); font-family: var(--display); font-size: 1.1rem; }
.chapter strong { color: var(--text); display: block; margin-bottom: .15rem; }

#check-progress {
  display: inline-block; margin-bottom: 1rem; padding: .45rem .9rem;
  border-radius: 999px; background: var(--gold-dim); color: var(--gold2);
  border: 1px solid rgba(201,162,39,.3); font-size: .9rem; font-weight: 600;
}
#check-progress.ok {
  background: rgba(92,184,92,.12); color: #9de09d; border-color: rgba(92,184,92,.35);
}

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-results { position: static; }
  .calc-field { grid-template-columns: 1fr; }
  .calc-field input, .calc-field select { width: 100%; max-width: none; text-align: left; }
}

/* Aviso de cookies (LGPD) */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 200;
  max-width: 760px; margin: 0 auto;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  padding: 1rem 1.2rem; border-radius: 14px;
  background: #141418; border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  color: var(--text); font-size: 0.9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 0.6rem; }
.footer-legal { margin-top: 0.4rem; }
.footer-legal a { color: var(--muted); text-decoration: underline; }
.footer-legal a + a { margin-left: 0.8rem; }
.legal h2 { font-family: var(--display); font-size: 1.35rem; margin: 2rem 0 0.6rem; color: var(--gold2); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin: 0.3rem 0; }
