:root {
  --op-bg: #05080b;
  --op-surface: #0a1016;
  --op-surface-2: #0f1720;
  --op-border: rgba(255, 255, 255, 0.09);
  --op-border-mint: rgba(16, 185, 129, 0.34);
  --op-mint: #10b981;
  --op-mint-bright: #34d399;
  --op-gold: #d4a96a;
  --op-text: #f3f6f8;
  --op-soft: #cbd5df;
  --op-muted: #8b9aa8;
  --op-font-disp: 'Syne', 'Space Grotesk', system-ui, sans-serif;
  --op-font-head: 'Space Grotesk', system-ui, sans-serif;
  --op-font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --op-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.op-body {
  margin: 0;
  background-color: var(--op-bg);
  background-image:
    radial-gradient(960px 440px at 12% -6%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(720px 360px at 92% 14%, rgba(212, 169, 106, 0.07), transparent 62%),
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  color: var(--op-text);
  font-family: var(--op-font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.op-container {
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

/* Header Fixo Hairline */
.op-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(5, 8, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--op-border);
}

.op-header-inner {
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.op-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.op-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--op-border-mint);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(212, 169, 106, 0.14));
  display: grid;
  place-items: center;
  font-family: var(--op-font-disp);
  font-weight: 800;
  font-size: 13px;
  color: var(--op-mint-bright);
  flex-shrink: 0;
}

.op-brand-name {
  font-family: var(--op-font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.op-brand-sub {
  font-family: var(--op-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--op-muted);
  display: block;
}

.op-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--op-soft);
}

.op-nav a {
  transition: color 0.18s ease;
  white-space: nowrap;
}
.op-nav a:hover { color: var(--op-mint-bright); }

.op-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Botões */
.op-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.op-btn-primary {
  background: var(--op-mint);
  color: #04120c;
  border-color: var(--op-mint);
}
.op-btn-primary:hover {
  background: var(--op-mint-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);
}

.op-btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--op-text);
  border-color: var(--op-border);
}
.op-btn-outline:hover {
  border-color: var(--op-border-mint);
  color: var(--op-mint-bright);
}

.op-btn-gold {
  background: rgba(212, 169, 106, 0.12);
  color: #eed09d;
  border-color: rgba(212, 169, 106, 0.38);
}
.op-btn-gold:hover {
  background: rgba(212, 169, 106, 0.22);
}

.op-btn-sm { padding: 7px 12px; font-size: 12px; border-radius: 8px; }

.op-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--op-border);
  font-size: 12px;
  color: var(--op-soft);
}
.op-back-pill:hover { border-color: var(--op-border-mint); color: var(--op-mint-bright); }

.op-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--op-border);
  background: var(--op-surface);
  color: var(--op-text);
  font-size: 17px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Hero Editorial Startup */
.op-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--op-border);
}

.op-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.op-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--op-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--op-mint-bright);
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--op-border-mint);
  background: rgba(16, 185, 129, 0.08);
  margin-bottom: 16px;
}

.op-h1 {
  font-family: var(--op-font-disp);
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.text-stroke {
  display: block;
  -webkit-text-stroke: 1px rgba(243, 246, 248, 0.42);
  color: transparent;
}

.op-lead {
  color: var(--op-soft);
  font-size: 15.5px;
  max-width: 56ch;
  margin: 0 0 22px;
}

.op-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.op-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid var(--op-border);
  padding-top: 16px;
  gap: 14px;
}

.op-stat {
  border-left: 2px solid var(--op-border-mint);
  padding-left: 12px;
}

.op-stat strong {
  display: block;
  font-family: var(--op-font-disp);
  font-size: 20px;
  color: var(--op-text);
}

.op-stat span {
  font-size: 12px;
  color: var(--op-muted);
}

.op-hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--op-border-mint);
  background: var(--op-surface);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.58);
}

.op-3d-stage {
  position: relative;
  height: 360px;
  background:
    radial-gradient(circle at 50% 42%, rgba(16, 185, 129, 0.16), transparent 62%),
    radial-gradient(circle at 50% 88%, rgba(212, 169, 106, 0.14), transparent 58%),
    linear-gradient(180deg, #070d12 0%, #040609 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
}

.op-3d-topbar {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.op-3d-badge {
  font-family: var(--op-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--op-mint-bright);
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.78);
  border: 1px solid var(--op-border-mint);
}

.op-3d-ctrl {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--op-border);
  background: rgba(10, 16, 22, 0.85);
  color: var(--op-text);
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.op-3d-ctrl:hover {
  border-color: var(--op-mint);
  color: var(--op-mint-bright);
}

.op-3d-viewport {
  position: relative;
  flex: 1;
  perspective: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.op-3d-viewport:active { cursor: grabbing; }

.op-3d-ring {
  position: relative;
  width: 260px;
  height: 165px;
  transform-style: preserve-3d;
  will-change: transform;
}

.op-3d-slide {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #080d12;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.68);
  backface-visibility: hidden;
  transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.op-3d-slide.is-front {
  border-color: rgba(52, 211, 153, 0.62);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.8), 0 0 28px rgba(16, 185, 129, 0.18);
}

.op-3d-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.op-3d-slide-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: var(--op-font-mono);
  font-size: 9.5px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(5, 8, 11, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--op-text);
}

.op-3d-pedestal {
  position: absolute;
  bottom: 8px;
  width: 72%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.28) 0%, rgba(212, 169, 106, 0.12) 45%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}

.op-3d-dots {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 4px;
}

.op-3d-dot {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: width 0.22s ease, background 0.22s ease;
}
.op-3d-dot.is-active {
  width: 30px;
  background: var(--op-mint-bright);
}

.op-hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(8, 12, 17, 0.96);
  border-top: 1px solid var(--op-border);
  font-size: 12px;
}

@media (max-width: 600px) {
  .op-3d-stage { height: 310px; }
  .op-3d-ring { width: 220px; height: 140px; }
}

/* Strip de Laboratórios Homologados */
.op-labs-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--op-border);
  background: rgba(10, 16, 22, 0.6);
}

.op-lab-cell {
  padding: 14px 12px;
  border-right: 1px solid var(--op-border);
  text-align: center;
}
.op-lab-cell:last-child { border-right: none; }
.op-lab-cell strong {
  display: block;
  font-family: var(--op-font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--op-text);
}
.op-lab-cell span {
  display: block;
  font-family: var(--op-font-mono);
  font-size: 10px;
  color: var(--op-muted);
  margin-top: 2px;
}

/* Seções */
.op-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--op-border);
}

.op-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.op-kicker {
  display: inline-block;
  font-family: var(--op-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--op-gold);
  margin-bottom: 6px;
}

.op-h2 {
  font-family: var(--op-font-disp);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.op-sub {
  color: var(--op-muted);
  font-size: 14px;
  margin: 6px 0 0;
  max-width: 60ch;
}

/* Filtros */
.op-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--op-surface);
  border: 1px solid var(--op-border);
  margin-bottom: 22px;
}

.op-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.op-filter-label {
  font-family: var(--op-font-mono);
  font-size: 10.5px;
  color: var(--op-muted);
  text-transform: uppercase;
  margin-right: 4px;
}

.op-pill-btn {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--op-border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--op-soft);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.op-pill-btn:hover { border-color: var(--op-border-mint); color: var(--op-text); }
.op-pill-btn.is-active {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--op-mint);
  color: var(--op-mint-bright);
  font-weight: 600;
}

/* Grid de Armações */
.op-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.op-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.op-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.op-frame-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--op-surface);
  border: 1px solid var(--op-border);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s ease;
}

.op-frame-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
}

.op-frame-card.is-selected {
  border-color: var(--op-mint);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.35);
}

.op-frame-media {
  position: relative;
  overflow: hidden;
  background: #06090d;
  aspect-ratio: 16 / 10;
}

.op-frame-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-frame-card:hover .op-frame-media img {
  transform: scale(1.04);
}

.op-line-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--op-font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(5, 8, 11, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid var(--op-border);
  color: var(--op-text);
}

.op-line-badge.is-solar {
  border-color: rgba(212, 169, 106, 0.5);
  color: #f3d29b;
}

.op-line-badge.is-dual {
  border-color: var(--op-border-mint);
  color: var(--op-mint-bright);
}

.op-frame-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.op-frame-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-family: var(--op-font-mono);
  font-size: 10.5px;
  color: var(--op-muted);
}

.op-frame-title {
  font-family: var(--op-font-head);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--op-text);
}

.op-frame-desc {
  font-size: 12.5px;
  color: var(--op-muted);
  margin: 0;
  flex: 1;
}

.op-frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--op-border);
}

.op-price {
  font-family: var(--op-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--op-mint-bright);
}

/* Painel Aparelhos de Exame de Vista */
.op-panel {
  background: var(--op-surface);
  border: 1px solid var(--op-border);
  border-radius: 18px;
  padding: 20px;
}

.op-equip-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--op-border);
  background: var(--op-surface);
  display: flex;
  flex-direction: column;
}

.op-equip-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #06090d;
}

.op-equip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--op-mint-bright), transparent);
  opacity: 0.75;
  box-shadow: 0 0 14px var(--op-mint-bright);
  animation: opScan 4.2s linear infinite;
  pointer-events: none;
}

@keyframes opScan {
  0% { top: 6%; }
  100% { top: 94%; }
}

.op-equip-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.op-equip-body h3 {
  font-family: var(--op-font-head);
  font-size: 18px;
  margin: 0;
}

.op-equip-body p {
  font-size: 13.5px;
  color: var(--op-muted);
  margin: 0;
}

.op-dnp-bar {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #060a0e;
  border: 1px solid var(--op-border-mint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.op-dnp-code {
  font-family: var(--op-font-mono);
  font-size: 12px;
  color: var(--op-mint-bright);
}

.op-exam-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.op-step-item {
  border-top: 1px solid var(--op-border);
  padding-top: 12px;
}
.op-step-item span {
  font-family: var(--op-font-mono);
  font-size: 10.5px;
  color: var(--op-gold);
}
.op-step-item strong {
  display: block;
  font-family: var(--op-font-head);
  font-size: 14px;
  margin: 4px 0;
}
.op-step-item p {
  margin: 0;
  font-size: 12.5px;
  color: var(--op-muted);
}

/* Simulador de Lentes */
.lens-stage {
  position: relative;
  height: 280px;
  border-radius: 14px;
  border: 1px solid var(--op-border-mint);
  overflow: hidden;
  background: #05080b;
}

.lens-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease;
}

.lens-tint-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.35s ease;
}

.lens-hud {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(5, 8, 11, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--op-border-mint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* Calculadora de Grau */
.index-box {
  padding: 16px;
  border-radius: 12px;
  background: #060a0e;
  border: 1px solid var(--op-border-mint);
  display: grid;
  gap: 12px;
}

.thickness-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.thickness-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--op-mint), var(--op-mint-bright));
  transition: width 0.28s ease;
}

/* Inputs & Formulário */
.op-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--op-soft);
  margin-bottom: 6px;
}

.op-input, .op-select, .op-textarea {
  width: 100%;
  background: #060a0e;
  border: 1px solid var(--op-border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--op-text);
  font-size: 13px;
  outline: none;
}
.op-input:focus, .op-select:focus, .op-textarea:focus {
  border-color: var(--op-mint);
}

/* Drawer da Sacola & Modal */
.op-bag-backdrop, .op-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(3, 6, 9, 0.78);
  backdrop-filter: blur(6px);
  display: none;
}

.op-bag-backdrop.is-open { display: flex; justify-content: flex-end; }
.op-modal-backdrop.is-open { display: flex; align-items: center; justify-content: center; padding: 16px; }

.op-bag-panel {
  width: min(410px, 100%);
  height: 100%;
  background: var(--op-surface);
  border-left: 1px solid var(--op-border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.op-modal-card {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--op-surface);
  border: 1px solid var(--op-border-mint);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.op-bag-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.op-bag-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #060a0e;
  border: 1px solid var(--op-border);
}

.op-footer {
  padding: 24px 0 36px;
  color: var(--op-muted);
  font-size: 13px;
}

.op-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1120px) {
  .op-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-labs-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .op-exam-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .op-nav { display: none; }
  .op-menu-btn { display: inline-flex; }
  .op-hero-grid, .op-grid-2, .op-grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .op-grid-4, .op-hero-stats, .op-exam-steps { grid-template-columns: 1fr; }
  .op-labs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-hide-sm, .op-brand-sub, .op-back-pill, .op-header-actions .op-btn-primary { display: none; }
  .op-brand-name { font-size: 14px; }
}
