:root {
  --preto: #000000;
  --preto-suave: #0a0a0c;
  --dourado: #DA9D4A;
  --dourado-claro: #F5D080;
  --prateado: #B3B2B2;
  --osso: #EDE6D8;
  --grafite: #2B2B2E;
  --texto-claro: #F3F1EC;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-corpo: "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--preto);
  color: var(--texto-claro);
  font-family: var(--f-corpo);
  line-height: 1.6;
}

a { color: inherit; }

/* ---------- Barra de progresso (scroll = progresso de impressão) ---------- */

.scroll-progresso {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(179, 178, 178, 0.15);
  z-index: 60;
}

.scroll-progresso-fill {
  height: 100%;
  width: 0%;
  background: var(--dourado);
}

/* ---------- Revelação ao rolar ----------
   Progressive enhancement: por padrão todo conteúdo já está visível (site
   funciona 100% sem JS/GSAP). Só some e ganha a transição quando o JS
   confirma que o GSAP carregou e o usuário não pediu movimento reduzido
   (classe .js-anim adicionada em script.js). */

html.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 1.5rem 3.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: var(--preto);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 75%, rgba(0, 0, 0, 0.94) 100%);
  z-index: 1;
}

.hero-conteudo { position: relative; z-index: 2; }

.logo {
  width: min(42%, 210px);
  margin-bottom: 2rem;
  opacity: 0.97;
}

.headline {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.linha {
  display: block;
  color: var(--texto-claro);
  opacity: 0;
  transform: translateY(0.5em);
  animation: surgir 0.6s ease-out forwards;
  animation-delay: calc(0.9s + var(--i) * 0.14s);
}

.linha-realce { color: var(--dourado); }

@keyframes surgir {
  to { opacity: 1; transform: translateY(0); }
}

.tagline {
  max-width: 32rem;
  margin: 0 auto 2.25rem;
  color: var(--prateado);
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover { transform: translateY(-2px); }

.cta-primaria {
  background: var(--dourado);
  color: var(--preto);
}
.cta-primaria:hover { box-shadow: 0 8px 24px rgba(218, 157, 74, 0.35); }

.cta-secundaria {
  border: 1px solid var(--dourado);
  color: var(--dourado);
}
.cta-secundaria:hover { box-shadow: 0 8px 24px rgba(218, 157, 74, 0.15); }

/* ---------- Sections ---------- */

main section {
  max-width: 62rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

main h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.005em;
}

/* ---------- Sobre (fundo Osso Quente — seção alternada) ---------- */

.sobre {
  background: var(--osso);
  color: var(--grafite);
  max-width: none;
  text-align: center;
}

.sobre h2 { color: var(--grafite); }

.sobre-texto { max-width: 34rem; margin: 0 auto; }

.sobre-texto p { color: #4a4a4d; }
.sobre-texto p + p { margin-top: 1rem; }

/* ---------- Processo / Como funciona (fundo Osso Quente) ---------- */

.processo {
  background: var(--osso);
  color: var(--grafite);
  max-width: none;
}

.processo h2 { color: var(--grafite); }

/* Base (sem JS, mobile, ou movimento reduzido): lista estática, sempre legível. */
.processo-pin {
  position: relative;
  max-width: 32rem;
  margin: 0 auto;
}

.processo-passo {
  text-align: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(43, 43, 46, 0.12);
}

.processo-passo:last-of-type { border-bottom: none; }

.processo-passo p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--grafite);
  max-width: 24rem;
  margin: 0 auto;
}

.processo-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--dourado);
  background: var(--preto);
  border: 1px solid var(--dourado);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.1rem;
}

.processo-cta {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
}

/* ---------- Produtos (fundo preto) ---------- */

.produtos-intro {
  color: var(--prateado);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.categoria { margin-bottom: 2.5rem; }

.categoria-nome {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--texto-claro);
  text-align: left;
  border-left: 3px solid var(--dourado);
  padding-left: 0.85rem;
  margin: 0 auto 1.25rem;
  max-width: 62rem;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 1.25rem;
}

.galeria figure {
  overflow: hidden;
  border-radius: 10px;
  background: var(--preto-suave);
  border: 1px solid #1c1c1e;
}

.galeria img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.galeria figure:hover img { transform: scale(1.04); }

.galeria figcaption {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--prateado);
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.mais-categorias {
  color: var(--prateado);
  font-size: 0.92rem;
  margin-top: 0.5rem;
}

.mais-categorias a {
  color: var(--dourado);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* ---------- Prova social (fundo preto) ---------- */

.prova-social p {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: var(--prateado);
}

.prova-social a {
  color: var(--dourado);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foto-placeholder {
  max-width: 24rem;
  aspect-ratio: 16 / 10;
  margin: 0 auto;
  border: 1.5px solid var(--grafite);
  border-radius: 50% / 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--prateado);
  font-size: 0.85rem;
}

/* ---------- CTA final (fundo preto) ---------- */

.cta-final { max-width: 62rem; }

.cta-final p {
  color: var(--prateado);
  margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  background: var(--preto);
  color: var(--prateado);
  font-size: 0.9rem;
  border-top: 1px solid #1c1c1e;
}

footer a {
  color: var(--dourado);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ---------- Motion, foco e responsividade ---------- */

.cta:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--dourado);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .linha { animation: none; opacity: 1; transform: none; }
  .linha-realce { opacity: 1; }
}

@media (max-width: 720px) {
  .sobre-texto { max-width: none; padding: 0 0.5rem; }
}

/* ---------- Nav principal ---------- */

.nav-principal {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #1c1c1e;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-principal a {
  color: var(--prateado);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-principal a:hover,
.nav-principal a[aria-current="page"] {
  color: var(--dourado);
}
