:root {
  --ink: #0b0b0b;
  --ink-soft: #2c2c2c;
  --muted: #5a5a5a;
  --paper: #f3f1eb;
  --paper-deep: #ebe8e0;
  --line: rgba(11, 11, 11, 0.12);
  --white: #faf9f6;
  --radius-pill: 999px;
  --header-h: 4.5rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --btn-grad: linear-gradient(165deg, #4a4a4a 0%, #1c1c1c 42%, #0a0a0a 100%);
  --btn-grad-hover: linear-gradient(165deg, #5a5a5a 0%, #2a2a2a 42%, #111 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 0.4rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--btn-grad);
  background-color: #111;
  color: var(--white);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  background: var(--btn-grad-hover);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.1rem 2.4rem 0;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 3.6rem;
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: 0.4rem 1.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(4px) saturate(1.2);
  -webkit-backdrop-filter: blur(4px) saturate(1.2);
}

.logo {
  justify-self: start;
  display: flex;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo img {
  height: 1.55rem;
  width: auto;
}

.logo sup {
  font-size: 0.55em;
  top: -0.55em;
  margin-left: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.7rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
}

.nav-links a:hover {
  opacity: 0.6;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  z-index: 30;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  background-color: var(--paper);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 5.5vh) 1.5rem 36vh;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 4.6vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin-top: 2.25rem;
}

.hero .lede {
  margin-top: 1.15rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hero .btn {
  margin-top: 1.7rem;
  padding: 1.1rem 1.8rem;
  transition: transform 0.2s ease, filter 0.2s ease;
  animation: hero-btn-pulse 2.2s ease-out infinite;
}

.hero .btn:hover,
.hero .btn:focus-visible {
  animation-play-state: paused;
}

@keyframes hero-btn-pulse {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 0 0 rgba(11, 11, 11, 0.32);
  }
  70% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 0 14px rgba(11, 11, 11, 0);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 0 0 0 rgba(11, 11, 11, 0);
  }
}

.trusted {
  padding: 3.4rem 2.4rem 2.4rem;
  background: var(--paper);
}

.trusted-caption {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.9rem;
}

.trusted-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.55rem;
}

.trusted-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem 4rem;
  max-width: 72rem;
  width: 100%;
}

.trusted-row li {
  color: #2a2a2a;
  opacity: 0.88;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}

.trusted-row img {
  height: 1.85rem;
  width: auto;
}

.brand-sebrae img {
  height: 2.35rem;
}

.brand-centralfarma img {
  height: 1.85rem;
}

.brand-supporthealth img {
  height: 1.4rem;
}

.brand-unimed img {
  height: 1.35rem;
}

.section {
  padding: 6.5rem 2.4rem;
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about {
  padding-top: 3.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  align-items: end;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.about p + p {
  margin-top: 1rem;
}

.solutions {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.solutions h2 {
  max-width: 16ch;
  margin-bottom: 3.5rem;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem 2rem;
  min-height: 16rem;
}

.card-index {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2.4rem;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.insights {
  border-top: 1px solid var(--line);
}

.quote {
  max-width: 48rem;
}

.quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.quote figcaption {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.contact .section-label {
  color: rgba(250, 249, 246, 0.55);
}

.contact h2 {
  max-width: 26ch;
  margin: 0 auto;
}

.contact p {
  margin: 1.2rem auto 0;
  max-width: 32rem;
  color: rgba(250, 249, 246, 0.72);
}

.contact .btn {
  margin-top: 1.8rem;
  background: var(--btn-grad);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.contact .btn:hover {
  background: var(--btn-grad-hover);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a:hover {
  opacity: 0.6;
}

.copyright {
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header {
    padding: 1rem 1.2rem;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0.5rem 0.35rem 1.1rem;
  }

  .logo img {
    height: 1.3rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--paper);
    z-index: 25;
    padding: 6rem 1.6rem 2rem;
    gap: 1.4rem;
  }

  body.menu-open .nav-links a {
    font-size: 1.6rem;
    font-family: var(--font-serif);
  }

  .hero-content {
    padding: calc(var(--header-h) + 5.5vh) 1.2rem 32vh;
  }

  .trusted {
    padding: 2.6rem 1.2rem 1.8rem;
  }

  .trusted-row {
    gap: 1.5rem 2.4rem;
  }

  .trusted-row img {
    height: 1.55rem;
  }

  .brand-sebrae img {
    height: 1.95rem;
  }

  .brand-centralfarma img {
    height: 1.05rem;
  }

  .brand-supporthealth img {
    height: 1.2rem;
  }

  .brand-unimed img {
    height: 1.1rem;
  }

  .section {
    padding: 4.5rem 1.2rem;
  }

  .about {
    padding-top: 2rem;
  }

  .about-grid,
  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.4rem 1.2rem 2rem;
  }
}

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

  .btn {
    transition: none;
  }

  .hero .btn {
    animation: none;
  }
}
