/* Elegancy NR Nails — links da bio. Mesma paleta e tipografia do site. */
:root {
  color-scheme: light;
  --porcelana: #FBF7F5;
  --linho: #F5EDE9;
  --nude: #EBD9D2;
  --rose: #C99AA0;
  --rose-2: #A86F79;
  --tinta: #3A2C31;
  --tinta-2: #5F4C52;
  --nevoa: #8E7B81;
  --linha: #EADDD8;
  --branco: #FFFDFC;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --sedoso: cubic-bezier(.16, 1, .3, 1);
}

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

body {
  min-height: 100svh;
  background: var(--porcelana);
  color: var(--tinta-2);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* fundo que respira: duas manchas desfocadas em deriva lenta */
.aura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aura span {
  position: absolute;
  width: 70vmax; height: 70vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
}
.aura span:first-child {
  top: -35vmax; left: -20vmax;
  background: radial-gradient(circle, var(--nude), transparent 65%);
  animation: deriva-a 26s ease-in-out infinite alternate;
}
.aura span:last-child {
  bottom: -40vmax; right: -30vmax;
  background: radial-gradient(circle, #F1DADD, transparent 65%);
  animation: deriva-b 32s ease-in-out infinite alternate;
}
@keyframes deriva-a { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes deriva-b { to { transform: translate(-16vmax, -18vmax) scale(.9); } }

.cartao {
  width: min(100%, 26rem);
  margin: 0 auto;
  padding: max(3rem, env(safe-area-inset-top)) 1.25rem max(2.5rem, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  text-align: center;
}

/* entrada em cascata */
.cartao > *, .item { opacity: 0; transform: translateY(14px); animation: entra 1.2s var(--sedoso) forwards; }
.cartao > :nth-child(2) { animation-delay: .1s; }
.cartao > :nth-child(3) { animation-delay: .18s; }
.cartao > :nth-child(4) { animation-delay: .24s; }
.cartao > .lista { opacity: 1; transform: none; animation: none; }
.item:nth-child(1) { animation-delay: .34s; }
.item:nth-child(2) { animation-delay: .42s; }
.item:nth-child(3) { animation-delay: .5s; }
.item:nth-child(4) { animation-delay: .58s; }
.item:nth-child(5) { animation-delay: .66s; }
.sociais { opacity: 0; transform: translateY(14px); animation: entra 1.2s var(--sedoso) .5s forwards; }
.cartao > :nth-child(n+6) { animation-delay: .8s; }
@keyframes entra { to { opacity: 1; transform: none; } }

/* foto redonda com linha fina que se desenha e um arco que gira devagar */
.avatar {
  position: relative;
  width: 7.4rem;
  aspect-ratio: 1;
  animation: entra 1.2s var(--sedoso) forwards, flutua 7s ease-in-out 1.4s infinite;
}
.avatar__foto {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--linho);
}
.avatar__foto img { width: 100%; height: 100%; object-fit: cover; }
.avatar__aro { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.avatar__aro circle { fill: none; stroke-linecap: round; }
.avatar__linha {
  stroke: var(--rose);
  stroke-width: .8;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: traca 2.4s var(--sedoso) .4s forwards;
}
.avatar__arco {
  stroke: var(--rose-2);
  stroke-width: 2;
  stroke-dasharray: 14 86;
  opacity: 0;
  transform-origin: 60px 60px;
  animation: aparece 1.2s ease 2.2s forwards, gira 14s linear 2.2s infinite;
}
@keyframes aparece { to { opacity: .85; } }
@keyframes gira { to { transform: rotate(360deg); } }
@keyframes flutua { 50% { transform: translateY(-5px); } }

.marca { width: 11rem; height: auto; margin: 1.6rem 0 .9rem; }
.quem { font-size: .92rem; color: var(--tinta-2); }
.selo {
  margin-top: .8rem;
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-2);
  border: 1px solid var(--linha);
  border-radius: 99px;
  padding: .45em 1.2em;
  background: rgba(255, 253, 252, .5);
}

/* links */
.lista { width: 100%; display: grid; gap: .65rem; margin: 2.2rem 0 2rem; }
.item {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr 1rem;
  align-items: center;
  gap: .9rem;
  min-height: 4.1rem;
  padding: .7rem 1.2rem .7rem .7rem;
  text-align: left;
  border: 1px solid var(--linha);
  border-radius: 99px;
  background: rgba(255, 253, 252, .72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .5s ease, background .5s ease, box-shadow .7s var(--sedoso), scale .5s var(--sedoso);
}
.item:hover { border-color: var(--rose); background: var(--branco); box-shadow: 0 14px 28px -22px rgba(58, 44, 49, .5); }
.item:active { scale: .98; transition-duration: .15s; }
.item__icone {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--linho);
  color: var(--rose-2);
  transition: background .5s ease, color .5s ease, transform .7s var(--sedoso);
}
.item:hover .item__icone { transform: rotate(-8deg) scale(1.05); }
.item__icone svg, .item__seta, .trabalhos__titulo svg {
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.item__icone svg { width: 1.2rem; height: 1.2rem; }
.item__texto { display: grid; gap: .1rem; min-width: 0; }
.item__titulo {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "opsz" 24;
  font-size: 1.08rem;
  color: var(--tinta);
}
.item__sub { display: flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--nevoa); }
.item__seta { width: 1rem; height: 1rem; color: var(--rose); transition: transform .6s var(--sedoso); }
.item:hover .item__seta { transform: translateX(4px); }

.item--destaque { background: var(--tinta); border-color: var(--tinta); }
.item--destaque .item__icone { background: rgba(251, 247, 245, .1); color: var(--porcelana); }
.item--destaque .item__titulo { color: var(--porcelana); }
.item--destaque .item__sub { color: rgba(251, 247, 245, .72); }
.item--destaque .item__seta { color: var(--rose); }
.item--destaque:hover { background: var(--rose-2); border-color: var(--rose-2); }
.item--destaque:hover .item__seta { color: var(--porcelana); }
/* brilho que passa de vez em quando */
.item--destaque::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 253, 252, .16) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: brilho 7s ease-in-out 2.2s infinite;
  pointer-events: none;
}
@keyframes brilho { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.pulso {
  width: .42rem; height: .42rem;
  border-radius: 50%;
  background: #9FD3A8;
  box-shadow: 0 0 0 0 rgba(159, 211, 168, .6);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso { 70%, 100% { box-shadow: 0 0 0 .45rem rgba(159, 211, 168, 0); } }

:focus-visible { outline: 1.5px solid var(--rose-2); outline-offset: 4px; }

/* whatsapp e instagram, lado a lado */
.sociais { display: flex; justify-content: center; gap: 1rem; margin-top: .5rem; }
.social {
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: rgba(255, 253, 252, .72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: var(--rose-2);
  -webkit-tap-highlight-color: transparent;
  transition: border-color .5s ease, background .5s ease, color .5s ease, transform .7s var(--sedoso), box-shadow .7s var(--sedoso);
}
.social svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.social:hover { border-color: var(--rose); background: var(--branco); transform: translateY(-2px) rotate(-6deg); box-shadow: 0 12px 24px -18px rgba(58, 44, 49, .5); }
.social:active { transform: scale(.94); transition-duration: .15s; }

/* trabalhos: faixa que corre devagar */
.trabalhos { width: 100%; display: grid; gap: .8rem; margin-bottom: 2.2rem; text-decoration: none; }
.trabalhos__titulo {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  font-size: .64rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose-2);
}
.trabalhos__titulo svg { width: .85rem; height: .85rem; transition: transform .6s var(--sedoso); }
.trabalhos:hover .trabalhos__titulo svg { transform: translateX(3px); }
.faixa {
  display: block;
  overflow: hidden;
  margin: 0 -1.25rem;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.faixa__trilho { display: flex; gap: .6rem; width: max-content; animation: corre 48s linear infinite; }
.trabalhos:hover .faixa__trilho, .trabalhos:active .faixa__trilho { animation-play-state: paused; }
.faixa img {
  width: 5.6rem; height: 7rem;
  object-fit: cover;
  border-radius: 2.8rem 2.8rem 1rem 1rem;
  background: var(--linho);
}
@keyframes corre { to { transform: translateX(calc(-50% - .3rem)); } }

.coracao { width: 8rem; height: auto; overflow: visible; }
.coracao path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: traca 2.4s var(--sedoso) 1.2s forwards;
}
@keyframes traca { to { stroke-dashoffset: 0; } }

.rodape { margin-top: 1.4rem; font-size: .74rem; color: var(--nevoa); }
.rodape a { color: var(--tinta-2); }

@media (prefers-reduced-motion: reduce) {
  .cartao > *, .item, .sociais, .avatar, .coracao path, .avatar__linha, .aura span, .faixa__trilho, .item--destaque::after, .pulso {
    animation: none; opacity: 1; transform: none; stroke-dashoffset: 0;
  }
  .avatar__arco { animation: none; opacity: .85; }
  .item--destaque::after { display: none; }
}
