/* Visual referência: landing_export (Certipeso/Automscale) */
/* Variáveis certipeso.css */
:root {
  --certipeso-primary: #2c3e50;
  --certipeso-secondary: #34495e;
  --certipeso-success: #27ae60;
  --certipeso-warning: #f39c12;
  --certipeso-danger: #e74c3c;
  --certipeso-info: #3498db;
  --certipeso-light: #ecf0f1;
  --certipeso-dark: #2c3e50;
  --cp-primary: var(--certipeso-primary);
  --cp-secondary: var(--certipeso-secondary);
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #ffffff;
  color: #1f2937;
}

/* Header (referência landing_export) */
.cp-navbar {
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.cp-brand {
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--cp-primary);
  text-decoration: none;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cp-brand:hover {
  color: var(--cp-secondary);
}

.cp-logo-header {
  height: 48px;
  width: auto;
  max-width: none;
  vertical-align: middle;
  object-fit: contain;
}

.cp-nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.cp-nav-link:hover {
  color: var(--cp-primary);
}

/* Hero (referência) */
.cp-hero {
  padding: 64px 0 40px;
  background: linear-gradient(180deg, rgba(44,62,80,.06), rgba(44,62,80,0));
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.cp-section {
  padding: 56px 0;
}

.cp-section-alt {
  background: rgba(44, 62, 80, 0.04);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.cp-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: #6b7280;
  font-weight: 600;
}

.cp-title {
  font-weight: 800;
  color: var(--cp-primary);
  margin: 10px 0 12px;
  line-height: 1.08;
}

.cp-lead {
  font-size: 1.05rem;
  color: #4b5563;
  max-width: 56rem;
}

.cp-card {
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  padding: 18px 18px;
  height: 100%;
  border-radius: 2px;
}

.cp-list {
  padding-left: 18px;
  color: #4b5563;
  margin: 0;
}

.cp-list li {
  margin-bottom: 0.35rem;
}

/* Faixa 3 colunas */
.cp-strip {
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(44, 62, 80, 0.04);
}

.cp-strip-title {
  font-weight: 600;
  color: var(--certipeso-primary);
}

.cp-strip-desc {
  font-size: 0.9rem;
  color: #6b7280;
}

.cp-strip-link {
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.cp-strip-link:hover {
  background: rgba(44, 62, 80, 0.06);
  color: inherit;
}
.cp-strip-link:hover .cp-strip-title {
  color: var(--certipeso-secondary);
}

/* Footer (referência) */
.cp-footer {
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
  padding: 18px 0;
  color: #6b7280;
  font-size: .9rem;
}

.cp-footer a {
  color: #6b7280;
  text-decoration: none;
}

.cp-footer a:hover {
  color: var(--cp-primary);
}

.cp-footer .cp-credits {
  font-size: .85rem;
}

.cp-footer-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.cp-brand-text {
  color: var(--cp-primary);
}

/* Botão login/CTA (referência) */
.btn, .form-control, .cp-card {
  border-radius: 2px !important;
}

.cp-btn-login {
  background: linear-gradient(180deg, #2c3e50, #34495e);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(44, 62, 80, 0.25);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.cp-btn-login:hover {
  background: linear-gradient(180deg, #34495e, #2c3e50);
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.35);
  transform: translateY(-1px);
}

.cp-btn-login:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(44, 62, 80, 0.2);
}

/* Bootstrap override: botão primary alinhado ao tema */
.btn-primary {
  background-color: var(--certipeso-primary) !important;
  border-color: var(--certipeso-primary) !important;
}

.btn-primary:hover {
  background-color: var(--certipeso-secondary) !important;
  border-color: var(--certipeso-secondary) !important;
}

/* Mobile: menu colapsável se precisar (opcional) */
@media (max-width: 767.98px) {
  .cp-hero {
    padding: 48px 0 32px;
  }
  .cp-title.display-5 {
    font-size: 1.75rem;
  }
}
