/* BodyReport — estilos das calculadoras grátis */
:root {
  --bg: #08090d;
  --surface: #0f1117;
  --surface2: #161820;
  --border: #1f2130;
  --accent: #4af0b0;
  --accent2: #38bdf8;
  --accent3: #f97316;
  --text: #e8eaf2;
  --muted: #6b7280;
  --danger: #f87171;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* NAV */
.calc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,9,13,0.85);
  backdrop-filter: blur(20px);
}
.calc-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text);
}
.calc-nav .logo img { width: 28px; height: 28px; object-fit: contain; }
.calc-nav .logo .logo-accent { color: var(--accent); }
.calc-nav .nav-cta {
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.calc-nav .nav-cta:hover { opacity: 0.85; }

/* LAYOUT */
.calc-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }

.calc-hero { text-align: center; padding: 40px 0 28px; }
.calc-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.calc-hero h1 em { font-style: normal; color: var(--accent); }
.calc-hero p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 560px; margin: 0 auto; }

/* breadcrumb */
.calc-breadcrumb { font-size: 12px; color: var(--muted); padding-top: 16px; }
.calc-breadcrumb a { color: var(--muted); text-decoration: none; }
.calc-breadcrumb a:hover { color: var(--accent); }

/* CARD DA CALCULADORA */
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 36px;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.calc-input, .calc-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
}
.calc-input:focus, .calc-select:focus { border-color: var(--accent); }
.calc-select { appearance: none; cursor: pointer; }
.calc-btn {
  grid-column: 1 / -1;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.2s, transform 0.1s;
}
.calc-btn:hover { opacity: 0.9; }
.calc-btn:active { transform: scale(0.99); }
.calc-error { grid-column: 1 / -1; color: var(--danger); font-size: 13px; display: none; }

/* RESULTADO */
.calc-result { display: none; margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--border); }
.result-main { text-align: center; margin-bottom: 16px; }
.result-main .result-num {
  font-family: 'Syne', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
}
.result-main .result-num span { font-size: 20px; color: var(--muted); font-weight: 400; }
.result-main .result-class { font-size: 14px; font-weight: 700; margin-top: 2px; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.result-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
}
.result-card .rc-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.result-card .rc-value { font-family: 'Syne', sans-serif; font-size: 21px; font-weight: 800; margin-top: 2px; }
.result-card .rc-sub { font-size: 11px; color: var(--muted); margin-top: 1px; }
.result-note { font-size: 11px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* CONTEÚDO */
.content-section { margin-bottom: 36px; }
.content-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}
.content-section h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.content-section p { font-size: 15px; line-height: 1.75; color: #b6bccb; margin-bottom: 12px; }
.content-section ul, .content-section ol { padding-left: 22px; margin-bottom: 12px; }
.content-section li { font-size: 15px; line-height: 1.75; color: #b6bccb; margin-bottom: 4px; }
.content-section strong { color: var(--text); }
.content-section a { color: var(--accent); text-decoration: none; }
.content-section a:hover { text-decoration: underline; }
.formula-box {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: monospace;
  font-size: 14px;
  color: var(--accent);
  margin: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
}

/* TABELA */
.calc-table-wrap { overflow-x: auto; margin: 14px 0; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 380px; }
.calc-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}
.calc-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: #b6bccb; }
.calc-table tr:last-child td { border-bottom: none; }

/* FAQ */
.calc-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.calc-faq summary {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.calc-faq summary::-webkit-details-marker { display: none; }
.calc-faq summary::after { content: '+'; color: var(--accent); font-size: 18px; flex-shrink: 0; }
.calc-faq details[open] summary::after { content: '−'; }
.calc-faq .faq-body { padding: 0 20px 16px; font-size: 14px; line-height: 1.75; color: #9ca3af; }

/* CTA PARA O QUIZ */
.cta-card {
  background: linear-gradient(135deg, rgba(74,240,176,0.08), rgba(56,189,248,0.05));
  border: 1px solid rgba(74,240,176,0.3);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  margin-bottom: 36px;
}
.cta-card .cta-title { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.cta-card p { color: var(--muted); font-size: 14px; line-height: 1.6; max-width: 480px; margin: 0 auto 16px; }
.cta-card .cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  text-decoration: none;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 12px;
  transition: opacity 0.2s;
}
.cta-card .cta-btn:hover { opacity: 0.85; }
.cta-card .cta-sub { font-size: 11px; color: var(--muted); margin-top: 10px; }

/* OUTRAS CALCULADORAS */
.related-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.related-links a {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}
.related-links a:hover { border-color: var(--accent); }

/* FOOTER */
.calc-footer {
  border-top: 1px solid var(--border);
  padding: 28px 20px 32px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.calc-footer .footer-disclaimer { max-width: 620px; margin: 0 auto 14px; line-height: 1.6; }
.calc-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 12px; }
.calc-footer a { color: var(--muted); text-decoration: none; }
.calc-footer a:hover { color: var(--accent); }

/* COOKIE BANNER */
#cookieBanner {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9998;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px 12px 18px;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #9ca3af;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  width: calc(100% - 32px);
  max-width: 360px;
}
#cookieBanner a { color: var(--accent); text-decoration: none; white-space: nowrap; }
#cookieBanner button {
  background: var(--accent);
  border: none;
  color: #000;
  padding: 7px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* MOBILE */
@media (max-width: 640px) {
  .calc-nav { padding: 14px 16px; }
  .calc-nav .logo { font-size: 16px; gap: 7px; }
  .calc-nav .logo img { width: 24px; height: 24px; }
  .calc-nav .nav-cta { font-size: 12px; padding: 8px 14px; }
  .calc-hero h1 { font-size: 25px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-card { padding: 20px; }
  .result-main .result-num { font-size: 38px; }
  .content-section h2 { font-size: 19px; }
}
