/* Paleta e tipografia reaproveitadas de frontend/src/styles.css (tokens --nx-*)
   para consistencia visual com o ERP e o Portal B2B, sem importar nenhum
   arquivo do frontend/ -- so os mesmos valores. */
:root {
  --nx-navy: #0B1728;
  --nx-navy-strong: #132840;
  --nx-gold: #D6A64A;
  --nx-gold-light: #F3C969;
  --nx-gold-dark: #8A6118;
  --nx-bg: #F5F7FA;
  --nx-text: #0B1728;
  --nx-muted: #55637a;
  --nx-border: #e1e6ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: 'DM Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cabecalho */
header.site {
  background: var(--nx-navy);
  color: #fff;
}
header.site .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
header.site .brand img { height: 32px; }
header.site nav a {
  text-decoration: none;
  color: #cfd8e6;
  margin-left: 24px;
  font-size: 14px;
  font-weight: 600;
}
header.site nav a:hover, header.site nav a.ativo { color: var(--nx-gold-light); }

/* Botoes */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--nx-gold); color: var(--nx-navy); }
.btn-primary:hover { background: var(--nx-gold-light); }
.btn-outline { background: transparent; color: #fff; border: 1px solid #4a5a72; }
.btn-outline:hover { border-color: var(--nx-gold-light); color: var(--nx-gold-light); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--nx-navy) 0%, var(--nx-navy-strong) 100%);
  color: #fff;
  padding: 80px 0 96px;
}
.hero .eyebrow {
  color: var(--nx-gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 { font-size: 40px; max-width: 640px; }
.hero p.lead { font-size: 18px; color: #cfd8e6; max-width: 560px; margin-bottom: 32px; }
.hero .cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* Secoes */
section.pad { padding: 72px 0; }
section.pad.alt { background: #fff; }
.section-title { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-title .eyebrow {
  color: var(--nx-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 12px;
  padding: 28px;
}
.card h3 { font-size: 18px; }
.card p { color: var(--nx-muted); margin: 0; font-size: 15px; }

/* Precos */
.grid-precos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 700px) { .grid-precos { grid-template-columns: 1fr; } }
.plano {
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.plano.destaque { border: 2px solid var(--nx-gold); position: relative; }
.plano .tag {
  display: inline-block;
  background: var(--nx-gold);
  color: var(--nx-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.plano .preco { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 700; margin: 12px 0 20px; color: var(--nx-navy); }
.plano ul { text-align: left; padding-left: 20px; color: var(--nx-muted); font-size: 15px; }
.plano .btn { margin-top: 20px; width: 100%; }

/* Ja e cliente */
.ja-cliente {
  background: var(--nx-navy-strong);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.ja-cliente form { display: flex; gap: 8px; margin-top: 16px; }
.ja-cliente input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #34455e;
  background: #0e1c30;
  color: #fff;
  font-size: 15px;
}
.ja-cliente small { display: block; margin-top: 10px; color: #9fb0c8; }
.ja-cliente .aviso { margin-top: 10px; font-size: 13px; color: var(--nx-gold-light); }

/* Formulario de contato */
.form-contato {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--nx-border);
  border-radius: 16px;
  padding: 32px;
}
.form-contato label { display: block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--nx-navy); }
.form-contato input, .form-contato textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
  border: 1px solid var(--nx-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}
.form-contato textarea { min-height: 120px; resize: vertical; }
.form-contato .btn { width: 100%; margin-top: 8px; }

.notice {
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.notice.success { background: #e7f6ec; color: #1e6b3a; }
.notice.error { background: #fdeceb; color: #a3281a; }

/* Rodape */
footer.site {
  background: var(--nx-navy);
  color: #9fb0c8;
  padding: 32px 0;
  font-size: 13px;
  text-align: center;
}
footer.site a { color: var(--nx-gold-light); text-decoration: none; }
