/* ==========================================================================
   PRIĒ | MODA FEMININA - LINK DA BIO
   Design System & Styling
   ========================================================================== */

:root {
  /* Cores Principais */
  --bg-dados: #E8E5DF;             /* Cor exata indicada em dados.txt */
  --bg-page-backdrop: #DCD8D0;     /* Fundo externo para telas grandes */
  --brand-gold: #B8936D;           /* Tom quente extraído da logo */
  --brand-gold-dark: #9E7954;
  --brand-gold-light: #F4ECE3;
  --text-dark: #231F20;            /* Preto refinado / carvão */
  --text-muted: #6B6560;           /* Texto secundário suave */
  --text-light: #FAF9F6;
  
  /* Cards & Superfícies */
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-bg-hover: #FFFFFF;
  --card-border: rgba(184, 147, 109, 0.22);
  --card-border-hover: rgba(184, 147, 109, 0.6);
  --card-shadow: 0 10px 30px -6px rgba(40, 32, 24, 0.08), 0 2px 8px -2px rgba(40, 32, 24, 0.04);
  --card-shadow-hover: 0 16px 36px -6px rgba(184, 147, 109, 0.2), 0 4px 12px -2px rgba(40, 32, 24, 0.06);

  /* Status e Acentos */
  --online-green: #2E7D32;
  --online-green-bg: #E8F5E9;
  --vip-gold: #C2933F;
  --vip-gold-bg: #FFF8E7;

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Transições e Raios */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global & Acessibilidade */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page-backdrop);
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-page-backdrop);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Container Principal (Mobile-First Frame) */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.bio-container {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  background-color: var(--bg-dados);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   HERO SECTION (TOPO - VÍDEO & LOGO SEM BORDAS)
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 340px;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Mídia do Vídeo Hero */
.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Overlay Cinematográfico para Legibilidade sem Perder Nitidez */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 16, 0.35) 0%,
    rgba(20, 18, 16, 0.15) 45%,
    rgba(232, 229, 223, 0.6) 88%,
    var(--bg-dados) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Botão de Áudio Discreto */
.sound-control-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  background: rgba(35, 31, 32, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sound-control-btn:hover {
  background: rgba(35, 31, 32, 0.7);
  transform: scale(1.05);
}

.sound-control-btn:active {
  transform: scale(0.95);
}

.sound-control-btn .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.sound-control-btn .hidden {
  display: none;
}

/* Conteúdo Hero: Logo sem bordas */
.hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  margin-top: -20px; /* Leve equilíbrio ótico */
}

/* Wrapper da logo sem moldura, sem fundo, sem borda */
.logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 8px;
}

.hero-logo {
  max-width: 220px;
  width: 75%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35)) drop-shadow(0 1px 3px rgba(255, 255, 255, 0.4));
  transition: transform 0.4s ease;
  border: none !important;
  outline: none !important;
}

.hero-logo:hover {
  transform: scale(1.02);
}

/* Tagline Elegante de Alta Costura */
.hero-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #FFFFFF;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.8);
  margin-top: 4px;
}

/* ==========================================================================
   SEÇÃO INFERIOR (#E8E5DF)
   ========================================================================== */

.content-section {
  position: relative;
  z-index: 6;
  background-color: var(--bg-dados);
  flex: 1;
  padding: 0 22px 32px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header de Perfil / Identificador */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.instagram-handle-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 147, 109, 0.25);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition-fast);
  margin-bottom: 10px;
}

.instagram-handle-badge:hover {
  background: #FFFFFF;
  border-color: var(--brand-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184, 147, 109, 0.2);
}

.instagram-handle-badge .badge-icon {
  width: 14px;
  height: 14px;
  color: var(--brand-gold);
}

.verified-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-gold);
  border-radius: 50%;
  display: inline-block;
}

.brand-intro {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.35;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   LISTA DE BOTÕES / CARTÕES DE AÇÃO
   ========================================================================== */

.links-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

/* Cartão Base */
.action-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  overflow: hidden;
}

/* Efeito de Brilho Sutil ao Passar o Mouse */
.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0.6s ease;
  pointer-events: none;
}

.action-card:hover::before {
  left: 140%;
}

.action-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.action-card:active {
  transform: translateY(0) scale(0.99);
}

/* Destaque no Cartão de Atendimento (WhatsApp) */
.highlight-card {
  border-color: rgba(184, 147, 109, 0.45);
  background: rgba(255, 255, 255, 0.96);
}

.highlight-card:hover {
  border-color: var(--brand-gold);
}

/* Box de Ícone */
.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #F4F1EA;
  color: var(--brand-gold-dark);
  transition: var(--transition-fast);
}

.card-icon-box svg {
  width: 22px;
  height: 22px;
}

.whatsapp-box {
  background: #EAF6EC;
  color: #1B7A35;
}

.vip-box {
  background: var(--vip-gold-bg);
  color: var(--vip-gold);
}

.insta-box {
  background: #FAF0F4;
  color: #B5327B;
}

.map-box {
  background: #EBF1F6;
  color: #2F6F9F;
}

.action-card:hover .card-icon-box {
  transform: scale(1.08);
}

/* Textos do Cartão */
.card-text-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Badges e Pílulas */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--online-green-bg);
  color: var(--online-green);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.pulse-light {
  width: 6px;
  height: 6px;
  background: var(--online-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  animation: pulseEffect 1.8s infinite;
}

@keyframes pulseEffect {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(46, 125, 50, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
  }
}

.vip-badge {
  background: var(--vip-gold-bg);
  color: var(--vip-gold);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(194, 147, 63, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.location-badge {
  background: #EBF1F6;
  color: #2F6F9F;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Seta Indicativa do Cartão */
.card-arrow {
  color: #A39B93;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.card-arrow svg {
  width: 18px;
  height: 18px;
}

.action-card:hover .card-arrow {
  color: var(--brand-gold-dark);
  transform: translateX(3px);
}

/* ==========================================================================
   AÇÕES RÁPIDAS & COMPARTILHAMENTO
   ========================================================================== */

.quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(107, 101, 96, 0.25);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-sans);
}

.quick-btn svg {
  width: 15px;
  height: 15px;
}

.quick-btn:hover {
  background: #FFFFFF;
  color: var(--text-dark);
  border-color: var(--brand-gold);
  transform: translateY(-1px);
}

.quick-btn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.bio-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
  padding-top: 10px;
}

.footer-divider {
  width: 40px;
  height: 2px;
  background: rgba(184, 147, 109, 0.35);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.footer-address {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-copy {
  font-size: 0.68rem;
  color: #8C857E;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(35, 31, 32, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  z-index: 100;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & DESKTOP ENHANCEMENTS)
   ========================================================================== */

@media (max-width: 480px) {
  .hero-section {
    height: 46vh;
    min-height: 320px;
  }
  
  .content-section {
    padding: 0 18px 28px 18px;
  }

  .action-card {
    padding: 14px 16px;
  }

  .hero-logo {
    max-width: 190px;
  }
}

@media (min-width: 481px) {
  .page-wrapper {
    padding: 24px 0;
    align-items: center;
  }
  
  .bio-container {
    border-radius: 36px;
    min-height: 880px;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  }
  
  .hero-section {
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
  }
}
