:root {
  --ink: #1d1f22;
  --ink-soft: #31343a;
  --cream: #f3efe2;
  --muted: #6c706f;
  --line: #dfded6;
  --surface: #fffdf6;
  --surface-alt: #f4f0e6;
  --brand: #ff503d;
  --brand-dark: #d83d2f;
  --accent: #ff503d;
  --shadow: 0 24px 70px rgba(29, 31, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

/* <picture> nao gera caixa propria: o <img> herda o layout do pai. */
picture {
  display: contents;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(29, 31, 34, 0.94);
  border-bottom: 1px solid rgba(243, 239, 226, 0.14);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(260px, 62vw);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(243, 239, 226, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.hero {
  position: relative;
  height: clamp(520px, calc(100svh - 116px), 780px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(29, 31, 34, 0.94) 0%, rgba(29, 31, 34, 0.82) 38%, rgba(29, 31, 34, 0.32) 76%, rgba(29, 31, 34, 0.18) 100%),
    linear-gradient(0deg, rgba(29, 31, 34, 0.42), rgba(29, 31, 34, 0.08));
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 88px);
  padding: 70px 0 115px;
  color: var(--cream);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-logo {
  width: min(620px, 94%);
  height: auto;
  margin-top: 4px;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.28));
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(243, 239, 226, 0.9);
  font-size: clamp(1.16rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--cream);
  border-color: rgba(243, 239, 226, 0.45);
  background: rgba(243, 239, 226, 0.08);
}

.intro,
.solutions,
.service-flow,
.contact-section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 64px);
}

.intro-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  max-width: 800px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.intro-copy p:first-child,
.contact-copy p {
  margin-top: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 168px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface-alt);
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.2rem;
}

.metric span {
  color: var(--muted);
}

.solutions {
  background: var(--surface);
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.section-heading.compact {
  margin-bottom: 28px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 36px rgba(16, 24, 32, 0.06);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  color: #ffffff;
  background: var(--brand-dark);
  border-radius: 8px;
  font-weight: 800;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
}

.service-flow {
  color: var(--cream);
  background: var(--ink);
}

.service-flow .section-kicker {
  color: var(--brand);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li {
  min-height: 220px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--ink);
}

.steps span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 800;
}

.steps strong {
  display: block;
  font-size: 1.2rem;
}

.steps p {
  margin: 10px 0 0;
  color: rgba(243, 239, 226, 0.72);
}

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

.contact-copy p {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.contact-note {
  display: inline-grid;
  gap: 2px;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: #ffffff;
}

.contact-note strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-note a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  margin-bottom: 18px;
}

.form-row.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c8d3dc;
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(255, 80, 61, 0.22);
  border-color: var(--brand);
}

.form-button {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--brand-dark);
  font-weight: 700;
}

.form-status.error {
  color: #a9402e;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer span:first-child {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    height: clamp(540px, calc(100svh - 148px), 720px);
  }

  .hero-content {
    padding-top: 86px;
  }

  .intro-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .metrics,
  .steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero {
    height: clamp(460px, calc(100svh - 154px), 660px);
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(29, 31, 34, 0.94), rgba(29, 31, 34, 0.66));
  }

  .hero-content {
    margin-inline: 18px;
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solution-grid,
  .form-row.split {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }
}
