/* Alt+ · site institucional
   Cores e tipografia do brand book; layout de seções em tela cheia com snap no desktop. */

:root {
  --ink: #14161A;
  --paper: #F2EFE9;
  --white: #FFFFFF;
  --accent: #E2542A;
  --accent-soft: #FBD8C9;
  --accent-mist: #FFF0E9;
  --muted-dark: #A9ADB5;
  --body: #4A4740;
  --line: #E0DBD1;
  --stone: #8C877D;
  --panel: #1B1E23;
  --panel-line: #2C3037;
  --ghost-line: #3A3F47;
  --green: #2F8F6B;

  --display: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad-x: 88px;
}

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

html { background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 500;
}
.skip:focus { top: 16px; color: #fff; }

/* Barra fixa: difference faz o logo ler bem tanto no escuro quanto no claro */
.topbar {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 48px;
  mix-blend-mode: difference;
  pointer-events: none;
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}
.topbar-brand img { width: 30px; height: 30px; filter: invert(1); }
.topbar-brand span {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--paper);
}
.topbar-brand:hover span { color: var(--paper); }
.topbar-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--paper);
  white-space: nowrap;
}

/* Navegação por pontos */
.dots {
  position: fixed;
  z-index: 40;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dots a {
  position: relative;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--stone);
  background: transparent;
}
.dots a::after { content: ''; position: absolute; inset: -7px; }
.dots a[aria-current="true"] { background: var(--accent); border-color: var(--accent); }

/* Seções */
.section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 112px var(--pad-x) 80px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
}
.lead {
  font-size: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #C9461F; color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ghost-line); color: var(--paper); font-weight: 400; }
.btn-ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); font-size: 17px; padding: 16px 30px; }
.btn-ink:hover { background: #000; color: #fff; }

.orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  background: var(--panel);
  pointer-events: none;
}

/* 1 · Hero */
.hero {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 620px;
}
.hero h1 {
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--paper);
  text-wrap: pretty;
}
.hero .lead { color: var(--muted-dark); max-width: 500px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: 74%;
  max-width: 460px;
  filter: drop-shadow(0 50px 70px rgba(0, 0, 0, 0.55));
}
.orb-hero { left: -120px; bottom: -160px; width: 520px; height: 520px; }

/* Cabeçalho das seções numeradas */
.section-head { display: flex; align-items: baseline; gap: 20px; }
.section-head h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  max-width: 760px;
  text-wrap: pretty;
}

/* 2 · Serviços */
.services {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
}
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
}
.card .index { font-size: 12px; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--body); }
.card-dark { background: var(--ink); border-color: var(--ink); }
.card-dark h3 { color: var(--paper); }
.card-dark p { color: var(--muted-dark); }

/* 3 · Método */
.method {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 52px;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.step {
  border-top: 2px solid var(--ink);
  padding: 26px 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--stone);
}
.step h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.025em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--body); }
.step-last { border-top-color: var(--accent); padding-right: 0; }
.step-last .step-label { color: var(--accent); }

/* 4 · Alt+ Tasks */
.tasks {
  background: var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.tasks-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 560px;
}
.tasks h2 {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--paper);
}
.tasks .lead { font-size: 19px; color: var(--muted-dark); }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.features li {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  font-size: 16px;
}
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dot-accent { background: var(--accent); }
.dot-green { background: var(--green); }
.dot-stone { background: var(--stone); }
.tasks-art {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tasks-art img {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 44px 64px rgba(0, 0, 0, 0.55));
}
.orb-tasks { right: -180px; top: -140px; width: 560px; height: 560px; }

/* 5 · Contato */
.contact {
  background: var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 44px;
}
.contact :focus-visible { outline-color: var(--ink); }
.contact-copy { display: flex; flex-direction: column; gap: 28px; max-width: 900px; }
.contact .eyebrow { color: var(--accent-soft); }
.contact h2 {
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--white);
  text-wrap: pretty;
}
.contact .lead { color: var(--accent-mist); max-width: 560px; }
.contact-row { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.contact-note { font-family: var(--mono); font-size: 13px; color: var(--accent-mist); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 26px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 34px; height: 34px; }
.footer-brand span { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -0.03em; }
.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-mist);
}
.footer-meta a { color: var(--accent-mist); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 240, 233, 0.5); }
.footer-meta a:hover { color: var(--white); text-decoration-color: var(--white); }

/* Desktop com altura suficiente: uma seção por tela, com snap */
@media (min-width: 1100px) and (min-height: 700px) {
  html.home { scroll-snap-type: y mandatory; scrollbar-width: none; }
  html.home::-webkit-scrollbar { width: 0; height: 0; }
  .section {
    height: 100vh;
    min-height: 0;
    padding-block: 88px 56px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

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

@media (max-width: 1099px) {
  :root { --pad-x: 48px; }
  .dots { right: 20px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2n) { padding-right: 0; }
}

@media (max-width: 760px) {
  :root { --pad-x: 24px; }
  .topbar { padding: 18px 24px; }
  .dots { display: none; }
  .section { padding-block: 104px 64px; }
  .hero, .tasks { grid-template-columns: 1fr; gap: 40px; }
  .hero { align-content: center; }
  .hero-art img { width: 64%; max-width: 280px; }
  .tasks-art img { max-width: 360px; }
  .lead { font-size: 18px; }
  .section-head { gap: 14px; }
  .services, .method { gap: 36px; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 26px 24px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .step { padding-right: 0; }
  .orb-hero { width: 360px; height: 360px; left: -140px; bottom: -140px; }
  .orb-tasks { width: 380px; height: 380px; right: -200px; top: -120px; }
}

@media (max-width: 400px) {
  .topbar-tag { letter-spacing: 0.1em; font-size: 10px; }
  .btn { padding: 14px 22px; }
}
