/* Helô Couto · linktree
   Identidade visual: Ticiana Saldanha (Helo_Couto_IDVisual.pdf) */

/* Fontes da marca: Roca Two (títulos e corpo) e More Sugar Thin (detalhes manuscritos).
   Da Roca Two só temos a Bold; o texto em peso regular usa Fraunces (Google Fonts)
   até chegar a Roca Two Regular. */

@font-face {
  font-family: "Roca Two";
  src: url("assets/fonts/RocaTwo-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "More Sugar";
  src: url("assets/fonts/MoreSugar-Thin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paleta */
  --preto-grafite: #1c1a19;
  --vermelho-oleoso: #91282a;
  --rose-aquarela: #f1c2b3;
  --laranja-seco: #c87d5a;
  --bege-pastel: #debfa5;
  --cinza-esfumado: #dbe0e4;
  --branco-papel: #ffffff;
  --canvas: #cad2d2;

  /* tipografia */
  --fonte-titulo: "Roca Two", "Fraunces", Georgia, serif;
  --fonte-texto: "Fraunces", Georgia, serif;
  --fonte-manuscrita: "More Sugar", "Segoe Print", cursive;
}

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

html {
  background: var(--canvas) url("assets/textura-canvas.jpg") 0 0 / 340px repeat;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  color: var(--preto-grafite);
  font-family: var(--fonte-texto);
  font-variation-settings: "SOFT" 100;
  overflow-x: hidden;
}

/* pincelada laranja na lateral, como na capa da ID */
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  top: 0;
  left: 0;
  height: 100%;
  aspect-ratio: 320 / 1238;
  background-image: url("assets/pincelada-laranja.webp");
}

.pagina {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: max(56px, env(safe-area-inset-top)) 24px max(40px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- topo ---------- */

.topo {
  text-align: center;
  margin-bottom: 40px;
}

.topo__logo {
  margin: 0;
  line-height: 0;
}

.topo__logo img {
  width: min(250px, 64vw);
  height: auto;
}

.topo__assinatura {
  margin: 14px 0 0;
  font-family: var(--fonte-manuscrita);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--vermelho-oleoso);
  letter-spacing: 0.02em;
}

/* ---------- links ---------- */

.links {
  width: 100%;
  display: grid;
  gap: 16px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 12px 26px 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
}

.link__icone {
  flex: none;
  width: 26px;
  height: 26px;
}

.link__texto {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.link__titulo {
  font-family: var(--fonte-titulo);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.15;
}

.link__detalhe {
  font-size: 0.95rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.link--whatsapp {
  background: var(--vermelho-oleoso);
  color: var(--branco-papel);
  box-shadow: 0 14px 26px -18px rgba(70, 18, 18, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.link--whatsapp .link__detalhe { opacity: 0.88; }

.link__seta {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.link--whatsapp:hover {
  background: #7e2223;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -18px rgba(70, 18, 18, 0.95);
}

.link--whatsapp:hover .link__seta { transform: translateX(3px); }

.link--whatsapp:active { transform: translateY(0); }

.link--whatsapp:focus-visible {
  outline: 2px solid var(--preto-grafite);
  outline-offset: 4px;
}

.link--em-breve {
  background: var(--bege-pastel);
  color: rgba(28, 26, 25, 0.78);
  cursor: default;
}

.link__selo {
  flex: none;
  font-family: var(--fonte-manuscrita);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--vermelho-oleoso);
  transform: rotate(-6deg);
}

/* ---------- entrada suave ---------- */

@media (prefers-reduced-motion: no-preference) {
  .topo,
  .link {
    animation: surgir 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .link:nth-child(1) { animation-delay: 0.12s; }
  .link:nth-child(2) { animation-delay: 0.22s; }
}

@keyframes surgir {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- celular ---------- */

@media (max-width: 599px) {
  /* deixa só a borda da pincelada aparecendo para não disputar com o conteúdo */
  body::before { transform: translateX(-16%); }
}
