/* ============================================
   DRA. SANDRA ARAÚJO — LINK BIO
   Paleta: Teal #6BAEA7 · Prata #ACACAC · Creme #F7FAF9
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal:        #6BAEA7;
  --teal-dark:   #4A8A83;
  --teal-light:  #9ECDC8;
  --teal-pale:   #EAF5F4;
  --silver:      #ACACAC;
  --silver-light:#D6D6D6;
  --gold:        #C9A96E;
  --gold-light:  #E8D5AA;
  --bg:          #F4F8F7;
  --bg-card:     rgba(255, 255, 255, 0.92);
  --text-dark:   #1E2D2B;
  --text-mid:    #4A5E5C;
  --text-soft:   #7A938F;
  --radius-card: 28px;
  --radius-btn:  50px;
  --shadow-card: 0 20px 60px rgba(75, 138, 131, 0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-btn:  0 4px 18px rgba(75, 138, 131, 0.22);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Lato', system-ui, sans-serif;
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Background Orbs ---------- */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, var(--teal-light), transparent 70%);
  animation-delay: 0s;
}

.bg-orb-2 {
  width: 320px;
  height: 320px;
  bottom: -80px;
  right: -80px;
  background: radial-gradient(circle, var(--gold-light), transparent 70%);
  animation-delay: 4s;
}

.bg-orb-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  background: radial-gradient(circle, var(--teal-pale), transparent 70%);
  animation-delay: 8s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 30px) scale(1.08); }
}

/* ---------- Page Wrapper ---------- */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 32px 16px 100px;
}

/* ---------- Card ---------- */
.card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-card);
  border: 1px solid rgba(107, 174, 167, 0.18);
  box-shadow: var(--shadow-card);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: cardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* ---------- Logo ---------- */
.logo-wrap {
  margin-bottom: 16px;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(107, 174, 167, 0.25));
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

/* ---------- Avatar ---------- */
.avatar-wrap {
  margin-bottom: 20px;
}

.avatar-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 8px 32px rgba(107, 174, 167, 0.35);
}

.avatar {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid white;
  transition: transform var(--transition);
}

.avatar:hover {
  transform: scale(1.03);
}

/* ---------- Profile Header ---------- */
.profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.credentials {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.specialty {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 400;
  margin-bottom: 8px;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.location svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* ---------- Divider ---------- */
.divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  margin: 4px 0 24px;
  opacity: 0.7;
}

/* ---------- Links Nav ---------- */
.links-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

/* ---------- Link Button ---------- */
.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid rgba(107, 174, 167, 0.25);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--teal-pale), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
}

.link-btn:hover::before,
.link-btn:focus::before {
  opacity: 1;
}

.link-btn:hover,
.link-btn:focus {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
  outline: none;
}

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

/* Primary CTA button */
.link-btn--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
}

.link-btn--primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
}

.link-btn--primary:hover,
.link-btn--primary:focus {
  background: linear-gradient(135deg, var(--teal-dark), #3a716b);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(75, 138, 131, 0.4);
}

.link-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(107, 174, 167, 0.12);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--transition);
}

.link-btn--primary .link-btn__icon {
  background: rgba(255, 255, 255, 0.2);
}

.link-btn:hover .link-btn__icon {
  background: rgba(107, 174, 167, 0.2);
}

.link-btn--primary:hover .link-btn__icon {
  background: rgba(255, 255, 255, 0.3);
}

.link-btn__text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.link-btn__arrow {
  font-size: 1rem;
  opacity: 0.45;
  position: relative;
  z-index: 1;
  transition: transform var(--transition), opacity var(--transition);
}

.link-btn:hover .link-btn__arrow {
  transform: translateX(3px);
  opacity: 0.8;
}

/* ---------- Gallery ---------- */
.gallery {
  width: 100%;
  margin-bottom: 24px;
}

.gallery__inner {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: flex-end;
}

.gallery__img {
  width: calc(33.333% - 7px);
  max-width: 130px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
  border: 2px solid rgba(107, 174, 167, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.gallery__img--center {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(107, 174, 167, 0.25);
  border-color: var(--teal-light);
}

.gallery__img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(107, 174, 167, 0.3);
}

.gallery__img--center:hover {
  transform: translateY(-14px) scale(1.02);
}

/* ---------- Card Footer ---------- */
.card-footer {
  text-align: center;
  margin-top: 4px;
}

.footer-text {
  font-size: 0.72rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.footer-sub {
  font-size: 0.68rem;
  color: var(--silver);
  letter-spacing: 0.03em;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #00AD57;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 173, 87, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0, 173, 87, 0.55);
}

.whatsapp-float:active {
  transform: scale(0.96);
}

/* Pulse ring animation */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(0, 173, 87, 0.4);
  animation: waPulse 2.4s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 20px 12px 100px;
  }

  .card {
    padding: 28px 20px 28px;
    border-radius: 22px;
  }

  .name {
    font-size: 1.7rem;
  }

  .avatar-ring {
    width: 115px;
    height: 115px;
  }

  .avatar {
    width: 109px;
    height: 109px;
  }

  .link-btn {
    padding: 13px 16px;
  }

  .link-btn__icon {
    width: 34px;
    height: 34px;
  }

  .bg-orb-1 { width: 280px; height: 280px; }
  .bg-orb-2 { width: 220px; height: 220px; }
  .bg-orb-3 { display: none; }
}

@media (max-width: 360px) {
  .name { font-size: 1.5rem; }

  .gallery__img {
    border-radius: 12px;
  }
}

/* ---------- Focus visible (accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
