/* Tema Beatriz Vicente 1.0.0 (Slyv Solutions). Feminino, premium, mobile-first (390 px).
   Degradê magenta e rosa com faixa vinho, cartões de vidro branco com borda rosa, botões em pílula.
   Motivos de jogo (diamante, cereja, 7, moeda, faísca) só em ícones pequenos, divisórias e no hover,
   todos num único sprite (assets/motivos.svg) ou em CSS puro (clip-path).
   Sem @keyframes e sem animation: o movimento vem do módulo curado do manifesto; aqui só há
   transições curtas, desligadas em prefers-reduced-motion. O fundo fica no body (sem JS). */

@font-face {
  font-family: 'BV Texto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/texto-400.woff2) format('woff2');
}
@font-face {
  font-family: 'BV Texto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/texto-700.woff2) format('woff2');
}

:root {
  --magenta: #b0127a;
  --magenta-escuro: #8a0c58;
  --vinho: #7a0b45;
  --vinho-fundo: #5c0833;
  --pink: #f98bd6;
  --pink-forte: #f25cc0;
  --tinta: #5c0a36;
  --tinta-suave: #7a1450;
  --claro: #fff1f8;
  --vidro: rgb(255 255 255 / 0.9);
  --rose-ouro: linear-gradient(
    135deg,
    #fff0f7 0%,
    #f7c4dc 28%,
    #e7a0bd 52%,
    #fde3ee 74%,
    #dc97b8 100%
  );
  --f-corpo: 'BV Texto', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --anel: 0 0 0 3px var(--vinho-fundo), 0 0 0 6px #fff;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background-color: #b0127a;
  background-image:
    radial-gradient(80% 420px at 50% 120px, rgb(255 190 230 / 0.55) 0%, rgb(255 190 230 / 0) 100%),
    linear-gradient(
      180deg,
      #d8509f 0,
      #c2368f 260px,
      #a3106b 470px,
      #7a0b45 600px,
      #7a0b45 700px,
      #b0127a 840px,
      #c2368f 1200px,
      #8a0c58 2600px,
      #5c0833 100%
    );
  background-repeat: no-repeat;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--claro);
  font-family: var(--f-corpo);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.pagina {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  padding: 28px 16px 36px;
}

/* cabeçalho: a arte da cliente (foto, fundo e nome já estão no desenho) em largura total; o h1 fica só para leitores de tela */
.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.topo {
  position: relative;
  width: calc(100% + 32px);
  margin: -28px -16px 0;
  overflow: hidden;
}
.capa {
  display: block;
  width: 100%;
  height: auto;
}
/* emenda da arte com o degradê da página: nasce na cor da borda da imagem e some no fundo, sem cobrir o nome */
.topo::after {
  content: '';
  display: block;
  height: 56px;
  background: linear-gradient(180deg, #f1b5ca 0, rgb(241 181 202 / 0.55) 38%, rgb(241 181 202 / 0) 100%);
}
.nome {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.enfeite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 260px;
  margin: 14px auto 0;
}
.fio {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(255 225 243 / 0), rgb(255 225 243 / 0.85));
}
.fio:last-child {
  background: linear-gradient(270deg, rgb(255 225 243 / 0), rgb(255 225 243 / 0.85));
}
.motivo {
  flex: none;
  width: 26px;
  height: 26px;
  background: url(assets/motivos.svg) 0 0 / 600% 100% no-repeat;
}
.m1 {
  background-position: 0 0;
}
.m2 {
  background-position: 20% 0;
}
.m3 {
  background-position: 40% 0;
}
.m4 {
  background-position: 60% 0;
}
.m5 {
  background-position: 80% 0;
}

/* cartão da bio: vidro branco com borda rosa */
.cartao-bio {
  position: relative;
  margin-top: 24px;
  padding: 20px 20px 22px;
  border: 2px solid var(--pink-forte);
  border-radius: 28px;
  background: var(--vidro);
  color: var(--tinta);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.8),
    0 14px 34px rgb(74 6 42 / 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cartao-bio::after {
  content: '';
  position: absolute;
  top: -11px;
  right: 22px;
  width: 20px;
  height: 20px;
  background: var(--pink-forte);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.bio {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  text-wrap: pretty;
}

/* links em pílula de vidro */
nav {
  margin-top: 26px;
}
.links {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.links li {
  min-width: 0;
}
.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 10px 60px;
  border: 2px solid var(--pink-forte);
  border-radius: 999px;
  background: var(--vidro);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.85),
    0 8px 22px rgb(74 6 42 / 0.3);
  color: var(--tinta);
  font-family: var(--f-corpo);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}
.rotulo {
  min-width: 0;
  text-wrap: balance;
}

/* ícone: bolha rosé com um motivo do sprite (cicla: diamante, cereja, 7, moeda, faísca) */
.ic {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background:
    url(assets/motivos.svg) 0 0 / 600% 100% no-repeat,
    linear-gradient(135deg, #fff 0%, #ffd3ec 100%);
  box-shadow:
    inset 0 0 0 1px rgb(242 92 192 / 0.55),
    0 2px 6px rgb(138 12 88 / 0.22);
  background-origin: padding-box;
  transform: translateY(-50%);
}
.links li:nth-child(5n + 2) .ic {
  background-position:
    20% 0,
    0 0;
}
.links li:nth-child(5n + 3) .ic {
  background-position:
    40% 0,
    0 0;
}
.links li:nth-child(5n + 4) .ic {
  background-position:
    60% 0,
    0 0;
}
.links li:nth-child(5n + 5) .ic {
  background-position:
    80% 0,
    0 0;
}

/* seta desenhada em CSS */
.seta {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  border: solid var(--magenta);
  border-width: 2.5px 2.5px 0 0;
  transform: translateY(-50%) rotate(45deg);
  transition: right 160ms ease;
}

/* brilho rosé que cruza o botão no hover */
.brilho {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.brilho::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgb(255 255 255 / 0) 35%,
    rgb(249 139 214 / 0.45) 50%,
    rgb(255 255 255 / 0) 65%
  );
  background-position: 140% 0;
  background-size: 220% 100%;
  background-repeat: no-repeat;
  transition: background-position 700ms ease;
}

/* faíscas que acendem nos cantos no hover */
.link::before,
.seta::after {
  content: '';
  position: absolute;
  background: var(--rose-ouro);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 160ms ease,
    transform 220ms ease;
  pointer-events: none;
}
.link::before {
  top: -10px;
  left: 64px;
  width: 18px;
  height: 18px;
  background: #fff;
  filter: drop-shadow(0 0 4px rgb(249 139 214 / 0.9));
}
.seta::after {
  top: 14px;
  right: -22px;
  width: 14px;
  height: 14px;
  transform: rotate(-45deg) scale(0.4);
  background: #fff;
}

.link:hover,
.link:active,
.link:focus-visible {
  transform: translateY(-2px);
  border-color: #ff7acb;
  box-shadow:
    inset 0 0 0 1px #fff,
    0 12px 28px rgb(74 6 42 / 0.4),
    0 0 26px rgb(249 139 214 / 0.75);
}
.link:hover .brilho::before,
.link:focus-visible .brilho::before {
  background-position: -40% 0;
}
.link:hover::before,
.link:focus-visible::before,
.link:hover .seta::after,
.link:focus-visible .seta::after {
  opacity: 1;
  transform: scale(1);
}
.link:hover .seta::after,
.link:focus-visible .seta::after {
  transform: rotate(-45deg) scale(1);
}
.link:hover .seta,
.link:focus-visible .seta {
  right: 20px;
}
.link:active {
  transform: translateY(0);
}
.link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
  box-shadow:
    inset 0 0 0 1px #fff,
    0 0 0 3px var(--vinho-fundo),
    0 12px 28px rgb(74 6 42 / 0.4);
}

/* primeiro link: destaque principal, vidro mais claro e brilho rosé fixo */
.links li:first-child .link {
  min-height: 70px;
  background: #fff;
  border-color: #ff6fc8;
  box-shadow:
    inset 0 0 0 1px #fff,
    0 10px 28px rgb(74 6 42 / 0.36),
    0 0 30px rgb(249 139 214 / 0.55);
  font-size: 18px;
}

/* destaque de oferta: títulos com oferta, cupom, promo, desconto ou bônus ganham a etiqueta */
.link[data-titulo*='oferta' i]::after,
.link[data-titulo*='cupom' i]::after,
.link[data-titulo*='promo' i]::after,
.link[data-titulo*='desconto' i]::after,
.link[data-titulo*='bônus' i]::after,
.link[data-titulo*='bonus' i]::after {
  content: 'Oferta';
  position: absolute;
  top: -10px;
  right: 26px;
  padding: 2px 10px 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4228f, #8a0c58);
  box-shadow:
    0 0 0 2px #fff,
    0 4px 10px rgb(74 6 42 / 0.35);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* botão secundário do Instagram: contorno de vidro, ao fim da lista */
.links li:has(.link[data-titulo*='instagram' i]) {
  order: 99;
  margin-top: 6px;
}
.link[data-titulo*='instagram' i] {
  min-height: 60px;
  border-color: rgb(255 225 243 / 0.9);
  background: rgb(92 8 51 / 0.3);
  box-shadow: 0 6px 18px rgb(74 6 42 / 0.28);
  color: var(--claro);
}
.links .link[data-titulo*='instagram' i] .ic {
  background:
    url(assets/img/instagram.webp) 50% 50% / 30px 30px no-repeat,
    linear-gradient(135deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.06));
  box-shadow: inset 0 0 0 1px rgb(255 225 243 / 0.65);
}
.link[data-titulo*='instagram' i] .seta {
  border-color: var(--claro);
}
.link[data-titulo*='instagram' i]:hover,
.link[data-titulo*='instagram' i]:active,
.link[data-titulo*='instagram' i]:focus-visible {
  background: rgb(92 8 51 / 0.45);
  border-color: #fff;
  box-shadow:
    0 12px 28px rgb(74 6 42 / 0.4),
    0 0 26px rgb(249 139 214 / 0.55);
}

/* rodapé: assinatura e transparência do motor (nunca ocultos, 12 px ou mais) */
.rodape {
  margin-top: 34px;
  padding-top: 4px;
  text-align: center;
  font-family: var(--f-corpo);
  font-size: 13px;
  line-height: 1.5;
  color: var(--claro);
}
.enfeite-rodape {
  max-width: 160px;
  margin: 0 auto 6px;
}
.rodape a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--claro);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rodape a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}
.rodape a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: var(--anel);
  border-radius: 6px;
}
.rodape-transparencia {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 20px;
}

/* gatilho da assinatura: botão do motor que abre o modal de contato (classes estáveis do motor) */
.assinatura {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  color: var(--claro);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.assinatura:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}
.assinatura:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: var(--anel);
  border-radius: 6px;
}

/* modal de contato: cores e fontes pelas propriedades --contato-* do motor; o prefixo .rodape dá
   a especificidade que vence a do motor nas demais propriedades. */
.contato-modal {
  --contato-fundo: #fff4fa;
  --contato-texto: #5c0a36;
  --contato-borda: #f25cc0;
  --contato-cortina: rgb(74 6 42 / 0.78);
  --contato-foco: #b0127a;
  --contato-fonte: var(--f-corpo);
  --contato-fonte-titulo: var(--f-corpo);
  --contato-botao-fundo: #fff;
  --contato-botao-borda: #f25cc0;
  --contato-botao-texto: #8a0c58;
  --contato-principal-fundo: #b0127a;
  --contato-principal-borda: #b0127a;
  --contato-principal-texto: #fff;
  text-align: center;
}
.rodape .contato-modal {
  padding: 30px 22px 12px;
  border-radius: 28px;
  box-shadow:
    0 0 0 6px rgb(255 255 255 / 0.4),
    0 26px 60px rgb(74 6 42 / 0.5);
}
.rodape .contato-modal::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  margin: -8px auto 10px;
  background: var(--pink-forte);
  color: var(--tinta);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.rodape .contato-modal .contato-titulo {
  background: #fff4fa;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: #a0106f;
}
.rodape .contato-modal .contato-texto {
  background: #fff4fa;
  color: var(--tinta);
}
.rodape .contato-modal .contato-botao {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}
.rodape .contato-modal .contato-botao:hover {
  background: #ffe3f3;
  color: var(--magenta-escuro);
  text-decoration: none;
  box-shadow: 0 0 18px rgb(249 139 214 / 0.8);
}
.rodape .contato-modal .contato-botao-principal:hover {
  background: var(--magenta-escuro);
  border-color: var(--magenta-escuro);
  color: #fff;
}
.rodape .contato-modal .contato-fechar {
  background: #fff4fa;
  color: var(--magenta-escuro);
  font-weight: 700;
}
.rodape .contato-modal .contato-fechar:hover {
  background: #fff4fa;
  color: var(--tinta);
}

/* telas médias e largas: coluna central de vidro sobre o degradê horizontal com faixa vinho */
@media (min-width: 768px) {
  html {
    background-image:
      radial-gradient(60% 40% at 50% 0%, rgb(249 139 214 / 0.35) 0%, rgb(249 139 214 / 0) 100%),
      linear-gradient(
        90deg,
        #b0127a 0%,
        #d6479f 16%,
        #f98bd6 34%,
        #b3126f 45%,
        #7a0b45 50%,
        #b3126f 55%,
        #f98bd6 66%,
        #d6479f 84%,
        #b0127a 100%
      );
  }
  .pagina {
    max-width: 480px;
    margin: 36px auto;
    padding: 36px 32px 28px;
    border: 1px solid rgb(255 200 235 / 0.45);
    border-radius: 40px;
    background: rgb(92 8 51 / 0.62);
    box-shadow:
      inset 0 0 0 1px rgb(255 255 255 / 0.08),
      0 30px 80px rgb(60 0 34 / 0.55);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
  }
  .topo {
    width: calc(100% + 64px);
    margin: -36px -32px 0;
  }
}

@media (max-width: 340px) {
  .pagina {
    padding-right: 12px;
    padding-left: 12px;
  }
  .topo {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
  }
  .link {
    padding-right: 48px;
    padding-left: 54px;
    font-size: 16px;
  }
  .ic {
    left: 8px;
  }
  .seta {
    right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link,
  .seta,
  .brilho::before,
  .link::before,
  .seta::after,
  .rodape .contato-modal .contato-botao {
    transition: none;
  }
  .link:hover,
  .link:focus-visible {
    transform: none;
  }
}

@media (forced-colors: active) {
  .link,
  .cartao-bio {
    border-color: CanvasText;
  }
  .link:focus-visible {
    outline-color: Highlight;
  }
}
