/* Bonequinha do Caos — bio links
   Paleta e tipografia do Guia de Marca (pág. 09–11, 16). */

:root {
  --preto: #111114;
  --rosa: #F2A7C4;
  --rosa-apoio: #FBE3ED;
  --branco: #FFF9FC;
  --linha: rgba(17, 17, 20, .18);

  --fraunces: "Fraunces", Georgia, serif;
  --archivo: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --raio: 22px;
  --gutter: 20px;
  --largura: 480px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--rosa);
  color: var(--preto);
  font-family: var(--archivo);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

.pagina {
  max-width: var(--largura);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-x: clip;
}

/* Rótulos — Archivo Medium, caixa alta espaçada */
.rotulo {
  font-family: var(--archivo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rotulo--rosa { color: var(--rosa); }

/* ---------- HERO ---------- */
.hero { text-align: center; }

.hero__topo {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--linha);
}

.hero__marca {
  margin: 28px auto 0;
  width: min(100%, 340px);
  line-height: 0;
}
.logo { width: 100%; height: auto; color: var(--preto); }

.hero__handle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 12px 0 0;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
}
.selo-verificado { width: 19px; height: 19px; flex: none; }

/* Prova social: +15 milhões de visualizações */
.prova {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 12px auto 0;
  padding: 8px 16px 8px 13px;
  background: var(--preto);
  color: var(--branco);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  transform: rotate(-1.5deg);
}
.prova svg { width: 18px; height: 18px; color: var(--rosa); flex: none; }
.prova strong {
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 18px;
  color: var(--rosa);
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
/* "pulinho" quando a contagem termina */
.prova--fim { animation: estalo .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes estalo {
  0%   { transform: rotate(-1.5deg) scale(1); }
  45%  { transform: rotate(-3deg) scale(1.08); }
  100% { transform: rotate(-1.5deg) scale(1); }
}

.hero__palco {
  position: relative;
  margin: 18px auto 0;
  width: min(86%, 330px);
  aspect-ratio: 3 / 4;
}

.hero__tiff {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  /* a Tiff "some" suave na base em vez de um corte reto */
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  transform-origin: 50% 100%;
  animation: entra .9s cubic-bezier(.2, .9, .25, 1.15) both;
}

.hero__bio {
  margin: 18px 0 0;
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}
.hero__bio em { font-style: italic; }

/* ---------- DESTAQUE ---------- */
.destaque {
  position: relative;
  margin-top: 28px;
  padding: 26px 22px 24px;
  background: var(--preto);
  color: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
}

.destaque__titulo {
  margin: 10px 0 8px;
  max-width: 15ch;
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1.02;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}

.destaque__sub {
  margin: 0 0 20px;
  max-width: 30ch;
  color: rgba(255, 249, 252, .78);
  font-size: 15px;
}

/* Tiff do celular "sai" do cartão pela direita */
.destaque { margin-top: 96px; overflow: visible; }
.destaque__texto { position: relative; max-width: 58%; }
.destaque__titulo { font-size: clamp(24px, 7vw, 30px); }
.destaque__tiff {
  position: absolute;
  right: -6px;
  bottom: 86px;
  width: 44%;
  max-width: 190px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}
.destaque .botao { position: relative; }

/* Balão do hero */
.hero__balao {
  position: absolute;
  right: -14px;
  top: 3%;
  z-index: 2;
  padding: 10px 14px;
  background: var(--preto);
  color: var(--branco);
  border-radius: 18px 18px 4px 18px;
  font-family: var(--fraunces);
  font-style: italic;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.05;
  text-align: left;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
  transform: rotate(-5deg);
  animation: balanca 3.5s ease-in-out 1s infinite;
}

/* ---------- LOJA ---------- */
.loja {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 190px;
  margin-top: 72px;
  padding: 22px 20px;
  background: var(--rosa-apoio);
  border: 2px solid var(--preto);
  border-radius: var(--raio);
  box-shadow: 0 5px 0 var(--preto);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.loja:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--preto); }
.loja:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--preto); }
.loja__texto { position: relative; z-index: 1; display: grid; gap: 6px; max-width: 56%; }
.loja__titulo {
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.02;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}
.loja__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.loja__cta svg { width: 16px; height: 16px; }
.loja__tiff {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  max-width: 210px;
  height: auto;
  border-radius: 0 0 20px 0;
  pointer-events: none;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px;
  background: var(--rosa);
  color: var(--preto);
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
  animation: pulso 2.8s ease-in-out 1.2s infinite;
}
.botao svg { width: 22px; height: 22px; }
.botao:hover { background: var(--rosa-apoio); }
.botao:active { transform: scale(.97); }

/* ---------- LINKS ---------- */
.links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.link {
  display: grid;
  grid-template-columns: 44px 1fr 22px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px 12px 14px;
  background: var(--branco);
  border: 2px solid var(--preto);
  border-radius: var(--raio);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--preto);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: sobe .5s ease both;
  animation-delay: calc(.25s + var(--i, 0) * .07s);
}
.link:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--preto); }
.link:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--preto); }

.link__icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--rosa-apoio);
}
.link__icone svg { width: 22px; height: 22px; }

.link__texto { display: grid; min-width: 0; }
.link__texto strong {
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 19px;
  line-height: 1.15;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}
.link__texto small {
  font-size: 13.5px;
  color: rgba(17, 17, 20, .68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link__seta svg { width: 20px; height: 20px; transition: transform .15s ease; }
.link:hover .link__seta svg { transform: translate(2px, -2px); }

.secao { margin-top: 36px; }
.secao__titulo {
  margin: 0 0 4px;
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 34px;
  line-height: 1;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}
.secao__titulo em { font-style: italic; }
/* Manda pra amiga nervosa */
.amiga {
  position: relative;
  margin-top: 36px;
  padding: 22px 20px 20px;
  background: var(--rosa-apoio);
  border: 2px dashed var(--preto);
  border-radius: var(--raio);
  text-align: center;
}
.amiga__titulo {
  margin: 0;
  font-family: var(--fraunces);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.05;
  font-variation-settings: "SOFT" 85, "WONK" 1, "opsz" 144;
}
.amiga__titulo em { font-style: italic; }
.amiga__sub { margin: 6px 0 16px; font-size: 15px; color: rgba(17, 17, 20, .72); }
.botao--preto { background: var(--preto); color: var(--branco); animation: none; width: 100%; border: 0; font: 600 16px var(--archivo); cursor: pointer; }
.botao--preto:hover { background: #2a2a30; }
.botao--preto:focus-visible { outline: 3px solid var(--preto); outline-offset: 3px; }
.amiga__opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.amiga__opcoes[hidden] { display: none; }
.amiga__op {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  background: var(--branco);
  color: var(--preto);
  border: 2px solid var(--preto);
  border-radius: 999px;
  font: 600 15px var(--archivo);
  text-decoration: none;
  cursor: pointer;
}
.amiga__op svg { width: 20px; height: 20px; }
.amiga__op:hover { background: var(--rosa); }
.amiga__ok { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; font-size: 14px; }
.amiga__ok:empty { margin: 0; min-height: 0; }

/* Redes: só ícones */
.redes { margin-top: 40px; text-align: center; }
.redes__titulo { margin-bottom: 16px; }
.redes__lista { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.rede {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--preto);
  border-radius: 50%;
  background: var(--branco);
  color: var(--preto);
  box-shadow: 0 4px 0 var(--preto);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  animation: sobe .5s ease both;
  animation-delay: calc(.25s + var(--i, 0) * .07s);
}
.rede svg { width: 26px; height: 26px; }
.rede:hover { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 7px 0 var(--preto); background: var(--preto); color: var(--rosa); }
.rede:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--preto); }
.link--produto { background: var(--preto); color: var(--branco); box-shadow: 0 4px 0 var(--rosa); }
.link--produto:hover { box-shadow: 0 6px 0 var(--rosa); }
.link--produto:active { box-shadow: 0 1px 0 var(--rosa); }
.link--produto .link__icone { background: var(--rosa); color: var(--preto); }
.link--produto .link__texto small { color: rgba(255, 249, 252, .7); }
.link__texto strong { overflow-wrap: anywhere; }

a:focus-visible {
  outline: 3px solid var(--preto);
  outline-offset: 3px;
}
.destaque a:focus-visible { outline-color: var(--rosa); }

/* ---------- RODAPÉ ---------- */
.rodape {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--linha);
  text-align: center;
  font-size: 13px;
}
.rodape p { margin: 0; }
.rodape a { font-weight: 600; text-underline-offset: 3px; }
.rodape__simbolo { width: 56px; height: auto; margin-bottom: 6px; }

/* ---------- ANIMAÇÕES ---------- */
@keyframes entra {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes sobe {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes balanca {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(-1deg) translateY(-3px); }
}
@keyframes pulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(242, 167, 196, .55); }
  50%      { box-shadow: 0 0 0 10px rgba(242, 167, 196, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Telas maiores: centraliza como um "cartão" sobre fundo preto */
@media (min-width: 720px) {
  body { background: var(--preto); padding: 32px 0; }
  .pagina {
    background: var(--rosa);
    border-radius: 36px;
    padding: 26px 28px 30px;
    --gutter: 28px;
  }
}
