:root {
  --bg-body: #050816;
  --bg-elevated: #0b1020;
  --bg-elevated-soft: #0f172a;
  --accent: #1d9bf0;
  --accent-soft: rgba(29, 155, 240, 0.14);
  --accent-strong: #3b82f6;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.7);
  --shadow-subtle: 0 18px 40px rgba(15, 23, 42, 0.55);
  --transition-fast: 0.18s ease-out;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #1e293b, #020617 52%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Claro à esquerda → transição no meio → azul do site (#0b1120) do 2/3 até o fim */
  background: linear-gradient(
    to right,
    #e8f4fc 0%,
    #bae6fd 22%,
    #38bdf8 48%,
    #0284c7 62%,
    #0b1120 66.7%,
    #0b1120 100%
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.75);
  /* Evita vazamento visual do logo (scale + blend) para fora da barra → retângulo cinza embaixo */
  overflow: hidden;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 10.75rem;
  padding: 0.35rem 1.25rem 0.45rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  background: transparent;
  flex-shrink: 0;
  line-height: 0;
  /* sem overflow:hidden: o scale(1.22) do logo cresce para a direita e seria cortado */
  height: calc(10.75rem - 0.85rem);
  max-width: min(72%, 44rem);
  padding-right: 0.35rem;
}

.brand-logo {
  height: 100%;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  vertical-align: top;
}

/* Logo com fundo branco: multiply no gradiente; scale contido pelo overflow do .topbar */
.brand-logo--header {
  mix-blend-mode: multiply;
  transform: scale(1.22);
  transform-origin: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e5e7eb;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width var(--transition-fast);
}

.nav-list a:hover {
  color: var(--text-main);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.4rem);
  line-height: 1.1;
  margin: 1rem 0 1rem;
}

.hero h1 span {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1.6rem;
}

.btn {
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1020;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(37, 99, 235, 0.55);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  transform: translateY(-1px);
}

.btn.full {
  width: 100%;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
  margin-bottom: 0.8rem;
}

.hero-highlights > div {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 52%);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.hero-highlights strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.hero-highlights span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at top,
    rgba(56, 189, 248, 0.3),
    transparent 55%
  );
  opacity: 0.8;
  filter: blur(14px);
  z-index: -1;
}

.glass-card {
  border-radius: 26px;
  padding: 1.9rem 1.8rem;
  background: radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.45),
      transparent 60%
    ),
    rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.glass-card h2 {
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
}

.glass-card p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.glass-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.glass-card li {
  font-size: 0.9rem;
  color: #e5e7eb;
  padding: 0.35rem 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
}

.glass-card li:first-child {
  border-top: none;
}

.section {
  padding: 3.8rem 0;
}

.section-alt {
  background: radial-gradient(circle at top right, #020617 12%, #020617 55%);
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.section-header span {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-grid h2 span {
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-grid p {
  color: var(--text-muted);
}

.section-grid p + p {
  margin-top: 0.9rem;
}

.pill-grid {
  display: grid;
  gap: 1rem;
}

.pill-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 20px;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
}

.pill-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.pill-card p,
.pill-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill-card.values ul {
  padding-left: 1.1rem;
  margin: 0.4rem 0 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: radial-gradient(circle at top left, #1e293b, #020617 65%);
  border-radius: 20px;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.35;
}

.card-title-icon {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.32em;
  border-radius: 3px;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.card ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0 0.4rem;
}

.card li {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.card-foot {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.solution-block {
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
}

.solution-block h3 {
  margin: 0 0 0.4rem;
}

.solution-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.solution-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.solution-block li {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  gap: 2.1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullets li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.9rem;
  color: #e5e7eb;
}

.bullets li + li {
  margin-top: 0.5rem;
}

.bullets.secondary li {
  background: rgba(15, 23, 42, 0.98);
}

.cta-panel {
  border-radius: 18px;
  padding: 1.5rem 1.7rem;
  background: radial-gradient(circle at top left, #1d4ed8 0, #020617 65%);
  border: 1px solid rgba(129, 140, 248, 0.5);
  box-shadow: var(--shadow-subtle);
}

.cta-panel h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.cta-panel p {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.93rem;
}

.contact-section {
  padding-bottom: 4.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2.6rem;
  align-items: flex-start;
}

.contact-grid h2 {
  font-size: 1.6rem;
  margin-top: 0;
}

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

.contact-highlight {
  margin-top: 1.3rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.5);
}

.contact-form {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-subtle);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.55rem 0.75rem;
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(59, 130, 246, 0.8);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

.form-success {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #bbf7d0;
}

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.4rem 0 1.6rem;
  background: rgba(2, 6, 23, 0.98);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 1.6rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-copy {
  text-align: right;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .hero-card {
    order: -1;
  }

  .section-grid,
  .cards-grid,
  .solutions-grid,
  .benefits-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: 3.3rem;
  }
}

@media (max-width: 768px) {
  .topbar-content {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: fixed;
    inset: 118px 1.1rem auto;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.98);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.9);
    flex-direction: column;
    gap: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.5);
    transform-origin: top right;
    transform: scale(0.96) translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-out, transform 0.18s ease-out;
  }

  .nav-list.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .hero-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid,
  .solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    padding: 1.3rem 1.2rem;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .topbar-content {
    min-height: 7.25rem;
    padding-inline: 1rem;
  }

  .brand {
    height: calc(7.25rem - 0.4rem);
    max-width: 72%;
  }

  .brand-logo--header {
    transform: scale(1.08);
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

