/* ==========================================================================
   PLUMA TÊXTEIS — ESTILO OFICIAL LINK-IN-BIO PREMIUM
   Design System: Preto & Branco Minimal Luxury (Alta Costura Têxtil)
   ========================================================================== */

/* Design Tokens */
:root {
  --bg-primary: #050505;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #111111;
  --text-primary: #f5f5f5;
  --text-secondary: #9a9a9a;
  --text-muted: #666666;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-prominent: rgba(255, 255, 255, 0.16);
  --border-hover: rgba(255, 255, 255, 0.32);
  --btn-primary-bg: #f5f5f5;
  --btn-primary-text: #050505;
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --min-touch-target: 48px;
}

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

html {
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

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

/* Ponto Focal Único de Iluminação no Topo */
.focal-light-ambient {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(800px, 100vw);
  height: 520px;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(255, 255, 255, 0.008) 60%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
}

/* Container Estrutural */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 64px 24px 80px;
    gap: 44px;
  }
}

/* ==========================================================================
   HERO / CABEÇALHO DA MARCA
   ========================================================================== */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.logo-frame {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 20px;
  background: #000000;
  border: 1px solid var(--border-prominent);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-fluid), border-color 0.4s var(--ease-fluid);
}

.logo-frame:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

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

/* Pill de Status Dinâmico de Atendimento */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.4; }
}

.status-pill.status-closed .status-dot {
  background: #666666;
  box-shadow: none;
  animation: none;
}

/* Tipografia do Hero */
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 10px;
}

.brand-positioning {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto 12px;
}

.brand-editorial-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 400px;
}

/* ==========================================================================
   BOTÕES DE CONVERSÃO & INTERAÇÃO (SHINY SWEEP PREMIUM)
   ========================================================================== */
.actions-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* Botão Base */
.btn-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: transform 0.28s var(--ease-fluid), border-color 0.28s var(--ease-fluid), box-shadow 0.28s var(--ease-fluid);
  -webkit-tap-highlight-color: transparent;
}

/* Shiny Sweep Efeito Elegante: Feixe diagonal de baixa opacidade */
.btn-action::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 80%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 80%
  );
  transform: rotate(-15deg);
  transition: left 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

/* Hover e Toque Ativo */
.btn-action:hover::after,
.btn-action:active::after,
.btn-action.touch-active::after {
  left: 140%;
}

.btn-action:hover {
  transform: translateY(-2px);
}

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

/* Botão Primário: Destaque Nobre em Branco */
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 1px solid #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.07);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.btn-primary .btn-icon-svg {
  color: #050505;
}

.btn-primary .btn-arrow-svg {
  color: #050505;
}

.btn-primary .btn-title {
  color: #050505;
  font-weight: 700;
}

.btn-primary .btn-subtitle {
  color: #444444;
}

/* Botão Secundário: Preto Sofisticado Translúcido */
.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid var(--border-prominent);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
}

.btn-secondary .btn-icon-svg {
  color: #ffffff;
}

.btn-secondary .btn-arrow-svg {
  color: var(--text-secondary);
}

.btn-secondary .btn-title {
  color: #ffffff;
  font-weight: 600;
}

.btn-secondary .btn-subtitle {
  color: var(--text-muted);
}

/* Estrutura Interna dos Botões */
.btn-content-left {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.btn-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-title {
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.btn-subtitle {
  font-size: 0.78rem;
  margin-top: 3px;
  line-height: 1.3;
}

.btn-arrow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.25s var(--ease-fluid);
}

.btn-action:hover .btn-arrow-wrapper {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   SEÇÕES CONTÍNUAS (ZERO CARDS CINZAS, DESIGN EDITORIAL FLUIDO)
   ========================================================================== */
.flow-section {
  position: relative;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.section-label-line {
  height: 1px;
  flex: 1;
  background: var(--border-subtle);
}

.section-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ==========================================================================
   BLOCO DIFERENCIAL REAL: PEDIDO MÍNIMO A PARTIR DE 1 ROLO
   ========================================================================== */
.differential-block {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border-prominent);
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease;
}

.differential-block:hover {
  border-color: var(--border-hover);
}

.differential-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.differential-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-prominent);
  color: #ffffff;
  flex-shrink: 0;
}

.differential-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.differential-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.differential-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 6px;
}

@media (min-width: 480px) {
  .differential-highlights {
    grid-template-columns: 1fr 1fr;
  }
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.highlight-icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: #ffffff;
}

/* ==========================================================================
   BLOCO CURADORIA & ATRIBUTOS DE PRODUTO (TECIDOS EXCLUSIVOS)
   ========================================================================== */
.curation-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.curation-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.curation-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-prominent);
}

.curation-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.curation-content h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.curation-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   LOCALIZAÇÃO, HORÁRIOS & MAPA
   ========================================================================== */
.location-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-details h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.info-details p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.schedule-badge {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Container do Mapa */
.map-frame-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-prominent);
  background: #0d0d0d;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(92%) contrast(85%);
  transition: filter 0.4s ease;
}

.map-frame-wrapper:hover iframe {
  filter: grayscale(100%) invert(88%) contrast(90%);
}

.map-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-prominent);
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-fluid);
}

.map-action-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-hover);
}

/* ==========================================================================
   FOOTER EDITORIAL
   ========================================================================== */
.brand-footer {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

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

.footer-mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.footer-mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 420px;
}

.footer-legal {
  font-size: 0.72rem;
  color: #444444;
}

/* ==========================================================================
   ACCESSIBILITY & 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-action::after {
    display: none !important;
  }
}

/* Safe Area Insets para iPhones modernos */
@supports (padding: env(safe-area-inset-bottom)) {
  .page-wrapper {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
