/* Entrada: selo + escolha Tatuagem | Remoção */
.entry {
  --seam: 50%;
  --dur: .8s;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
}

.entry__bar {
  position: absolute; z-index: 6; inset: 0 0 auto 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px var(--gutter);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  pointer-events: none;
}
.entry__bar span { color: rgba(255,255,255,.7); }
.entry__bar a { color: var(--graphite); text-decoration: none; pointer-events: auto; opacity: .75; }
.entry__bar a:hover { opacity: 1; }

.split { position: absolute; inset: 0; display: flex; }

.half {
  position: relative; display: block; height: 100%;
  overflow: hidden; text-decoration: none;
  transition: width var(--dur) var(--ease), flex-basis var(--dur) var(--ease);
}
.half--tattoo { width: var(--seam); flex: none; background: var(--ink); color: #fff; }
.half--remocao { flex: 1; background: var(--white); color: var(--graphite); }

/* abertura: as metades se abrem a partir da costura */
.half--tattoo { clip-path: inset(0 0 0 0); }
.is-intro .half--tattoo { clip-path: inset(0 0 0 100%); }
.is-intro .half--remocao { clip-path: inset(0 100% 0 0); }
.half { transition: width var(--dur) var(--ease), clip-path 1.1s var(--ease) .1s, opacity .5s; }
.half--remocao { clip-path: inset(0 0 0 0); }

.half__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  transform: scale(1.04); filter: brightness(.82);
  transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.half__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,9,.92) 0%, rgba(8,8,9,.35) 45%, rgba(8,8,9,.15) 100%); }

.half__txt {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 clamp(24px, 4.5vw, 72px) clamp(36px, 7vh, 72px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.half--remocao .half__txt { left: auto; right: 0; align-items: flex-end; text-align: right; }
.half__kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; margin-bottom: 10px; }
/* o til de "REMOÇÃO" sobe acima da linha do título: o rótulo da Remoção ganha folga proporcional */
.half--remocao .half__kicker { margin-bottom: calc(10px + .16 * clamp(48px, 7.4vw, 124px)); }
.half__title {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(48px, 7.4vw, 124px); line-height: .92; letter-spacing: -.035em;
}
.half__desc { margin-top: 16px; max-width: 30ch; font-size: 16px; line-height: 1.5; opacity: .78; }
.half__go {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .02em;
  padding: 12px 20px; border-radius: 999px; border: 1px solid currentColor;
  transition: background-color .35s, color .35s;
}
.half__go .arrow { transition: transform .35s var(--ease); }
.half--tattoo:hover .half__go, .half--tattoo:focus-visible .half__go { background: #fff; color: var(--ink); border-color: #fff; }
.half--remocao:hover .half__go, .half--remocao:focus-visible .half__go { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.half:hover .half__go .arrow { transform: translateX(4px); }
.half:focus-visible { outline: none; }
.half:focus-visible .half__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }

.half__txt > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.is-ready .half__txt > * { opacity: 1; transform: none; }
.is-ready .half__txt > :nth-child(2) { transition-delay: .06s; }
.is-ready .half__txt > :nth-child(3) { transition-delay: .12s; }
.is-ready .half__txt > :nth-child(4) { transition-delay: .18s; }

/* remoção: foto do Edu aplicando o laser, com véu claro onde ficam os textos */
.half--remocao .half__photo { filter: none; object-position: 50% 60%; }
.half__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background:
  linear-gradient(to top, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 22%, rgba(255,255,255,.55) 34%, rgba(255,255,255,0) 46%); }
/* rótulo e título da remoção ficam na borda do véu: halo branco discreto garante a leitura sobre a foto */
.half--remocao .half__kicker { opacity: 1; font-weight: 500; text-shadow: 0 0 6px #fff, 0 0 14px #fff, 0 0 22px rgba(255,255,255,.9); }
.half--remocao .half__title { text-shadow: 0 0 24px rgba(255,255,255,.7); }
/* o @edutattooist fica sobre a foto: branco com sombra para ler sem véu */
.entry__bar a { transition: opacity .3s; }
@media (min-width: 761px) { .entry__bar a { color: #fff; opacity: .9; text-shadow: 0 1px 8px rgba(0,0,0,.55); } }

/* hover: a metade escolhida ganha espaço */
@media (hover: hover) and (pointer: fine) {
  .entry[data-hover="l"] { --seam: 58%; }
  .entry[data-hover="r"] { --seam: 42%; }
  .entry[data-hover="l"] .half--tattoo .half__bg { transform: scale(1); filter: brightness(1); }
  .entry[data-hover="r"] .half--tattoo .half__bg { filter: brightness(.5); }
  .entry[data-hover="l"] .half--remocao { opacity: .85; }
  .entry[data-hover="r"] .half--remocao .half__photo { transform: scale(1); }
  .entry[data-hover="l"] .half--remocao .half__photo { filter: brightness(.7); }
}

/* clique: a metade escolhida toma a tela */
.entry[data-go="l"] { --seam: 100%; }
.entry[data-go="r"] { --seam: 0%; }
.entry[data-go] { --dur: .7s; }
.entry[data-go] .half__txt > *, .entry[data-go] .entry__bar { opacity: 0; transition: opacity .3s; }
.entry[data-go] .seal { opacity: 0; transform: translate(-50%, -50%) scale(.6); }

/* selo na costura */
.seal {
  position: absolute; z-index: 5; top: 50%; left: var(--seam);
  width: clamp(112px, 12vw, 176px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: left var(--dur) var(--ease), transform 1.1s var(--ease), opacity .4s;
  pointer-events: none;
}
.seal img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 6px var(--ink), 0 20px 50px rgba(0,0,0,.45); }
.seal__ring { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); transform: rotate(-90deg); }
.seal__ring circle { fill: none; stroke: #fff; stroke-width: .6; stroke-dasharray: 305; stroke-dashoffset: 305; opacity: .9; }
.is-intro .seal { transform: translate(-50%, -50%) scale(1.45); }
.is-intro .seal img { box-shadow: none; }
.seal img { transition: box-shadow .8s; }
.is-drawing .seal__ring circle { animation: ring 1.15s var(--ease) forwards; }
.is-ready .seal__ring circle { stroke-dashoffset: 0; stroke: var(--ink); opacity: 0; transition: opacity .6s; }
@keyframes ring { to { stroke-dashoffset: 0; } }

.entry-footer { background: var(--ink); }

/* mobile: metades empilhadas, costura horizontal */
@media (max-width: 760px) {
  .entry { min-height: 600px; }
  .entry__bar { padding: 16px; font-size: 10.5px; letter-spacing: .14em; }
  .entry__bar a { color: #fff; }
  .split { flex-direction: column; }
  .half--tattoo { width: 100%; height: var(--seam); }
  .half--remocao { flex: 1; height: auto; }
  .half { transition: height var(--dur) var(--ease), clip-path 1.1s var(--ease) .1s, opacity .5s; }
  .is-intro .half--tattoo { clip-path: inset(100% 0 0 0); }
  .is-intro .half--remocao { clip-path: inset(0 0 100% 0); }
  .seal { left: 50%; top: var(--seam); width: 104px; transition: top var(--dur) var(--ease), transform 1.1s var(--ease), opacity .4s; }
  .seal img { box-shadow: 0 0 0 5px var(--ink), 0 14px 30px rgba(0,0,0,.35); }
  .half__txt { padding: 0 20px 24px; }
  .half--tattoo .half__txt { padding-bottom: 66px; }
  .half--remocao .half__txt { top: auto; bottom: 0; padding-bottom: 26px; }
  .half__title { font-size: clamp(44px, 14vw, 64px); }
  .half__desc { font-size: 14.5px; margin-top: 10px; max-width: 24ch; }
  .half__go { margin-top: 14px; padding: 10px 16px; font-size: 14px; }
  .half__kicker { font-size: 10.5px; margin-bottom: 6px; }
  .half--remocao .half__kicker { margin-bottom: calc(8px + .2 * clamp(44px, 14vw, 64px)); }
  .half--remocao .half__photo { object-position: 50% 58%; }
  .half__veil { background: linear-gradient(to top, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 40%, rgba(255,255,255,.5) 54%, rgba(255,255,255,0) 66%); }
  .half--remocao .half__txt { align-items: flex-end; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .half__desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .is-intro .half--tattoo, .is-intro .half--remocao { clip-path: none; }
  .is-intro .seal { transform: translate(-50%, -50%); }
}
.entry__bar .ig-link { gap: 8px; }
.entry__bar .ig-ico { width: 16px; height: 16px; }

/* entrada: Instagram + idioma no canto; pílula escura para ler sobre as duas fotos */
.entry__right { display: flex; align-items: center; gap: 18px; pointer-events: auto; }
.lang--entry { --fg: #fff; --bg: #0b0b0c; --muted: rgba(255,255,255,.72); border-color: rgba(255,255,255,.22); background: rgba(11,11,12,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lang--entry .lang__b { letter-spacing: .12em; }
.lang--entry .lang__b span { color: inherit; }
