/* ==========================================================================
   DUCHEFFS HAMBURGUERIA — LINK-IN-BIO DE ELITE
   DNA de O COPY: Preto e Branco, Gastronômico, Noturno, Contínuo
   ========================================================================== */

/* 1. RESET E DESIGN TOKENS */
:root {
  --bg-deep: #08080a;
  --bg-card: rgba(16, 17, 22, 0.72);
  --bg-card-hover: rgba(24, 25, 33, 0.88);
  --bg-glass-subtle: rgba(255, 255, 255, 0.035);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.22);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-pure: #ffffff;
  --text-lead: #ededf0;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;

  --accent-gold: #fbbf24;
  --status-open: #22c55e;
  --status-open-glow: rgba(34, 197, 94, 0.4);
  --status-closed: #f87171;
  --status-closed-glow: rgba(248, 113, 113, 0.35);

  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-base);

  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-lead);
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-base);
  min-height: 100vh;
  background-color: var(--bg-deep);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden !important;
}

/* 2. ATMOSFERA & BACKGROUND (THREE.JS + VÍDEO REAL) */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.video-background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-background-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: brightness(0.65) contrast(1.15);
}

.video-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.82) 0%,
    rgba(8, 8, 10, 0.88) 35%,
    rgba(8, 8, 10, 0.94) 70%,
    rgba(8, 8, 10, 0.98) 100%
  );
}

.video-radial-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 15%,
    rgba(8, 8, 10, 0.7) 75%,
    rgba(8, 8, 10, 0.95) 100%
  );
}

/* 3. ESTRUTURA GERAL E ALINHAMENTO CONTÍNUO */
.site-main {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 40px 18px 60px;
}

.content-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 4. HERO SECTION / IDENTIDADE VISUAL */
.hero-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px;
}

.logo-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-glow {
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(12px);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.08); opacity: 0.9; }
}

.brand-logo {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 255, 255, 0.08);
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-pure);
  line-height: 1.1;
  margin-bottom: 4px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Ribbon de Premiação Oficial */
.award-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.icon-award {
  color: var(--accent-gold);
}

/* Localização da Cidade */
.city-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Status Dinâmico de Horário */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-muted);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status-pill.is-open {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.status-pill.is-open .status-indicator {
  background-color: var(--status-open);
  box-shadow: 0 0 10px var(--status-open-glow);
  animation: indicatorPulse 2s infinite ease-in-out;
}

.status-pill.is-closed {
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.06);
}

.status-pill.is-closed .status-indicator {
  background-color: var(--status-closed);
  box-shadow: 0 0 8px var(--status-closed-glow);
}

@keyframes indicatorPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.status-caption {
  color: var(--text-lead);
}

/* Instagram Handle Chip */
.meta-row {
  margin-bottom: 14px;
}

.instagram-handle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-lead);
  background: var(--bg-glass-subtle);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-smooth);
}

.instagram-handle-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--text-pure);
  transform: translateY(-1px);
}

.instagram-handle-chip .separator {
  color: var(--text-dim);
}

.instagram-handle-chip .stats-sub {
  color: var(--text-muted);
  font-weight: 500;
}

/* Chips de Serviços/Comodidades */
.features-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

/* 5. SEÇÃO DE LINKS PRINCIPAIS (ALTA CONVERSÃO) */
.links-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card de Link Padrão de Elite */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  min-height: 74px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.28s var(--ease-smooth), border-color 0.28s var(--ease-smooth), background 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth);
}

.link-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 255, 255, 0.04);
}

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

.card-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-pure);
  transition: transform 0.25s var(--ease-smooth);
}

.link-card:hover .card-icon-box {
  transform: scale(1.05);
}

.card-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-pure);
  line-height: 1.25;
}

.card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.card-action-arrow {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  transition: transform 0.25s var(--ease-smooth), color 0.25s var(--ease-smooth);
}

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

/* Cardápio Digital Bigou (Ação Principal Número 1 Soberana) */
.card-primary-bigou {
  min-height: 80px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 48%, rgba(18, 19, 25, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 255, 255, 0.09);
  position: relative;
}

.card-primary-bigou:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(24, 25, 33, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.8), 0 0 38px rgba(255, 255, 255, 0.16);
}

.card-primary-bigou .card-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--text-pure);
}

.card-primary-bigou .card-title {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--text-pure);
}

.card-primary-bigou .card-desc {
  color: var(--text-lead);
  font-weight: 600;
}

/* Variação WhatsApp (Segunda Ação Forte) */
.card-whatsapp {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(18, 19, 25, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.05);
}

.card-whatsapp .card-icon-box {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-pure);
}

.card-whatsapp .card-title {
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

/* 6. SHINY SWEEP GLOW PREMIUM (Feixe diagonal sutil no hover/toque) */
.shiny-sweep {
  position: relative;
  overflow: hidden;
}

.shiny-sweep::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shiny-sweep:hover::after,
.shiny-sweep:active::after {
  opacity: 1;
  animation: shinySweepMotion 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shinySweepMotion {
  0% {
    left: -70%;
  }
  100% {
    left: 140%;
  }
}

/* 7. SEÇÃO DE HORÁRIOS COMPLETA */
.info-strip {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.strip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.strip-header h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sched-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.25s var(--ease-smooth);
}

.sched-item.is-today {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.04);
}

.sched-day {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-lead);
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-pure);
  padding: 1px 6px;
  border-radius: 4px;
}

.sched-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-pure);
}

.sched-closed .sched-day {
  color: var(--text-dim);
}

.sched-closed .sched-time {
  color: var(--status-closed);
  font-weight: 600;
}

/* 8. MARQUEE CONTÍNUO DE AVALIAÇÕES REAIS DO GOOGLE */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.label-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.label-heading h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.verified-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 16px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 26s linear infinite;
  will-change: transform;
}

.marquee-viewport:hover .marquee-track,
.marquee-viewport:focus-within .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

.review-bubble {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble-stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.bubble-text {
  font-size: 0.83rem;
  color: var(--text-lead);
  font-style: italic;
  line-height: 1.45;
}

.bubble-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.author-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
}

.author-name {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.icon-gold {
  color: var(--accent-gold);
  border-color: rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.06);
}

/* 9. LOCALIZAÇÃO E GOOGLE MAPS INTERATIVO */
.location-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.map-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 13px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-lead);
  font-family: var(--font-base);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.25s var(--ease-smooth);
}

.map-action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-pure);
  transform: translateY(-1px);
}

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

.map-action-btn.copied {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.1);
  color: var(--status-open);
}

/* Moldura Integrada do Maps */
.map-frame-wrapper {
  width: 100%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  background: #14151a;
  position: relative;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: invert(90%) hue-rotate(180deg) contrast(1.1) brightness(0.9);
}

/* 10. FOOTER MÍNIMO */
.site-footer {
  text-align: center;
  padding: 18px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 11. ACESSIBILIDADE E PREFERS-REDUCED-MOTION */
:focus-visible {
  outline: 2px solid var(--text-pure);
  outline-offset: 3px;
}

@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;
  }

  .video-background-layer video {
    display: none;
  }

  .video-background-layer {
    background-image: url('assets/bg-poster.webp');
    background-size: cover;
    background-position: center;
  }

  .marquee-track {
    animation: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .review-bubble {
    scroll-snap-align: start;
  }

  #ambient-canvas {
    display: none;
  }
}

/* 12. RESPONSIVIDADE ESPECÍFICA */
@media (max-width: 360px) {
  .site-main {
    padding: 24px 12px 40px;
  }

  .content-container {
    gap: 20px;
  }

  .brand-logo {
    width: 96px;
    height: 96px;
  }

  .map-actions-row {
    grid-template-columns: 1fr;
  }

  .card-primary-bigou .card-title,
  .card-whatsapp .card-title {
    font-size: 0.94rem;
  }
}
