/* ==========================
   Base
   ========================== */

:root {
  --bg: #f3f7fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f6f9fd;
  --text: #0f2642;
  --muted: #6b7a90;
  --brand: #17416b;
  --brand-soft: #3aa6ff;
  --accent: #f5c36a;
  --highlight: #3bcac3;
  --border-subtle: rgba(15, 38, 66, 0.06);
  --shadow-soft: 0 18px 40px rgba(9, 30, 66, 0.12);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease;
}

html[data-theme="dark"] {
  --bg: #050b14;
  --bg-alt: #080f1d;
  --surface: #111827;
  --surface-soft: #0b1626;
  --text: #e5ecf7;
  --muted: #9ca3af;
  --brand: #4ca3ff;
  --brand-soft: #7fbeff;
  --accent: #fbbf77;
  --highlight: #38d7c5;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.5);
}

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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #e3f3ff 0, var(--bg) 30%, var(--bg) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

/* ==========================
   Layout helpers
   ========================== */

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section--alt {
  background: radial-gradient(circle at top, rgba(58, 166, 255, 0.08), var(--bg-alt));
}

.section__title {
  font-size: 1.9rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.03em;
}

.section__subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: 0.25rem auto 2rem;
  font-size: 0.98rem;
}

/* ==========================
   Header
   ========================== */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(
      to bottom,
      rgba(243, 247, 251, 0.96),
      rgba(243, 247, 251, 0.92),
      transparent
    );
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

html[data-theme="dark"] .header {
  background: linear-gradient(
      to bottom,
      rgba(5, 11, 20, 0.96),
      rgba(5, 11, 20, 0.92),
      transparent
    );
  border-bottom-color: rgba(31, 41, 55, 0.7);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-pill {
  font-size: 0.7rem;
  padding: 0.18rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(23, 65, 107, 0.06);
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.brand-ooo {
  color: var(--brand-soft);
}

/* Nav */

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

.nav__link {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.35rem 0;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-soft), var(--accent));
  transition: width var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--outline {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text);
}

.nav__link--outline::after {
  display: none;
}

.nav__link--outline:hover {
  border-color: var(--brand-soft);
}

/* Theme toggle */

.theme-toggle {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: var(--surface-soft);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 0.75rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

/* ==========================
   Hero
   ========================== */

.hero {
  padding: 56px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.section-pill {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(23, 65, 107, 0.06);
  color: var(--brand);
  margin-bottom: 1rem;
}

.hero__title {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 2.6vw + 1rem, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero__highlight {
  display: block;
  background: linear-gradient(90deg, var(--brand-soft), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn--ghost:hover {
  background: #ffffff;
}

.btn--full {
  width: 100%;
}

/* Hero tags */

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.04);
  color: var(--muted);
}

/* Hero card */

.hero__card {
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.12), var(--surface));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.4rem 1.4rem;
  border: 1px solid var(--border-subtle);
}

.hero__card-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.hero__card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 4px;
}

.dot--green {
  background: #22c55e;
}

.dot--blue {
  background: var(--brand-soft);
}

.dot--yellow {
  background: var(--accent);
}

.dot--purple {
  background: #a855f7;
}

.hero__card-footer {
  margin: 0;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.82rem;
  color: var(--muted);
}

/* ==========================
   Steps
   ========================== */

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

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.step__number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(23, 65, 107, 0.08);
  color: var(--brand);
  margin-bottom: 0.7rem;
}

.step__title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.step__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================
   Cards (benefícios)
   ========================== */

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

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.2rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.card__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================
   Integração
   ========================== */

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

.integration__content {
  font-size: 0.95rem;
}

.integration__list {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0 1.4rem;
  color: var(--muted);
}

.integration__list li {
  margin-bottom: 0.55rem;
  position: relative;
  padding-left: 1.25rem;
}

.integration__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-soft);
}

.integration__btn {
  margin-top: 0.5rem;
}

.integration__card {
  background: radial-gradient(circle at top, rgba(59, 202, 195, 0.16), var(--surface));
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.integration__card-title {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  font-weight: 700;
}

.integration__plans {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.integration__plans li strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.1rem;
}

/* ==========================
   Contato
   ========================== */

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

.contact__info {
  font-size: 0.95rem;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.contact__list li {
  margin-bottom: 0.6rem;
}

.contact__form {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.3rem 1.2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.form__group {
  margin-bottom: 0.9rem;
}

.form__group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.form__group input,
.form__group textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: var(--surface-soft);
  color: var(--text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--brand-soft);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.form__feedback {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================
   Footer
   ========================== */

.footer {
  padding: 20px 0 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(to top, rgba(15, 23, 42, 0.03), transparent);
}

html[data-theme="dark"] .footer {
  border-top-color: rgba(31, 41, 55, 0.8);
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer__text {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================
   Responsivo
   ========================== */

@media (max-width: 900px) {
  .hero__inner,
  .integration,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    order: -1;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav__link--outline {
    margin-left: auto;
  }
}

@media (max-width: 768px) {
  .steps,
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 32px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 520px) {
  .nav__link--outline {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
