/* ==========================================================================
   FOR KING'S — LINK-IN-BIO OFICIAL
   Direção de Arte: Editorial Alta Alfaiataria & Moda Masculina Contemporânea
   Paleta extraída do logo original: #080706, #b5956b, #e0c49d, #4e3d2c
   ========================================================================== */

:root {
  /* Cores Oficiais Extraídas do Logo */
  --bg-base: #080706;
  --bg-surface: rgba(18, 15, 12, 0.78);
  --bg-surface-hover: rgba(28, 23, 18, 0.92);
  --bg-card: rgba(15, 13, 10, 0.75);
  
  --gold-primary: #b5956b;
  --gold-bright: #e0c49d;
  --gold-deep: #4e3d2c;
  --gold-glow: rgba(181, 149, 107, 0.26);
  --gold-border: rgba(181, 149, 107, 0.22);
  --gold-border-focus: rgba(224, 196, 157, 0.55);

  --text-pure: #ffffff;
  --text-main: #f6f2ec;
  --text-muted: #9e9185;
  --text-dim: #70655a;

  /* Cores Oficiais dos Canais */
  --whatsapp-green: #25d366;
  --instagram-pink: #e1306c;
  --instagram-orange: #f56040;

  /* Tipografia */
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaçamentos & Proporções */
  --radius-btn: 16px;
  --radius-card: 22px;
  --max-w: 460px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Universal & Higienização */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  position: relative;
  background-color: var(--bg-base);
  overflow-x: hidden !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.25rem 3.5rem 1.25rem;
}

/* ==========================================================================
   CAMADAS DE FUNDO & ILUMINAÇÃO CONTÍNUA
   ========================================================================== */

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  will-change: opacity;
}

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

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: contrast(1.1) brightness(0.7);
}

/* Marca D'água Monumental da Logo no Fundo */
.brand-watermark-layer {
  position: fixed;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 80vw, 440px);
  height: clamp(280px, 80vw, 440px);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.13;
  filter: drop-shadow(0 0 45px rgba(181, 149, 107, 0.4));
  animation: watermarkBreath 12s ease-in-out infinite alternate;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 88%);
}

@keyframes watermarkBreath {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.12; }
  100% { transform: translate(-50%, -52%) scale(1.04); opacity: 0.16; }
}

.brand-watermark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(0.2) contrast(1.1);
}

.ambient-glow {
  position: fixed;
  top: -10vw;
  left: 50%;
  transform: translateX(-50%);
  width: 140vw;
  max-width: 900px;
  height: 70vh;
  background: radial-gradient(ellipse at 50% 20%, rgba(181, 149, 107, 0.16) 0%, rgba(181, 149, 107, 0.04) 48%, transparent 75%);
  z-index: 2;
  pointer-events: none;
}

.vignette-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 45%, transparent 35%, rgba(8, 7, 6, 0.88) 92%);
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   CONTAINER PRINCIPAL
   ========================================================================== */

.page-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.75rem;
}

/* ==========================================================================
   TOP BAR MINIMALISTA
   ========================================================================== */

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  background: rgba(181, 149, 107, 0.08);
  border: 1px solid rgba(181, 149, 107, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

/* ==========================================================================
   HERO MONUMENTAL
   ========================================================================== */

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.logo-frame {
  position: relative;
  width: 114px;
  height: 114px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(181, 149, 107, 0.45), rgba(78, 61, 44, 0.15), rgba(224, 196, 157, 0.45), rgba(181, 149, 107, 0.45));
  filter: blur(9px);
  opacity: 0.8;
  animation: haloRotate 14s linear infinite;
}

@keyframes haloRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0d0b09;
  border: 1.5px solid var(--gold-border);
  padding: 3px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 22px rgba(181, 149, 107, 0.2);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-pure);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.brand-signature {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-bright) 50%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.65rem;
}

.brand-segment {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==========================================================================
   ESTILIZAÇÃO DE ALTO PADRÃO DOS CARDS
   ========================================================================== */

.actions-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

/* Ícones Oficiais em SVG */
.icon-svg-official {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* CTA Monumental — WhatsApp Oficial */
.cta-primary {
  position: relative;
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.45rem;
  background: linear-gradient(135deg, rgba(32, 26, 20, 0.95) 0%, rgba(18, 14, 11, 0.98) 100%);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-btn);
  color: var(--text-pure);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 10px 28px rgba(0, 0, 0, 0.6),
    0 0 28px rgba(181, 149, 107, 0.22);
  transition: transform 0.25s var(--transition-smooth), border-color 0.25s ease, box-shadow 0.25s ease;
  touch-action: manipulation;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 
    inset 0 1px 2px rgba(255, 255, 255, 0.25),
    0 16px 36px rgba(0, 0, 0, 0.75),
    0 0 38px rgba(224, 196, 157, 0.38);
  outline: none;
}

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

/* Shiny sweep de alta elegância */
.shiny-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(224, 196, 157, 0.32) 50%,
    rgba(255, 255, 255, 0.1) 60%,
    transparent 80%
  );
  transform: translateX(-150%) skewX(-20deg);
  pointer-events: none;
  animation: sweepPass 5.5s infinite var(--transition-smooth);
}

@keyframes sweepPass {
  0% { transform: translateX(-150%) skewX(-20deg); }
  32% { transform: translateX(150%) skewX(-20deg); }
  100% { transform: translateX(150%) skewX(-20deg); }
}

.cta-content-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  z-index: 2;
}

/* Badge Oficial do WhatsApp */
.icon-badge.whatsapp-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.18) 0%, rgba(181, 149, 107, 0.22) 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whatsapp-green);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-primary:hover .whatsapp-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.cta-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cta-label-lead {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-pure);
  line-height: 1.25;
}

.cta-subtext {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}

.cta-action-right {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.cta-arrow {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  transition: transform 0.25s var(--transition-smooth), color 0.25s ease;
  flex-shrink: 0;
}

.cta-primary:hover .cta-arrow {
  transform: translateX(4px);
  color: var(--gold-bright);
}

/* ==========================================================================
   CARD DO INSTAGRAM OFICIAL
   ========================================================================== */

.action-card.card-instagram {
  position: relative;
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.45rem;
  background: linear-gradient(135deg, rgba(22, 18, 14, 0.85) 0%, rgba(14, 12, 9, 0.92) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-btn);
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.25s var(--transition-smooth);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  touch-action: manipulation;
  cursor: pointer;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.45);
}

.action-card.card-instagram:hover,
.action-card.card-instagram:focus-visible {
  background: linear-gradient(135deg, rgba(30, 24, 18, 0.95) 0%, rgba(20, 16, 12, 0.98) 100%);
  border-color: rgba(225, 48, 108, 0.45);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 12px 28px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(225, 48, 108, 0.18);
  outline: none;
}

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

/* Badge Oficial do Instagram */
.card-icon-wrap.insta-badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.18) 0%, rgba(245, 96, 64, 0.15) 100%);
  border: 1px solid rgba(225, 48, 108, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff5483;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.action-card.card-instagram:hover .insta-badge {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35);
}

.card-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-pure);
  letter-spacing: 0.02em;
}

.card-subtitle {
  font-size: 0.78rem;
  color: var(--gold-bright);
}

.action-card .card-arrow {
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.25s var(--transition-smooth), color 0.25s ease;
  flex-shrink: 0;
}

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

/* ==========================================================================
   SEÇÃO LOJA FÍSICA & CONTATO INSTITUCIONAL
   ========================================================================== */

.editorial-section {
  width: 100%;
  background: linear-gradient(180deg, rgba(22, 18, 14, 0.88) 0%, rgba(13, 11, 8, 0.96) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.45rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.6);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(181, 149, 107, 0.14);
}

.header-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(181, 149, 107, 0.1);
  border: 1px solid rgba(181, 149, 107, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.header-icon-badge svg {
  width: 18px;
  height: 18px;
}

.header-text-block {
  display: flex;
  flex-direction: column;
}

.section-header-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-pure);
}

.section-header-subtitle {
  font-size: 0.72rem;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.25rem;
  border-left: 2px solid rgba(181, 149, 107, 0.28);
  padding-left: 0.85rem;
}

.address-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.address-city {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.maps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(135deg, rgba(181, 149, 107, 0.12) 0%, rgba(78, 61, 44, 0.2) 100%);
  border: 1.2px solid var(--gold-border);
  border-radius: var(--radius-btn);
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s var(--transition-smooth);
  touch-action: manipulation;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.maps-btn:hover,
.maps-btn:focus-visible {
  background: linear-gradient(135deg, rgba(181, 149, 107, 0.25) 0%, rgba(78, 61, 44, 0.35) 100%);
  border-color: var(--gold-primary);
  color: var(--text-pure);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(181, 149, 107, 0.2);
}

.maps-btn svg {
  width: 17px;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL & MONOGRAMA
   ========================================================================== */

.page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding-top: 1rem;
}

.footer-crown {
  width: 26px;
  height: 26px;
  color: var(--gold-primary);
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.footer-copy {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--gold-primary);
  opacity: 0.85;
}

/* ==========================================================================
   ACESSIBILIDADE & REDUCED MOTION
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--gold-bright);
  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;
  }
  .shiny-sweep,
  .logo-halo,
  .brand-watermark-layer {
    animation: none !important;
  }
}

/* ==========================================================================
   BREAKPOINTS RESPONSIVOS RIGOROSOS (320px a 1920px)
   ========================================================================== */

@media (max-width: 360px) {
  body {
    padding: 0 0.85rem 2.5rem 0.85rem;
  }
  .brand-title {
    font-size: 1.85rem;
  }
  .brand-signature {
    font-size: 1rem;
  }
  .logo-frame {
    width: 96px;
    height: 96px;
  }
  .cta-primary {
    padding: 0.95rem 1.1rem;
    min-height: 62px;
  }
  .cta-label-lead {
    font-size: 0.92rem;
  }
  .icon-badge.whatsapp-badge {
    width: 40px;
    height: 40px;
  }
  .card-icon-wrap.insta-badge {
    width: 38px;
    height: 38px;
  }
  .brand-watermark-layer {
    width: 250px;
    height: 250px;
  }
}

@media (min-width: 768px) {
  body {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
  }
  .page-wrapper {
    padding-top: 2.5rem;
  }
  .brand-title {
    font-size: 2.5rem;
  }
  .brand-signature {
    font-size: 1.25rem;
  }
  .cta-primary {
    padding: 1.25rem 1.65rem;
    min-height: 72px;
  }
  .brand-watermark-layer {
    width: 480px;
    height: 480px;
    top: 32%;
  }
}
