/* ==========================================================================
   ELAINE DESIGN — LINK IN BIO PREMIUM
   Arquitetura CSS3 Mobile-First | Sem Frameworks | Alta Performance
   ========================================================================== */

:root {
  /* Paleta Oficial */
  --color-navy-deep: #071326;
  --color-navy-secondary: #102B50;
  --color-blue-vibrant: #1479E6;
  --color-gold: #F5B94F;
  --color-white: #FFFFFF;
  --color-gray: #AAB8CC;

  /* Variações Semânticas e Iluminação */
  --color-gold-light: #FFE29A;
  --color-gold-dark: #C6861E;
  --color-blue-bright: #2B92FF;
  --color-blue-deep: #0C3A82;
  --color-text-muted: #C5D1E2;

  /* Superfícies & Glassmorphism */
  --surface-card: linear-gradient(
    180deg,
    rgba(19, 46, 86, 0.56) 0%,
    rgba(9, 22, 43, 0.82) 48%,
    rgba(7, 19, 38, 0.90) 100%
  );
  --surface-quote: rgba(7, 17, 34, 0.72);
  --surface-btn: linear-gradient(
    90deg,
    rgba(16, 35, 64, 0.88) 0%,
    rgba(10, 22, 42, 0.94) 100%
  );
  --surface-btn-hover: linear-gradient(
    90deg,
    rgba(22, 48, 88, 0.95) 0%,
    rgba(14, 31, 58, 0.98) 100%
  );
  --surface-btn-featured: linear-gradient(
    90deg,
    #1150B5 0%,
    #1479E6 55%,
    #2E93FF 100%
  );
  --surface-btn-featured-hover: linear-gradient(
    90deg,
    #155FD4 0%,
    #1D85F5 55%,
    #47A1FF 100%
  );

  /* Bordas */
  --border-card: rgba(255, 255, 255, 0.16);
  --border-btn: rgba(255, 255, 255, 0.15);
  --border-btn-hover: rgba(245, 185, 79, 0.55);
  --border-featured: rgba(145, 208, 255, 0.72);
  --border-quote: rgba(255, 255, 255, 0.08);
  --border-social: rgba(255, 255, 255, 0.20);

  /* Sombras */
  --shadow-card: 0 28px 64px -12px rgba(0, 0, 0, 0.75),
                 0 0 42px 0 rgba(20, 121, 230, 0.12);
  --shadow-btn: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-btn-hover: 0 10px 24px rgba(0, 0, 0, 0.48),
                      0 0 18px rgba(245, 185, 79, 0.16);
  --shadow-featured: 0 8px 26px rgba(20, 121, 230, 0.45),
                     inset 0 1px 1px rgba(255, 255, 255, 0.35);
  --shadow-featured-hover: 0 12px 32px rgba(20, 121, 230, 0.65),
                           inset 0 1px 2px rgba(255, 255, 255, 0.5);
  --shadow-avatar: 0 0 28px rgba(245, 185, 79, 0.42),
                   0 10px 24px rgba(0, 0, 0, 0.55);

  /* Tipografia */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-script: 'Dancing Script', 'Caveat', cursive;
  --font-hand: 'Caveat', 'Dancing Script', cursive;

  /* Espaçamentos e Raios */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  --radius-card: 22px;
  --radius-quote: 14px;
  --radius-pill: 999px;

  /* Transições */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-med: 280ms var(--ease-out);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--color-navy-deep);
  color: var(--color-white);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-sans);
  background-color: var(--color-navy-deep);
  color: var(--color-white);
  line-height: 1.5;
  overflow-x: clip;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   ACESSIBILIDADE (SKIP LINK & FOCUS VISIBLE)
   ========================================================================== */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-md);
  z-index: 9999;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   IMAGEM DE FUNDO EM TELA CHEIA (FULL-BLEED BACKGROUND)
   A imagem de background cobre 100% da tela (100vw x 100vh) em qualquer resolução
   ========================================================================== */
.site-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: var(--color-navy-deep);
}

.site-bg__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.site-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 19, 38, 0.20) 0%,
    rgba(7, 19, 38, 0.45) 30%,
    rgba(7, 19, 38, 0.85) 62%,
    rgba(7, 19, 38, 0.95) 100%
  );
  pointer-events: none;
}

.decor-curve--bottom-left {
  display: none !important;
}

/* ==========================================================================
   ESTRUTURA MOBILE-FIRST (320px -> 767px)
   Prioridade Mobile:
   1. Card Principal (Avatar, Identidade, 4 Botões, Redes Sociais)
   2. Posicionamento e Mensagem Institucional
   3. Fotografia em tela cheia como atmosfera de fundo
   ========================================================================== */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.portrait-stage {
  display: none;
}

/* ==========================================================================
   ÁREA CENTRAL — CARD PRINCIPAL
   ========================================================================== */
.bio-card {
  order: 1;
  position: relative;
  width: 100%;
  max-width: 390px;
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.65rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  animation: fadeUp 650ms var(--ease-out) both;
}

/* Brilhos internos sutis do card (fiel ao mockup) */
.bio-card__glow-top {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 185, 79, 0.22) 0%, rgba(20, 121, 230, 0.14) 48%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.bio-card__glow-corner {
  position: absolute;
  bottom: -45px;
  right: -45px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(20, 121, 230, 0.42) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.bio-card__header,
.links-nav,
.bio-card__footer {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Avatar Circular com Anel Dourado Iluminado */
.avatar-ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.65rem;
  padding: 3.5px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #FFF6DC 0%,
    #F5B94F 38%,
    #9C6A1A 74%,
    #FFE29A 100%
  );
  box-shadow: var(--shadow-avatar);
  position: relative;
}

.avatar-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(245, 185, 79, 0.35);
  pointer-events: none;
}

.avatar-ring__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-navy-deep);
}

/* Nome e Assinatura */
.brand-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.45rem;
}

.brand-name__serif {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.brand-name__script {
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-gold);
  margin-top: -0.2rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(245, 185, 79, 0.28);
}

.brand-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.brand-tags__sep {
  opacity: 0.55;
}

.brand-bio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.brand-bio__heart {
  display: inline-flex;
  align-items: center;
  transform: translateY(1px);
}

/* ==========================================================================
   BOTÕES PRINCIPAIS
   ========================================================================== */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0.42rem 1.05rem 0.42rem 0.52rem;
  border-radius: var(--radius-pill);
  background: var(--surface-btn);
  border: 1px solid var(--border-btn);
  box-shadow: var(--shadow-btn);
  color: var(--color-white);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.link-btn__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.link-btn__label {
  flex: 1;
  text-align: left;
  padding: 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-btn__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

/* Botão 1 Destacado: ACESSO E-BOOK START */
.link-btn--featured {
  background: var(--surface-btn-featured);
  border-color: var(--border-featured);
  box-shadow: var(--shadow-featured);
}

.link-btn--featured .link-btn__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hover & Active dos Botões */
.link-btn:hover {
  transform: translateY(-2px);
  background: var(--surface-btn-hover);
  border-color: var(--border-btn-hover);
  box-shadow: var(--shadow-btn-hover);
}

.link-btn--featured:hover {
  background: var(--surface-btn-featured-hover);
  border-color: #BAE0FF;
  box-shadow: var(--shadow-featured-hover);
}

.link-btn:hover .link-btn__icon {
  transform: scale(1.05);
}

.link-btn:hover .link-btn__arrow {
  transform: translateX(3px);
  color: var(--color-white);
}

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

/* ==========================================================================
   RODAPÉ DO CARD (REDES SOCIAIS & CTA)
   ========================================================================== */
.bio-card__footer {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-divider {
  width: 100%;
  height: 1px;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 20%,
    rgba(255, 255, 255, 0.16) 80%,
    transparent 100%
  );
  margin-bottom: 1.05rem;
}

.social-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.95rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 26, 48, 0.75);
  border: 1px solid var(--border-social);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  background: rgba(20, 44, 82, 0.92);
  box-shadow: 0 4px 14px rgba(245, 185, 79, 0.25);
}

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

.footer-cta {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.55rem;
}

.footer-gold-bar {
  display: block;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(245, 185, 79, 0.6);
}

/* ==========================================================================
   ÁREA ESQUERDA — POSICIONAMENTO E MENSAGEM INSTITUCIONAL
   ========================================================================== */
.brand-pitch {
  order: 2;
  width: 100%;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
  animation: fadeUp 750ms 120ms var(--ease-out) both;
}

.eyebrow {
  display: flex;
  flex-direction: column;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.55rem;
}

.eyebrow-divider {
  display: block;
  width: 34px;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.pitch-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.15rem, 7vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}

.pitch-title__line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.pitch-title__line:nth-child(2) {
  font-weight: 500;
}

.pitch-title__script-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  padding-bottom: 0.15rem;
}

.pitch-title__script {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 1.32em;
  line-height: 0.86;
  color: var(--color-gold);
  letter-spacing: 0.01em;
  transform: rotate(-2deg) translateY(0.02em);
  text-shadow: 0 4px 18px rgba(245, 185, 79, 0.24);
}

.pitch-title__underline {
  width: 105%;
  height: 12px;
  margin-top: -2px;
  margin-left: -2%;
}

.pitch-subtitle {
  font-size: 0.96rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-gray);
  margin-bottom: 1.45rem;
}

/* Indicadores Visuais: IDEIAS, PROJETOS, CONEXÕES */
.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pillars-list__item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.pillars-list__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillars-list__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #DCE5F2;
}

/* Mensagem Institucional (Quote Card) */
.quote-box {
  background: var(--surface-quote);
  border: 1px solid var(--border-quote);
  border-radius: var(--radius-quote);
  padding: 1.05rem 1.25rem 1.15rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 280px;
}

.quote-box__mark {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 0.75;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
}

.quote-box__text {
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.48;
  color: var(--color-gray);
  margin-bottom: 0.85rem;
}

.quote-box__text strong {
  font-weight: 600;
  color: var(--color-white);
}

.quote-box__bar {
  display: block;
  width: 36px;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

/* ==========================================================================
   AJUSTES PARA SMARTPHONES COMPACTOS (320px)
   ========================================================================== */
@media (max-width: 359px) {
  .page-shell {
    padding: 1rem 0.75rem 2rem;
  }

  .bio-card {
    padding: 1.35rem 1rem 1.25rem;
  }

  .link-btn {
    padding: 0.38rem 0.85rem 0.38rem 0.45rem;
  }

  .link-btn__label,
  .link-btn--featured .link-btn__label {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
}

/* ==========================================================================
   TABLET (768px -> 1023px)
   Composição intermediária com card em destaque e posicionamento lateral
   ========================================================================== */
@media (min-width: 768px) {
  .site-bg__image {
    object-position: 84% center;
  }

  .site-bg__overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 19, 38, 0.84) 0%,
      rgba(7, 19, 38, 0.62) 58%,
      rgba(7, 19, 38, 0.32) 100%
    );
  }

  .page-shell {
    padding: 2.5rem 2.2rem;
    display: grid;
    grid-template-columns: 1fr 370px;
    align-items: center;
    gap: 2.25rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .brand-pitch {
    order: 1;
    max-width: 340px;
    justify-self: center;
  }

  .bio-card {
    order: 2;
    max-width: 370px;
    justify-self: center;
  }
}

/* ==========================================================================
   DESKTOP EDITORIAL (1024px+)
   Composição de 3 Áreas Fiel ao Mockup com Imagem de Fundo em Tela Cheia
   ========================================================================== */
@media (min-width: 1024px) {
  .site-bg__overlay {
    display: none;
  }

  .site-bg__image {
    object-position: right center;
  }

  .page-shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 2.5rem clamp(2rem, 5vw, 6rem);
    display: grid;
    grid-template-columns: minmax(280px, 350px) minmax(330px, 380px) 1fr;
    align-items: center;
    gap: clamp(1.5rem, 3.5vw, 4.5rem);
  }

  /* Coluna 1: Posicionamento */
  .brand-pitch {
    order: 1;
    max-width: 330px;
    height: 100%;
    max-height: 560px;
    justify-content: space-between;
    justify-self: start;
    padding: 0.5rem 0;
  }

  /* Coluna 2: Card Principal */
  .bio-card {
    order: 2;
    width: 100%;
    max-width: 380px;
    justify-self: center;
    padding: 1.75rem 1.5rem 1.4rem;
    z-index: 3;
  }

  /* Coluna 3: Espaço aberto onde Elaine é contemplada em tela cheia no background */
  .portrait-stage {
    order: 3;
    display: block;
    width: 100%;
    min-height: 500px;
    pointer-events: none;
  }
}

/* ==========================================================================
   TELAS AMPLAS (1440px e 1920px+)
   ========================================================================== */
@media (min-width: 1440px) {
  .page-shell {
    padding: 2.5rem clamp(3rem, 6vw, 7.5rem);
    grid-template-columns: minmax(310px, 380px) minmax(360px, 390px) 1fr;
    gap: clamp(2.5rem, 4.5vw, 5.5rem);
  }

  .brand-pitch {
    max-width: 360px;
    max-height: 600px;
  }

  .bio-card {
    max-width: 390px;
    padding: 1.95rem 1.65rem 1.55rem;
  }
}

@media (min-width: 1800px) {
  .page-shell {
    padding: 3rem clamp(4rem, 7vw, 9rem);
    grid-template-columns: minmax(340px, 410px) minmax(370px, 400px) 1fr;
    gap: clamp(3rem, 5vw, 6.5rem);
  }
}

/* ==========================================================================
   KEYFRAMES & REDUCED MOTION
   ========================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadePortrait {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes floatStar {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

