/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA: Opções Custom Shop
   ═══════════════════════════════════════════════════════════════════════════ */

.opcoes-page {
  background: #0a0a0a;
  color: white;
  min-height: 100vh;
}

/* ── Header minimalista ─────────────────────────────────────────────────── */
.opcoes-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 3vw;
  z-index: 100;
}

.opcoes-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.opcoes-back:hover { color: white; }

.opcoes-logo {
  color: white;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.opcoes-logo strong { font-weight: 800; }

/* ── Main ───────────────────────────────────────────────────────────────── */
.opcoes-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3vw 80px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.opcoes-hero {
  padding: 60px 0 80px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.opcoes-label {
  display: inline-block;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cor-vermelho, #e53e3e);
  margin-bottom: 24px;
}

.opcoes-titulo {
  font-family: Montserrat, sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
  text-shadow: 0 0 60px rgba(229, 62, 62, 0.15);
}
.opcoes-titulo strong { font-weight: 800; }

.opcoes-subtitulo {
  font-family: Montserrat, sans-serif;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.opcoes-desc {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.opcoes-fechamento {
  font-size: 16px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 32px;
  letter-spacing: 0.01em;
}

/* ── Nav sticky ─────────────────────────────────────────────────────────── */
.opcoes-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0 -3vw 60px;
  padding: 0 3vw;
}

.opcoes-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0;
  justify-content: center;
}
.opcoes-nav-inner::-webkit-scrollbar { display: none; }

.opcoes-nav-link {
  flex-shrink: 0;
  position: relative;
  padding: 9px 18px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  border-radius: 99px;
  transition: color 0.25s, background 0.25s;
}

.opcoes-nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.opcoes-nav-link.ativo {
  color: white;
  background: rgba(229, 62, 62, 0.15);
  box-shadow: 0 0 0 1px rgba(229, 62, 62, 0.4),
              0 0 16px rgba(229, 62, 62, 0.2);
}

/* ── Seções ─────────────────────────────────────────────────────────────── */
.opcoes-secao {
  scroll-margin-top: 80px; /* compensa a nav sticky no smooth scroll */
  margin-bottom: 90px;
}

.opcoes-secao-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.opcoes-secao-titulo {
  font-family: Montserrat, sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.opcoes-secao-titulo .en {
  font-weight: 300;
  font-size: 0.65em;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 6px;
  letter-spacing: 0;
}

.opcoes-secao-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
}

.opcoes-subcat {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cor-vermelho, #e53e3e);
  margin: 36px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--cor-vermelho, #e53e3e);
}
.opcoes-subcat:first-of-type { margin-top: 0; }

/* ── Grid de amostras ──────────────────────────────────────────────────── */
.amostras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.amostra {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.amostra:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(229, 62, 62, 0.25),
              0 0 24px rgba(229, 62, 62, 0.1);
}

.amostra[data-disponivel="false"] {
  opacity: 0.5;
}

.amostra-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1a1a;
}

.amostra-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Ícone de zoom no hover */
.amostra-img::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.amostra:hover .amostra-img::after {
  opacity: 1;
  transform: scale(1);
}

.amostra-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
}

.amostra-nome {
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.005em;
}

.amostra-status {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.amostra-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.amostra-status.disp {
  color: #4ade80;
}
.amostra-status.disp::before {
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}
.amostra-status.indisp {
  color: rgba(255, 255, 255, 0.35);
}
.amostra-status.indisp::before {
  background: rgba(255, 255, 255, 0.3);
}

/* ── CTA final ──────────────────────────────────────────────────────────── */
.opcoes-cta {
  margin-top: 100px;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.08), rgba(229, 62, 62, 0.02));
  border: 1px solid rgba(229, 62, 62, 0.15);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.opcoes-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.12) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.opcoes-cta-titulo {
  position: relative;
  font-family: Montserrat, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.opcoes-cta-desc {
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 32px;
}

.opcoes-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25D366;
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}
.opcoes-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.opcoes-footer {
  text-align: center;
  padding: 28px 3vw;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.aberto {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.lightbox-categoria {
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.lightbox-nome {
  font-family: Montserrat, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin: 0;
}

.lightbox-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lightbox-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.lightbox-status.disp { color: #4ade80; }
.lightbox-status.disp::before {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.7);
}
.lightbox-status.indisp { color: rgba(255, 255, 255, 0.4); }
.lightbox-status.indisp::before { background: rgba(255, 255, 255, 0.4); }

/* Botões do lightbox */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .amostras-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .opcoes-main { padding: 0 4vw 60px; }
  .opcoes-hero { padding: 30px 0 50px; }
  .opcoes-titulo { font-size: clamp(34px, 10vw, 48px); }
  .opcoes-subtitulo { font-size: 17px; }
  .opcoes-desc { font-size: 14px; }

  .opcoes-nav {
    margin: 0 -4vw 40px;
    padding: 0 4vw;
  }
  .opcoes-nav-inner {
    justify-content: flex-start; /* permite scroll horizontal natural */
    padding: 12px 0;
  }
  .opcoes-nav-link {
    padding: 8px 14px;
    font-size: 11px;
  }

  .opcoes-secao { margin-bottom: 60px; }
  .opcoes-secao-titulo { font-size: 24px; }
  .opcoes-secao-desc { font-size: 13px; }
  .opcoes-subcat { font-size: 11px; }

  .amostras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .amostra-info { padding: 10px 12px 12px; }
  .amostra-nome { font-size: 12px; }

  .opcoes-cta {
    margin-top: 60px;
    padding: 40px 24px;
    border-radius: 18px;
  }

  /* Lightbox mobile */
  .lightbox { padding: 40px 16px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .lightbox-prev  { left: 8px;  width: 40px; height: 40px; }
  .lightbox-next  { right: 8px; width: 40px; height: 40px; }
  .lightbox-img { max-height: 60vh; }
  .lightbox-nome { font-size: 18px; }
}
