:root {
  --primary-wine: #660F25; --wine-dark: #4E0C1C; --accent-gold: #D4AF37;
  --gold-soft: rgba(212, 175, 55, 0.18); --canvas-bg: #FBF9F6; --card-bg: #FFFFFF;
  --text-main: #22181C; --text-muted: #6B5E62; --radius-lg: 22px; --radius-md: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh; font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--canvas-bg); color: var(--text-main); display: flex; justify-content: center;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; }
.bio-page {
  width: 100%; min-height: 100vh; max-width: 520px; position: relative;
  background: #ffffff; box-shadow: 0 0 50px rgba(78, 12, 28, 0.06);
}
.hero { position: relative; height: clamp(320px, 85vw, 360px); overflow: hidden; background: var(--primary-wine); }
.hero picture, .hero__image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 52%; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, #ffffff 100%);
  pointer-events: none;
}
.profile-header {
  text-align: center;
  padding: 0 20px 20px;
  margin-top: -12px;
  position: relative;
  z-index: 2;
}
.profile-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.profile-logo {
  width: 126px !important;
  height: auto !important;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(102, 15, 37, 0.12));
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gold-soft);
  color: var(--primary-wine);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.profile-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-wine);
  line-height: 1.15;
  margin-bottom: 4px;
}
.profile-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-gold);
  line-height: 1.4;
}
.links { display: grid; gap: 14px; padding: 0 18px 28px; }
.links-separator {
  width: 100%;
  max-width: 240px;
  height: 1px;
  margin: 4px auto;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  position: relative;
}
.links-separator::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
}
.link-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(102, 15, 37, 0.1);
  box-shadow: 0 6px 20px rgba(78, 12, 28, 0.04);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
  font-family: inherit;
}
.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 24px rgba(102, 15, 37, 0.08);
}
.link-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-wine);
  background: rgba(102, 15, 37, 0.06);
  border: 1px solid rgba(102, 15, 37, 0.1);
  flex-shrink: 0;
}
.link-icon-logo {
  width: 30px !important; height: 30px !important;
  border-radius: 50%; display: block; object-fit: contain; margin: 0 auto;
}
.link-content strong { display: block; font-size: 0.98rem; font-weight: 600; color: var(--primary-wine); margin-bottom: 2px; }
.link-content span { display: block; font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; }
.link-card-highlight {
  background: linear-gradient(135deg, var(--primary-wine) 0%, var(--wine-dark) 100%);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 12px 28px rgba(102, 15, 37, 0.22);
}
.link-card-highlight .link-icon { background: rgba(212, 175, 55, 0.2); color: #ffffff; border-color: rgba(212, 175, 55, 0.4); }
.link-card-highlight .link-content strong { color: #ffffff; }
.link-card-highlight .link-content span { color: rgba(255, 255, 255, 0.88); }
.whatsapp-animated-btn { position: relative; overflow: hidden; }
.animated-border {
  position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.animated-border::before {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(transparent 60%, var(--accent-gold) 85%, transparent 100%);
  animation: spinBorder 3s linear infinite;
}
@keyframes spinBorder { to { transform: rotate(360deg); } }
/* Modais */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(34, 24, 28, 0.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease; padding: 16px;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: #ffffff; border-radius: var(--radius-lg); width: 100%; max-width: 460px;
  max-height: 88vh; overflow-y: auto; position: relative; transform: translateY(16px);
  transition: transform 0.25s ease; padding: 26px 18px 18px;
  box-shadow: 0 20px 50px rgba(34, 24, 28, 0.25); border: 1px solid rgba(102, 15, 37, 0.1);
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 12px; background: rgba(102, 15, 37, 0.08);
  border: none; color: var(--primary-wine); width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
/* Quiz */
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.25s ease; }
.quiz-question { font-size: 1.02rem; font-weight: 600; color: var(--primary-wine); margin-bottom: 18px; line-height: 1.35; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option {
  width: 100%; padding: 12px 14px; background: #ffffff; border: 1px solid rgba(102, 15, 37, 0.12);
  border-radius: var(--radius-md); color: var(--text-main); font-size: 0.88rem; font-family: inherit;
  text-align: left; cursor: pointer; transition: all 0.15s ease; line-height: 1.35;
}
.quiz-option:hover { background: #FAF7F5; border-color: var(--primary-wine); transform: translateX(3px); }
.quiz-steps-indicator { display: flex; gap: 6px; margin: 10px 0 18px; }
.quiz-step-dot { flex: 1; height: 4px; background-color: rgba(102, 15, 37, 0.12); border-radius: 4px; transition: background-color 0.2s ease; }
.quiz-step-dot.active { background-color: var(--primary-wine); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.footer { text-align: center; padding: 0 16px 20px; color: var(--text-muted); font-size: 0.75rem; }
.wa-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 999; width: 52px; height: 52px;
  border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); animation: waPulse 2s infinite ease-in-out;
}
@keyframes waPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
