:root {
  --bg-dark: #000000;
  --card-bg: rgba(0, 0, 0, 0.85);
  --card-hover: rgba(12, 12, 12, 0.95);
  --card-border: rgba(255, 255, 255, 0.22);
  --card-border-hover: rgba(255, 255, 255, 0.7);
  
  --text-primary: #ffffff;
  --text-secondary: #d4d4d4;
  --text-muted: #a3a3a3;
  
  --accent-white: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.25);
  
  --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 e overlay opaco 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.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(100%) contrast(1.15) brightness(0.95);
  transform: scale(1.03);
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay preto de alto contraste */
  background: radial-gradient(circle at center top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.78) 65%, rgba(0, 0, 0, 0.95) 100%);
  backdrop-filter: blur(2px);
}

/* 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: 135px;
  height: 135px;
  margin-bottom: 1.35rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.04);
  border-color: #ffffff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 1), 0 0 35px rgba(255, 255, 255, 0.55);
}

.avatar-glow {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  filter: blur(14px);
  animation: pulseGlow 2.8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.4; transform: scale(0.96); }
  100% { opacity: 0.8; transform: scale(1.05); }
}

.profile-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.profile-tagline {
  font-size: 0.9rem;
  color: #d4d4d4;
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.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.35rem 0.85rem;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.badge.verified {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

/* 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.6);
}

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

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

.link-card:hover {
  background: var(--card-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.15);
}

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

.link-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  transition: var(--transition);
}

.link-card:hover .link-icon {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: scale(1.05);
}

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

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

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

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

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

/* WhatsApp Destaque Especial */
.link-card.highlight {
  background: #000000;
  border: 1.8px solid #ffffff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.15);
}

.link-card.highlight .link-icon {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

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

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

.link-card.highlight:hover .link-icon {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

/* Instagram - ícones coloridos (gradiente oficial) */
#btn-insta-principal .link-icon,
#btn-insta-reserva .link-icon {
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 20%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #ffffff;
  border-color: transparent;
}

#btn-insta-principal:hover .link-icon,
#btn-insta-reserva: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.05);
}

/* Seção de Lojas Físicas / Carrossel */
.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.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.carousel-track-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  touch-action: pan-y pinch-zoom;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

/* Card da Loja */
.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 8px 30px rgba(0, 0, 0, 0.85);
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.store-pin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1rem;
}

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

.store-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.store-address {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.store-map-container {
  width: 100%;
  height: 200px;
  position: relative;
  background: #000000;
}

.store-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: none;
  display: block;
}

.store-actions {
  padding: 0.9rem 1.25rem;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #000000;
  border: 1.5px solid #ffffff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition);
}

.btn-directions:hover {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Botões de navegação do carrossel */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-nav:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.carousel-nav.prev {
  left: -12px;
}

.carousel-nav.next {
  right: -12px;
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.indicator.active {
  width: 24px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ============================
   Seção Em Destaque (Vídeos)
   ============================ */
.featured-section {
  width: 100%;
  margin-top: 0.5rem;
}

.featured-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);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.featured-video-wrapper,
.featured-image-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-video,
.featured-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

.featured-link {
  display: block;
  width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.featured-image {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-link:hover .featured-image {
  transform: scale(1.03);
}

/* Overlay sutil com título opcional sobre o vídeo - mantido para compatibilidade */
.featured-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
}

.featured-label i {
  color: #25D366;
}

/* Controles específicos do featured para garantir clique acima do vídeo */
#featured-carousel .carousel-nav {
  background: rgba(0,0,0,0.75);
  border-color: rgba(255,255,255,0.6);
}

#featured-carousel .carousel-nav:hover {
  background: #ffffff;
  color: #000;
}

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

.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 1.25rem;
  border-radius: var(--radius-full);
}

.profile-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Responsividade */
@media (max-width: 480px) {
  body {
    padding: 1.75rem 0.85rem 2.5rem;
  }
  
  .carousel-nav.prev {
    left: 6px;
  }
  
  .carousel-nav.next {
    right: 6px;
  }
  
  .store-map-container {
    height: 180px;
  }

  .featured-card {
    max-width: 300px;
  }
}
