/* Hexalogic — cores e tipografia conforme o manual da marca (v1.0). */
:root {
  --lime: #C8F169;       /* Wildcard Lime: fundos, texto sobre Ink */
  --lime-deep: #9BCB2B;  /* Deep Lime: detalhes sobre branco, nunca texto */
  --ink: #0E1220;
  --paper: #F6F8EE;
  --white: #FFFFFF;
  --muted: #4A5063;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --container: 1120px;
  --gutter: 16px;

  /* Cores padrão do símbolo (sobre branco/paper) */
  --mark-line: var(--ink);
  --mark-hole: var(--white);
  --mark-active: var(--lime-deep);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); max-width: 22ch; }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 max(var(--gutter), 4vw);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--muted);
}

.lead { font-size: 1.15rem; max-width: 52ch; }

/* Superfícies */
.on-lime {
  background: var(--lime);
  color: var(--ink);
  --mark-line: var(--ink);
  --mark-hole: var(--lime);
  --mark-active: var(--ink);
}
.on-lime .eyebrow { color: var(--ink); opacity: 0.75; }

.on-ink {
  background: var(--ink);
  color: var(--white);
  --mark-line: var(--lime);
  --mark-hole: var(--ink);
  --mark-active: var(--lime);
}
.on-ink .eyebrow { color: var(--lime); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  overflow-wrap: anywhere;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; }
.btn-ink { background: var(--ink); color: var(--lime); }
.btn-ink:hover { background: #1c2236; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--lime); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d6f68a; }
.btn-lg { font-size: 1.1rem; padding: 0.9em 1.6em; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(14, 18, 32, 0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark { width: 34px; height: 34px; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}
.lime { color: var(--lime); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .btn { padding: 0.55em 1.1em; }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7rem); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-text h1 { max-width: 16ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-mark { width: 100%; max-width: 340px; height: auto; aspect-ratio: 1; justify-self: center; }

/* Seções */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--white); }
.section-alt .card { background: var(--paper); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service { position: relative; }
.service p { color: var(--muted); }
.service-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--lime);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  margin-bottom: 1.2rem;
}

.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
  border-top: 1px solid rgba(14, 18, 32, 0.08);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--lime);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.step-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* Contato */
.contact-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact .lead { color: rgba(255, 255, 255, 0.75); margin: 0; }

/* Rodapé */
.site-footer { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 2.5rem 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-info { text-align: right; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-info p { margin: 0.15rem 0; }
.footer-info a { color: var(--lime); text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }

/* Responsivo */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .services { grid-template-columns: 1fr; }
  .footer-info { text-align: left; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .wordmark { font-size: 1.15rem; }
  .logo-mark { width: 28px; height: 28px; }
  .nav .btn { font-size: 0.85rem; padding: 0.5em 0.9em; }
  .hero-actions .btn { width: 100%; }
}
