/* ==========================================================================
   JD Semijoias • Estilo Oficial & Design System
   Paleta: Preto Premium, Branco Premium, Azul (#40C3D6), Rosa (#EC3F97)
   Sem cinza neutro de sistema. Tipografia auto-hospedada Inter.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter.woff2') format('woff2');
}

:root {
  --color-black: #07080a;
  --color-dark-surface: #0e1117;
  --color-white: #fbfbfc;
  --color-pure-white: #ffffff;
  --color-blue: #40C3D6;
  --color-pink: #EC3F97;

  --color-blue-glow: rgba(64, 195, 214, 0.35);
  --color-pink-glow: rgba(236, 63, 151, 0.35);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-card: 22px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  background-color: var(--color-black);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container Global */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Iluminação Ambiente & Parallax
   ========================================================================== */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.glow-top {
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(64, 195, 214, 0.12) 0%, transparent 70%);
}

.glow-mid {
  top: 45%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 63, 151, 0.08) 0%, transparent 70%);
}

/* ==========================================================================
   Seções & Alternância Preto / Branco com Transição Suave
   ========================================================================== */
.section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-light {
  background-color: var(--color-white);
  color: var(--color-black);
}

.section-blend {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  pointer-events: none;
  z-index: 2;
}

.blend-to-light {
  background: linear-gradient(180deg, transparent 0%, var(--color-white) 100%);
}

.blend-to-dark {
  background: linear-gradient(180deg, transparent 0%, var(--color-black) 100%);
}

/* ==========================================================================
   Tipografia & Tags
   ========================================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.section-tag-blue {
  color: #0b7a8a;
  background: rgba(64, 195, 214, 0.14);
  border: 1px solid rgba(64, 195, 214, 0.35);
}

.section-tag-pink {
  color: var(--color-pink);
  background: rgba(236, 63, 151, 0.12);
  border: 1px solid rgba(236, 63, 151, 0.32);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.text-dark {
  color: #0c0e12;
}

.text-light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 36px;
}

.text-dark-muted {
  color: #4b5262;
}

.text-light-muted {
  color: #a4abb8;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 100px;
  padding-bottom: 120px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo em Formato Bolha (Arredondado, Fundo Branco Sólido) */
.logo-bubble-wrap {
  margin-bottom: 24px;
}

.logo-bubble {
  width: 160px;
  height: 160px;
  border-radius: 9999px;
  background-color: var(--color-pure-white);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(64, 195, 214, 0.25);
  transition: transform 0.4s var(--ease-spring);
}

.logo-bubble:hover {
  transform: scale(1.03);
}

.logo-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9999px;
}

.hero-brand {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 10px;
}

.hero-support {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #b5bcc9;
  max-width: 500px;
  margin-bottom: 32px;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Botões Premium com Shiny Sweep Glow
   ========================================================================== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-blue);
  color: #05161a;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 9999px;
  min-height: 48px;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--color-blue-glow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-spring);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 26px var(--color-blue-glow);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 22px;
  border-radius: 9999px;
  min-height: 44px;
  border: 1px solid var(--color-pink);
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}

.btn-secondary:hover {
  background-color: var(--color-pink);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-pink-glow);
}

.btn-secondary-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #0c0e12;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: 9999px;
  min-height: 44px;
  border: 1px solid var(--color-pink);
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s var(--ease-spring), color 0.3s var(--ease-spring);
}

.btn-secondary-light:hover {
  background-color: var(--color-pink);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-pink-glow);
}

/* Shiny Sweep Efeito Contínuo e Hover */
.btn-sweep {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  animation: shinySweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -120%; }
  25% { left: 160%; }
  100% { left: 160%; }
}

/* ==========================================================================
   Seção 2: Esteira de Produtos (Horizontal Contínua)
   ========================================================================== */
.conveyor-section {
  padding-bottom: 90px;
}

.conveyor-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* Gradientes laterais para fusão elegante */
.conveyor-container::before,
.conveyor-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 3;
  pointer-events: none;
}

.conveyor-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-white) 0%, transparent 100%);
}

.conveyor-container::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-white) 0%, transparent 100%);
}

.conveyor-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.conveyor-card {
  position: relative;
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(64, 195, 214, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.conveyor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.conveyor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.conveyor-card:hover .conveyor-overlay,
.conveyor-card:focus-within .conveyor-overlay {
  opacity: 1;
  pointer-events: auto;
}

.conveyor-card:hover img {
  transform: scale(1.06);
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-blue);
  color: #05161a;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: 9999px;
  min-height: 42px;
  transition: transform 0.2s var(--ease-spring);
}

.btn-card:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   Seção 3: Materiais (Cards Pretos com Borda Fina)
   ========================================================================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.material-card {
  background-color: var(--color-dark-surface);
  border: 1px solid rgba(236, 63, 151, 0.35);
  border-radius: var(--border-radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s;
}

.material-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-pink);
}

.material-indicator {
  width: 38px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.border-gold { background-color: #d4af37; }
.border-silver { background-color: #c0c0c0; }
.border-steel { background-color: #40C3D6; }
.border-truss { background-color: #EC3F97; }

.material-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.material-desc {
  font-size: 0.9375rem;
  color: #a4abb8;
  margin-bottom: 24px;
  line-height: 1.45;
}

/* ==========================================================================
   Seção 4: Curadoria Personalizada (Branco Premium)
   ========================================================================== */
.curation-box {
  background-color: #ffffff;
  border: 1px solid rgba(64, 195, 214, 0.35);
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.curation-text {
  font-size: 1.15rem;
  color: #383e4c;
  max-width: 520px;
  margin: 12px auto 28px;
}

.curation-action {
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Seção 5: Loja Física e Horário (Preto Premium)
   ========================================================================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.store-card {
  background-color: var(--color-dark-surface);
  border: 1px solid rgba(64, 195, 214, 0.3);
  border-radius: var(--border-radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.store-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(64, 195, 214, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.store-card:nth-child(2) .store-card-icon {
  background-color: rgba(236, 63, 151, 0.1);
}

.store-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 14px;
}

.store-card-text {
  font-size: 0.95rem;
  color: #b5bcc9;
  line-height: 1.5;
  margin-bottom: 16px;
}

.store-reference-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  background-color: rgba(64, 195, 214, 0.12);
  border: 1px solid rgba(64, 195, 214, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 10px 0;
  margin-top: auto;
  transition: transform 0.2s;
}

.btn-route:hover {
  transform: translateX(3px);
}

.schedule-list {
  list-style: none;
  margin-bottom: 28px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
}

.schedule-day {
  color: #b5bcc9;
}

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

/* ==========================================================================
   Seção 6: Contato (Branco Premium)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 36px auto 0;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid rgba(64, 195, 214, 0.35);
  border-radius: var(--border-radius-card);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.contact-card:nth-child(2) {
  border-color: rgba(236, 63, 151, 0.35);
}

.contact-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background-color: rgba(64, 195, 214, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-card:nth-child(2) .contact-icon-box {
  background-color: rgba(236, 63, 151, 0.1);
}

.contact-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0c0e12;
  margin-bottom: 6px;
}

.contact-value {
  font-size: 0.9375rem;
  color: #555e70;
  margin-bottom: 22px;
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer {
  padding-top: 60px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
}

.footer-desc {
  font-size: 0.9375rem;
  color: #8c94a4;
  margin-bottom: 24px;
}

.footer-meta {
  font-size: 0.8125rem;
  color: #636b7a;
  line-height: 1.6;
}

/* ==========================================================================
   Responsividade Mobile-First (320px a 1920px)
   ========================================================================== */
@media (max-width: 600px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-section {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .logo-bubble {
    width: 140px;
    height: 140px;
    padding: 10px;
  }

  .conveyor-card {
    width: 200px;
    height: 200px;
  }

  .curation-box {
    padding: 32px 20px;
  }

  .store-card {
    padding: 24px 20px;
  }

  .btn-primary, .btn-secondary, .btn-secondary-light {
    width: 100%;
  }
}

/* ==========================================================================
   Acessibilidade & Prefers-Reduced-Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

  .conveyor-track {
    transform: none !important;
  }
}
