:root{
  --bg:#0a1410;
  --card:#10211a;
  --border:#1f3a2e;
  --text:#eafaf2;
  --muted:#8ba99a;
  --accent:#10b981;
  --accent-grad:linear-gradient(135deg,#10b981,#059669);
  --green:#34d399;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.4);
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;

  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #172murs, transparent), var(--bg);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;

  overflow-x: hidden;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 6px;

   flex-wrap: wrap;        /* permite que os itens quebrem linha em vez de estourar */
  max-width: 100%;        /* nunca passa da largura da tela */
  gap: 8px;               /* espaçamento entre os links */

}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--card);
}
.nav-links a.active {
  color: var(--text);
  background: var(--card-2);
}

/* HERO */
.hero {
  text-align: center;
  padding: 48px 16px 28px;
}
.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.hero p {
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* AD SLOT */
.ad-slot {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 12px;
  text-align: center;
  padding: 22px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 840px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* CARD */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-result {
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
}

/* FIELDS */
.field {
  margin-bottom: 18px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.badge {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap .prefix {
  position: absolute;
  left: 14px;
  color: var(--muted);
  font-weight: 600;
}
.input-wrap input {
  padding-left: 30px !important;
}
.field input[type="number"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  transition: 0.2s;
}
.field input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  height: 6px;
  cursor: pointer;
}

/* RESULT */
.result-main {
  text-align: center;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.result-main .label {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.result-main .value {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.result-main .sub {
  color: var(--amber);
  font-size: 0.82rem;
  margin-top: 6px;
  min-height: 18px;
}

.breakdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
.breakdown .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.breakdown .row:last-child {
  border: none;
}
.breakdown .row span:first-child {
  display: flex;
  align-items: center;
  color: var(--muted);
}
.breakdown .row span:last-child {
  font-weight: 700;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 9px;
}
.dot-blue {
  background: var(--accent);
}
.dot-green {
  background: var(--green);
}
.dot-amber {
  background: var(--amber);
}
.dot-purple {
  background: var(--purple);
}
.dot-pink {
  background: var(--pink);
}

.summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--bg);
  border-radius: 12px;
  padding: 18px;
}
.summary-item {
  display: flex;
  flex-direction: column;
}
.summary-item span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 3px;
}
.summary-item strong {
  font-size: 1.02rem;
}

/* CONTENT / SEO */
.content {
  margin-top: 40px;
  max-width: 820px;
}
.content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 34px 0 12px;
  letter-spacing: -0.01em;
}
.content h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 22px 0 8px;
}
.content p {
  color: #cbd5e1;
  margin-bottom: 14px;
}
.content ul {
  margin: 0 0 16px 22px;
  color: #cbd5e1;
}
.content li {
  margin-bottom: 6px;
}
.formula {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  font-size: 1.05rem;
  color: #93c5fd;
  margin: 10px 0 16px;
  font-weight: 600;
}
.disclaimer {
  background: var(--card);
  border-left: 4px solid var(--amber);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 30px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 50px;
  padding: 42px 0 24px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
  max-width: 300px;
}
.footer-grid h4 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-grid a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: 0.2s;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== PÁGINAS INTERNAS (About, Privacy, Contact) ===== */
.content.page {
  padding-top: 40px;
}
.content.page h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin: 18px 0 10px;
  box-shadow: var(--shadow);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.contact-form textarea {
  resize: vertical;
}
.btn {
  background: var(--accent-grad);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 4px;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.form-msg {
  color: var(--green);
  font-size: 0.92rem;
  margin-top: 12px;
  font-weight: 500;
}


/* ===== CALCULATOR LAYOUT ===== */
.hero { text-align:center; padding:48px 0 32px; }
.hero h1 { font-size:clamp(2rem,5vw,3.2rem); font-weight:800; margin:0 0 12px; }
.subtitle { color:var(--muted); max-width:620px; margin:0 auto; font-size:1.05rem; line-height:1.6; }

.calc-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin:24px 0 48px;
}
@media (max-width:820px){ .calc-layout{ grid-template-columns:1fr; } }

.calc-card {
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}
.card-title { font-size:1.15rem; font-weight:700; margin:0 0 18px; }

.input-group { margin-bottom:16px; }
.input-group label {
  display:block;
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:6px;
  font-weight:500;
}
.input-group input {
  width:100%;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 14px;
  color:var(--text);
  font-size:1rem;
  font-family:inherit;
  transition:border-color .2s;
  box-sizing:border-box;
}
.input-group input:focus {
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(16,185,129,.15);
}

/* prefixo $ */
.input-prefix {
  display:flex;
  align-items:center;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}
.input-prefix span {
  padding:0 12px;
  color:var(--muted);
  font-weight:600;
  border-right:1px solid var(--border);
}
.input-prefix input {
  border:none;
  background:transparent;
  box-shadow:none;
}
.input-prefix input:focus { box-shadow:none; }

/* botão */
.btn {
  display:inline-block;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-weight:600;
  border-radius:10px;
  transition:transform .15s, opacity .2s;
}
.calc-btn {
  width:100%;
  margin-top:8px;
  padding:14px;
  font-size:1.05rem;
  color:#fff;
  background:var(--accent-grad);
}
.calc-btn:hover { transform:translateY(-2px); opacity:.95; }

/* resultados */
.result-card { display:flex; flex-direction:column; }
.result-main {
  text-align:center;
  padding:20px;
  background:var(--bg);
  border-radius:12px;
  margin-bottom:20px;
}
.result-label { display:block; color:var(--muted); font-size:.9rem; margin-bottom:6px; }
.result-value { font-size:2.4rem; font-weight:800; color:var(--green); }

.result-breakdown .row {
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--border);
  font-size:.95rem;
}
.result-breakdown .row span { color:var(--muted); }
.result-breakdown .row.total {
  border-bottom:none;
  margin-top:6px;
  padding-top:16px;
  font-size:1.05rem;
}
.result-note {
  margin-top:18px;
  padding:14px;
  background:var(--bg);
  border-radius:10px;
  font-size:.92rem;
  line-height:1.5;
}

/* conteúdo SEO */
.content { max-width:760px; margin:0 auto 64px; line-height:1.7; }
.content h2 { font-size:1.5rem; font-weight:700; margin:32px 0 12px; }
.content h3 { font-size:1.15rem; font-weight:600; margin:24px 0 8px; }
.content p, .content li { color:var(--muted); }
.content ul { padding-left:20px; }
.content li { margin-bottom:8px; }

.disclaimer {
  margin-top:32px;
  padding:18px;
  background:var(--card);
  border:1px solid var(--border);
  border-left:3px solid var(--accent);
  border-radius:10px;
  font-size:.88rem;
  color:var(--muted);
  line-height:1.6;
}

