:root {
  --blue-950: #082d50;
  --blue-900: #0e3a66;
  --blue-800: #174f84;
  --blue-700: #1f5c97;
  --blue-600: #2f76b5;
  --blue-100: #e7f0fa;
  --blue-050: #f4f8fd;

  --green-800: #257838;
  --green-700: #2c9141;
  --green-500: #39b54a;
  --green-100: #e8f6ec;
  --green-050: #f4fbf6;

  --ink-950: #111827;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --line-300: #d8dee8;
  --line-200: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --warning-bg: #fff8e8;
  --warning-text: #7a4b00;
  --danger-bg: #fff0f0;
  --danger-text: #9b1c1c;
  --success-bg: #ebf9ef;
  --success-text: #1d6f31;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 8px 22px rgba(14, 58, 102, 0.08);
  --shadow-md: 0 18px 50px rgba(14, 58, 102, 0.13);
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink-950);
  background: var(--surface-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3 {
  color: var(--ink-950);
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.2vw, 4.2rem);
  letter-spacing: -0.045em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.65rem);
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.18rem;
  margin: 0 0 0.65rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid rgba(47, 118, 181, 0.35);
  outline-offset: 3px;
  border-radius: 5px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink-950);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

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

.section {
  padding: 76px 0;
}

.section--compact {
  padding: 48px 0;
}

.section--white {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.015em;
}

.eyebrow--blue {
  background: var(--blue-100);
  color: var(--blue-900);
}

.lead {
  max-width: 720px;
  color: var(--ink-700);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
}

.muted {
  color: var(--ink-600);
}

.small {
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}

.announcement {
  background: var(--blue-950);
  color: #fff;
  font-size: 0.92rem;
}

.announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.62rem 0;
  text-align: center;
}

.announcement a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(216, 222, 232, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(160%);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--blue-950);
  font-weight: 850;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

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

.brand__fallback {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--green-500));
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  display: inline-flex;
  padding: 0.64rem 0.76rem;
  border-radius: 10px;
  color: var(--ink-800);
  font-weight: 700;
  font-size: 0.93rem;
}

.nav__links a:hover {
  background: var(--blue-050);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-050);
  color: var(--blue-950);
  cursor: pointer;
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.08rem;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.btn--primary {
  color: #fff;
  background: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  filter: brightness(0.96);
}

.btn--green {
  color: #fff;
  background: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  color: var(--blue-950);
  background: #fff;
  border: 1px solid var(--line-300);
}

.btn--light {
  color: var(--blue-950);
  background: #fff;
}

.card {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card--padded {
  padding: 1.4rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.15rem;
}

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

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

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  border-radius: 13px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 1.25rem;
}

.check-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.72rem;
  color: var(--ink-700);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-700);
  font-weight: 900;
}

.faq details {
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink-950);
}

.faq details p {
  margin: 0.85rem 0 0;
  color: var(--ink-600);
}

.callout {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--blue-050);
  border: 1px solid var(--blue-100);
  color: var(--blue-950);
}

.callout--warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: #f6df9e;
}

.footer {
  border-top: 1px solid var(--line-200);
  background: #fff;
  padding: 34px 0;
  color: var(--ink-600);
}

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

.footer__links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-card {
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.field {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.field label,
fieldset legend {
  color: var(--ink-800);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-300);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  background: #fff;
  color: var(--ink-950);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(47, 118, 181, 0.12);
  outline: none;
}

.choice-list {
  display: grid;
  gap: 0.7rem;
}

.choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--blue-600);
  background: var(--blue-050);
}

.choice input {
  margin-top: 0.25rem;
  accent-color: var(--blue-700);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-700);
  font-size: 0.91rem;
}

.consent input {
  margin-top: 0.28rem;
  accent-color: var(--blue-700);
}

.form-status {
  margin-top: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.form-status[data-type="info"] {
  background: var(--blue-050);
  color: var(--blue-950);
}

.form-status[data-type="success"] {
  background: var(--success-bg);
  color: var(--success-text);
}

.form-status[data-type="error"] {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.demo-notice {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  background: var(--warning-bg);
  color: var(--warning-text);
  font-size: 0.87rem;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 0.8rem 20px 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line-200);
    box-shadow: var(--shadow-sm);
  }

  .nav__links.is-open {
    display: grid;
  }

  .nav__links a {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 58px 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .btn-row,
  .btn-row .btn {
    width: 100%;
  }

  .announcement__inner {
    align-items: flex-start;
  }

  .brand img {
    max-width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mantém checkboxes e radios alinhados, sem herdar dimensões de campos de texto. */
.consent input[type="checkbox"],
.choice input[type="checkbox"],
.choice input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  flex: 0 0 20px;
  margin: 0.16rem 0 0;
  padding: 0;
}
