/* ==========================================================================
   TESSARO OUTLET ® — DESIGN SYSTEM & ESTILO SUPREMO
   Paleta: Preto Profundo & Ouro Dourado Brilhante (Sem Caixas Cinzas)
   ========================================================================== */

:root {
  /* Cores Principais - Preto Profundo e Tema da Loja */
  --bg-deep: #070709;
  --bg-theme: #151515;
  --bg-card: #0f1013;
  --bg-card-hover: #16171d;
  
  /* Ouro Dourado Brilhante (Matiz: 46°, Saturação: 100%, Luminosidade: 50%) */
  /* Alvo de Contraste: > 10:1 sobre preto (Aprovado AAA) */
  --gold-primary: hsl(46, 100%, 50%);
  --gold-bright: hsl(48, 100%, 60%);
  --gold-sheen: hsl(50, 100%, 75%);
  --gold-deep: hsl(43, 95%, 40%);
  --gold-glow: rgba(255, 196, 0, 0.35);
  --gold-hairline: rgba(255, 196, 0, 0.22);
  --gold-hairline-strong: rgba(255, 196, 0, 0.45);
  
  /* Textos & Tipografia */
  --text-white: #ffffff;
  --text-primary: #f4f4f5;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  
  /* Linhas e Fios de Luz */
  --seam-line: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.28), transparent);
  --card-top-light: linear-gradient(90deg, transparent 5%, rgba(255, 196, 0, 0.35) 50%, transparent 95%);
  
  /* Font Family - Stack Nativo e Ultra Leve (Zero Latência / Zero CLS) */
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Raios de Arredondamento */
  --radius-full: 9999px;
  --radius-card: 18px;
  --radius-pill: 12px;
}

/* --------------------------------------------------------------------------
   RESET & REGRAS CRÍTICAS DE RESPONSIVIDADE
   ⛔ PROIBIDO overflow-x: hidden em html/body
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   ATMOSFERA LUMINOSA (SUPERFÍCIE CONTÍNUA SEM CAIXAS CINZAS)
   -------------------------------------------------------------------------- */
.ambient-light {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 480px;
  background: radial-gradient(circle at 50% 15%, rgba(255, 196, 0, 0.12) 0%, rgba(255, 196, 0, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   ESTRUTURA PRINCIPAL (PAGE SHELL)
   -------------------------------------------------------------------------- */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4.5vw, 24px);
  padding-top: max(24px, env(safe-area-inset-top));
  padding-bottom: max(36px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Garante min-width: 0 em todos os flex/grid containers e itens */
.page-shell,
.hero-header,
.action-section,
.links-group,
.link-card,
.btn-primary-golden,
.categories-grid,
.storefront-card {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   HEADER & MARCA OFICIAL
   -------------------------------------------------------------------------- */
.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding-top: 10px;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 240px;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.8));
}

/* Status Badge */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 21, 21, 0.85);
  border: 1px solid var(--gold-hairline);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  max-width: 100%;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  flex-shrink: 0;
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(1.25);
  }
}

.badge-text {
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

/* Profile Instagram Pill */
.profile-meta {
  display: flex;
  justify-content: center;
  width: 100%;
}

.instagram-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem; /* 15px */
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 48px;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.instagram-pill:hover,
.instagram-pill:focus-visible {
  transform: translateY(-2px);
  color: var(--gold-bright);
  border-color: var(--gold-hairline);
  background: rgba(255, 196, 0, 0.05);
}

.profile-username {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Linha Seam de Conexão */
.seam-line {
  width: 100%;
  height: 1px;
  background: var(--seam-line);
  margin-block: 4px;
}

/* --------------------------------------------------------------------------
   SEÇÃO & TÍTULOS
   -------------------------------------------------------------------------- */
.action-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 4px;
}

.heading-gold-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-primary);
  flex-shrink: 0;
}

.section-title {
  font-size: 0.9375rem; /* 15px */
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   HERO CTA PRINCIPAL: COMPRE ATRAVÉS DO SITE (SHINY SWEEP GLOW)
   -------------------------------------------------------------------------- */
.primary-action-section {
  margin-bottom: 4px;
}

.btn-primary-golden {
  position: relative;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, hsl(46, 100%, 48%) 0%, hsl(43, 100%, 42%) 100%);
  color: #070709;
  border-radius: var(--radius-card);
  padding: 16px 20px;
  min-height: 80px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--gold-glow), 0 2px 6px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.btn-primary-golden:hover,
.btn-primary-golden:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 34px rgba(255, 196, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.7);
}

.btn-primary-golden:active {
  transform: translateY(-1px) scale(0.99);
}

/* SHINY SWEEP GLOW: OBRIGATÓRIO ANIMAR transform: translateX() */
.btn-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 25%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-20deg);
  animation: shiny-sweep-animation 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes shiny-sweep-animation {
  0% {
    transform: translateX(-120%) skewX(-20deg);
  }
  28%, 100% {
    transform: translateX(240%) skewX(-20deg);
  }
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
  color: #070709;
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.btn-eyebrow {
  font-size: 0.8125rem; /* 13px na regra base mas alinhado ao texto de 14px */
  font-size: 0.875rem; /* 14px (mínimo exigido) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #261900;
  line-height: 1.2;
}

.btn-main-title {
  font-size: clamp(1.0625rem, 4vw, 1.25rem); /* 17px a 20px */
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #070709;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.btn-desc {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: #382805;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070709;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CARDS DE LINKS (ATENDIMENTO & GRUPOS)
   Superfície contínua e elevada sem caixas cinzas
   -------------------------------------------------------------------------- */
.links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #14151a 0%, #0d0e12 100%);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  min-height: 64px;
  text-decoration: none;
  color: var(--text-primary);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Top hairline highlight para sensação de profundidade artística */
.link-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--card-top-light);
  pointer-events: none;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 196, 0, 0.15);
}

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

/* Shiny sweep sutil nos cards ao hover */
.link-card-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 196, 0, 0.08) 50%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.link-card:hover .link-card-sweep {
  transform: translateX(120%);
}

.link-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  flex-shrink: 0;
}

.link-icon-box.gold-tint {
  background: rgba(255, 196, 0, 0.08);
  border-color: var(--gold-hairline);
  color: var(--gold-primary);
}

.link-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.link-title {
  font-size: 1rem; /* 16px */
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.link-subtitle {
  font-size: 0.875rem; /* 14px */
  color: var(--text-muted);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.phone-highlight {
  color: var(--gold-bright);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.link-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-card:hover .link-action-icon {
  transform: translateX(3px);
  color: var(--gold-primary);
}

.link-badge-pill {
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 196, 0, 0.12);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   GRADE DE DEPARTAMENTOS / NAVEGAÇÃO RÁPIDA
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
}

.cat-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(18, 19, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.cat-pill:hover,
.cat-pill:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-hairline-strong);
  color: var(--gold-bright);
  background: rgba(255, 196, 0, 0.06);
}

.cat-pill-all {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 196, 0, 0.06);
  border-color: var(--gold-hairline);
  color: var(--gold-primary);
  font-weight: 700;
}

.cat-pill-all:hover {
  background: rgba(255, 196, 0, 0.12);
  border-color: var(--gold-bright);
}

/* --------------------------------------------------------------------------
   BALCÃO FÍSICO / LOCALIZAÇÃO E HORÁRIOS
   -------------------------------------------------------------------------- */
.storefront-card {
  position: relative;
  background: linear-gradient(180deg, #131419 0%, #0c0d10 100%);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.storefront-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--card-top-light);
  pointer-events: none;
}

.storefront-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.storefront-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 196, 0, 0.1);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-primary);
  flex-shrink: 0;
}

.storefront-title {
  font-size: 1.0625rem; /* 17px */
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.01em;
}

.storefront-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.info-label {
  font-size: 0.875rem; /* 14px */
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-text {
  font-size: 0.9375rem; /* 15px */
  color: var(--text-secondary);
  line-height: 1.45;
}

.breakable-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hours-text {
  color: var(--text-white);
  font-weight: 600;
}

.storefront-actions {
  padding-top: 4px;
}

.btn-route-maps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-hairline);
  color: var(--gold-bright);
  text-decoration: none;
  font-size: 0.9375rem; /* 15px */
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-route-maps:hover,
.btn-route-maps:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 196, 0, 0.1);
  border-color: var(--gold-bright);
  color: var(--gold-sheen);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding-block: 16px 8px;
}

.footer-divider {
  width: 100%;
  max-width: 180px;
  height: 1px;
  background: var(--seam-line);
  margin-bottom: 12px;
}

.footer-brand {
  font-size: 0.9375rem; /* 15px */
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.footer-copy {
  font-size: 0.875rem; /* 14px */
  color: var(--text-muted);
}

.footer-sub a {
  font-size: 0.875rem; /* 14px */
  color: var(--gold-bright);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-sub a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   PREFERS-REDUCED-MOTION
   ⛔ Zero regra global com 0.001ms !important
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }

  .btn-sweep,
  .link-card-sweep {
    display: none !important;
  }

  .badge-pulse {
    animation: none !important;
    opacity: 1 !important;
  }
}
