:root {
  --color-bg: #0f172a;
  --color-bg-soft: #020617;
  --color-primary: #7c3aed;
  --color-primary-soft: #a855f7;
  --color-primary-dark: #4c1d95;
  --color-text: #e5e7eb;
  --color-muted: #9ca3af;
  --color-border: #1f2937;
  --color-card: #020617;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(
    circle at top left,
    #1e293b 0,
    #020617 55%,
    #000 100%
  );
  color: var(--color-text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

main {
  flex: 1;
}

/* Layout base */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Navbar */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.82),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 75px;
  height: 75px;
  background-image: url("../img/logo-light.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

.brand-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--color-muted);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--color-muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link-active {
  color: #e5e7eb;
  border-color: var(--color-primary-soft);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  color: var(--color-text);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease, transform 0.05s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.35);
  color: var(--color-muted);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

.btn-primary {
  background: linear-gradient(
    120deg,
    var(--color-primary),
    var(--color-primary-soft)
  );
  border: none;
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.5);
  font-weight: 600;
}

.btn-primary:hover {
  box-shadow: 0 22px 45px rgba(124, 58, 237, 0.7);
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
}

.nav-toggle span {
  width: 16px;
  height: 2px;
  background: #e5e7eb;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #e5e7eb;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Hero */

.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-muted);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  background: radial-gradient(
    circle at top left,
    rgba(124, 58, 237, 0.18),
    transparent
  );
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
}

.hero-highlight {
  background: linear-gradient(120deg, #f97316, #a855f7, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  max-width: 32rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-hint {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.hero-hint strong {
  color: #e5e7eb;
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  background: radial-gradient(circle at top, #1f2937, #020617);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-muted);
}

.hero-bubbles {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.chat-bubble {
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  max-width: 85%;
}

.chat-bubble-left {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.chat-bubble-right {
  align-self: flex-end;
  background: linear-gradient(
    130deg,
    var(--color-primary),
    var(--color-primary-soft)
  );
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.75rem;
}

.metric-card {
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.metric-label {
  color: var(--color-muted);
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
}

.metric-value {
  font-weight: 600;
}

/* Logos */

.section {
  padding: 2.5rem 0;
}

.section-muted {
  background: radial-gradient(
    circle at top right,
    rgba(30, 64, 175, 0.35),
    transparent
  );
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  opacity: 0.9;
}

/* Section headings */

.section-heading {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Features grid */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(
    circle at top left,
    var(--color-primary-soft),
    var(--color-primary-dark)
  );
  margin-bottom: 0.7rem;
}

.feature-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.feature-text {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Split section */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.split-visual {
  border-radius: var(--radius-xl);
  min-height: 220px;
  background: radial-gradient(
    circle at top left,
    #22c55e 0,
    #0f172a 40%,
    #020617 100%
  );
  border: 1px solid rgba(22, 163, 74, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.split-visual::after {
  content: "Pré-visualização do workspace";
  position: absolute;
  bottom: 0.75rem;
  right: 0.9rem;
  font-size: 0.7rem;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.9);
}

.split-text p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 0.8rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  border-color: rgba(124, 58, 237, 0.7);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.pricing-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.pricing-price {
  font-size: 1.4rem;
  margin: 0.4rem 0 0.2rem;
}

.pricing-caption {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.3rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.pricing-list li {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.pricing-list li::before {
  content: "•";
  color: var(--color-primary-soft);
}

/* Forms (Contato) */

.form-card {
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  display: block;
}

.input,
.textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.input:focus,
.textarea:focus {
  border-color: rgba(124, 58, 237, 0.9);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.9);
  background: rgba(15, 23, 42, 1);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

/* CTA final */

.cta-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.3rem;
  background: radial-gradient(circle at top left, #a855f7, #4c1d95, #020617);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.cta-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.cta-card-text {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  background: rgba(2, 6, 23, 0.98);
  padding: 2rem 0 2.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
  font-size: 0.8rem;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-text {
  color: var(--color-muted);
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--color-muted);
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Utilitários */

.badge-soft {
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-muted);
}

/* Responsivo */

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-center,
  .nav-right {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-mobile {
    display: flex;
  }
  .features-grid,
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 2.2rem;
  }
  .cta-card {
    align-items: flex-start;
  }
}
