/* ══════════════════════════════════════════════════════════════
   BRAVE 365 · MINI SITE DE LINKS
   Cliente: Michelle Sena · Estratégia Comercial
   style.css — Estilos visuais
   Animações: assets/js/main.js (GSAP)
══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   TOKENS DE COR
   Design editorial escuro — replicado do site original
══════════════════════════════════════════════════════════════ */
:root {
  --frame:     #050505;   /* Fundo da página */
  --ink:       #0a0a0a;   /* Card / profile-block */
  --paper:     #fafaf8;   /* Avatar bg */
  --white:     #ffffff;
  --gray:      #7a7a76;
  --gray-dim:  #9c9c96;
  --muted:     #6e6e6a;
  --border-d:  #222222;   /* Borda do card */
  --ease: cubic-bezier(.22, 1, .36, 1);
}


/* ══════════════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  background: var(--frame);
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--frame);
  min-height: 100%;
  color: var(--white);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ══════════════════════════════════════════════════════════════
   WRAPPER GERAL
══════════════════════════════════════════════════════════════ */
.frame-bar,
.profile-block,
.frame-footer {
  width: min(100%, 760px);
  margin-inline: auto;
}


/* ══════════════════════════════════════════════════════════════
   BARRA SUPERIOR
══════════════════════════════════════════════════════════════ */
.frame-bar {
  height: 62px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 8px;
  font-size: 9px;

  opacity: 0;
}

.brand {
  color: var(--white);
  letter-spacing: -.08em;
  font-size: 19px;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
}

.brand span {
  letter-spacing: -.05em;
  margin-left: 2px;
  font-weight: 500;
  font-stretch: 75%;
}

.frame-index {
  color: var(--gray-dim);
}


/* ══════════════════════════════════════════════════════════════
   CARD / PROFILE-BLOCK
══════════════════════════════════════════════════════════════ */
.profile-block {
  background: var(--ink);
  border: 1px solid var(--border-d);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100svh - 124px);
  padding: 28px 24px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  opacity: 0;
}

/* Textura grain */
.grain::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ── Etiquetas topo ── */
.top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.label {
  color: var(--gray-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 500;
}


/* ── Estrela decorativa ── */
.star {
  width: 21px;
  height: 21px;
  color: var(--white);
  position: absolute;
  top: 76px;
  right: 46px;

  opacity: 0;
}


/* ── Perfil ── */
.profile {
  text-align: center;
  margin-top: 7px;
}


/* ── Avatar ── */
.avatar {
  width: 84px;
  aspect-ratio: 1;
  background: var(--paper);
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  margin: 0 auto 21px;
  overflow: hidden;
  display: grid;
  place-items: center;

  opacity: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Avatar — logo (contain com padding) ── */
.avatar--logo {
  background: #111111;
}

.avatar--logo img {
  object-fit: contain;
  padding: 18px;
  object-position: center center;
}


/* ── Edition label ── */
.edition {
  color: var(--gray-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 500;
  margin: 0 0 9px;

  opacity: 0;
}


/* ── Nome ── */
h1 {
  color: var(--white);
  font-variation-settings: "wdth" 125, "wght" 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .92;

  opacity: 0;
}


/* ── Handle ── */
.handle {
  display: inline-block;
  color: var(--gray-dim);
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 11px 0 0;
  font-size: 10px;

  opacity: 0;
}


/* ── Statement / Bio ── */
.statement {
  text-align: center;
  width: min(100%, 420px);
  margin-top: 25px;

  opacity: 0;
}

.greek {
  color: var(--gray-dim);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.greek strong {
  color: var(--white);
  font-style: italic;
  font-weight: 800;
}

.greek em {
  font-style: italic;
}

.micro {
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
  margin: 9px auto 0;
}

.statement .micro {
  text-align: center;
  max-width: 330px;
}


/* ══════════════════════════════════════════════════════════════
   BOTÕES DE LINK
══════════════════════════════════════════════════════════════ */
.links {
  display: grid;
  gap: 9px;
  width: min(100%, 430px);
  margin-top: 27px;
}

.link-pill {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  border-radius: 999px;
  border: 1px solid #444;
  background: transparent;
  color: var(--white);
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .25s, background .25s, box-shadow .25s, transform .25s;
  cursor: pointer;

  opacity: 0;
}

.link-pill:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
  transform: translateY(-2px);
}

.link-pill:active {
  transform: translateY(0) scale(.985);
}

.link-pill:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Botão primário (branco) */
.link-pill.primary {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.link-pill.primary:hover {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--white);
}

/* Seta */
.arrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  transition: transform .25s;
}

.link-pill:hover .arrow {
  transform: translateX(3px);
}


/* ══════════════════════════════════════════════════════════════
   RODAPÉ INTERNO DO CARD (quote + marca)
══════════════════════════════════════════════════════════════ */
.bottom-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  width: 100%;
  margin-top: 29px;
  padding-bottom: 86px;

  opacity: 0;
}

.bottom-meta .micro {
  width: 210px;
  color: var(--gray-dim);
  margin: 0;
}

.bottom-meta .label {
  white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════
   MARCA D'ÁGUA GIGANTE
══════════════════════════════════════════════════════════════ */
.giant-wrap {
  position: absolute;
  bottom: -1px;
  left: -3%;
  right: -3%;
  height: 78px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.giant {
  color: var(--white);
  font-variation-settings: "wdth" 125, "wght" 800;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(74px, 17vw, 134px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: .76;
  transform: translateY(.17em);
  margin: 0;

  opacity: 0;
}


/* ══════════════════════════════════════════════════════════════
   RODAPÉ EXTERNO
══════════════════════════════════════════════════════════════ */
.frame-footer {
  height: 62px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 8px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: 9px;
  color: var(--gray-dim);

  opacity: 0;
}

.frame-footer a {
  color: var(--gray-dim);
  transition: color .2s;
}

.frame-footer a:hover {
  color: var(--white);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVO — MOBILE
══════════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  .frame-bar,
  .frame-footer {
    height: 52px;
    padding-inline: 8px;
  }

  .frame-index,
  .frame-footer span {
    display: none;
  }

  .profile-block {
    border-radius: 20px;
    min-height: calc(100svh - 104px);
    padding: 23px 18px 0;
  }

  .top-meta .label:last-child {
    display: none;
  }

  .star {
    width: 17px;
    top: 68px;
    right: 28px;
  }

  .avatar {
    width: 76px;
    margin-bottom: 18px;
  }

  .links {
    margin-top: 23px;
  }

  .bottom-meta {
    padding-bottom: 72px;
  }

  .bottom-meta .micro {
    width: 190px;
    font-size: 9px;
  }

  .giant-wrap {
    height: 64px;
  }

  .giant {
    font-size: clamp(64px, 21vw, 105px);
  }
}

@media (max-width: 370px) {
  .statement {
    margin-top: 19px;
  }

  .links {
    gap: 7px;
    margin-top: 19px;
  }

  .link-pill {
    min-height: 44px;
    padding-inline: 20px;
  }

  .bottom-meta {
    margin-top: 19px;
  }

  .bottom-meta .label {
    display: none;
  }

  .bottom-meta .micro {
    width: 100%;
    max-width: 220px;
  }

  .giant-wrap {
    height: 57px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
