/* ============================================================
   STUDIO JS — Creative Agency
   Design inspirado no template "Upper" (Themezinho)
   Paleta da marca: roxo #64689B · amarelo #FFD86B · preto · cinza
   ============================================================ */

:root {
  --bg: #f7f6f2;
  --ink: #121212;
  --ink-soft: #55555c;
  --purple: #64689b;
  --purple-deep: #4c5079;
  --yellow: #ffd86b;
  --yellow-deep: #f4cc67;
  --gray: #bfbfbf;
  --line: rgba(18, 18, 18, 0.12);
  --dark: #1c1c22;

  --font-head: 'Archivo', 'Helvetica Neue', sans-serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --fs-hero: clamp(2.8rem, 8vw, 7.5rem);
  --fs-h2: clamp(2rem, 4.5vw, 3.75rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.6rem);

  --frame: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--yellow); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Moldura (frame) estilo Upper ---------- */
.frame-line {
  position: fixed;
  background: var(--bg);
  z-index: 60;
  pointer-events: none;
}
.frame-line::after {
  content: '';
  position: absolute;
  background: var(--line);
}
.frame-top    { top: 0; left: 0; right: 0; height: var(--frame); }
.frame-top::after    { bottom: 0; left: var(--frame); right: var(--frame); height: 1px; }
.frame-bottom { bottom: 0; left: 0; right: 0; height: var(--frame); }
.frame-bottom::after { top: 0; left: var(--frame); right: var(--frame); height: 1px; }
.frame-left   { top: 0; bottom: 0; left: 0; width: var(--frame); }
.frame-left::after   { right: 0; top: var(--frame); bottom: var(--frame); width: 1px; }
.frame-right  { top: 0; bottom: 0; right: 0; width: var(--frame); }
.frame-right::after  { left: 0; top: var(--frame); bottom: var(--frame); width: 1px; }

@media (max-width: 720px) { :root { --frame: 12px; } }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .mark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.02em;
  animation: pulse 1.2s ease-in-out infinite;
}
.preloader .mark span { color: transparent; -webkit-text-stroke: 1.5px var(--purple); }
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--frame);
  left: var(--frame);
  right: var(--frame);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 34px;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.scrolled {
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-block;
}
.logo .js { color: var(--yellow-deep); }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.52em;
  color: var(--ink-soft);
  margin-top: 4px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  z-index: 110;
}
.menu-toggle span {
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.3s;
}
.menu-toggle span:nth-child(1) { width: 30px; }
.menu-toggle span:nth-child(2) { width: 20px; }
.menu-open .menu-toggle span { background: var(--bg); }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); width: 30px; }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); width: 30px; }

/* ---------- Menu overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at calc(100% - 62px) 62px);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.menu-open .nav-overlay { clip-path: circle(150% at calc(100% - 62px) 62px); visibility: visible; }

.nav-overlay nav { text-align: center; }
.nav-overlay a.nav-link {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.25;
  color: var(--bg);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s;
}
.nav-overlay a.nav-link:hover,
.nav-overlay a.nav-link.active { color: var(--yellow); }
.nav-overlay a.nav-link .idx {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.35em;
  color: var(--purple);
  vertical-align: super;
  margin-right: 0.6em;
}
.nav-overlay .nav-contact {
  margin-top: 40px;
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.nav-overlay .nav-contact a { color: var(--yellow); letter-spacing: 0.05em; text-transform: none; }

/* ---------- Layout base ---------- */
main { padding: var(--frame); }
.section { padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 90px); position: relative; }
.section-tight { padding-top: 0; }

.kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.kicker::before { content: ''; width: 42px; height: 1px; background: var(--yellow-deep); }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; }
h2.sec-title { font-size: var(--fs-h2); max-width: 18ch; }
h2.sec-title em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--purple); }

.lead { color: var(--ink-soft); max-width: 60ch; margin-top: 24px; }

.center { text-align: center; }
.center h2.sec-title, .center .lead { margin-left: auto; margin-right: auto; }
.center .kicker::before { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s;
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { border-color: var(--yellow); }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

.btn-light { border-color: var(--bg); color: var(--bg); }
.btn-light:hover { color: var(--ink); }

/* ---------- Hero (home) ---------- */
.hero {
  min-height: calc(100vh - var(--frame) * 2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 14vh, 160px) clamp(20px, 6vw, 90px) 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-bg .blob.b1 { width: 520px; height: 520px; background: var(--purple); top: -140px; right: -80px; opacity: 0.22; }
.hero-bg .blob.b2 { width: 420px; height: 420px; background: var(--yellow); bottom: -160px; left: -60px; opacity: 0.35; }
.hero-bg .mark-watermark {
  position: absolute;
  right: clamp(-40px, 2vw, 60px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(14rem, 30vw, 26rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(100, 104, 155, 0.18);
  user-select: none;
}

.hero .kicker { position: relative; z-index: 1; }
.hero h1 {
  font-size: var(--fs-hero);
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
  max-width: 14ch;
}
.hero h1 .swap { display: block; color: var(--purple); min-height: 1.1em; }
.hero h1 .swap .word { display: inline-block; animation: wordIn 0.7s var(--ease); }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(60%) skewY(4deg); }
  to   { opacity: 1; transform: none; }
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}
.hero .hero-foot {
  margin-top: clamp(36px, 6vh, 70px);
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 46px;
  background: var(--ink);
  animation: drop 1.6s var(--ease) infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.marquee span::after { content: '✦'; color: var(--yellow-deep); margin-left: 60px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grid de projetos ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(40px, 6vw, 80px);
}
.work-card { grid-column: span 6; }
.work-card.wide { grid-column: span 12; }
.work-card.third { grid-column: span 4; }
@media (max-width: 860px) {
  .work-card, .work-card.third { grid-column: span 12; }
}

.work-card .thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
}
.work-card.wide .thumb { aspect-ratio: 21 / 9; }
.work-card .thumb svg,
.work-card .thumb .cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .thumb svg,
.work-card:hover .thumb .cover { transform: scale(1.06); }
.work-card .thumb .tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--bg);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 14px;
  z-index: 2;
}
.work-card .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.work-card .meta h3 { font-size: var(--fs-h3); }
.work-card .meta .cat {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple);
  white-space: nowrap;
}
.work-card:hover .meta { border-color: var(--yellow-deep); }

/* Filtros do portfólio */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
}
.filters button {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.filters button:hover { color: var(--ink); }
.filters button.active { color: var(--ink); border-color: var(--yellow-deep); }
.work-card.hidden { display: none; }

/* ---------- Serviços ---------- */
.services-list { margin-top: clamp(30px, 5vw, 60px); border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr auto;
  gap: clamp(16px, 3vw, 50px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.4s var(--ease);
}
.service-row:hover { padding-left: 14px; }
.service-row::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--yellow-deep);
  transition: width 0.6s var(--ease);
}
.service-row:hover::after { width: 100%; }
.service-row .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--purple);
}
.service-row h3 { font-size: clamp(1.3rem, 2.6vw, 2rem); }
.service-row p { color: var(--ink-soft); font-size: 0.95rem; max-width: 46ch; }
.service-row .go {
  font-size: 1.6rem;
  color: var(--purple);
  transition: transform 0.4s var(--ease), color 0.3s;
}
.service-row:hover .go { transform: translateX(8px) rotate(-45deg); color: var(--ink); }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-row .go { display: none; }
}

/* Cards de detalhe de serviços (página serviços) */
.svc-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 6vw, 70px);
}
.svc-card {
  border: 1px solid var(--line);
  padding: clamp(28px, 3.5vw, 48px);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  background: #fffdf8;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -30px rgba(28, 28, 34, 0.35); }
.svc-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--purple);
}
.svc-card h3 { font-size: 1.35rem; margin: 14px 0 12px; }
.svc-card p { color: var(--ink-soft); font-size: 0.93rem; }
.svc-card ul { margin-top: 18px; }
.svc-card li {
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.svc-card li::before { content: '✦'; color: var(--yellow-deep); font-size: 0.7rem; }
.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.svc-card:hover::after { transform: scaleX(1); }

/* ---------- Processo ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 70px);
}
.process .step { background: var(--bg); padding: clamp(28px, 3vw, 44px); }
.process .step strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--purple);
  display: block;
  margin-bottom: 14px;
}
.process .step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process .step p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Seção escura (abordagem / quote) ---------- */
.dark-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  margin: clamp(50px, 8vw, 110px) 0 0;
}
@media (max-width: 860px) { .dark-split { grid-template-columns: 1fr; } }
.dark-split .visual {
  position: relative;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple) 55%, #7d81b4);
  overflow: hidden;
  min-height: 380px;
}
.dark-split .visual .vertical {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 7vw, 6rem);
  color: rgba(247, 246, 242, 0.92);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.dark-split .visual .geo {
  position: absolute;
  border: 1px solid rgba(255, 216, 107, 0.4);
}
.dark-split .visual .geo.g1 { width: 260px; height: 260px; border-radius: 50%; top: -80px; right: -60px; }
.dark-split .visual .geo.g2 { width: 180px; height: 180px; bottom: 40px; left: -50px; transform: rotate(45deg); }
.dark-split .content {
  background: var(--dark);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 110px);
}
.dark-split .content .kicker { color: var(--yellow); }
.dark-split .content .kicker::before { background: var(--purple); }
.dark-split blockquote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.5;
}
.dark-split blockquote strong { font-weight: 600; color: var(--yellow); }
.dark-split .content .divider {
  width: 1px;
  height: 70px;
  background: rgba(247, 246, 242, 0.3);
  margin: 40px 0 0;
}

/* ---------- Números ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .stat { background: var(--bg); padding: clamp(36px, 5vw, 64px) 20px; text-align: center; }
.stats .stat b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  display: block;
  line-height: 1;
}
.stats .stat b .plus { color: var(--yellow-deep); }
.stats .stat span {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-top: 12px;
}

/* ---------- Clientes ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(40px, 6vw, 70px);
}
.clients .client {
  background: var(--bg);
  padding: 44px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--gray);
  transition: color 0.35s, background 0.35s;
  text-align: center;
}
.clients .client:hover { color: var(--ink); background: #fffdf8; }

/* ---------- CTA final ---------- */
.cta {
  text-align: center;
  padding: clamp(90px, 13vw, 170px) 20px;
}
.cta h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.01em;
}
.cta h2 .dot { color: var(--yellow-deep); }
.cta a.mail {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--purple);
  position: relative;
}
.cta a.mail::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 100%;
  background: var(--yellow-deep);
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cta a.mail:hover::after { transform: scaleX(1); }

/* ---------- Página de contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-top: clamp(40px, 6vw, 70px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info .item {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item small {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 8px;
}
.contact-info .item a, .contact-info .item p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.contact-info .item a:hover { color: var(--purple); }

.contact-form .field { margin-bottom: 30px; position: relative; }
.contact-form label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 10px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  font: inherit;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-bottom: 2px solid var(--purple); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  padding: clamp(150px, 20vh, 220px) clamp(20px, 6vw, 90px) clamp(50px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.page-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--purple); }
.page-hero .watermark {
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(8rem, 20vw, 16rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(100, 104, 155, 0.14);
  pointer-events: none;
  user-select: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--bg);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 90px) 40px;
  position: relative;
  overflow: hidden;
}
.site-footer .big-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 9vw, 8rem);
  color: rgba(247, 246, 242, 0.06);
  position: absolute;
  white-space: nowrap;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.site-footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  position: relative;
}
@media (max-width: 860px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }
.site-footer .logo small { color: var(--gray); }
.site-footer h4 {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
  font-weight: 600;
}
.site-footer a { color: rgba(247, 246, 242, 0.75); transition: color 0.3s; display: inline-block; padding: 4px 0; font-size: 0.92rem; }
.site-footer a:hover { color: var(--yellow); }
.site-footer p { color: rgba(247, 246, 242, 0.55); font-size: 0.9rem; max-width: 34ch; margin-top: 16px; }
.site-footer .copy {
  margin-top: clamp(50px, 7vw, 80px);
  padding-top: 26px;
  border-top: 1px solid rgba(247, 246, 242, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, 0.45);
  position: relative;
}

/* ---------- Cursor customizado ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 300;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--purple); }
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(100, 104, 155, 0.55);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s;
}
body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--yellow-deep); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- Acessibilidade ---------- */
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  z-index: 400;
  transition: top 0.3s;
}
.skip-link:focus { top: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
