/* Paixão Psicologia — linktree
   Cores e proporções extraídas do PSD (canvas 996x1920). */

:root {
  --tan: 195, 167, 141;        /* #c3a78d — cor da marca (do PSD) */
  --btn-fill: rgba(var(--tan), 0.18);
  --btn-fill-hover: rgba(var(--tan), 0.32);
  --btn-border: rgba(var(--tan), 0.55);
  --btn-text: rgb(var(--tan)); /* texto/ícones na cor da marca */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--btn-text);
  -webkit-font-smoothing: antialiased;
}

/* Página: em telas grandes o conteúdo vira uma coluna central com largura
   de celular; o resto da viewport é preenchido com a MESMA foto borrada e
   escurecida ao fundo. No mobile a coluna ocupa a largura toda. */
.page {
  min-height: 100svh;
  background: #1a1714;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page::before {
  /* backdrop borrado para telas largas */
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/bg.jpg") center center / cover no-repeat;
  filter: blur(40px) brightness(0.5) saturate(1.1);
  transform: scale(1.15);
  pointer-events: none;
  z-index: 0;
}

/* Coluna central = "celular": foto nítida + conteúdo */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  min-height: 100svh;
  background: url("assets/bg.jpg") center center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  overflow: hidden;
}
.content::before {
  /* leve escurecimento sobre a foto nítida para garantir leitura */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.34) 100%);
  pointer-events: none;
}

/* Conjunto logo + botões + redes, deslocado ~10% acima do centro */
.stack {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-8vh);
}

.logo {
  width: 56%;
  max-width: 230px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.35));
}

.links {
  width: 100%;
  margin-top: clamp(26px, 5vh, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 22px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(16px, 4.6vw, 19px);
  letter-spacing: 0.2px;
  color: var(--btn-text);
  background: var(--btn-fill);
  border: 1px solid var(--btn-border);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 4px 16px rgba(0,0,0,0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--btn-fill-hover);
  transform: translateY(-1px);
  outline: none;
}

.btn:active { transform: translateY(0); }

.socials {
  margin-top: clamp(22px, 4vh, 36px);
  display: flex;
  gap: 14px;
  align-items: center;
}

.socials a {
  display: inline-flex;
  color: var(--btn-text);
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.socials a:hover { transform: translateY(-2px); opacity: 1; }

.socials svg {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.3));
}

@media (max-width: 360px) {
  .content { padding-left: 20px; padding-right: 20px; }
}

/* Animação sutil de entrada: fade + leve deslize, em sequência */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* backwards: fica escondido durante o delay e, ao terminar, devolve o
   controle do transform ao :hover dos botões (evita travar o efeito). */
.logo,
.links .btn,
.socials {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.logo            { animation-delay: 0.10s; }
.links .btn:nth-child(1) { animation-delay: 0.28s; }
.links .btn:nth-child(2) { animation-delay: 0.40s; }
.links .btn:nth-child(3) { animation-delay: 0.52s; }
.socials         { animation-delay: 0.66s; }

@media (prefers-reduced-motion: reduce) {
  .logo,
  .links .btn,
  .socials {
    animation: none;
  }
}
