:root {
  --navy: #071629;
  --navy2: #0b2340;
  --blue: #0878f9;
  --cyan: #17b7f2;
  --ink: #122033;
  --muted: #617086;
  --pale: #f3f7fc;
  --line: #e3eaf3;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

/* Header & Navegação */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 21px;
  white-space: nowrap;
}

.brand img {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  color: var(--navy);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 600;
  color: #39475a;
}

.navlinks a:hover {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 19px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: 0.2s;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 22px #0878f92a;
}

.btn-primary:hover {
  background: #0068df;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: #6aaeff;
  color: white;
  background: #ffffff08;
}

.btn-outline:hover {
  background: #ffffff15;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  padding: 9px 12px;
  font-size: 20px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 82% 22%, #0d3d68 0, #071629 48%, #040d18 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.hero:after {
  content: "";
  position: absolute;
  right: -100px;
  top: -150px;
  width: 520px;
  height: 520px;
  border: 1px solid #1789f933;
  border-radius: 50%;
  box-shadow: 0 0 0 70px #1789f911, 0 0 0 140px #1789f908;
  pointer-events: none;
}

.hero-grid {
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
  padding-top: 62px;
  padding-bottom: 62px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  color: #54b8ff;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(39px, 5vw, 63px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 0 0 22px;
}

h1 span, .blue {
  color: #1686ff;
}

.hero-lead {
  font-size: 19px;
  line-height: 1.45;
  color: #e2eaf4;
  max-width: 590px;
  margin: 0 0 16px;
  font-weight: 600;
}

.hero-copy {
  font-size: 15px;
  color: #aebed0;
  max-width: 530px;
  margin: 0 0 29px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trustline {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  color: #aebed0;
  font-size: 12px;
}

.trustline span:before {
  content: "✓";
  color: #41d6a0;
  font-weight: 800;
  margin-right: 7px;
}

/* Dashboard Mockup */
.dashboard-wrap {
  position: relative;
  padding: 16px 0 16px 16px;
}

.dashboard {
  background: #0b1b2c;
  border: 1px solid #29435c;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 30px 80px #0008;
  transform: perspective(1200px) rotateY(-4deg);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #23374d;
  padding-bottom: 15px;
  margin-bottom: 18px;
}

.dash-brand {
  font-weight: 800;
  font-size: 14px;
}

.dash-brand span {
  color: #27a5ff;
}

.status {
  font-size: 10px;
  color: #62e4b0;
  background: #103b35;
  padding: 6px 9px;
  border-radius: 30px;
}

.dash-label {
  font-size: 11px;
  color: #91a8c0;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric {
  background: #10263b;
  border: 1px solid #203c56;
  border-radius: 12px;
  padding: 13px;
}

.metric strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.05em;
  color: #fff;
}

.metric small {
  font-size: 10px;
  color: #93a9c0;
}

.chart {
  height: 155px;
  margin-top: 13px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0f2941, #0a1c2e);
  border: 1px solid #203c56;
  padding: 14px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.bar {
  flex: 1;
  min-width: 8px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #24b6ff, #0878f9);
  opacity: 0.9;
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  color: #8ca4bd;
  font-size: 10px;
  margin-top: 8px;
}

.station-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.station {
  padding: 10px 6px;
  text-align: center;
  background: #10263b;
  border: 1px solid #203c56;
  border-radius: 10px;
}

.station strong {
  display: block;
  color: #5ce0b0;
  font-size: 16px;
}

.station small {
  font-size: 9px;
  color: #9bb0c5;
}

/* Seções Gerais */
.section {
  padding: 88px 0;
}

.section-pale {
  background: var(--pale);
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-head {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: clamp(29px, 3.3vw, 43px);
  letter-spacing: -0.045em;
  line-height: 1.12;
  margin: 0 0 15px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}

.section-dark .section-head p {
  color: #b4c4d6;
}

/* Features */
.feature-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e2f0ff;
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.feature h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Painel de Produto & Tabela Demonstrativa */
.product-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px;
  box-shadow: 0 22px 60px #1b35500d;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.panel-header strong {
  font-size: 15px;
}

.pill {
  font-size: 11px;
  color: #08764c;
  background: #e1faef;
  border-radius: 30px;
  padding: 6px 10px;
}

.fake-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.fake-table th {
  text-align: left;
  color: #78889a;
  font-weight: 600;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.fake-table td {
  padding: 13px 8px;
  border-bottom: 1px solid #eef2f7;
}

.fake-table tr:last-child td {
  border: 0;
}

.progress {
  height: 6px;
  width: 72px;
  background: #e9eef5;
  border-radius: 10px;
  overflow: hidden;
}

.progress i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 10px;
}

/* Cards de Soluções */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 25px;
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px #10243b0e;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e7f2ff;
  color: var(--blue);
  font-size: 23px;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Passos de Implantação */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  border-top: 1px solid #28435d;
  padding-top: 20px;
  position: relative;
}

.step-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 0 7px #0878f91b;
}

.step h3 {
  font-size: 16px;
  margin: 0 0 7px;
}

.step p {
  color: #aebed0;
  font-size: 13px;
  margin: 0;
}

/* Consultoria */
.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.checklist {
  display: grid;
  gap: 13px;
  margin-top: 24px;
}

.checklist div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

.checklist b {
  color: var(--blue);
}

/* CTA */
.cta {
  padding: 52px 0;
  background: linear-gradient(115deg, #0759bf, #0878f9 60%, #13a5ed);
  color: white;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta h2 {
  font-size: clamp(28px, 3.5vw, 39px);
  margin: 0 0 10px;
}

.cta p {
  margin: 0;
  color: #e0efff;
}

.cta .btn {
  background: white;
  color: #0759bf;
  white-space: nowrap;
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info p {
  color: var(--muted);
}

.contact-items {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  font-size: 14px;
}

.contact-items span {
  color: var(--muted);
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: white;
  border: 1px solid var(--line);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 20px 60px #10243b0a;
}

label {
  font-size: 12px;
  font-weight: 700;
  color: #35465b;
  display: grid;
  gap: 7px;
}

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  border: 1px solid #d8e1ec;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #0878f91a;
}

.full {
  grid-column: 1 / -1;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

form .btn {
  cursor: pointer;
}

form .btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.form-alert {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  box-sizing: border-box;
}

.form-alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-note {
  font-size: 11px;
  color: #738399;
  margin: 0;
}

/* Rodapé */
footer {
  background: #040d18;
  color: #aebed0;
  padding: 32px 0 22px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 25px;
  border-bottom: 1px solid #1c2b3c;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-brand:hover img {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 18px;
  font-size: 11px;
  color: #788ba0;
}

/* Responsividade */
@media (max-width: 900px) {
  .navlinks {
    gap: 14px;
  }
  .navlinks a {
    font-size: 12px;
  }
  .nav .btn {
    padding: 11px 13px;
    font-size: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-copy {
    max-width: 650px;
  }
  .dashboard-wrap {
    max-width: 650px;
  }
  .feature-layout, .consult-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 35px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, 1160px);
  }
  .nav {
    height: 68px;
  }
  .brand img {
    width: 138px;
  }
  .menu-toggle {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks.open {
    display: flex;
  }
  .nav > .btn {
    display: none;
  }
  .hero-grid {
    padding-top: 52px;
    padding-bottom: 50px;
    min-height: 0;
  }
  .hero-lead {
    font-size: 17px;
  }
  .dashboard {
    padding: 13px;
    transform: none;
  }
  .metric {
    padding: 10px;
  }
  .metric strong {
    font-size: 20px;
  }
  .chart {
    height: 120px;
  }
  .section {
    padding: 62px 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-grid {
    gap: 24px;
  }
  form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .full {
    grid-column: auto;
  }
  .footer-top, .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-brand img {
    height: 32px;
  }
  .footer-links {
    gap: 14px;
  }
  .fake-table {
    font-size: 10px;
  }
  .fake-table th, .fake-table td {
    padding: 10px 4px;
  }
  .progress {
    width: 45px;
  }
}
