/* ===== TOKENS ===== */
:root {
  --ink-bg: #10161d;
  --headline: #f2ece0;
  --stamp: #c1493a;
  --brass: #c9a768;
  --lede: #c7d1de;
}

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

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  color: var(--headline);
  background-color: var(--ink-bg);
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.035), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 40px);
  -webkit-font-smoothing: antialiased;
}

/* ===== MOLDURA (estilo capa de processo) ===== */
.frame {
  position: fixed;
  inset: 18px;
  border: 1px solid rgba(201, 167, 104, 0.35);
  pointer-events: none;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 167, 104, 0.16);
}

/* ===== CONTEÚDO ===== */
.stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.content {
  max-width: 560px;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: content-in 0.8s ease-out forwards;
}

@keyframes content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

.headline {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  line-height: 1.15;
  color: var(--headline);
  margin-bottom: 36px;
  text-wrap: balance;
}

.headline .accent {
  color: var(--stamp);
}

/* ===== SELO / CARIMBO ===== */
.stamp {
  width: clamp(140px, 24vw, 190px);
  margin: 0 auto 36px auto;
  transform: rotate(-8deg);
  transform-origin: 50% 50%;
  animation: stamp-breathe 4.5s ease-in-out 0.8s infinite;
}

.stamp svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@keyframes stamp-breathe {
  0%, 100% { transform: rotate(-8deg) scale(1); opacity: 0.92; }
  50%      { transform: rotate(-8deg) scale(1.035); opacity: 1; }
}

.ring-deco {
  fill: none;
  stroke: var(--brass);
  stroke-width: 0.75;
  opacity: 0.55;
}

.ring-main {
  fill: none;
  stroke: var(--stamp);
  stroke-width: 2;
}

.ring-boundary {
  fill: none;
  stroke: var(--stamp);
  stroke-width: 1.5;
  opacity: 0.85;
}

.ring-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 1.6px;
  fill: var(--stamp);
}

.center-rule {
  stroke: var(--stamp);
  stroke-width: 1;
  opacity: 0.85;
}

.center-line {
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  fill: var(--stamp);
}

/* ===== TEXTO DE APOIO ===== */
.lede {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: var(--lede);
  max-width: 440px;
  margin: 0 auto;
}

/* ===== MOVIMENTO REDUZIDO ===== */
@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .stamp {
    animation: none;
    transform: rotate(-8deg);
  }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 480px) {
  .frame { inset: 10px; }
  .frame::before { inset: 4px; }
  .content { padding: 16px; }
}
