/* ==========================================================================
   MD COMPANY - MINIMALIST MONOCHROME DESIGN (BLACK & WHITE)
   Inspirado no modelo GH IMPORTS
   ========================================================================== */

:root {
  /* Cores Preto & Branco */
  --bg-dark: #050507;
  --card-bg: rgba(16, 16, 20, 0.78);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-hover-border: rgba(255, 255, 255, 0.4);

  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 36px;
  position: relative;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Fundo com Imagem Nítida e Opacidade Controlada */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  /* Usa 1.jpg como background (existe na pasta). Fallback escuro se falhar */
  background-image: url('1.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.15) brightness(0.55);
}

.bg-overlay {
  position: absolute;
  inset: 0;
  /* Overlay translúcido preto para dar contraste perfeito sem esconder a imagem */
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.72) 0%, rgba(5, 5, 7, 0.88) 100%);
}

.bg-glow {
  display: none;
}

/* Container Principal */
.main-container {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

/* Header / Perfil */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 6px;
}

.avatar-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 14px;
}

.avatar-glow {
  display: none;
}

.profile-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.verified-badge {
  position: absolute;
  bottom: 0px;
  right: 2px;
  background: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}

.profile-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.profile-username {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  margin-bottom: 14px;
}

.profile-username:hover {
  background: #ffffff;
  color: #000000;
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.info-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  color: #f3f4f6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-badge i {
  color: #ffffff;
}

.profile-bio {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Seção de Links / Botões */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 13px 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
}

.action-btn:hover {
  transform: translateY(-2px);
  background: rgba(26, 26, 32, 0.95);
  border-color: var(--card-hover-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.action-btn:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}

.action-btn:hover .btn-icon {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.btn-text-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-family: var(--font-heading);
  color: #ffffff;
}

.btn-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

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

.action-btn:hover .btn-arrow {
  color: #ffffff;
  transform: translateX(4px);
}

/* Desativação de cores específicas para WhatsApp e Instagram - Monocromático elegante */
.btn-whatsapp, .btn-instagram {
  border-color: var(--card-border);
  background: var(--card-bg);
}

.glow-pulse {
  animation: none;
}

/* Seção Em Destaque (Menor e mais proporcional) */
.featured-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-accent {
  color: #ffffff;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.section-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Carrossel Compacto */
.carousel-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  touch-action: pan-y pinch-zoom;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide-card {
  position: relative;
  width: 100%;
  /* Proporção menor e compacta (4:3.4) para ocupar menos altura na tela */
  aspect-ratio: 4 / 3.4;
  background: #000000;
  overflow: hidden;
}

.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 14px;
  background: linear-gradient(0deg, rgba(5, 5, 7, 0.95) 0%, rgba(5, 5, 7, 0.4) 65%, transparent 100%);
  display: flex;
  justify-content: center;
}

.slide-cta {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.slide-cta i {
  color: #000000;
  font-size: 0.95rem;
}

.slide-cta:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

/* Controles Carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 0.8rem;
}

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

.prev-btn { left: 8px; }
.next-btn { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 16px;
  border-radius: 4px;
  background: #ffffff;
}

/* Seção Loja Física / Localização */
.location-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.address-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.address-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  display: block;
}

.address-street {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.address-city {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.map-wrapper {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
}

.map-wrapper iframe {
  filter: grayscale(90%) invert(92%) hue-rotate(180deg) contrast(1.1);
}

.btn-location {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  padding: 12px 16px;
}

.btn-location .btn-icon {
  background: #000000;
  color: #ffffff;
}

.btn-location .btn-label {
  color: #000000;
}

.btn-location .btn-sub {
  color: #4b5563;
}

.btn-location .btn-arrow {
  color: #000000;
}

.btn-location:hover {
  background: #e5e7eb;
  border-color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Footer */
.profile-footer {
  text-align: center;
  padding: 12px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.footer-status {
  font-size: 0.72rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Responsividade */
@media (max-width: 380px) {
  body {
    padding: 16px 10px;
  }
  
  .profile-title {
    font-size: 1.4rem;
  }
  
  .badges-row {
    flex-direction: column;
    width: 100%;
  }

  .info-badge {
    justify-content: center;
  }
}
