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

html {
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 255, 255, 0.9);
  color: #050505;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Brilho suave por cima do fundo preto */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 45%, rgba(255, 255, 255, 0.09), transparent 38%),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(255, 255, 255, 0.045), transparent 70%);
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
}

/* ===== Barra de cima (glass) ===== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 28px;
  background: rgba(8, 8, 8, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition: background 0.4s ease, border-color 0.4s ease,
              -webkit-backdrop-filter 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.glass {
  background: rgba(8, 8, 8, 0.76);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Marca [FOTO] PANHARD — aparece quando rola a página */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.navbar.brand-visible .brand {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.brand-photo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
  background:
    url("../imagens/fotominha.jpg") 50% 25% / cover no-repeat,
    linear-gradient(135deg, #2e2e2e, #101010);
  flex-shrink: 0;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 15px;
}

/* Links da barra (centralizados) */

.navbar nav {
  justify-self: center;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding: 6px 2px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

/* ===== Tela inicial ===== */

.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(3rem, 11vw, 8.5rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  text-align: center;
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.25),
    0 0 90px rgba(255, 255, 255, 0.12);
  will-change: transform, opacity;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-hint svg {
  animation: bounce 1.8s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ===== Manifesto (aparece ao rolar) ===== */

.manifesto {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.manifesto-text {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  text-align: center;
  font-size: clamp(1.4rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.manifesto-text .line {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.manifesto-text .line:nth-child(2) {
  transition-delay: 0.15s;
}

.manifesto-text .line:nth-child(3) {
  transition-delay: 0.3s;
}

.manifesto.visible .line {
  opacity: 1;
  transform: none;
}

.manifesto-text .highlight {
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

/* ===== Contexto (editorial com números gigantes) ===== */

.contexto {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "text stat52"
    "stat58 stat52";
  gap: 32px 48px;
  padding: 96px 48px;
  overflow: hidden;
}

.contexto-plus {
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

.contexto-text {
  grid-area: text;
  align-self: start;
  max-width: 640px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.stat {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.stat-52 {
  grid-area: stat52;
  align-self: start;
  transition-delay: 0.2s;
}

.stat-58 {
  grid-area: stat58;
  align-self: end;
  transition-delay: 0.4s;
}

.contexto.visible .contexto-text,
.contexto.visible .stat {
  opacity: 1;
  transform: none;
}

.stat-number {
  display: block;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(7rem, 17vw, 15rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

@supports not (-webkit-text-stroke: 1px #fff) {
  .stat-number {
    color: rgba(255, 255, 255, 0.15);
  }
}

.stat-caption {
  display: block;
  margin-top: 12px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .contexto {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
  }
  .stat,
  .contexto-plus {
    display: none;
  }
}

/* ===== Defasagem (seção fixa, texto aparece ao rolar) ===== */

.defasagem {
  position: relative;
  z-index: 1;
  height: 400vh;
}

.defasagem-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 96px 48px;
  overflow: hidden;
}

.defasagem .frag,
.salto .frag,
.conclusao .frag {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.defasagem .frag.ativa,
.salto .frag.ativa {
  opacity: 1;
  transform: none;
}

.destaque-italico {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  color: #fff;
}

.destaque-cinza {
  margin-top: 32px;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
}

.defasagem .paragrafo,
.salto .paragrafo,
.conclusao .paragrafo {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

.defasagem .paragrafo + .paragrafo,
.salto .paragrafo + .paragrafo {
  margin-top: 40px;
}

@media (max-width: 900px) {
  .defasagem {
    height: auto;
  }
  .defasagem-sticky {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 24px;
  }
  .destaque-cinza {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .defasagem {
    height: auto;
  }
  .defasagem-sticky {
    position: static;
    height: auto;
  }
  .defasagem .frag {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Salto em IA (número que muda ao rolar) ===== */

.salto {
  position: relative;
  z-index: 1;
  height: 400vh;
}

.salto-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
  padding: 96px 48px;
  overflow: hidden;
}

.salto-numero-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 28px;
}

.salto-numero {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(6rem, 14vw, 13rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.salto-ordinal {
  font-size: 0.45em;
  position: relative;
  top: -0.55em;
  margin-left: 6px;
}

.salto-caption {
  display: block;
  margin-top: 16px;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .salto {
    height: auto;
  }
  .salto-sticky {
    position: static;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 80px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .salto {
    height: auto;
  }
  .salto-sticky {
    position: static;
    height: auto;
  }
  .salto .frag {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Conclusão (centralizada) ===== */

.conclusao {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 96px 24px;
}

.conclusao .paragrafo {
  max-width: 760px;
  text-align: center;
}

.conclusao .frag:nth-child(2) {
  transition-delay: 0.25s;
}

.conclusao.visible .frag {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .conclusao .frag {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Citação final ===== */

.citacao {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
}

.citacao-aspas {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.citacao-texto {
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  text-align: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.citacao .line {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i) * 0.1s);
}

.citacao.visible .line {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .citacao .line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Rodapé ===== */

.rodape {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.rodape.visible {
  opacity: 1;
  transform: none;
}

.rodape-redes {
  display: flex;
  gap: 18px;
}

.rodape a {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease, transform 0.3s ease;
}

.rodape a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.rodape svg {
  width: 20px;
  height: 20px;
}

.rodape-meio {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.rodape-botao {
  display: inline-block;
  font-family: ui-monospace, 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.rodape-botao:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.rodape-github {
  justify-self: end;
}

@media (max-width: 600px) {
  .rodape {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 28px 24px;
  }
  .rodape-github {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rodape {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .scroll-hint svg {
    animation: none;
  }
  .manifesto-text .line {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .contexto-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .contexto .stat {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Páginas placeholder (Hub e Shop) ===== */

.pagina-placeholder {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 96px 24px;
  background: radial-gradient(circle at center, rgba(255,255,255,.035), transparent 42%);
}

.pagina-titulo {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  text-align: center;
  color: rgba(255, 255, 255, 0.15);
  text-shadow:
    0 0 30px rgba(255, 255, 255, 0.08),
    0 0 90px rgba(255, 255, 255, 0.04);
}

.pagina-desc {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ===== Posts do Hub ===== */

.hub-posts {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: 780px;
  margin: 0 auto;
  padding: 130px 24px 80px;
}

.hub-header {
  text-align: center;
  margin-bottom: 52px;
}

.hub-header .pagina-titulo {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  margin-bottom: 14px;
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 30px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.post-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.post-titulo {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.post-meta {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  margin-bottom: 18px;
}

.post-conteudo {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.66);
  white-space: pre-wrap;
}

.post-conteudo a.post-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
  transition: color 0.2s ease;
}
.post-conteudo a.post-link:hover {
  color: #fff;
}

.post-media-card {
  margin: 18px 0 6px;
}
.media-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.media-frame img {
  cursor: zoom-in;
  transition: transform 0.5s ease;
}
.media-frame a:hover img {
  transform: scale(1.03);
}
.media-frame .frame-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.media-frame .frame-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-frame .post-instagram {
  margin: 0;
  display: block;
  background: #fff;
}
.media-frame .post-instagram .instagram-media {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  min-height: 480px;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.media-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.media-tag svg {
  width: 11px;
  height: 11px;
}

.media-chip {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.media-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.media-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.media-chip .chip-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.media-chip svg:last-child {
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.post-conteudo .media-chip.link-chip {
  margin: 2px 4px 2px 0;
  vertical-align: middle;
  padding: 5px 10px;
  font-size: 0.62rem;
}

.media-frame a {
  display: block;
}

.post-card {
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ===== Página 404 ===== */

.erro-404 .erro-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 4px;
}

.erro-404 .erro-numero {
  font-size: clamp(7rem, 26vw, 15rem);
  line-height: 1;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
  color: rgba(255, 255, 255, 0.18);
  text-shadow:
    0 0 40px rgba(255, 255, 255, 0.12),
    0 0 120px rgba(255, 255, 255, 0.06);
}

.erro-404 .btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.erro-404 .btn-voltar:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

/* ===== Transição entre páginas ===== */

.transicao {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  visibility: hidden;
}

.transicao.ativa {
  visibility: visible;
}

.transicao-tela {
  position: absolute;
  inset: 0;
  background: #050505;
  clip-path: circle(0% at var(--tx, 50%) var(--ty, 50%));
  transition: clip-path 0.42s cubic-bezier(0.83, 0, 0.17, 1);
  will-change: clip-path;
}

.transicao.fechando .transicao-tela,
.transicao.fechada .transicao-tela {
  clip-path: circle(150% at var(--tx, 50%) var(--ty, 50%));
}

.transicao.abrindo .transicao-tela {
  clip-path: circle(0% at var(--tx, 50%) var(--ty, 50%));
}

.transicao.sem-animacao .transicao-tela {
  transition: none !important;
}

/* Chegando de outra página: esconde conteúdo e cobre de preto imediatamente */
html.chegando body {
  visibility: hidden;
}
html.chegando body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99999;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .transicao-tela {
    transition: none !important;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0 16px;
    height: 60px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.14em;
  }
  .brand {
    gap: 10px;
  }
  .brand-photo {
    width: 32px;
    height: 32px;
  }
  .brand-name {
    display: none;
  }
  .scroll-hint span {
    letter-spacing: 0.2em;
  }
}
