/* BUSINESS BARBEARIA · linktree */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #09090a; --text: #f1ede6; --muted: #a39d94; --dim: #6b665e;
  --line: rgba(241, 237, 230, .12); --line-2: rgba(241, 237, 230, .24);
  --gold: #c8a56a; --gold-soft: #e4cc9c; --green: #6fcf8e;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--text);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: var(--gold-soft); }

/* Fundo com o vídeo da barbearia */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .7; filter: saturate(.8); transform: scale(1.06); animation: drift 26s ease-in-out infinite alternate; }
.bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(9, 9, 10, .38) 0%, rgba(9, 9, 10, .62) 26%, rgba(9, 9, 10, .9) 58%, var(--bg) 100%);
}
@keyframes drift { to { transform: scale(1.16) translateY(-2%); } }

.grain {
  position: fixed; inset: -50%; z-index: 3; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.lights { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.lights i {
  position: absolute; top: 0; bottom: 0; width: 1px; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 244, 222, .55) 20%, rgba(255, 244, 222, .55) 70%, transparent);
  box-shadow: 0 0 22px 2px rgba(255, 226, 170, .22);
  animation: light-on 1.5s steps(1) .5s forwards, breathe 7s ease-in-out 2s infinite;
}
.lights i:nth-child(1) { left: 8%; }
.lights i:nth-child(2) { left: 50%; animation-delay: .8s, 2.300s; display: none; }
.lights i:nth-child(3) { right: 8%; animation-delay: .65s, 2.150s; }
@keyframes light-on { 0% { opacity: 0; } 10% { opacity: .22; } 16% { opacity: 0; } 26% { opacity: .24; } 34% { opacity: .05; } 46% { opacity: .2; } 100% { opacity: .17; } }
@keyframes breathe { 0%, 100% { opacity: .17; } 50% { opacity: .08; } }

/* Coluna */
.card {
  position: relative; z-index: 2; width: 100%; max-width: 480px; margin-inline: auto;
  padding: clamp(46px, 9vh, 84px) 22px calc(36px + env(safe-area-inset-bottom));
  display: grid; gap: 30px;
}
[style*="--i"] { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.top { display: grid; justify-items: center; gap: 16px; text-align: center; }
.brand { display: grid; justify-items: center; gap: 9px; font-size: 1rem; font-weight: 400; }
.brand img { width: min(62vw, 250px); }
.brand span { font-size: .62rem; font-weight: 500; letter-spacing: .64em; text-transform: uppercase; color: var(--muted); padding-left: .64em; }
.tag { font-size: .72rem; font-weight: 600; font-stretch: 112%; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.tag em { font-size: 1.55em; letter-spacing: 0; text-transform: none; margin-left: .15em; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.status {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px;
  border: 1px solid var(--line); background: rgba(9, 9, 10, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .64rem; font-weight: 600; font-stretch: 112%; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.status.is-open { color: var(--text); }
.status.is-open::before { background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111, 207, 142, .6); } 70% { box-shadow: 0 0 0 9px rgba(111, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 207, 142, 0); } }

/* Links */
.links { display: grid; gap: 10px; }
.lk {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line-2); background: rgba(14, 14, 15, .66);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: border-color .4s, color .4s var(--ease), transform .2s var(--ease);
}
.lk::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--text); transform: translateY(101%); transition: transform .5s var(--ease); }
.lk:active { transform: scale(.985); }
.lk__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(241, 237, 230, .04); transition: border-color .4s, background-color .4s; }
.lk__ic svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s, fill .4s; }
.lk__ic svg.is-fill { fill: currentColor; stroke: none; }
.lk__tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.lk__tx b { font-size: .8rem; font-weight: 650; font-stretch: 116%; letter-spacing: .1em; text-transform: uppercase; }
.lk__tx small { font-size: .8rem; color: var(--muted); transition: color .4s; }
.lk__go { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .55; transition: transform .5s var(--ease), opacity .4s; }
@media (hover: hover) {
  .lk:hover { color: #0a0a0a; border-color: var(--text); }
  .lk:hover::before { transform: translateY(0); }
  .lk:hover .lk__tx small { color: #4b4740; }
  .lk:hover .lk__ic { border-color: rgba(10, 10, 10, .2); background: transparent; }
  .lk:hover .lk__ic svg { stroke: #0a0a0a; }
  .lk:hover .lk__go { transform: rotate(45deg); opacity: 1; }
}

/* Botão principal */
.lk--main { min-height: 78px; background: var(--text); color: #0a0a0a; border-color: var(--text); }
.lk--main::before { background: var(--gold-soft); }
.lk--main .lk__ic { border-color: rgba(10, 10, 10, .18); background: transparent; }
.lk--main .lk__ic svg { width: 23px; height: 23px; }
.lk--main .lk__tx b { font-size: .86rem; }
.lk--main .lk__tx small { color: #4b4740; }
.lk--main .lk__go { opacity: 1; }
.lk--main::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: skewX(-18deg); animation: shine 4.5s ease-in-out 1.6s infinite;
}
@keyframes shine { 0% { left: -40%; } 28%, 100% { left: 130%; } }
@media (hover: hover) { .lk--main:hover { border-color: var(--gold-soft); } }

/* Rodapé */
.foot { display: grid; justify-items: center; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; font-size: .84rem; color: var(--muted); }
.foot__rating { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; fill: var(--gold); }
.foot__ig { margin-top: 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line-2); color: var(--text); font-size: .7rem; font-weight: 600; font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.foot__ig:hover { color: var(--gold-soft); border-color: var(--gold); }

@media (max-width: 430px) {
  .lk { gap: 12px; padding-right: 14px; }
  .lk__tx b { font-size: .72rem; letter-spacing: .07em; }
  .lk--main .lk__tx b { font-size: .76rem; }
  .lk__tx small { font-size: .76rem; }
}
@media (min-width: 700px) {
  .bg video { opacity: .38; filter: saturate(.7) blur(6px); }
  .lights i:nth-child(1) { left: calc(50% - 330px); }
  .lights i:nth-child(3) { right: calc(50% - 330px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lights i { opacity: .15; }
}
