@font-face {
  font-family: "Host Grotesk";
  src: url("./assets/host.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --tinta: #0b0b0a;
  --papel: #efede6;
  --ambar: #ffb23f;
  font-family: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: var(--tinta);
  color: var(--papel);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

.bio {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(7rem, 28svh, 18rem) max(.875rem, env(safe-area-inset-right)) max(1.25rem, env(safe-area-inset-bottom)) max(.875rem, env(safe-area-inset-left));
  isolation: isolate;
}

.capa {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 12%;
}

.painel {
  position: relative;
  isolation: isolate;
  width: min(100%, 30rem);
  min-height: clamp(25rem, 60svh, 34rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem clamp(1.1rem, 5.8vw, 2.25rem) 2rem;
  border: 1px solid rgb(239 237 230 / 42%);
  border-radius: 2.1rem;
  background: linear-gradient(145deg, #353431, #1c1c1a 54%, #252522);
  box-shadow: inset 0 1px 0 rgb(255 255 249 / 20%), 0 15px 32px rgb(0 0 0 / 32%);
  transition: border-color .25s, box-shadow .25s;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .painel {
    background: linear-gradient(145deg, rgb(42 41 38 / 61%), rgb(15 15 14 / 77%) 58%, rgb(30 30 27 / 70%));
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}

.painel::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  align-self: center;
  width: 2.5rem;
  height: .2rem;
  border-radius: 1rem;
  background: rgb(239 237 230 / 50%);
}

.painel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(16rem circle at var(--luz-x, 50%) var(--luz-y, 50%), rgb(255 178 63 / 23%), transparent 78%);
  opacity: 0;
  transition: opacity .25s;
}

.identidade {
  text-align: center;
  padding-bottom: clamp(1.35rem, 3.7svh, 2.15rem);
  border-bottom: 1px solid rgb(239 237 230 / 18%);
}

.marca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .22em;
  margin: 0;
  font-size: clamp(2.7rem, 12.6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: 1;
}

.marca svg { width: 1.52em; flex: none; }
.ponto { color: var(--ambar); }
.servicos { margin: .85rem 0 0; color: #d6d4cc; font-size: clamp(.875rem, 3.55vw, 1rem); text-wrap: balance; }

.links { display: grid; gap: .875rem; margin-top: clamp(1.4rem, 3.8svh, 2.25rem); }

.botao {
  display: grid;
  grid-template-columns: 2.125rem 1fr 2.125rem;
  align-items: center;
  gap: .35rem;
  min-height: 3.5rem;
  padding: .75rem clamp(.875rem, 3.6vw, 1.375rem);
  border: 1px solid rgb(239 237 230 / 42%);
  border-radius: 999px;
  color: var(--papel);
  background: rgb(11 11 10 / 28%);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  text-align: center;
  transition: background .2s, border-color .2s, transform .2s;
}

.icone { width: 1.3rem; height: 1.3rem; justify-self: start; }
svg.icone { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.principal { color: var(--tinta); background: var(--papel); border-color: transparent; }

.botao:focus-visible { outline: 2px solid var(--ambar); outline-offset: 4px; }
.botao:active { transform: scale(.985); }

@media (hover: hover) {
  .painel:hover {
    border-color: rgb(255 206 132 / 66%);
    box-shadow: inset 0 1px 0 rgb(255 249 235 / 24%), 0 0 30px rgb(255 178 63 / 15%), 0 15px 32px rgb(0 0 0 / 32%);
  }
  .painel:hover::after { opacity: 1; }
  .botao:hover { border-color: var(--papel); background: rgb(239 237 230 / 8%); }
  .principal:hover { background: #fff; }
}

@media (max-height: 42rem) and (max-width: 55.99rem) {
  .bio { padding-top: min(5rem, 16svh); }
  .painel { padding-top: 2.75rem; }
  .links { gap: .75rem; }
}

@media (min-width: 56rem) and (min-aspect-ratio: 1/1) {
  .bio {
    justify-content: flex-end;
    align-items: center;
    padding: 2.5rem max(6vw, calc((100vw - 80rem) / 2)) 2.5rem 2.5rem;
  }
  .painel { min-height: clamp(30rem, 64svh, 36rem); }
}

@media (prefers-reduced-motion: reduce) {
  .painel, .painel::after, .botao { transition: none; }
}
