/* ==========================================================================
   JHON RELÓGIOS - 01 DE RECIFE
   Estilo Oficial de Alta Relojoaria & Layout da Imagem de Referência
   Cabeçalho Fixo no Topo, Animação como Fundo & 4 Cards de Ação
   ========================================================================== */

/* --- Variáveis Globais de Cores & Tipografia de Luxo --- */
:root {
  --gold-primary: #d4af37;
  --gold-light: #fce9ad;
  --gold-dark: #8c6e26;
  --gold-muted: #bfa577;
  --gold-border: rgba(212, 175, 55, 0.52);
  --gold-glow: rgba(212, 175, 55, 0.38);
  --bg-dark: #000000;
  --bg-card: rgba(14, 11, 4, 0.97);
  --text-white: #ffffff;
  --text-gold: #f5eed8;
  --text-muted: #948572;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
}

/* --- Reset Universal & Prevenção de Overflow --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: clip;
  user-select: none;
  -webkit-user-select: none;
  scroll-behavior: smooth;
}

/* ==========================================================================
   1. CANVAS DA ANIMAÇÃO DO RELÓGIO (FUNDO FIXO DO SITE - OCUPA 100%)
   ========================================================================== */
#bgAnimationCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   2. CABEÇALHO FIXO PERMANENTE NO TOPO (SEM EFEITO BORRADO, TOTALMENTE NÍTIDO)
   ========================================================================== */
.luxury-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 440px;
  z-index: 100;
  padding: clamp(28px, 4.5vh, 40px) 14px 6px 14px;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
}

.logo-badge-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.logo-badge {
  position: relative;
  z-index: 2;
  width: 104px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.98));
}

.header-titles {
  text-align: center;
  width: 100%;
}

.main-heading {
  font-family: var(--font-serif);
  font-size: clamp(21px, 5.5vw, 27px);
  font-weight: 700;
  letter-spacing: 2.2px;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.98));
}

.heading-gold {
  background: linear-gradient(135deg, #fce9ad 0%, #d4af37 50%, #997321 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.45));
}

.heading-silver {
  background: linear-gradient(135deg, #ffffff 0%, #dedede 50%, #9e9e9e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2.8px;
  font-weight: 600;
}

.sub-heading {
  font-family: var(--font-sans);
  font-size: clamp(8px, 2.2vw, 9.5px);
  font-weight: 600;
  color: var(--gold-muted);
  letter-spacing: clamp(2.8px, 1vw, 3.8px);
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.95;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.98), 0 4px 12px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
}

/* ==========================================================================
   3. CONTAINER PRINCIPAL (SCROLLÁVEL, COM ESPAÇAMENTO PARA O CABEÇALHO FIXO)
   ========================================================================== */
.luxury-page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 215px 12px 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}

/* ==========================================================================
   TRILHO DE ROLAGEM DO RELÓGIO (PRIMEIRA TELA COM TEXTO "ROLE PRA BAIXO")
   ========================================================================== */
.watch-scroll-track {
  position: relative;
  width: 100%;
  height: calc(100vh - 215px);
  height: calc(100dvh - 215px);
  min-height: 360px;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 25px;
  pointer-events: none;
  box-sizing: border-box;
}

/* ==========================================================================
   INDICADOR MINIMALISTA DE ROLAGEM COM EFEITO JUMP (PRIMEIRA TELA)
   ========================================================================== */
.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.4s ease;
  animation: jumpPrompt 2.2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite;
}

/* Efeito Jump / Salto contínuo para convidar o usuário a rolar */
@keyframes jumpPrompt {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  40% {
    transform: translateY(-9px);
    opacity: 1;
  }
  60% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.prompt-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #fdedb4 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.98));
  text-align: center;
  margin: 0;
}

.chevron-minimal {
  color: var(--gold-primary);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
  transition: transform 0.25s ease;
}

.scroll-prompt.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  pointer-events: none !important;
}

/* ==========================================================================
   SEÇÃO DOS CARDS (SURGEM CONFORME O RELÓGIO REMONTA)
   ========================================================================== */
.cards-section {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 5;
  padding-top: 4px;
  box-sizing: border-box;
}

/* ==========================================================================
   TEXTO INSTITUCIONAL DA EMPRESA (PLACA DOURADA METÁLICA 18K)
   ========================================================================== */
.company-bio-section {
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px 0;
  padding: 14px 14px 12px 14px;
  position: relative;
  border-radius: 16px;
  border: 1.8px solid transparent;
  background: 
    linear-gradient(145deg, rgba(24, 18, 7, 0.96) 0%, rgba(12, 9, 3, 0.98) 50%, rgba(32, 24, 9, 0.96) 100%) padding-box,
    linear-gradient(135deg, #fff2be 0%, #d4af37 20%, #7d5e18 40%, #ffdf7a 65%, #c89e34 85%, #664910 100%) border-box;
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.32),
    0 14px 40px rgba(0, 0, 0, 0.98),
    inset 0 1.5px 2px rgba(255, 245, 200, 0.45),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.85);
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

/* Linha de reflexo metálico chanfrado no topo */
.company-bio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #fff4cc 30%, #ffffff 50%, #fff4cc 70%, transparent 100%);
  pointer-events: none;
}

/* Linha de acabamento dourado na base */
.company-bio-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.6) 50%, transparent 100%);
  pointer-events: none;
}

/* Mini brasão/coroa de ouro */
.bio-crest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 235, 160, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 1px solid rgba(255, 220, 100, 0.55);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.4), inset 0 1px 1px #fff;
  color: #ffd700;
  margin-bottom: 6px;
}

.company-bio-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.25px;
  color: #f7eedb;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.98);
  margin: 0;
}

.gold-highlight {
  background: linear-gradient(135deg, #fff3c4 0%, #ffd700 55%, #c4992e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

/* ==========================================================================
   OS 4 CARDS DE LINKS (DESIGN DOURADO METÁLICO PREMIUM 18K)
   ========================================================================== */
.links-stack {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.link-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 58px;
  border-radius: 16px;
  border: 1.8px solid transparent;
  background: 
    linear-gradient(145deg, rgba(26, 20, 7, 0.98) 0%, rgba(13, 10, 4, 0.99) 50%, rgba(36, 27, 10, 0.98) 100%) padding-box,
    linear-gradient(135deg, #fff5cc 0%, #ffd700 22%, #7a5a14 45%, #fff0a8 68%, #b8860b 88%, #573e0c 100%) border-box;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.35),
    0 10px 32px rgba(0, 0, 0, 0.95),
    inset 0 1.5px 2px rgba(255, 250, 210, 0.45),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 12px;
  text-decoration: none !important;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  box-sizing: border-box;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.25, 1),
              box-shadow 0.24s ease;
}

/* Bisel de reflexo especular polido no topo do card */
.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #ffe999 35%, #ffffff 50%, #ffe999 65%, transparent 100%);
  pointer-events: none;
}

/* Feixe de Luz Metálica (Shine Sweep) */
.card-shine {
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 240, 180, 0.05) 20%,
    rgba(255, 230, 120, 0.45) 50%,
    rgba(255, 240, 180, 0.05) 80%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: left 0.75s ease;
  z-index: 3;
}

/* --- EFEITO 1: HOVER DOURADO METÁLICO INTENSO --- */
.link-card:hover {
  transform: translateY(-3px) scale(1.015);
  background: 
    linear-gradient(145deg, rgba(38, 29, 10, 0.99) 0%, rgba(20, 15, 5, 0.99) 50%, rgba(50, 38, 14, 0.99) 100%) padding-box,
    linear-gradient(135deg, #ffffff 0%, #ffe680 25%, #ffd700 50%, #ffffff 75%, #d4af37 100%) border-box;
  box-shadow:
    0 0 38px rgba(255, 215, 0, 0.8),
    0 14px 40px rgba(0, 0, 0, 0.98),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 0 20px rgba(212, 175, 55, 0.25);
}

.link-card:hover .card-shine {
  left: 175%;
}

/* --- EFEITO 2: CLIQUE DOURADO (ACTIVE TOUCH/CLICK) --- */
.link-card:active {
  transform: scale(0.975) translateY(0);
  background: 
    linear-gradient(145deg, rgba(55, 42, 14, 1) 0%, rgba(32, 24, 7, 1) 50%, rgba(65, 50, 18, 1) 100%) padding-box,
    linear-gradient(135deg, #ffffff 0%, #ffd700 50%, #ffffff 100%) border-box;
  box-shadow:
    0 0 55px rgba(255, 215, 0, 1),
    0 0 20px #ffffff,
    inset 0 0 25px rgba(255, 215, 0, 0.5);
  transition-duration: 0.08s;
}

/* Ripple de Clique Dourado Injetado via JS */
.gold-click-ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 220, 100, 0.55) 0%, rgba(212, 175, 55, 0.28) 45%, transparent 70%);
  pointer-events: none;
  animation: goldRipple 0.65s ease-out forwards;
  z-index: 4;
}

@keyframes goldRipple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Medalhão Dourado do Ícone à Esquerda */
.card-left-group {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(255, 235, 160, 0.22) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(18, 14, 5, 0.85) 100%);
  border: 1.2px solid rgba(255, 225, 120, 0.65);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 245, 190, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffd700;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.6));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.link-card:hover .card-icon {
  transform: scale(1.08);
  border-color: #ffffff;
  color: #ffffff;
}

.link-card:active .card-icon {
  transform: scale(1.02);
  color: #ffffff;
}

.card-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.card-title {
  font-family: var(--font-serif) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff2b8 25%, #ffd700 65%, #c2942b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.95));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: filter 0.22s ease;
}

.link-card:hover .card-title {
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.card-subtitle {
  font-family: var(--font-sans) !important;
  font-size: 7.2px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  color: #d1b88a !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
  transition: color 0.22s ease;
}

.link-card:hover .card-subtitle {
  color: #fff2cc !important;
}

/* Lado Direito: Moeda Dourada Metálica Sólida 18K */
.card-arrow-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-arrow-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7d1 0%, #ffd700 35%, #9e7314 70%, #d4af37 100%);
  border: 1.5px solid #ffffff;
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(255, 215, 0, 0.5),
    inset 0 1px 2px #ffffff,
    inset 0 -1.5px 2px rgba(110, 80, 15, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f0c03;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.25, 1), box-shadow 0.24s ease;
}

.card-arrow-circle svg {
  color: #0f0c03;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.25, 1);
  stroke-width: 2.8;
}

/* Efeito Hover na Moeda Dourada */
.link-card:hover .card-arrow-circle {
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 45%, #b8860b 100%);
  box-shadow:
    0 0 24px rgba(255, 215, 0, 1),
    0 4px 14px rgba(0, 0, 0, 0.8);
  transform: translateX(3px) scale(1.08);
}

.link-card:hover .card-arrow-circle svg {
  transform: translateX(2px);
}

/* Efeito de Clique na Moeda */
.link-card:active .card-arrow-circle {
  transform: translateX(4px) scale(0.96);
  box-shadow: 0 0 30px rgba(255, 215, 0, 1);
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL
   ========================================================================== */
.footer-section {
  text-align: center;
  margin-top: clamp(65px, 14vh, 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 40px;
}

.footer-divider {
  width: 44px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #c5a56d, transparent);
}

.footer-text {
  font-family: var(--font-serif);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 2.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
}

.footer-legal {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: var(--gold-muted);
  text-align: center;
  margin-top: 6px;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.98);
}

/* ==========================================================================
   RESPONSIVIDADE (TELAS MENORES E REDUZIDAS)
   ========================================================================== */
@media (max-width: 375px), (max-height: 700px) {
  .luxury-header {
    padding: 24px 12px 4px 12px;
  }
  .logo-badge {
    width: 90px;
    height: 90px;
  }
  .main-heading {
    font-size: 20px;
  }
  .sub-heading {
    font-size: 8px;
    margin-top: 3px;
  }
  .luxury-page-container {
    padding-top: 195px;
  }
  .watch-scroll-track {
    height: calc(100vh - 195px);
    height: calc(100dvh - 195px);
    min-height: 340px;
  }
  .company-bio-section {
    padding: 12px 12px 10px 12px;
    margin-bottom: 10px;
  }
  .bio-crest-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
  }
  .company-bio-text {
    font-size: 9.5px;
    line-height: 1.5;
  }
  .link-card {
    height: 52px;
    padding: 0 10px;
  }
  .links-stack {
    gap: 8px;
    margin-bottom: 12px;
  }
  .card-icon {
    width: 34px;
    height: 34px;
  }
  .card-arrow-circle {
    width: 34px;
    height: 34px;
  }
  .card-title {
    font-size: 10.5px !important;
  }
  .card-subtitle {
    font-size: 6.8px !important;
  }
}

@media (max-width: 340px) {
  .logo-badge {
    width: 80px;
    height: 80px;
  }
  .main-heading {
    font-size: 18px;
  }
  .luxury-page-container {
    padding-top: 160px;
  }
  .watch-scroll-track {
    height: calc(100vh - 160px);
    height: calc(100dvh - 160px);
    min-height: 320px;
  }
  .link-card {
    height: 48px;
  }
  .card-icon {
    width: 30px;
    height: 30px;
  }
  .card-arrow-circle {
    width: 30px;
    height: 30px;
  }
  .card-title {
    font-size: 9.5px !important;
  }
  .card-subtitle {
    font-size: 6.5px !important;
  }
}
