/*
 * Estúdio Bruna — micropigmentação.
 *
 * Único exemplo em tema escuro: grafite quase preto com nude, porque a venda
 * aqui é precisão e o fundo escuro faz o traço aparecer. Instrument Serif no
 * display (haste fina, muito contraste) e Inter Tight no corpo.
 *
 * Assinatura: a linha do tempo do procedimento. Deliberadamente NÃO existe
 * comparação "antes e depois" — montar uma com duas fotos de banco seria
 * apresentar como resultado o trabalho de outra pessoa.
 */

:root {
  --paper: #16151a;
  --paper-2: #1e1d23;
  --paper-3: #2b2932;
  --ink: #f2eee9;
  --ink-soft: #c3bcb4;
  --muted: #8e867e;
  --accent: #c69c7b;
  --accent-soft: #dcbb9e;
  --line: rgb(242 238 233 / 0.14);

  --scrim: rgb(242 238 233 / 0.96);
  --scrim-mid: rgb(242 238 233 / 0.8);
  --scrim-top: rgb(242 238 233 / 0.76);
  --scrim-flat: rgb(10 9 12 / 0.7);
  --on-media: #f2eee9;
  --hero-paper: #f2eee9;
  --hero-ink: #201b18;
  --hero-ink-soft: #473b34;
  --hero-accent: #7a4d32;

  --display: "Instrument Serif", Georgia, serif;
  --body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-leading: 1.04;
  --display-tracking: -0.015em;
  --radius: 2px;
  --btn-radius: 2px;

  --footer-bg: #0f0e12;
  --footer-ink: rgb(242 238 233 / 0.66);
  --footer-strong: #f2eee9;
}

/* No escuro, o botão sólido claro é o que tem peso de chamada. */
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}

.btn--solid:hover {
  background: var(--accent-soft);
  color: #16151a;
}

.btn--light {
  background: var(--accent);
  color: #16151a;
}

.btn--light:hover {
  background: var(--accent-soft);
}

.hero__title em {
  font-style: italic;
  color: var(--hero-accent);
}

/* Fundo escuro deixa a foto do hero mais forte do que precisa. */
.hero__media img {
  filter: saturate(0.8) brightness(0.92);
}

.quotes {
  background: var(--paper-3);
}

.service:hover {
  background: var(--paper-2);
}

.sticky-cta {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
}

/* ─── assinatura: linha do tempo do procedimento ─────────────────────────── */

/*
 * Micropigmentação vende processo, não foto: a cliente quer saber quanto dói,
 * quanto descama e quando volta ao normal. A linha do tempo responde isso na
 * ordem em que a pergunta aparece.
 */
.timeline {
  counter-reset: etapa;
  border-block-start: 1px solid var(--line);
}

.timeline__step {
  counter-increment: etapa;
  position: relative;
  display: grid;
  gap: var(--space-2xs);
  padding: var(--space-l) 0 var(--space-l) 4.5rem;
  border-block-end: 1px solid var(--line);
}

/* O número é o marcador da linha, não um enfeite ao lado do título. */
.timeline__step::before {
  content: counter(etapa, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: var(--space-l);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

.timeline__step::after {
  content: "";
  position: absolute;
  inset-inline-start: 1.55rem;
  inset-block: calc(var(--space-l) + 2.2rem) 0;
  width: 1px;
  background: var(--line);
}

.timeline__step:last-child::after {
  display: none;
}

.timeline__when {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.timeline__title {
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.15;
}

.timeline__text {
  max-width: 54ch;
  color: var(--ink-soft);
  font-weight: 300;
}

@media (min-width: 900px) {
  .timeline__step {
    grid-template-columns: 13rem 1fr;
    gap: var(--space-l);
    align-items: baseline;
    padding-inline-start: 5.5rem;
  }

  .timeline__when {
    grid-row: span 2;
  }
}

/* ─── ficha técnica ──────────────────────────────────────────────────────── */

.spec {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
}

.spec div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-s) var(--space-m);
  border-block-end: 1px solid var(--line);
}

.spec div:last-child {
  border-block-end: 0;
}

.spec dt {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spec dd {
  text-align: end;
  font-weight: 500;
}

@media (min-width: 720px) {
  .spec {
    grid-template-columns: 1fr 1fr;
  }

  .spec div:nth-last-child(2) {
    border-block-end: 0;
  }

  .spec div:nth-child(odd) {
    border-inline-end: 1px solid var(--line);
  }
}
