/* =============================================================
   joaogarcia.dev · links da bio + portfólio
   Modo claro: fundo off-white, cards brancos, vermelho só de destaque,
   Geist, cantos arredondados e botões em pílula.
   ============================================================= */

:root {
  --bg: #f6f6f4;
  --card: #fff;
  --texto: #0b0b0b;
  --texto-2: #52525b; /* secundário: 6,9:1 no fundo */
  --texto-3: #71717a; /* apagado: 4,5:1 no fundo */
  --linha: rgba(10, 10, 10, 0.08);
  --linha-2: rgba(10, 10, 10, 0.14);
  --red: #991b1b; /* vermelho fechado: títulos, detalhes e texto pequeno (7,7:1 no fundo) */
  --red-btn: #5c1523; /* vinho: botões de WhatsApp/orçamento (13:1 com texto branco) */
  --red-btn-hover: #470f1a;
  --wa: #25d366;
  --ok: #16a34a; /* ponto de "no ar" */
  --sombra: 0 1px 2px rgba(10, 10, 10, 0.04), 0 12px 32px -18px rgba(10, 10, 10, 0.18);
  --sombra-forte: 0 1px 2px rgba(10, 10, 10, 0.05), 0 22px 48px -22px rgba(10, 10, 10, 0.3);
  --raio: 28px;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 70% 520px at 50% -200px, rgba(153, 27, 27, 0.14), transparent 70%);
  background-repeat: no-repeat;
  color: var(--texto);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

em {
  font-style: normal;
  color: var(--red);
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
}

/* etiqueta em pílula acima dos títulos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 14px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-2);
}

.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(153, 27, 27, 0.16);
}

@keyframes sobe {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.entra {
  animation: sobe 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- botões em pílula ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill:active {
  transform: scale(0.98);
}

.pill .ico {
  width: 18px;
  height: 18px;
}

.pill-wa {
  background: var(--red-btn);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(92, 21, 35, 0.6);
}

.pill-wa:hover {
  background: var(--red-btn-hover);
}

.pill-escuro {
  background: var(--texto);
  color: #fff;
}

.pill-escuro:hover {
  background: #2b2b2b;
}

.pill-claro {
  border-color: var(--linha-2);
  background: var(--card);
  color: var(--texto);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.05);
}

.pill-claro:hover {
  background: #f1f1ef;
}

.pill-p {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.pill-p .ico {
  width: 16px;
  height: 16px;
}

.pill-g {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}

.pill-g .ico {
  width: 22px;
  height: 22px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--texto);
  text-decoration: none;
  transition: color 0.2s ease;
}

.link:hover {
  color: var(--red);
}

.link .ico {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.link:hover .ico {
  transform: translateX(3px);
}

/* =============================================================
   PÁGINA DE LINKS (bio do Instagram)
   ============================================================= */

.links {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 48px var(--gutter) 28px;
}

.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 112px;
  height: 112px;
  margin-bottom: 26px;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red), 0 18px 40px -12px rgba(153, 27, 27, 0.5);
}

.perfil h1 {
  margin: 16px 0 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.bio {
  max-width: 32ch;
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--texto-2);
}

.bio strong {
  color: var(--texto);
  font-weight: 600;
}

.botoes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.botao {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--linha);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sombra);
  color: var(--texto);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.botao:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-forte);
}

.botao:active {
  transform: scale(0.985);
}

.botao-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.botao-txt strong {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.botao-txt small {
  font-size: 14px;
  color: var(--texto-2);
}

.botao .seta {
  width: 22px;
  height: 22px;
  flex: none;
  transition: transform 0.2s ease;
}

.botao:hover .seta {
  transform: translateX(3px);
}

.botao-icone {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
}

.botao-icone .ico {
  width: 24px;
  height: 24px;
}

.botao-wa {
  border-color: transparent;
  background: var(--red-btn);
  color: #fff;
  box-shadow: 0 16px 36px -16px rgba(92, 21, 35, 0.7);
}

.botao-wa:hover {
  background: var(--red-btn-hover);
  box-shadow: 0 18px 40px -16px rgba(92, 21, 35, 0.8);
}

.botao-wa .botao-txt small {
  color: rgba(255, 255, 255, 0.9);
}

/* card do portfólio: quatro celulares "espiando" + texto */
.botao-port {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.minis {
  display: flex;
  justify-content: center;
  gap: 8px;
  height: 150px;
  padding: 20px 14px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--linha);
  background: radial-gradient(90% 120% at 50% 0%, rgba(153, 27, 27, 0.13), transparent 70%) no-repeat, #f9f9f7;
}

.minis img {
  width: 23%;
  max-width: 96px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border: 3px solid #111;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px rgba(10, 10, 10, 0.16);
  transition: transform 0.25s ease;
}

.minis img:nth-child(odd) {
  margin-top: 16px;
}

.botao-port:hover .minis img {
  transform: translateY(-6px);
}

.botao-port .linha {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.rotulo {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.links-rodape {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--texto-3);
}

.links-rodape a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--texto-2);
  text-decoration: none;
}

.links-rodape a:hover {
  color: var(--texto);
}

.links-rodape .ico {
  width: 16px;
  height: 16px;
}

/* =============================================================
   PORTFÓLIO
   ============================================================= */

.caixa {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- topo: pílula flutuante ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px var(--gutter) 0;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 8px 24px -14px rgba(10, 10, 10, 0.25);
}

.nav-marca {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav-marca .ico {
  width: 16px;
  height: 16px;
  color: var(--texto-3);
}

.nav-marca b {
  color: var(--red);
}

.nav-links {
  display: none;
  gap: 2px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-2);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

.nav-links a.agora {
  color: var(--texto);
  background: rgba(10, 10, 10, 0.06);
}

/* ---------- abertura ---------- */
.hero {
  padding: 56px 0 8px;
  text-align: center;
}

.hero h1 {
  max-width: 13ch;
  margin: 22px auto 0;
  font-size: clamp(42px, 9vw, 80px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero .lead {
  max-width: 42ch;
  margin: 20px auto 0;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.5;
  color: var(--texto-2);
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

/* três celulares em leque; a parte de baixo some no fundo */
.leque {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 720px;
  height: clamp(270px, 66vw, 440px);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent);
  mask-image: linear-gradient(to bottom, #000 58%, transparent);
}

.leque::before {
  content: "";
  position: absolute;
  inset: 8% 6% 0;
  background: radial-gradient(closest-side, rgba(153, 27, 27, 0.2), transparent);
}

.leque-cel {
  position: relative;
  z-index: 1;
  flex: none;
  width: 34%;
  max-width: 236px;
  padding: 6px;
  border-radius: 34px;
  background: #0f0f0f;
  box-shadow: 0 30px 60px -24px rgba(10, 10, 10, 0.5);
}

.leque-cel:nth-child(1) {
  margin: 36px -6% 0 0;
  transform: rotate(-7deg);
}

.leque-cel:nth-child(2) {
  z-index: 2;
}

.leque-cel:nth-child(3) {
  margin: 36px 0 0 -6%;
  transform: rotate(7deg);
}

.leque .tela {
  border-radius: 28px;
}

.leque .tela img {
  width: 100%;
  height: auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 600px;
  margin: 4px auto 0;
}

/* número em cima, legenda embaixo (no HTML a legenda vem antes, pra ler na ordem certa) */
.stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  gap: 2px;
  padding: 4px 8px;
}

.stats div + div {
  border-left: 1px solid var(--linha);
}

.stats dd {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.stats dt {
  font-size: 13.5px;
  color: var(--texto-3);
}

/* ---------- seções ---------- */
.secao {
  padding: 88px 0 0;
}

.secao-topo {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.secao-topo h2,
.sobre h2 {
  margin: 18px 0 0;
  font-size: clamp(32px, 5.4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.secao-topo .desc {
  max-width: 50ch;
  margin: 14px auto 0;
  font-size: 17px;
  color: var(--texto-2);
}

/* ---------- projeto: card com a tela de um lado e o texto do outro ---------- */
.lista-proj {
  display: grid;
  gap: 20px;
}

.proj {
  display: grid;
  padding: 10px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--card);
  box-shadow: var(--sombra);
}

/* fundo na cor da marca de cada cliente (--cor no HTML) */
.proj-visual {
  position: relative;
  padding: 28px 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(var(--cor), 0.3), transparent 72%),
    rgba(var(--cor), 0.08);
}

.proj-info {
  padding: 22px 12px 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: #f6f6f4;
  font-size: 13px;
  font-weight: 500;
  color: var(--texto-2);
}

.tag .ico {
  width: 13px;
  height: 13px;
}

.tag-ok i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.tag-novo {
  border-color: rgba(153, 27, 27, 0.25);
  background: rgba(153, 27, 27, 0.08);
  font-weight: 600;
  color: var(--red);
}

.proj h3 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.proj-desc {
  margin: 12px 0 0;
  font-size: 16.5px;
  color: var(--texto-2);
}

.checks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.45;
}

.checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(153, 27, 27, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23991b1b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.nota {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(153, 27, 27, 0.06);
  font-size: 14.5px;
  color: var(--texto-2);
}

.nota a {
  font-weight: 600;
  color: var(--texto);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.stack {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--texto-3);
}

.stack b {
  font-weight: 500;
  color: var(--texto-2);
}

.proj-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 24px;
}

/* ---------- vitrine: janela do computador + celular rolando ---------- */
.vitrine {
  position: relative;
  aspect-ratio: 25 / 22;
}

.janela {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 50px -24px rgba(10, 10, 10, 0.4);
}

.janela-barra {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
  background: #f3f3f2;
}

.janela-barra i {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: #d6d6d3;
}

.janela-barra span {
  min-width: 0;
  margin-left: 8px;
  padding: 1px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  color: var(--texto-3);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.janela > img {
  width: 100%;
  height: auto;
}

.celular {
  position: absolute;
  right: 3%;
  bottom: 0;
  width: 40%;
  padding: 2.2%;
  border-radius: 26px;
  background: #0f0f0f;
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.5);
}

.tela {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: 19px;
  background: #e9e9e7;
}

/* o print tem 2400px de altura (capturar.mjs); a tela mostra 844 → sobe 64,8% */
.tela .rola {
  --rolagem: -64.8%;
  width: 100%;
  height: auto;
}

@keyframes rolar {
  0%,
  10% {
    transform: translateY(0);
  }
  46%,
  58% {
    transform: translateY(var(--rolagem));
  }
  96%,
  100% {
    transform: translateY(0);
  }
}

.vitrine.ativa .rola {
  animation: rolar 18s ease-in-out infinite;
}

.bolha-wa {
  position: absolute;
  right: 7%;
  bottom: 3.5%;
  width: 16%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.bolha-wa svg {
  width: 58%;
  height: 58%;
}

/* na Perl & Silva o botão é chocolate com o ícone dourado, como no site dela */
.bolha-perl {
  background: #43261a;
  color: #d6b878;
}

/* Wally: painel + conversa no WhatsApp por cima */
.vitrine-wally {
  aspect-ratio: 25 / 19;
}

.vitrine-wally .janela {
  width: 86%;
}

.conversa {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgba(10, 10, 10, 0.45);
}

.conversa img {
  width: 100%;
  height: auto;
}

/* Painel Melys: ilustração em HTML com as cores do sistema real, sem dados da cliente */
.vitrine-painel {
  aspect-ratio: auto;
}

.vitrine-painel .janela {
  position: relative;
  width: 100%;
}

.legenda {
  margin: 14px 0 0;
  font-size: 12.5px;
  text-align: center;
  color: var(--texto-2);
}

.painel {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 24% 1fr;
  aspect-ratio: 16 / 10;
  background: #faf8f5;
  color: #3d332a;
}

.painel-menu {
  display: flex;
  flex-direction: column;
  gap: 1cqw;
  padding: 4cqw 2.4cqw;
  background: #241a13;
  color: #b7a695;
  font-size: 1.9cqw;
  line-height: 1.5;
}

.painel-marca {
  margin-bottom: 1.6cqw;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4cqw;
  color: #f0e6d8;
}

.painel-menu span {
  padding: 0.7cqw 1.4cqw;
  border-radius: 0.8cqw;
}

.painel-menu .ativo {
  background: rgba(179, 139, 109, 0.24);
  color: #f0e6d8;
}

.painel-corpo {
  display: flex;
  flex-direction: column;
  gap: 2.4cqw;
  min-width: 0;
  padding: 4cqw;
}

.painel-titulo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2cqw;
  line-height: 1.2;
  color: #241a13;
}

.painel-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6cqw;
}

.painel-cartao {
  border: 1px solid rgba(196, 164, 132, 0.3);
  border-radius: 1.2cqw;
  background: #fff;
}

.painel-kpis .painel-cartao {
  display: flex;
  flex-direction: column;
  gap: 1.2cqw;
  padding: 1.6cqw;
  font-size: 1.5cqw;
  color: #8c7a6b;
}

.painel i {
  display: block;
  height: 1.6cqw;
  border-radius: 0.5cqw;
  background: #f0e6d6;
}

.painel-kpis i {
  width: 70%;
  height: 2.2cqw;
  background: #e8dccb;
}

.painel-grafico {
  display: flex;
  align-items: flex-end;
  gap: 1.4cqw;
  height: 13cqw;
  padding: 1.6cqw 1.6cqw 0;
}

.painel-grafico i {
  flex: 1;
  height: var(--h);
  border-radius: 0.6cqw 0.6cqw 0 0;
  background: linear-gradient(#c6a15b, #b38b6d);
  opacity: 0.85;
}

.painel-tabela {
  display: grid;
  gap: 1.1cqw;
  padding: 1.4cqw 1.6cqw;
  font-size: 1.3cqw;
}

.painel-tabela div {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.6cqw;
  align-items: center;
}

.painel-tabela .cab {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8c7a6b;
}

/* ---------- como funciona ---------- */
.passos {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* no celular: número à esquerda, título e texto à direita */
.passos li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  padding: 18px 18px 20px;
  border: 1px solid var(--linha);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--sombra);
}

.passos .n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(153, 27, 27, 0.1);
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.passos li:last-child .n {
  background: var(--red-btn);
  color: #fff;
}

.passos h3 {
  margin: 5px 0 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.passos p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--texto-2);
}

/* ---------- quem faz ---------- */
.sobre {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 36px 20px 22px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--card);
  box-shadow: var(--sombra);
  text-align: center;
}

.sobre-foto {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red), 0 18px 40px -14px rgba(153, 27, 27, 0.55);
}

.sobre .texto {
  max-width: 52ch;
  margin: 14px auto 0;
  font-size: 17px;
  color: var(--texto-2);
}

.fatos {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  text-align: left;
}

.fatos div {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg);
}

.fatos dt {
  font-size: 13px;
  color: var(--texto-3);
}

.fatos dd {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- chamada final ---------- */
.final {
  padding: 96px 0 72px;
}

.final-card {
  padding: 56px 20px 52px;
  border: 1px solid var(--linha);
  border-radius: 32px;
  background:
    radial-gradient(90% 110% at 50% 115%, rgba(153, 27, 27, 0.2), transparent 70%) no-repeat,
    var(--card);
  box-shadow: var(--sombra);
  text-align: center;
}

.final-card h2 {
  margin: 18px 0 0;
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.final-card .texto {
  max-width: 40ch;
  margin: 18px auto 0;
  font-size: 17px;
  color: var(--texto-2);
}

.final-card .pill {
  margin-top: 30px;
}

.numero {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--texto-3);
}

.rodape {
  padding: 0 0 40px;
  font-size: 14px;
  color: var(--texto-3);
}

.rodape-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--linha);
}

.rodape nav {
  display: flex;
  gap: 20px;
}

.rodape a {
  color: var(--texto-2);
  text-decoration: none;
}

.rodape a:hover {
  color: var(--texto);
}

/* blocos que aparecem ao rolar (só com JS; sem JS tudo já aparece) */
html.js .revela {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.js .revela.visivel {
  opacity: 1;
  transform: none;
}

/* ---------- telas largas ---------- */
@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }

  .nav {
    padding-top: 14px;
  }

  .nav-links {
    display: flex;
  }

  .hero {
    padding-top: 88px;
  }

  .secao {
    padding-top: 128px;
  }

  .secao-topo {
    margin-bottom: 52px;
  }

  .lista-proj {
    gap: 28px;
  }

  .proj {
    grid-template-columns: 1.15fr 1fr;
  }

  .proj:nth-child(even) .proj-visual {
    order: 2;
  }

  /* o quadro colorido ocupa a altura toda do card, com as telas no meio */
  .proj-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 44px;
  }

  .proj-info {
    align-self: center;
    padding: 32px 36px 32px 40px;
  }

  .proj:nth-child(even) .proj-info {
    padding: 32px 40px 32px 36px;
  }

  .passos {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }

  .passos li {
    display: block;
    padding: 24px 22px 26px;
  }

  .passos h3 {
    margin-top: 18px;
  }

  .sobre {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 56px;
    padding: 56px;
    text-align: left;
  }

  .sobre-foto {
    width: 220px;
    height: 220px;
    margin-left: 8px;
  }

  .sobre .texto {
    margin-left: 0;
  }

  .fatos {
    grid-template-columns: repeat(3, 1fr);
  }

  .final {
    padding: 128px 0 88px;
  }

  .final-card {
    padding: 88px 40px 80px;
  }
}

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

  .entra,
  .vitrine.ativa .rola {
    animation: none;
  }

  html.js .revela {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
