/* ===========================
   TOKENS — mesma identidade do site
=========================== */
:root {
  --blue-deep:   #0E2640;
  --blue-dark:   #1C3557;
  --blue-mid:    #2D5F8A;
  --blue-light:  #4A87BF;
  --blue-glow:   #6BA8D8;
  --gold:        #C9A96E;
  --gold-light:  #E8D5B0;
  --white:       #FFFFFF;
  --text-dark:   #15263A;
  --text-mid:    #45607A;
  --text-light:  #8AA0B4;

  --glass-bg:        rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border:    rgba(255, 255, 255, 0.65);
  --glass-shadow:    0 8px 32px rgba(28, 53, 87, 0.12);
  --glass-shadow-lg: 0 24px 64px rgba(28, 53, 87, 0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-body); color: var(--text-dark);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  min-height: 100vh; position: relative; overflow-x: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 20px 48px;
  /* mesmo fundo atmosférico do hero, em tom mais escuro para destacar o cartão */
  background:
    radial-gradient(ellipse 90% 50% at 70% 8%, rgba(107,168,216,.4) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 92%, rgba(201,169,110,.2) 0%, transparent 55%),
    linear-gradient(160deg, #16304F 0%, #21466B 55%, #2D6396 100%);
  background-attachment: fixed;
}
/* Orbes flutuantes */
body::before, body::after {
  content: ''; position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0;
}
body::before {
  width: 360px; height: 360px; top: 5%; right: 8%;
  background: radial-gradient(circle, rgba(107,168,216,.45) 0%, transparent 70%);
  animation: float1 15s ease-in-out infinite;
}
body::after {
  width: 300px; height: 300px; bottom: 8%; left: 4%;
  background: radial-gradient(circle, rgba(201,169,110,.28) 0%, transparent 70%);
  animation: float2 19s ease-in-out infinite;
}
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-26px, 22px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px, -20px); } }

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.link-page {
  position: relative; z-index: 2;
  width: 100%; max-width: 440px;
  display: flex; flex-direction: column; align-items: center;
}

/* ===========================
   CABEÇALHO IDENTIFICADOR
=========================== */
.lp-header { text-align: center; margin-bottom: 8px; opacity: 0; transform: translateY(16px); animation: fadeUp .7s var(--ease) forwards; }
.lp-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px;
  padding: 3px; background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.lp-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(255,255,255,.3); }
.lp-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.lp-role { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); margin-top: 4px; }
.lp-reg { font-size: .68rem; color: rgba(255,255,255,.55); margin-top: 5px; letter-spacing: .04em; }

.lp-intro {
  text-align: center; font-size: .92rem; color: rgba(255,255,255,.82);
  margin: 22px 0 24px; max-width: 320px; line-height: 1.5;
  opacity: 0; transform: translateY(16px); animation: fadeUp .7s var(--ease) .1s forwards;
}

/* ===========================
   LISTA LINKTREE
=========================== */
.lp-links { width: 100%; display: flex; flex-direction: column; gap: 12px; }

.lp-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.55);
  opacity: 0; transform: translateY(18px); animation: fadeUp .6s var(--ease) forwards;
  transition: box-shadow .3s var(--ease), border-color .3s ease, transform .3s var(--ease);
}
/* stagger de entrada */
.lp-item:nth-child(1){ animation-delay:.16s } .lp-item:nth-child(2){ animation-delay:.22s }
.lp-item:nth-child(3){ animation-delay:.28s } .lp-item:nth-child(4){ animation-delay:.34s }
.lp-item:nth-child(5){ animation-delay:.40s }

.lp-item:hover { box-shadow: var(--glass-shadow-lg), inset 0 1px 0 rgba(255,255,255,.6); }
.lp-item--open { border-color: rgba(107,168,216,.6); }
.lp-item--tele { border-color: rgba(201,169,110,.5); }

.lp-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; background: none; border: none; cursor: pointer; text-align: left;
}
.lp-trigger__main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lp-clinic { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--blue-dark); }
.lp-city {
  font-size: .74rem; font-weight: 600; color: var(--blue-mid);
  background: rgba(74,135,191,.14); border: 1px solid rgba(74,135,191,.2);
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.lp-city--tele { color: #9A7B3C; background: rgba(201,169,110,.18); border-color: rgba(201,169,110,.3); }

.lp-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue-light); transition: transform .35s var(--ease); }
.lp-item--open .lp-chevron { transform: rotate(180deg); }

.lp-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.lp-item--open .lp-body { max-height: 240px; padding: 0 20px 20px; }

.lp-info { display: flex; align-items: flex-start; gap: 9px; font-size: .82rem; color: var(--text-mid); line-height: 1.4; }
.lp-info svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--blue-light); }

/* Botão WhatsApp — destaque */
.lp-wpp {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, #25D366 0%, #1FAE55 100%);
  color: var(--white); font-size: .92rem; font-weight: 600;
  padding: 13px 20px; border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(37,211,102,.32);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.lp-wpp:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,211,102,.45); }
.lp-wpp svg { width: 19px; height: 19px; flex-shrink: 0; }

/* ===========================
   INSTAGRAM + FOOTER
=========================== */
.lp-instagram {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 11px 22px; border-radius: 999px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .25s, transform .25s var(--ease);
  opacity: 0; transform: translateY(16px); animation: fadeUp .6s var(--ease) .5s forwards;
}
.lp-instagram:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.lp-instagram svg { width: 18px; height: 18px; }

.lp-footer { margin-top: 28px; text-align: center; opacity: 0; animation: fadeUp .6s var(--ease) .6s forwards; }
.lp-footer p { font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: .04em; }

/* ===========================
   ANIMAÇÕES
=========================== */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lp-header, .lp-intro, .lp-item, .lp-instagram, .lp-footer { opacity: 1; transform: none; }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 420px) {
  .lp-clinic { font-size: 1rem; }
  .lp-trigger { padding: 16px 18px; }
  .lp-name { font-size: 1.25rem; }
}
