/* ==========================================================================
   JULIANA PÊGO — LINK NA BIO (CREME, OURO CHAMPANHE & CONTORNOS VERDE-SÁLVIA)
   Arquitetura de Design System em 3 Camadas: Primitive → Semantic → Component
   Estética: Papelaria Editorial de Luxo + Hotelaria 5 Estrelas + Arte Botânica
   ========================================================================== */

:root {
  /* 1. PRIMITIVE TOKENS */
  --cream-50: #fffdf9;
  --cream-100: #fcf8f0;
  --cream-200: #f4ecdd;
  --cream-300: #ebe0cc;

  --gold-200: #f2dfb9;
  --gold-300: #e5c68b;
  --gold-400: #cfa559;
  --gold-500: #b6863a;
  --gold-700: #8a601f;

  --forest-900: #14281f;
  --forest-700: #1b382b;
  --forest-600: #274c3b;
  --forest-500: #4c685b;
  --forest-400: #6c8378;

  /* 2. SEMANTIC TOKENS */
  --surface-canvas-top: var(--cream-100);
  --surface-canvas-mid: var(--cream-200);
  --surface-canvas-bot: var(--cream-300);
  --surface-card: var(--cream-50);

  --ink-heading: var(--forest-900);
  --ink-body: #4d5d54;
  --ink-muted: #76847c;

  --accent-gold: var(--gold-500);
  --accent-gold-strong: var(--gold-700);
  --accent-forest: var(--forest-700);
  --accent-sage: var(--forest-500);

  --border-gold-soft: rgba(182, 134, 58, 0.28);
  --border-gold-mid: rgba(182, 134, 58, 0.48);
  --border-gold-strong: rgba(182, 134, 58, 0.72);
  --border-forest-whisper: rgba(27, 56, 43, 0.14);
  --border-forest-soft: rgba(27, 56, 43, 0.24);

  /* 3. COMPONENT TOKENS */
  --frame-radius: 28px;
  --card-radius: 20px;
  --btn-radius: 13px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  background-color: var(--surface-canvas-mid);
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(
    172deg,
    var(--surface-canvas-top) 0%,
    var(--surface-canvas-mid) 50%,
    var(--surface-canvas-bot) 100%
  );
  color: var(--ink-heading);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   FUNDO ARTÍSTICO: CREME DE ALGODÃO + OURO CHAMPANHE + NÉVOA SÁLVIA SUAVE
   ========================================================================== */
.luxury-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.silk-beam {
  position: absolute;
  inset: -18%;
  background: linear-gradient(
    126deg,
    rgba(255, 255, 255, 0) 22%,
    rgba(255, 253, 246, 0.78) 47%,
    rgba(229, 198, 139, 0.16) 58%,
    rgba(255, 255, 255, 0) 78%
  );
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.ambient-glow-top {
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 410px;
  background: radial-gradient(
    ellipse at center,
    rgba(222, 184, 114, 0.34) 0%,
    rgba(241, 224, 192, 0.25) 48%,
    rgba(244, 236, 221, 0) 76%
  );
}

/* Toques levíssimos de aquarela verde-sálvia nas extremidades — zero peso */
.ambient-glow-sage-tr {
  top: 12%;
  right: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle at center,
    rgba(39, 76, 59, 0.085) 0%,
    rgba(83, 117, 102, 0.035) 52%,
    rgba(244, 236, 221, 0) 76%
  );
}

.ambient-glow-sage-bl {
  bottom: 8%;
  left: -130px;
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle at center,
    rgba(27, 56, 43, 0.08) 0%,
    rgba(83, 117, 102, 0.03) 50%,
    rgba(235, 224, 204, 0) 76%
  );
}

.ambient-glow-bottom {
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 350px;
  background: radial-gradient(
    ellipse at center,
    rgba(205, 162, 86, 0.24) 0%,
    rgba(235, 215, 180, 0.18) 50%,
    rgba(235, 224, 204, 0) 76%
  );
}

/* Arte vetorial editorial (fitas caligráficas + arcos duplos + ramos botânicos) */
.backdrop-art {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 142vw);
  height: 100%;
  opacity: 0.96;
}

/* Textura fina de papel de algodão */
.paper-grain {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    radial-gradient(rgba(182, 134, 58, 0.12) 0.55px, transparent 0.55px),
    radial-gradient(rgba(27, 56, 43, 0.06) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* ==========================================================================
   SHELL & MOLDURA ARQUITETÔNICA PORCELANA (OURO + CONTORNO VERDE SUTIL)
   ========================================================================== */
.bio-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 38px;
}

.bio-frame {
  position: relative;
  width: 100%;
  max-width: 458px;
  padding: 40px 26px 30px;
  border-radius: var(--frame-radius);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0.87) 0%,
    rgba(252, 247, 238, 0.78) 54%,
    rgba(249, 242, 229, 0.85) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(188, 144, 70, 0.42);
  box-shadow:
    0 30px 68px -26px rgba(20, 40, 31, 0.16),
    0 12px 28px -14px rgba(182, 134, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(196, 152, 78, 0.18);
  animation: gentleReveal 0.7s var(--ease-luxury) both;
}

/* Filete interno ultrafino em verde-sálvia suave (contorno duplo de luxo) */
.frame-inner-trim {
  position: absolute;
  inset: 7px;
  border-radius: 21px;
  border: 1px solid var(--border-forest-whisper);
  pointer-events: none;
}

/* Coroa ornamental no topo da moldura (ouro + leve traço verde) */
.frame-crest {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  background: var(--cream-50);
  border: 1px solid var(--border-gold-soft);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 10px -4px rgba(27, 56, 43, 0.14);
}

.crest-wing {
  width: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(27, 56, 43, 0.36), rgba(182, 134, 58, 0.55));
}

.crest-diamond {
  width: 6.5px;
  height: 6.5px;
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 100%);
  transform: rotate(45deg);
}

/* Ornamentos de canto em fio dourado com ponto verde discreto */
.frame-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.85;
}

.corner-tl {
  top: 13px;
  left: 13px;
  border-top: 1.3px solid var(--gold-500);
  border-left: 1.3px solid var(--gold-500);
  border-top-left-radius: 13px;
}

.corner-tr {
  top: 13px;
  right: 13px;
  border-top: 1.3px solid var(--gold-500);
  border-right: 1.3px solid var(--gold-500);
  border-top-right-radius: 13px;
}

.corner-bl {
  bottom: 13px;
  left: 13px;
  border-bottom: 1.3px solid var(--gold-500);
  border-left: 1.3px solid var(--gold-500);
  border-bottom-left-radius: 13px;
}

.corner-br {
  bottom: 13px;
  right: 13px;
  border-bottom: 1.3px solid var(--gold-500);
  border-right: 1.3px solid var(--gold-500);
  border-bottom-right-radius: 13px;
}

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

.bio-column {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   CABEÇALHO EDITORIAL: RETRATO EMOLDURADO EM OURO & PORCELANA + ASSINATURA
   ========================================================================== */
.bio-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-halo {
  position: relative;
  padding: 3.5px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #ecd4a6 0%,
    #fffdf8 42%,
    #c69646 76%,
    #9f7129 100%
  );
  box-shadow:
    0 0 0 4px rgba(27, 56, 43, 0.055),
    0 18px 36px -14px rgba(27, 56, 43, 0.24),
    0 0 36px rgba(212, 173, 103, 0.28);
  margin-bottom: 18px;
}

.portrait-frame {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  padding: 3px;
  background: var(--cream-50);
  border: 1px solid rgba(27, 56, 43, 0.14);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.bio-name {
  font-family: var(--font-serif);
  font-size: 2.12rem;
  font-weight: 500;
  color: var(--ink-heading);
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin-bottom: 8px;
  text-wrap: balance;
}

.bio-tagline {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.56;
  max-width: 295px;
  margin-bottom: 15px;
}

.bio-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-forest);
  padding: 6px 15px;
  min-height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(242, 238, 228, 0.72) 100%);
  border: 1px solid var(--border-forest-soft);
  box-shadow: 0 4px 12px -6px rgba(27, 56, 43, 0.14);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.bio-handle svg {
  color: var(--accent-gold);
}

.bio-handle:hover {
  border-color: var(--border-gold-strong);
  color: var(--accent-gold-strong);
  transform: translateY(-1px);
}

/* Divisor Ornamental Dourado com Pontos Sálvia */
.editorial-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 24px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(27, 56, 43, 0.18) 28%,
    rgba(182, 134, 58, 0.5) 68%,
    transparent
  );
}

.divider-ornament {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.divider-dot {
  width: 3.5px;
  height: 3.5px;
  border-radius: 50%;
  background: rgba(39, 76, 59, 0.44);
}

.divider-diamond {
  width: 6.5px;
  height: 6.5px;
  border: 1px solid var(--gold-500);
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-500) 100%);
  transform: rotate(45deg);
}

/* ==========================================================================
   CARDS PRINCIPAIS (CREME + OURO + CONTORNOS VERDES DELICADOS)
   ========================================================================== */
.bio-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* CARD 1: WORKSHOP — CONVITE CHAMPANHE LUXO + CONTORNO VERDE SUTIL + BOTÃO OURO */
.card-featured {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 25px 22px 20px;
  border-radius: var(--card-radius);
  background: linear-gradient(155deg, #fffefb 0%, #fbf4e6 58%, #f4e7ce 100%);
  border: 1px solid rgba(186, 141, 66, 0.52);
  box-shadow:
    0 0 0 1px rgba(27, 56, 43, 0.06),
    0 18px 38px -18px rgba(27, 56, 43, 0.18),
    0 6px 16px -8px rgba(182, 134, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  color: var(--ink-heading);
  overflow: hidden;
  transition: transform 0.3s var(--ease-luxury), border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-featured-top-line {
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 76, 59, 0.36) 20%,
    #cfa559 50%,
    rgba(39, 76, 59, 0.36) 80%,
    transparent
  );
}

/* Contorno interno sutilíssimo em verde-sálvia */
.card-featured-contour {
  position: absolute;
  inset: 5px;
  border-radius: 15px;
  border: 1px solid rgba(27, 56, 43, 0.085);
  pointer-events: none;
}

.card-featured-sheen {
  position: absolute;
  top: -40%;
  left: -120%;
  width: 65%;
  height: 180%;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.58) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left 0.85s var(--ease-luxury);
  pointer-events: none;
}

.card-featured:hover .card-featured-sheen {
  left: 140%;
}

.card-featured:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold-strong);
  box-shadow:
    0 0 0 1px rgba(27, 56, 43, 0.12),
    0 24px 44px -18px rgba(27, 56, 43, 0.22),
    0 8px 20px -8px rgba(182, 134, 58, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.card-featured:active,
.card-secondary:active {
  transform: scale(0.988);
}

.card-featured:focus-visible,
.card-secondary:focus-visible,
.bio-handle:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

/* Pílula de data com toque suave do verde oficial da marca + ponto dourado */
.featured-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(27, 56, 43, 0.065);
  border: 1px solid rgba(27, 56, 43, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-forest);
  margin-bottom: 14px;
}

.featured-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(182, 134, 58, 0.2);
  flex-shrink: 0;
}

.featured-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  line-height: 1.24;
  color: var(--ink-heading);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  text-wrap: balance;
}

.featured-desc {
  position: relative;
  z-index: 1;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink-body);
  margin-bottom: 20px;
}

/* Barra CTA em Ouro Escovado Metálico */
.featured-cta-bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--btn-radius);
  background: linear-gradient(135deg, #cb9d4e 0%, #b17f31 52%, #946520 100%);
  border: 1px solid rgba(255, 247, 230, 0.42);
  box-shadow:
    0 12px 24px -10px rgba(148, 101, 32, 0.46),
    inset 0 1px 0 rgba(255, 248, 232, 0.44);
  color: #fffdf9;
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.card-featured:hover .featured-cta-bar {
  filter: brightness(1.05);
  box-shadow:
    0 14px 28px -10px rgba(148, 101, 32, 0.56),
    inset 0 1px 0 rgba(255, 248, 232, 0.52);
}

.featured-cta-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(72, 46, 10, 0.22);
}

.featured-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-luxury);
}

.card-featured:hover .featured-arrow-icon {
  transform: translate(2px, -2px);
}

/* CARD 2: SITE OFICIAL — PORCELANA MARFIM, CONTORNO SÁLVIA & OURO FINO */
.card-secondary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 76px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 254, 251, 0.96) 0%, rgba(251, 246, 236, 0.9) 100%);
  border: 1px solid var(--border-forest-soft);
  box-shadow:
    0 12px 26px -16px rgba(27, 56, 43, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transition: transform 0.3s var(--ease-luxury), border-color 0.25s ease, box-shadow 0.3s ease;
}

.card-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold-mid);
  box-shadow:
    0 16px 32px -16px rgba(27, 56, 43, 0.2),
    0 4px 12px -6px rgba(182, 134, 58, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.secondary-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(27, 56, 43, 0.06) 0%, rgba(241, 226, 197, 0.45) 100%);
  border: 1px solid rgba(182, 134, 58, 0.34);
  color: var(--accent-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.card-secondary:hover .secondary-icon {
  border-color: var(--gold-500);
  color: var(--accent-gold-strong);
}

.secondary-body {
  flex: 1;
  min-width: 0;
}

.secondary-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink-heading);
  line-height: 1.25;
  margin-bottom: 3px;
}

.secondary-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-body);
  line-height: 1.46;
}

.secondary-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(27, 56, 43, 0.22);
  background: rgba(250, 244, 232, 0.78);
  color: var(--accent-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-luxury), border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.card-secondary:hover .secondary-arrow {
  border-color: var(--gold-500);
  background: var(--gold-500);
  color: #fffdf9;
  transform: translate(2px, -2px);
}

/* Rodapé Sofisticado */
.bio-footer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-monogram {
  height: 16px;
  width: auto;
  opacity: 0.84;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

/* Toast Discreto */
.bio-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--forest-900);
  color: #fbf7ef;
  border: 1px solid rgba(212, 173, 103, 0.55);
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 14px 32px rgba(20, 40, 31, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.bio-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsividade Fina para Smartphones */
@media (max-width: 440px) {
  .bio-shell {
    padding: 22px 14px 30px;
    align-items: flex-start;
  }

  .bio-frame {
    padding: 34px 18px 26px;
    border-radius: 24px;
  }

  .frame-inner-trim {
    inset: 6px;
    border-radius: 18px;
  }

  .portrait-frame {
    width: 108px;
    height: 108px;
    padding: 2.5px;
  }

  .bio-name {
    font-size: 1.9rem;
  }

  .bio-tagline {
    font-size: 0.84rem;
  }

  .card-featured {
    padding: 21px 18px 18px;
    border-radius: 18px;
  }

  .featured-pill {
    font-size: 0.73rem;
    padding: 5px 11px;
  }

  .featured-title {
    font-size: 1.24rem;
  }

  .featured-desc {
    font-size: 0.82rem;
  }

  .featured-cta-bar {
    padding: 12px 15px;
  }

  .featured-cta-label {
    font-size: 0.84rem;
  }

  .card-secondary {
    padding: 16px;
    gap: 13px;
    border-radius: 16px;
  }

  .secondary-icon {
    width: 42px;
    height: 42px;
  }

  .secondary-title {
    font-size: 1.06rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bio-frame {
    animation: none;
  }
  .card-featured,
  .card-secondary,
  .card-featured-sheen,
  .featured-arrow-icon,
  .secondary-arrow {
    transition: none;
  }
}
