/* Cores e medidas do site. Para mudar a identidade visual, comece por aqui. */
:root {
  --bg: #f6f8f8;
  --surface: #ffffff;
  --surface-2: #eef3f4;
  --ink: #0c1b2b;
  --ink-2: #4a5b6e;
  --ink-3: #627284;
  --line: #dfe6ea;
  --brand: #0a7c86;
  --brand-strong: #075f69;
  --brand-soft: #e2f2f3;
  --on-brand: #ffffff;
  --accent: #e39a2d;
  --accent-soft: #fcf0dc;
  --accent-ink: #855000;
  --prosa: #047857;
  --prosa-soft: #e1f4ec;
  --shadow: 0 1px 2px rgb(12 27 43 / 0.05), 0 10px 28px rgb(12 27 43 / 0.08);
  --radius: 16px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a141e;
    --surface: #0f1d2a;
    --surface-2: #142838;
    --ink: #e7eef4;
    --ink-2: #a9b8c7;
    --ink-3: #8597a9;
    --line: #20364a;
    --brand: #3cc0cb;
    --brand-strong: #7dd8e0;
    --brand-soft: #0f3039;
    --on-brand: #04222a;
    --accent: #f2b25a;
    --accent-soft: #3a2a12;
    --accent-ink: #f5c47f;
    --prosa: #4ade9f;
    --prosa-soft: #0d3328;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 10px 28px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

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

@media (min-width: 640px) {
  .container {
    width: min(1120px, 100% - 48px);
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 12px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.logo b {
  color: var(--brand);
  font-weight: inherit;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav .nav-cta,
.menu-btn {
  display: none;
}

.menu-btn {
  margin-left: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 899px) {
  .menu-btn {
    display: inline-flex;
  }

  .site-header .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav .nav-cta {
    display: block;
    border-bottom: 0;
    color: var(--brand);
    font-weight: 600;
  }
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.btn .i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.93rem;
}

/* Etiquetas */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-prosa {
  background: var(--prosa-soft);
  color: var(--prosa);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Topo */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -160px;
  width: 680px;
  height: 680px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 16%, transparent), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-top: 20px;
}

.hero h1 em {
  color: var(--brand);
  font-style: normal;
}

.lead {
  max-width: 34em;
  color: var(--ink-2);
  font-size: 1.15rem;
}

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

.showcase {
  display: grid;
  gap: 16px;
}

.mock {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mock:nth-child(1) {
  margin-right: 56px;
}

.mock:nth-child(2) {
  margin-left: 48px;
}

.mock:nth-child(3) {
  margin-right: 24px;
}

.mock-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--brand));
}

.mock-title {
  margin: 6px 0 12px;
  font-weight: 600;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--surface-2);
}

.progress span {
  display: block;
  width: 75%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.mock-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.bubble {
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface-2);
  font-size: 0.95rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chip {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.chip-prosa {
  background: var(--prosa-soft);
  color: var(--prosa);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 76px;
}

.bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--brand-soft);
}

.bars span:nth-child(even) {
  background: color-mix(in srgb, var(--brand) 55%, var(--brand-soft));
}

.bars span:last-child {
  background: var(--brand);
}

@media (max-width: 899px) {
  .hero {
    padding: 56px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 520px) {
  .mock:nth-child(n) {
    margin: 0;
  }
}

/* Seções */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head p,
.split-text > p {
  color: var(--ink-2);
  font-size: 1.1rem;
}

@media (max-width: 899px) {
  .section {
    padding: 72px 0;
  }
}

/* Cartões de serviço */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

a.card:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.card h3 {
  margin: 4px 0 0;
}

.card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
}

.more .i {
  width: 16px;
  height: 16px;
}

@media (max-width: 999px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* Duas colunas */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.split-text .btn {
  margin-top: 8px;
}

.note {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--bg);
}

.stat strong {
  color: var(--brand);
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.35;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.feature .icon {
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}

@media (max-width: 599px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Listas com marcador */
.checks,
.pains {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.checks li,
.pains li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
}

.checks li::before,
.pains li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: var(--brand);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}

.checks li {
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.pains li {
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.pains li::before {
  background: var(--accent);
}

.subhead {
  margin: 28px 0 14px;
  font-size: 1rem;
}

/* Passos do Prosadesk */
.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--prosa-soft);
  color: var(--prosa);
  font-weight: 700;
}

.steps strong {
  display: block;
}

.steps span {
  color: var(--ink-2);
  font-size: 0.96rem;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.highlight {
  padding: 20px;
  border-top: 3px solid var(--prosa);
  border-radius: 0 0 12px 12px;
  background: var(--surface);
}

.highlight strong {
  display: block;
  margin-bottom: 4px;
}

.highlight span {
  color: var(--ink-2);
  font-size: 0.94rem;
}

@media (max-width: 899px) {
  .highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .highlights {
    grid-template-columns: 1fr;
  }
}

/* Desenvolvimento e BI */
.offers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.offer {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}

.offer-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.offer-head h3 {
  margin: 0;
  font-size: 1.35rem;
}

.offer > p {
  color: var(--ink-2);
}

.offer .btn {
  align-self: flex-start;
  margin-top: auto;
}

.offer .bars {
  height: 64px;
  margin-bottom: 24px;
}

@media (max-width: 899px) {
  .offers {
    grid-template-columns: 1fr;
  }

  .offer {
    padding: 24px;
  }
}

.process-title {
  margin: 64px 0 20px;
  font-size: 1.3rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: phase;
}

.process li {
  position: relative;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
}

.process li::before {
  counter-increment: phase;
  content: '0' counter(phase);
  display: block;
  margin-bottom: 10px;
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process strong {
  display: block;
  margin-bottom: 4px;
}

.process span {
  color: var(--ink-2);
  font-size: 0.95rem;
}

@media (max-width: 899px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .process {
    grid-template-columns: 1fr;
  }
}

/* Sobre */
.facts {
  display: grid;
  gap: 16px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact strong {
  display: block;
  font-size: 1.15rem;
}

.fact span {
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* Contato */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border-radius: 28px;
  background: linear-gradient(135deg, #06343f 0%, #0a6f7a 100%);
  color: #ffffff;
}

.cta-panel::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(242 178 90 / 0.35), transparent);
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
}

.cta-panel .eyebrow {
  color: #f5c47f;
}

.cta-panel h2 {
  max-width: 16em;
}

.cta-panel p {
  max-width: 38em;
  color: rgb(255 255 255 / 0.82);
  font-size: 1.1rem;
}

.email {
  display: inline-block;
  margin: 8px 0 28px;
  color: #ffffff;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.email:hover {
  text-decoration: underline;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-light {
  background: #ffffff;
  color: #06343f;
}

.btn-light:hover {
  background: #e8f4f5;
}

.btn-outline-light {
  border-color: rgb(255 255 255 / 0.45);
  background: transparent;
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
}

@media (max-width: 640px) {
  .cta-panel {
    padding: 40px 24px;
    border-radius: 22px;
  }
}

/* Rodapé */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.footer-inner .logo {
  font-size: 1.1rem;
}

.footer-inner .logo svg {
  width: 26px;
  height: 26px;
}

.footer-inner p {
  margin: 0;
}

/* Página 404 */
.not-found {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 0;
  text-align: center;
}

.not-found p {
  color: var(--ink-2);
}
