/* ==========================================================================
   BIO LINK — SADOQUE MODAS ("PADRÃO PREMIUM ANTI-SECO")
   Design System & Master Stylesheet | WCAG 2.2 AA | High-Conversion Performance
   Agência: COPY
   ========================================================================== */

/* 1. RESET & CSS VARIABLES */
:root {
  /* Dark Atmosphere Palette (Profundidade em camadas, nada chapado) */
  --bg-deep: #060708;
  --bg-base: #090b0e;
  --bg-elevated: #0d1015;
  --surface-card: rgba(16, 20, 26, 0.88);
  --surface-card-hover: rgba(22, 27, 36, 0.96);
  --surface-elevated: #161b24;
  --surface-overlay: rgba(9, 11, 15, 0.90);

  /* FAMÍLIA TONAL DO OURO (5 Papéis Ativos de Riqueza Metálica) */
  --gold-core: #d4af37;           /* 1. Núcleo: Ouro nobre clássico */
  --gold-bright: #fde08b;         /* 2. Claro/Brilho: Reflexo luminoso */
  --gold-warm: #e5b842;           /* 3. Quente: Tom caloroso de meia-luz */
  --gold-deep: #7a5d12;           /* 4. Profundo: Ouro escuro para base e contraste */
  --gold-glow: rgba(212, 175, 55, 0.38); /* 5. Halo/Glow: Opacidade real >= 0.30 */

  /* Variações de Borda e Gradientes Metálicos */
  --gold-border: rgba(212, 175, 55, 0.42);
  --gold-border-subtle: rgba(212, 175, 55, 0.20);
  --gold-hairline: rgba(253, 224, 139, 0.48);
  --gold-gradient-btn: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-core) 52%, var(--gold-deep) 100%);
  --gold-gradient-text: linear-gradient(180deg, #ffffff 10%, var(--gold-bright) 55%, var(--gold-core) 100%);

  /* Status Colors */
  --emerald-live: #22c55e;
  --emerald-glow: rgba(34, 197, 94, 0.32);
  --red-closed: #ef4444;

  /* Typography & Neutrals */
  --white-pure: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #a1aab7;
  --text-muted: #6b7584;

  /* Borders, Insets & Shadows Estruturais (Luz em Camadas) */
  --border-light: rgba(255, 255, 255, 0.08);
  --inset-card-top: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 14px 0 rgba(212, 175, 55, 0.05);
  --shadow-card: 0 14px 34px -10px rgba(0, 0, 0, 0.75), 0 0 20px -6px var(--gold-glow);
  --shadow-focal: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 32px -4px var(--gold-glow);
  --shadow-float: 0 26px 65px -12px rgba(0, 0, 0, 0.90), 0 0 45px -10px rgba(212, 175, 55, 0.20);

  /* Typography Pairing */
  --font-display: 'Cinzel', 'Plus Jakarta Sans', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-spring);
  --transition-smooth: 0.28s var(--ease-spring);
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden !important;
}

/* Fundo da página com gradiente vertical sutil (Preto não chapado) */
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  background: linear-gradient(180deg, #090b0e 0%, #060708 35%, #080a0d 100%);
  overflow-x: hidden !important;
  padding: 0;
}

/* 2. SKIP-LINK (WCAG 2.2 AA) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient-btn);
  color: #07080a;
  padding: 12px 24px;
  font-weight: 800;
  border-radius: 8px;
  z-index: 9999;
  text-decoration: none;
  font-size: 0.95rem;
  transition: top 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.skip-link:focus {
  top: 16px;
}

/* 3. SISTEMA DE LUZ EM CAMADAS — BACKDROP MULTI-HALOS */
.backdrop-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Halo 1: Topo Lindo e Difuso */
.orb-ambient-top {
  position: absolute;
  width: 580px;
  height: 580px;
  top: -190px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.08) 45%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
}

/* Halo 2: Centro Suave (Ilumina a passagem dos cards de ação) */
.orb-ambient-center {
  position: absolute;
  width: 520px;
  height: 520px;
  top: 36%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(229, 184, 66, 0.16) 0%, rgba(122, 93, 18, 0.06) 50%, transparent 72%);
  filter: blur(95px);
  pointer-events: none;
}

/* Halo 3: Fundo Inferior (Garante calor no mapa e horários) */
.orb-ambient-bottom {
  position: absolute;
  width: 480px;
  height: 480px;
  bottom: -130px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

.backdrop-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 35%, rgba(6, 7, 8, 0.75) 80%, var(--bg-deep) 100%);
}

/* 4. CANVAS CONTAINER (Centralizado 440px) */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 40px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  body {
    padding: 36px 16px 48px;
  }
  .page-container {
    min-height: auto;
    background: rgba(12, 15, 20, 0.90);
    border: 1px solid var(--border-light);
    border-top: 1px solid var(--gold-hairline);
    border-radius: 28px;
    box-shadow: var(--shadow-float);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 36px 24px 44px;
    margin: 20px auto;
  }
}

/* 5. HERO SECTION */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

/* Emblema Circular Sadoque com Halo Dourado Vibrante */
.logo-wrapper {
  position: relative;
  width: 98px;
  height: 98px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-halo {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(212, 175, 55, 0.12) 55%, transparent 75%);
  filter: blur(14px);
  pointer-events: none;
}

.logo-image {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.8px solid var(--gold-core);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.8), 0 0 14px var(--gold-glow);
  background-color: #07080a;
}

/* Título Monumental Sadoque Modas */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
}

.title-display {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 8.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 18px rgba(212, 175, 55, 0.25);
}

.title-subline {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 4vw, 1.22rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.34em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 0 12px rgba(253, 224, 139, 0.4);
}

.hero-tagline {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-warm);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 0 8px;
  line-height: 1.4;
}

/* Prova Social Compacta (Instagram Oficial) */
.hero-proof-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.10);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 14px -2px var(--gold-glow);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.proof-icon {
  width: 15px;
  height: 15px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Tag de Localização */
.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.hero-location-tag svg {
  width: 14px;
  height: 14px;
  color: var(--gold-core);
  flex-shrink: 0;
}

/* 6. BANNER SHOWCASE (Sem Segunda Logo — Superfície de Atmosfera & Presença) */
.hero-banner-container {
  position: relative;
  width: 100%;
  min-height: 145px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--gold-hairline);
  box-shadow: var(--shadow-card), inset 0 1px 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(22, 27, 36, 0.95) 0%, rgba(13, 16, 22, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

/* Luz ambiente interna do banner */
.banner-ambient-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 75% 20%, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.04) 50%, transparent 75%);
  pointer-events: none;
  filter: blur(25px);
}

.banner-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
  opacity: 0.6;
}

.hero-banner-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.banner-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-district-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border-subtle);
  border-radius: 999px;
  padding: 4px 10px;
}

.banner-text-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.banner-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.banner-caption {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Live Status Pill com Pulso Suave */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.live-status-pill.is-open {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.live-status-pill.is-open .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--emerald-live);
  box-shadow: 0 0 8px var(--emerald-live);
  animation: livePulse 2.2s ease-in-out infinite;
}

.live-status-pill.is-closed {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
}

.live-status-pill.is-closed .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--gold-core);
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 6px var(--emerald-live);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.85;
    box-shadow: 0 0 12px var(--emerald-live);
  }
}

/* 7. FAIXA MARQUEE TICKER */
.marquee-container {
  display: block;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(212, 175, 55, 0.05) 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 0 16px -2px rgba(212, 175, 55, 0.15);
  padding: 10px 0;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background var(--transition-fast);
}

.marquee-container:hover {
  background: rgba(212, 175, 55, 0.18);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.marquee-diamond {
  color: var(--gold-core);
  font-size: 0.62rem;
  text-shadow: 0 0 8px var(--gold-glow);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 8. CARDS DE AÇÃO (Luz Estrutural & Shiny Sweep Automático) */
.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--gold-hairline);
  box-shadow: var(--shadow-card), var(--inset-card-top);
  border-radius: 18px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text-primary);
  overflow: hidden;
  min-height: 48px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-border);
  background: var(--surface-card-hover);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.85), 0 0 28px -4px var(--gold-glow);
}

.action-card:active {
  transform: scale(0.99);
}

/* Pausa animações quando fora da tela ou com aba oculta (Performance & Bateria) */
.action-card:not(.is-visible) .dex-shine-sweep,
.action-card:not(.is-visible) .card-focal-border::before {
  animation-play-state: paused;
}

body.tab-hidden .dex-shine-sweep,
body.tab-hidden .card-focal-border::before,
body.tab-hidden .marquee-track {
  animation-play-state: paused;
}

/* CARD FOCAL DO CTA PRINCIPAL (Borda Conic-Gradient Giratória Automática) */
.card-focal {
  border-color: transparent !important;
  background: linear-gradient(180deg, rgba(26, 32, 42, 0.96) 0%, rgba(15, 18, 24, 0.98) 100%) !important;
  box-shadow: var(--shadow-focal), var(--inset-card-top) !important;
}

.card-focal-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.6px; /* Anel da borda iluminada */
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  overflow: hidden;
  z-index: 1;
}

.card-focal-border::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 230deg,
    var(--gold-deep) 270deg,
    var(--gold-bright) 325deg,
    var(--gold-core) 355deg,
    transparent 360deg
  );
  transform-origin: center center;
  animation: rotateBorder 5s linear infinite;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SHINY SWEEP AUTOMÁTICO (Vida Contínua Sem Hover e Sem Toque) */
.dex-shine-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 224, 139, 0.04) 25%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(253, 224, 139, 0.04) 75%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 2;
  animation: autoSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Ciclo do sweep: passa em 1.4s e pausa até o próximo ciclo */
@keyframes autoSweep {
  0% { left: -120%; }
  26% { left: 140%; }
  100% { left: 140%; }
}

/* Aceleração reativa ao toque ou hover */
.action-card:hover .dex-shine-sweep,
.action-card:active .dex-shine-sweep {
  animation: none;
  transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  left: 140%;
}

/* Linha de Conteúdo Principal do Card */
.card-content-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* Caixa de Ícone do Card com Luz Dourada */
.card-icon-box {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--gold-bright);
}

.icon-brand-whatsapp {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.icon-brand-instagram {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-border);
  box-shadow: 0 0 14px var(--gold-glow);
  color: var(--gold-bright);
}

.icon-brand-entrega {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-border);
  box-shadow: 0 0 12px var(--gold-glow);
  color: var(--gold-warm);
}

.icon-brand-location {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-border);
  box-shadow: 0 0 12px var(--gold-glow);
  color: var(--gold-bright);
}

.card-text-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-header-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.card-title {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white-pure);
  letter-spacing: 0.02em;
}

.card-subtitle {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.38;
  word-break: break-word;
  overflow-wrap: break-word;
}

.card-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.action-card:hover .card-chevron {
  color: var(--gold-bright);
  transform: translateX(3px);
}

/* Pills dos Cards com Cores Vivas */
.card-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-live {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.25);
  color: #4ade80;
}

.pill-gold {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 10px var(--gold-glow);
  color: var(--gold-bright);
}

.pill-muted {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
}

/* CTA Interno do Card */
.card-internal-cta {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
}

/* 9. CARD DE LOCALIZAÇÃO & MAPA */
.map-card-wrapper {
  cursor: default;
}

.map-card-wrapper:hover {
  transform: none;
}

.map-viewport-container {
  position: relative;
  width: 100%;
  height: 215px;
  border-radius: 14px;
  overflow: hidden;
  margin: 14px 0 12px;
  background-color: #0b0d10;
  border: 1px solid var(--gold-border-subtle);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.map-iframe-live {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.map-iframe-live.is-loaded {
  opacity: 1;
}

/* Placeholder de Carregamento */
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0f14;
  z-index: 2;
  transition: opacity 0.35s ease;
}

.map-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Touch Shield Mobile */
.map-touch-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 8, 10, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.map-touch-shield.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Faixa de Selo e Horário do Mapa */
.google-seal-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 12px;
  font-size: 0.76rem;
}

.seal-left {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.seal-right {
  color: var(--gold-bright);
  font-weight: 700;
}

/* Botões de Ação do Mapa (Traçar Rota e Copiar Endereço) */
.map-actions-row {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10px;
}

.btn-map-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  border: 1px solid transparent;
}

.btn-route-primary {
  background: var(--gold-gradient-btn);
  color: #07080a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 16px var(--gold-glow);
}

.btn-route-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6), 0 0 24px var(--gold-glow);
}

.btn-copy-address {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

.btn-copy-address:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-border);
  color: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold-glow);
  transform: translateY(-2px);
}

.map-meta-links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.link-ver-google {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-ver-google:hover {
  color: var(--gold-bright);
}

/* 10. MICRO-LINK DISCRETO */
.micro-link-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.micro-link {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.micro-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 16px -2px var(--gold-glow);
}

/* 11. TRUST GRID (3 CAIXAS DE CREDIBILIDADE COM LUZ) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.trust-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--gold-hairline);
  box-shadow: var(--shadow-card), var(--inset-card-top);
  border-radius: 14px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 48px;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 6px var(--gold-glow));
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.trust-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* 12. SEÇÃO DE HORÁRIOS SEMANAIS */
.hours-section {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-top: 1px solid var(--gold-hairline);
  box-shadow: var(--shadow-card), var(--inset-card-top);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 28px;
}

.hours-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hours-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: background var(--transition-fast);
}

.hours-row.is-today {
  background: rgba(212, 175, 55, 0.14);
  color: var(--white-pure);
  font-weight: 700;
  border: 1px solid var(--gold-border);
  box-shadow: 0 0 14px -2px var(--gold-glow);
}

.hours-row.is-today .hours-time {
  color: var(--gold-bright);
  font-weight: 800;
}

/* 13. RODAPÉ (EXATAMENTE 2 LINHAS) */
.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding-top: 10px;
}

.footer-line-copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-line-agency {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-agency-link {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 800;
  transition: color var(--transition-fast);
}

.footer-agency-link:hover {
  color: var(--gold-core);
  text-decoration: underline;
}

/* 14. TOAST NOTIFICATION */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface-elevated);
  border: 1px solid var(--gold-border);
  color: var(--white-pure);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.85), 0 0 20px var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  z-index: 10000;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.toast-notice svg {
  color: var(--gold-bright);
}

.toast-notice.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 15. RESPONSIVIDADE TOTAL (Auditoria e Breakpoints Específicos) */

/* 320px (Mobile Ultracompacto / Fold) */
@media (max-width: 359px) {
  .page-container {
    padding: 14px 10px 30px;
  }
  .title-display {
    font-size: 1.95rem;
  }
  .title-subline {
    font-size: 0.88rem;
    letter-spacing: 0.24em;
  }
  .hero-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
  .hero-banner-container {
    padding: 12px;
    min-height: 135px;
  }
  .banner-caption {
    font-size: 0.78rem;
  }
  .map-actions-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .card-content-row {
    gap: 10px;
  }
  .card-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .card-title {
    font-size: 0.88rem;
  }
  .card-subtitle {
    font-size: 0.76rem;
  }
}

/* 360px & 375px (Compact Mobile / iPhone SE) */
@media (min-width: 360px) and (max-width: 389px) {
  .page-container {
    padding: 18px 14px 34px;
  }
  .title-display {
    font-size: 2.2rem;
  }
  .trust-grid {
    gap: 8px;
  }
  .trust-title {
    font-size: 0.69rem;
  }
  .map-actions-row {
    grid-template-columns: 1.25fr 1fr;
  }
}

/* 390px (iPhone 12 / 13 / 14 / 15 Pro) — Tratamento Dedicado */
@media (min-width: 390px) and (max-width: 413px) {
  .page-container {
    padding: 22px 16px 36px;
  }
  .title-display {
    font-size: 2.45rem;
  }
  .title-subline {
    font-size: 1.05rem;
    letter-spacing: 0.32em;
  }
  .action-card {
    padding: 16px 18px;
  }
  .trust-grid {
    gap: 9px;
  }
  .map-actions-row {
    grid-template-columns: 1.35fr 1fr;
  }
}

/* 414px (iPhone Plus / Max) — Tratamento Dedicado */
@media (min-width: 414px) and (max-width: 439px) {
  .page-container {
    padding: 24px 18px 40px;
  }
  .title-display {
    font-size: 2.6rem;
  }
  .title-subline {
    font-size: 1.12rem;
    letter-spacing: 0.34em;
  }
  .action-card {
    padding: 18px 20px;
  }
  .trust-grid {
    gap: 10px;
  }
}

/* 440px+ (Telas Maiores & Tablets) */
@media (min-width: 440px) {
  .title-display {
    font-size: 2.85rem;
  }
  .title-subline {
    font-size: 1.2rem;
  }
}

/* PREFERS-REDUCED-MOTION (Estado Estático Lindo & Preservado) */
@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;
  }
  .card-focal-border::before {
    animation: none !important;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold-core) 50%, var(--gold-deep) 100%) !important;
  }
  .dex-shine-sweep {
    animation: none !important;
    display: block !important;
    opacity: 0.12;
    left: 20%;
  }
  .marquee-track {
    animation: none !important;
    transform: none !important;
  }
  .live-status-pill.is-open .status-dot {
    animation: none !important;
  }
}
