:root {
  --bg-dark: #070708;
  --card-bg: rgba(16, 16, 18, 0.84);
  --card-hover: rgba(26, 26, 28, 0.96);
  --card-border: rgba(192, 192, 192, 0.22);
  --card-border-hover: rgba(232, 232, 232, 0.75);
  
  --text-primary: #ffffff;
  --text-secondary: #d6d6d8;
  --text-muted: #9a9aa0;
  
  --silver: #C0C0C0;
  --silver-light: #E8E8E8;
  --silver-dark: #A8A8A8;
  --silver-mid: #d1d1d3;
  --silver-gradient: linear-gradient(135deg, #A8A8A8 0%, #E8E8E8 48%, #C0C0C0 100%);
  --silver-border: linear-gradient(135deg, #9a9a9e, #E8E8E8, #A8A8A8);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2.5rem 1rem 3rem;
  overflow-x: hidden;
  position: relative;
}

/* Background com imagem opaca mas visível */
.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('background.jfif');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.12) brightness(0.88);
  transform: scale(1.03);
  opacity: 0.85;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay preto garantindo legibilidade - opaco mas deixando fundo visível */
  background: radial-gradient(ellipse at center top, rgba(10, 10, 12, 0.42) 0%, rgba(0, 0, 0, 0.68) 55%, rgba(0, 0, 0, 0.92) 85%, rgba(0, 0, 0, 0.97) 100%);
  backdrop-filter: blur(1.8px);
  -webkit-backdrop-filter: blur(1.8px);
}

/* Brilho prata sutil no fundo para tema */
.bg-silver-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(192, 192, 192, 0.07) 0%, rgba(192,192,192,0.03) 40%, transparent 70%);
  pointer-events: none;
}

/* Container Principal */
.container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1;
  animation: fadeIn 0.8s ease-out;
}

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

/* Perfil / Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.avatar-wrapper {
  position: relative;
  width: 138px;
  height: 138px;
  margin-bottom: 1.35rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--silver-light);
  position: relative;
  z-index: 3;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.9), 
    0 0 0 1px rgba(192,192,192,0.35),
    0 0 28px rgba(192, 192, 192, 0.28);
  transition: var(--transition);
  background: #111;
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.03);
  border-color: #ffffff;
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 1), 
    0 0 0 1px rgba(232,232,232,0.6),
    0 0 38px rgba(192, 192, 192, 0.45);
}

.avatar-glow {
  position: absolute;
  top: -14px;
  left: -14px;
  right: -14px;
  bottom: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 192, 192, 0.55) 0%, rgba(212, 212, 216, 0.22) 38%, rgba(192, 192, 192, 0) 68%);
  z-index: 1;
  filter: blur(14px);
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

.avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 1px solid rgba(192,192,192,0.35);
  z-index: 2;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { opacity: 0.45; transform: scale(0.96); }
  100% { opacity: 0.85; transform: scale(1.04); }
}

.profile-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.35rem;
  /* Prata metálico no texto - sutil */
  background: linear-gradient(180deg, #ffffff 35%, #E8E8E8 70%, #C0C0C0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 10px rgba(192,192,192,0.25));
}

.profile-tagline {
  font-size: 0.95rem;
  color: #E8E8E8;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.profile-subtagline {
  font-size: 0.78rem;
  color: var(--silver);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.9rem;
  opacity: 0.95;
}

.profile-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.9rem;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(192, 192, 192, 0.28);
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--silver-light);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge i {
  color: var(--silver);
  font-size: 0.7rem;
}

.badge.verified {
  background: var(--silver-gradient);
  border-color: var(--silver-light);
  color: #0a0a0a;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(192,192,192,0.35);
}

.badge.verified i {
  color: #0a0a0a;
}

/* Links Principais */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 1.3rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(192,192,192,0.08);
}

.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232, 232, 232, 0.10), transparent);
  transition: 0.55s;
}

.link-card:hover::before {
  left: 100%;
}

.link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(192,192,192,0.0), rgba(232,232,232,0.18));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.link-card:hover {
  background: var(--card-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.85), 0 0 18px rgba(192, 192, 192, 0.12), inset 0 1px 0 rgba(232,232,232,0.12);
}

.link-card:hover::after {
  opacity: 1;
}

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

.link-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1a1e 0%, #2a2a2e 100%);
  border: 1.5px solid rgba(192, 192, 192, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--silver-light);
  transition: var(--transition);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.link-card:hover .link-icon {
  background: var(--silver-gradient);
  color: #0a0a0a;
  border-color: var(--silver-light);
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(192,192,192,0.35);
}

.link-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.link-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.link-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.14rem;
}

.link-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.link-card:hover .link-arrow {
  color: var(--silver-light);
  transform: translateX(3px);
}

/* WhatsApp Destaque Especial - preto com borda prata + detalhe verde */
.link-card.highlight {
  background: #0a0a0a;
  border: 1.8px solid var(--silver-light);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.85), 0 0 16px rgba(192, 192, 192, 0.15), inset 0 1px 0 rgba(232,232,232,0.12);
  position: relative;
}

.link-card.highlight::before {
  background: linear-gradient(90deg, transparent, rgba(37,211,102,0.12), transparent);
}

.link-card.highlight .link-icon {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.link-card.highlight .link-title {
  color: #ffffff;
}

.link-card.highlight .link-desc {
  color: #b8e6c8;
}

.link-card.highlight:hover {
  background: #111111;
  border-color: #25D366;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.22), 0 0 20px rgba(192,192,192,0.12);
}

.link-card.highlight:hover .link-icon {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: scale(1.06);
}

/* Instagram - gradiente oficial mantido mas com borda prata no hover */
#btn-instagram .link-icon {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 20%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(214, 41, 118, 0.28);
}

#btn-instagram:hover .link-icon {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 20%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.06);
}

/* Seção de Localização */
.stores-section {
  width: 100%;
  margin-top: 0.5rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 2px;
  background: var(--silver-gradient);
  border-radius: var(--radius-full);
  opacity: 0.9;
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.55rem;
  letter-spacing: 0.02em;
}

/* Card da Loja - único embed */
.store-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(192,192,192,0.07);
  transition: var(--transition);
  position: relative;
}

.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,192,192,0.35), transparent);
  pointer-events: none;
}

.store-card:hover {
  border-color: rgba(192,192,192,0.38);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.9), 0 0 18px rgba(192,192,192,0.08);
  transform: translateY(-1px);
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.3rem;
  background: rgba(10, 10, 12, 0.7);
  border-bottom: 1px solid rgba(192, 192, 192, 0.14);
}

.store-pin {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--silver-gradient);
  border: 1px solid var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  font-size: 1.05rem;
  box-shadow: 0 3px 12px rgba(192,192,192,0.32);
}

.store-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.store-address {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-top: 0.18rem;
  line-height: 1.4;
}

.store-map-container {
  width: 100%;
  height: 240px;
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
}

.store-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.3s ease;
}

.store-card:hover .store-map-container iframe {
  filter: grayscale(0) contrast(1.08);
}

.store-map-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(192,192,192,0.12);
  border-bottom: 1px solid rgba(192,192,192,0.12);
  pointer-events: none;
}

.store-actions {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(192, 192, 192, 0.12);
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--silver-gradient);
  color: #0a0a0a;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(192,192,192,0.22);
  cursor: pointer;
}

.btn-directions:hover {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(192, 192, 192, 0.32);
}

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

.btn-directions.secondary {
  background: rgba(0,0,0,0.55);
  color: var(--silver-light);
  border-color: rgba(192,192,192,0.35);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-directions.secondary:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: var(--silver-light);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* Rodapé */
.profile-footer {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.footer-divider {
  width: 64px;
  height: 2px;
  background: var(--silver-gradient);
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-full);
  opacity: 0.85;
  box-shadow: 0 0 10px rgba(192,192,192,0.35);
}

.profile-footer p {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.footer-sub {
  margin-top: 0.3rem;
  font-size: 0.7rem !important;
  color: rgba(192,192,192,0.75) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
}

/* Animações extras */
.link-card,
.store-card {
  animation: cardIn 0.6s ease-out both;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.stores-section { animation: cardIn 0.6s ease-out 0.3s both; }

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

/* Responsividade */
@media (max-width: 480px) {
  body {
    padding: 1.75rem 0.85rem 2.5rem;
  }
  
  .store-map-container {
    height: 200px;
  }

  .profile-title {
    font-size: 1.5rem;
  }

  .avatar-wrapper {
    width: 124px;
    height: 124px;
  }

  .store-actions {
    padding: 0.9rem;
  }
}

@media (min-width: 481px) {
  .store-actions {
    flex-direction: row;
  }
  .store-actions .btn-directions {
    flex: 1;
  }
}

/* Acessibilidade - foco visível */
.link-card:focus-visible,
.btn-directions:focus-visible {
  outline: 2px solid var(--silver-light);
  outline-offset: 2px;
}

/* Scrollbar discreta prata */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: var(--silver-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--silver);
}
