:root {
  --fundo: #fbfaf7;
  --texto: #191714;
  --texto-suave: #6c6258;
  --dourado: #b58b54;
  --rosa: #ead8d2;
  --sombra: rgba(25, 23, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--fundo);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--texto);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 18%, rgba(234, 216, 210, 0.42), transparent 31rem),
    linear-gradient(180deg, #fffefd 0%, var(--fundo) 68%, #f8f4ef 100%);
}

.pagina-transicao {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  isolation: isolate;
}

.pagina-transicao::before,
.pagina-transicao::after {
  position: absolute;
  z-index: -2;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(181, 139, 84, 0.12);
  border-radius: 999px;
  content: "";
}

.pagina-transicao::before {
  top: -22rem;
  right: -16rem;
}

.pagina-transicao::after {
  bottom: -24rem;
  left: -18rem;
}

.halo {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: min(58vw, 34rem);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 34%, rgba(255, 255, 255, 0.48) 35% 49%, transparent 70%),
    conic-gradient(from 130deg, rgba(181, 139, 84, 0), rgba(181, 139, 84, 0.1), rgba(234, 216, 210, 0.14), rgba(181, 139, 84, 0));
  filter: blur(0.2px);
  opacity: 0.72;
  transform: translate(-50%, -50%);
  animation: respirar 12s ease-in-out infinite;
}

.marca {
  display: grid;
  width: min(100%, 34rem);
  justify-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(1.4rem);
}

.marca.is-visible {
  animation: revelar 1.25s cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.marca__logo {
  width: clamp(7.5rem, 18vw, 12rem);
  height: auto;
  margin-bottom: clamp(2.7rem, 6vw, 4rem);
  filter: drop-shadow(0 1.2rem 2.4rem var(--sombra));
}

h1 {
  max-width: 15ch;
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}

p {
  margin: clamp(1.45rem, 3vw, 1.9rem) 0 0;
  color: var(--texto-suave);
  font-size: clamp(0.76rem, 1.7vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

@keyframes respirar {
  0%,
  100% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.96) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.03) rotate(6deg);
  }
}

@media (max-width: 640px) {
  .pagina-transicao {
    padding: 2rem 1.35rem;
  }

  .halo {
    width: 22rem;
  }

  .marca__logo {
    width: min(48vw, 10rem);
  }

  h1 {
    max-width: 12ch;
  }

  p {
    max-width: 19rem;
    line-height: 1.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .marca {
    opacity: 1;
    transform: none;
  }
}
