/* Andréa Castro 55670 · central de links
   Tokens do DESIGN.md da campanha. Página única, celular primeiro. */

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --roxo: #6B1DE8;
  --roxo-2: #600DE5;
  --roxo-3: #4A0FB8;
  --roxo-4: #35087F;
  --amarelo: #F7C624;
  --rosa: #F3248F;
  --ciano: #00A8FF;
  --royal: #116FDA;
  --gelo: #E1EEFC;
  --creme: #F4F2E8;
  --tinta: #3B3B47;
  --branco: #FFFFFF;

  --col: 520px;
  --raio: 20px;
  --sombra: 0 16px 36px -18px rgba(22, 0, 72, .75);
  --fonte-display: "Bebas Neue", "Bebas Neue Pro", Impact, "Arial Narrow", sans-serif;
  --fonte-texto: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--roxo);
  color: var(--branco);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

/* Fundo fixo: roxo com um brilho no topo e textura de pontos roxo-sobre-roxo */
.fundo {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 50% -8%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #7A2FF3 0%, var(--roxo) 38%, var(--roxo-3) 100%);
}
.fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
  background-size: 16px 16px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .25) 60%, transparent);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--amarelo);
  color: var(--roxo-4);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 10;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.hub {
  width: min(100% - 32px, var(--col));
  margin: 0 auto;
  padding: calc(26px + env(safe-area-inset-top, 0px)) 0 calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ---------- Perfil ---------- */
.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  animation: entrar .55s var(--ease) both;
}
.perfil__avatar-wrap {
  position: relative;
  width: 176px;
  height: 176px;
  display: grid;
  place-items: center;
}
/* Anel "vem com ela": duas repetições, Manrope leve, tracking largo, gira devagar */
.perfil__anel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: girar 64s linear infinite;
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, .86);
}
.perfil__anel-pontos { fill: rgba(255, 255, 255, .55); }
.perfil__avatar {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--amarelo);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 22px 44px -16px rgba(18, 0, 60, .8);
  display: block;
}
.perfil__avatar img { width: 100%; height: 100%; object-fit: cover; }
.perfil__marca { margin: 4px 0 0; }
.perfil__marca img { width: min(252px, 68vw); height: auto; }
.perfil__bio {
  margin: 0;
  max-width: 36ch;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, .9);
  text-wrap: balance;
}
.redes { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
.redes__item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  color: var(--branco);
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.redes__item svg { width: 24px; height: 24px; fill: currentColor; }
.redes__item:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.redes__item:active { transform: scale(.94); }

/* ---------- Banners ---------- */
.links { display: flex; flex-direction: column; gap: 14px; }
.banner {
  --accent: var(--amarelo);
  position: relative;
  display: block;
  aspect-ratio: 3 / 1;
  border-radius: var(--raio);
  overflow: hidden;
  background: linear-gradient(98deg, #7D35F4 0%, #5C13D2 100%);
  box-shadow: var(--sombra);
  color: var(--branco);
  text-decoration: none;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  animation: entrar .55s var(--ease) both;
  animation-delay: calc(90ms + var(--i, 0) * 55ms);
}
.banner:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(22, 0, 72, .85); }
.banner:active { transform: scale(.985); transition-duration: .08s; }
/* textura do placeholder: listras diagonais roxo-sobre-roxo, bem sutis */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-58deg, rgba(255, 255, 255, .035) 0 10px, transparent 10px 26px);
  z-index: 0;
  pointer-events: none;
}
/* arte final: cobre tudo quando o arquivo existe */
.banner__arte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}
.banner__ph {
  position: absolute;
  inset: 0;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 9px;
  z-index: 2;
  padding-right: 31%;
}
.banner__chip {
  display: inline-block;
  background: var(--accent);
  color: var(--ink, var(--roxo-4));
  font-weight: 800;
  font-size: 10.5px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 9px 6px;
  border-radius: 6px;
  white-space: nowrap;
}
.banner__titulo {
  font-family: var(--fonte-display);
  font-weight: 400;
  font-size: clamp(28px, 8.2vw, 42px);
  line-height: .94;
  letter-spacing: .012em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(30, 0, 80, .18);
  text-wrap: balance;
}
.banner__icone {
  position: absolute;
  right: -2%;
  top: 50%;
  width: 36%;
  max-width: 150px;
  aspect-ratio: 1;
  height: auto;
  transform: translateY(-50%) rotate(-10deg);
  fill: var(--accent);
  opacity: .4;
  z-index: 1;
  pointer-events: none;
  transition: opacity .5s var(--ease), filter .5s var(--ease), transform .5s var(--ease);
}
/* luz atrás do ícone: apagada por padrão, acende no hover/toque */
.banner__luz {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 44%;
  max-width: 190px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
  filter: blur(6px);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.banner:hover .banner__icone,
.banner:focus-visible .banner__icone,
.banner:active .banner__icone {
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 18px var(--accent));
  transform: translateY(-50%) rotate(-10deg) scale(1.03);
}
.banner:hover .banner__luz,
.banner:focus-visible .banner__luz,
.banner:active .banner__luz { opacity: .42; }
/* banner que ainda não tem destino */
.banner[data-pendente]::after {
  content: "em breve";
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--branco);
  background: rgba(30, 0, 80, .35);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 5px 9px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------- Ações e rodapé ---------- */
.acoes { display: flex; justify-content: center; animation: entrar .55s var(--ease) both; animation-delay: .5s; }
.btn-ghost {
  appearance: none;
  border: 1.5px solid rgba(255, 255, 255, .38);
  background: rgba(255, 255, 255, .08);
  color: var(--branco);
  border-radius: 999px;
  padding: 12px 18px 12px 16px;
  font: 700 14px/1 var(--fonte-texto);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn-ghost svg { width: 18px; height: 18px; fill: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-ghost:active { transform: scale(.97); }

.rodape {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding-top: 4px;
  animation: entrar .55s var(--ease) both;
  animation-delay: .6s;
}
.rodape__site {
  color: var(--amarelo);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background .18s var(--ease);
}
.rodape__site:hover { background: rgba(255, 255, 255, .1); }
.rodape__legal {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .62);
  max-width: 38ch;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 16px);
  background: var(--roxo-4);
  color: var(--branco);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .16);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Movimento ---------- */
@keyframes entrar {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes girar { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .perfil, .banner, .acoes, .rodape { animation: none; }
  .perfil__anel { animation: none; }
  .banner, .redes__item, .btn-ghost { transition: none; }
}

/* ---------- Telas maiores ---------- */
@media (min-width: 720px) {
  .hub { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .perfil__avatar-wrap { width: 196px; height: 196px; }
  .perfil__avatar { width: 140px; height: 140px; }
  .perfil__anel { font-size: 11px; }
  .perfil__bio { font-size: 17px; }
  .banner { border-radius: 24px; }
  .banner__ph { padding-left: 30px; }
  .banner__titulo { font-size: 42px; }
}

/* ---------- Variante B do hero: foto à esquerda, marca à direita (site/b/) ---------- */
body.hero-lado .perfil {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "avatar marca"
    "bio bio"
    "redes redes";
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  justify-items: start;
  text-align: left;
}
body.hero-lado .perfil__avatar-wrap { grid-area: avatar; width: 156px; height: 156px; }
body.hero-lado .perfil__avatar { width: 112px; height: 112px; }
body.hero-lado .perfil__anel { font-size: 13px; }
body.hero-lado .perfil__marca { grid-area: marca; margin: 0; }
body.hero-lado .perfil__marca img { width: min(100%, 236px); }
body.hero-lado .perfil__bio { grid-area: bio; max-width: none; text-wrap: pretty; }
body.hero-lado .redes { grid-area: redes; justify-content: flex-start; margin-top: 0; }
@media (min-width: 720px) {
  body.hero-lado .perfil { column-gap: 28px; row-gap: 16px; }
  body.hero-lado .perfil__avatar-wrap { width: 196px; height: 196px; }
  body.hero-lado .perfil__avatar { width: 140px; height: 140px; }
  body.hero-lado .perfil__anel { font-size: 11px; }
  body.hero-lado .perfil__marca img { width: min(100%, 280px); }
}
