/* ==========================================================================
   CANGURU STORE | MODA MASCULINA (CLÁUDIO - MG)
   Design System & Luxury Editorial Theme (Dark Slate & Precision Grayscale)
   Total Responsive Architecture: 320px -> 1920px
   ========================================================================== */

:root {
  /* Color Tokens - Paleta Nobre Preta & Grafite */
  --bg-deep: #08090b;
  --bg-surface: #0f1115;
  --bg-card: #15181e;
  --bg-card-hover: #1b1f27;
  --bg-glass: rgba(18, 21, 27, 0.75);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.18);
  --border-highlight: rgba(255, 255, 255, 0.28);
  
  --text-primary: #f4f5f7;
  --text-secondary: #9da3af;
  --text-muted: #6b7280;
  
  --accent-titanium: #d1d5db;
  --accent-green-dot: #10b981;
  --accent-gold-star: #eab308;
  
  /* Sombras */
  --shadow-card: 0 8px 24px -6px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 25px rgba(255, 255, 255, 0.05);

  /* Tipografia */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Curvas de Animação */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden !important;
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Background Canvas Three.js */
#canvas-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* Iluminação de Fundo Estática Sutil */
.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 800px;
  height: 500px;
  background: radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Wrapper Principal */
.main-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 20px 14px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 480px) {
  .main-wrapper {
    padding: 24px 18px 56px;
    gap: 22px;
  }
}

/* Status Bar Superior */
.status-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  font-size: clamp(0.72rem, 2.2vw, 0.78rem);
  font-weight: 500;
  color: var(--text-secondary);
}

.beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-green-dot);
  box-shadow: 0 0 8px var(--accent-green-dot);
  animation: pulse-beacon 2.4s infinite;
  flex-shrink: 0;
}

.beacon-dot.closed {
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
}

@keyframes pulse-beacon {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(0.72rem, 2.2vw, 0.78rem);
  color: var(--text-muted);
  flex-shrink: 0;
}

.location-tag svg {
  stroke: var(--text-muted);
}

/* ==========================================================================
   HERO SECTION MONUMENTAL
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 4px 6px;
  width: 100%;
}

.brand-avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

@media (min-width: 480px) {
  .brand-avatar-wrapper {
    width: 104px;
    height: 104px;
    margin-bottom: 18px;
  }
}

.brand-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.brand-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.brand-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #000000;
  display: block;
}

.brand-badge-official {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background: #11141a;
  border: 2px solid var(--bg-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.brand-badge-official svg {
  stroke: #ffffff;
}

.hero-title-group {
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
}

.hero-tagline {
  font-size: clamp(0.82rem, 2.5vw, 0.94rem);
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 5px;
  line-height: 1.35;
}

.hero-signature {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.84rem, 2.5vw, 0.95rem);
  color: #e2e5ec;
  padding: 6px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin: 10px 0 16px;
  max-width: 100%;
  line-height: 1.35;
}

/* ==========================================================================
   SHINY SWEEP GLOW BUTTON (HERO CTA WHATSAPP)
   ========================================================================== */
.btn-shiny-sweep {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #242933 0%, #15181f 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 2.7vw, 0.98rem);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 25px -6px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.btn-shiny-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 30%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.07) 70%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  animation: shiny-sweep 4.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shiny-sweep {
  0% { left: -120%; }
  25% { left: 160%; }
  100% { left: 160%; }
}

.btn-shiny-sweep:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

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

.btn-shiny-sweep svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   GATEWAY DE AÇÕES (EDITORIAL BENTO FLOW)
   ========================================================================== */
.gateway-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.action-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s var(--ease-smooth);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  width: 100%;
  min-height: 66px;
}

@media (min-width: 480px) {
  .action-card {
    padding: 16px 20px;
    border-radius: 18px;
    min-height: 70px;
  }
}

.action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.card-left {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0; /* Essencial para truncar/quebrar texto sem quebrar o layout */
}

@media (min-width: 480px) {
  .card-left {
    gap: 16px;
  }
}

.card-icon-frame {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.card-icon-frame svg {
  stroke: currentColor;
}

.card-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.6vw, 1rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  line-height: 1.25;
}

.card-subtext {
  font-size: clamp(0.76rem, 2.2vw, 0.82rem);
  color: var(--text-muted);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: break-word;
}

.card-arrow {
  color: var(--text-muted);
  margin-left: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

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

.action-card-highlight {
  background: linear-gradient(145deg, #181c24 0%, #11141a 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.badge-tag-mini {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f1f3f7;
}

/* ==========================================================================
   SEÇÃO VITRINE REAL (COLEÇÕES & PRODUTOS AUTÊNTICOS)
   ========================================================================== */
.showcase-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px 14px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

@media (min-width: 480px) {
  .showcase-section {
    border-radius: 22px;
    padding: 22px 18px;
  }
}

.section-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}

.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.section-heading-sm {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: 2px;
}

.link-ecommerce-browse {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-titanium);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.link-ecommerce-browse:hover {
  color: #ffffff;
}

/* Mosaico de Produtos 100% Responsivo */
.product-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  width: 100%;
}

@media (min-width: 480px) {
  .product-mosaic {
    gap: 12px;
  }
}

.product-item-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 13px;
  overflow: hidden;
  background: #13161c;
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}

.product-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  background: #1a1e27;
}

.product-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease-smooth);
}

.product-item-card:hover .product-item-img {
  transform: scale(1.05);
}

.product-item-caption {
  padding: 8px 4px;
  font-size: clamp(0.66rem, 1.9vw, 0.78rem);
  font-weight: 600;
  color: #f1f3f7;
  text-align: center;
  background: #101217;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.delivery-notice-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: clamp(0.76rem, 2.2vw, 0.82rem);
  color: var(--text-secondary);
  line-height: 1.35;
}

.delivery-notice-box svg {
  flex-shrink: 0;
  stroke: var(--accent-titanium);
}

/* ==========================================================================
   REPUTAÇÃO GOOGLE (NOTA REAL & AVALIAÇÃO)
   ========================================================================== */
.reputation-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

@media (min-width: 480px) {
  .reputation-card {
    border-radius: 22px;
    padding: 20px;
    gap: 16px;
  }
}

.reputation-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.reputation-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.google-g-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reputation-title {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 2.6vw, 0.98rem);
  font-weight: 600;
  color: var(--text-primary);
}

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

.score-display {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.score-number {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
}

.stars-row {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--accent-gold-star);
  stroke: var(--accent-gold-star);
}

.reputation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

@media (max-width: 350px) {
  .reputation-actions {
    grid-template-columns: 1fr;
  }
}

.btn-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  font-size: clamp(0.76rem, 2.2vw, 0.82rem);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 42px;
  text-align: center;
}

.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-active);
  color: #ffffff;
}

/* ==========================================================================
   LOCALIZAÇÃO, HORÁRIOS & GOOGLE MAPS
   ========================================================================== */
.location-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: var(--shadow-card);
  width: 100%;
}

@media (min-width: 480px) {
  .location-section {
    border-radius: 22px;
    padding: 22px 20px;
    gap: 18px;
  }
}

.address-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.address-text-primary {
  font-family: var(--font-display);
  font-size: clamp(0.96rem, 2.8vw, 1.05rem);
  font-weight: 600;
  color: var(--text-primary);
}

.address-text-secondary {
  font-size: clamp(0.78rem, 2.2vw, 0.84rem);
  color: var(--text-muted);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 14px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.76rem, 2.2vw, 0.82rem);
}

.hours-day {
  color: var(--text-secondary);
  font-weight: 500;
}

.hours-time {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
}

.hours-row.closed .hours-time {
  color: var(--text-muted);
}

/* Container do Mapa */
.map-interactive-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #111419;
}

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

.btn-route-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #1c212b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 2.6vw, 0.95rem);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.btn-route-action:hover {
  background: #252b37;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-route-action svg {
  stroke: currentColor;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-section {
  text-align: center;
  padding: 12px 8px 4px;
  color: var(--text-muted);
  font-size: 0.76rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy {
  color: var(--text-muted);
}

.footer-store-id {
  font-size: 0.7rem;
  color: #4b5260;
}

/* Acessibilidade & Focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* Suporte a prefers-reduced-motion */
@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;
  }
  
  .btn-shiny-sweep::after {
    display: none !important;
  }
}
