/* ============================================================
   Dra. Radmila — Linktree · style.css
   Paleta: azul marinho, dourado, off-white — minimalista
   ============================================================ */

:root {
  --navy:         #0d2340;
  --navy-mid:     #1a3a5c;
  --gold:         #c9a84c;
  --gold-light:   #e2c97e;
  --offwhite:     #f7f4ef;
  --offwhite-dim: rgba(247,244,239,.85);
  --text:         #f7f4ef;
  --text-muted:   rgba(247,244,239,.5);
  --btn-bg: transparent;
  --btn-border:   rgba(13,35,64,.9);
  --btn-hover:    rgba(247,244,239,.14);
  --shadow:       rgba(5,15,30,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
  position: relative;
  overflow-x: hidden;
  background: var(--navy);
}

/* ---------- foto de fundo ---------- */
.bg-photo {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.50;
}

/* celular */
@media (max-width: 600px) {
  .bg-photo {
    background-position: center 10%;
  }
}

/* overlay gradiente suave */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
  rgba(80, 112, 154, 0.55) 0%,
rgba(227, 237, 252, 0.25) 45%,
rgba(74, 113, 165, 0.65) 100%
  );
}

/* ---------- conteúdo ---------- */
.page {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp .8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- logo ---------- */
.logo-wrap {
  margin-bottom: 0rem;
  animation: fadeUp .8s .1s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.logo-img {
  width: min(50px, 22vw);
  height: auto;
  object-fit: contain;
  /* fundo branco da logo fica invisível sobre o fundo escuro */
}

/* ---------- título ---------- */
.titulo-wrap {
  text-align: center;
  margin-bottom: 2.4rem;
  animation: fadeUp .8s .2s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.nome {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--offwhite);
  letter-spacing: .12em;
  margin-bottom: .2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.especialidade {
  font-family: 'Jost', sans-serif;
  font-size: .72rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

.divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ---------- botões ---------- */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  display: block;
  width: 100%;
  padding: 1.1rem 1.8rem;
  border-radius: 3px;                  /* quase reto — estilo minimalista */
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--text);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    background .25s ease,
    border-color .25s ease,
    transform .2s ease,
    letter-spacing .25s ease;
  animation: fadeUp .8s calc(.35s + var(--i,0) * .12s) ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

.links .btn:nth-child(1) { --i: 0; }
.links .btn:nth-child(2) { --i: 1; }
.links .btn:nth-child(3) { --i: 2; }

.btn:hover {
  background: var(--btn-hover);
  border-color: var(--gold);
  color: var(--gold-light);
  letter-spacing: .28em;
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(.98);
}

/* ---------- rodapé ---------- */
.footer {
  margin-top: 2.5rem;
  font-size: .68rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: .1em;
  font-weight: 300;
  animation: fadeUp .8s .7s ease both;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* ---------- responsivo ---------- */
@media (max-width: 400px) {
  .btn { font-size: .7rem; padding: .95rem 1.2rem; }
  .nome { font-size: 1.35rem; }
}
