.porta-referencia {
  --rlc-green: #12683c;
  --rlc-green-dark: #0a5631;
  --rlc-mint: #a8dfb6;
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 12 / 5;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  background: var(--rlc-green-dark);
  color: #fff;
  font-family: "Carot Sans", Arial, sans-serif;
}

.porta-referencia *,
.porta-referencia *::before,
.porta-referencia *::after {
  box-sizing: border-box;
}

.porta-referencia__track {
  height: 100%;
  display: flex;
  transform: translate3d(0, 0, 0);
  transition: transform .68s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.rlc-lab-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rlc-lab-slide--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rlc-lab-slide--library {
  background: linear-gradient(120deg, #0a5934 0%, #176f40 55%, #23804b 100%);
}

.rlc-lab-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(128, 214, 151, .13);
  pointer-events: none;
}

.rlc-lab-orb--one { width: 260px; height: 260px; left: -65px; top: -75px; }
.rlc-lab-orb--two { width: 360px; height: 360px; right: -120px; bottom: -220px; }

.rlc-lab-library__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 54px clamp(50px, 7vw, 134px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(44px, 6vw, 110px);
}

.rlc-lab-library__copy { flex: 0 1 46%; max-width: 650px; }

.rlc-lab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}

.rlc-lab-eyebrow i {
  width: 11px;
  height: 11px;
  border: 3px solid #8fe0a5;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(143, 224, 165, .12);
}

.rlc-lab-library__copy h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 3.5vw, 68px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.035em;
}

.rlc-lab-library__copy h2 span { display: block; color: var(--rlc-mint); }

.rlc-lab-library__copy p {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.55;
}

.rlc-lab-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.porta-referencia .rlc-lab-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.porta-referencia .rlc-lab-btn:hover,
.porta-referencia .rlc-lab-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.porta-referencia .rlc-lab-btn--primary { background: #fff; color: #15663c !important; }
.porta-referencia .rlc-lab-btn--secondary { background: transparent; color: #fff !important; }
.porta-referencia .rlc-lab-btn--secondary:hover,
.porta-referencia .rlc-lab-btn--secondary:focus-visible { background: #fff; color: #15663c !important; }

.rlc-lab-features { display: flex; gap: 10px; }
.rlc-lab-features span {
  min-height: 58px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}

.rlc-lab-features b {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 8px;
  background: #daf2e2;
  color: #176d42;
  font-size: 18px;
}

.rlc-lab-browser {
  flex: 0 1 52%;
  min-width: 470px;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, .92);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(1, 39, 21, .35);
  transform: rotate(.25deg);
}

.rlc-lab-browser__bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: #f5f7f5;
}

.rlc-lab-browser__dots { display: flex; gap: 7px; }
.rlc-lab-browser__dots i { width: 9px; height: 9px; border-radius: 50%; background: #c4cbc6; }

.rlc-lab-browser__address {
  flex: 1;
  overflow: hidden;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #86918a;
  font: 600 11px/1 Arial, sans-serif;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rlc-lab-browser__screen { height: clamp(210px, 19vw, 330px); overflow: hidden; background: #dbe7df; }
.rlc-lab-browser__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }

.rlc-lab-browser__note {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: #f7fbf8;
  color: #215a3a;
}

.rlc-lab-browser__note > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #e0f2e5;
  color: #239052;
  font-size: 26px;
}

.rlc-lab-browser__note strong,
.rlc-lab-browser__note small { display: block; }
.rlc-lab-browser__note strong { font-size: 16px; }
.rlc-lab-browser__note small { margin-top: 3px; color: #627168; font-size: 11px; }

html body .porta-referencia button.rlc-lab-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  margin: -25px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  border-radius: 15px !important;
  background: rgba(250, 255, 252, .96) !important;
  color: #0b6037 !important;
  box-shadow: 0 12px 30px rgba(0, 45, 24, .24), 0 2px 7px rgba(0, 45, 24, .12) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer;
  appearance: none !important;
  -webkit-appearance: none !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

html body .porta-referencia button.rlc-lab-arrow::before { content: none !important; display: none !important; }
html body .porta-referencia button.rlc-lab-arrow--prev { left: clamp(18px, 2.2vw, 38px) !important; }
html body .porta-referencia button.rlc-lab-arrow--next { right: clamp(18px, 2.2vw, 38px) !important; }

html body .porta-referencia button.rlc-lab-arrow svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  overflow: visible !important;
  pointer-events: none !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2.6 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html body .porta-referencia button.rlc-lab-arrow:hover,
html body .porta-referencia button.rlc-lab-arrow:focus-visible {
  background: #fff !important;
  color: #16854c !important;
  transform: translateY(-1px) scale(1.04) !important;
  box-shadow: 0 15px 34px rgba(0, 45, 24, .28), 0 3px 9px rgba(0, 45, 24, .13) !important;
  outline: none !important;
}

html body .porta-referencia button.rlc-lab-arrow:focus-visible {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .42), 0 15px 34px rgba(0, 45, 24, .28) !important;
}

.rlc-lab-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

html body .porta-referencia .rlc-lab-dots button {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .28) !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: none !important;
  transition: width .25s ease, border-radius .25s ease, background-color .25s ease;
}

html body .porta-referencia .rlc-lab-dots button.is-active {
  width: 30px !important;
  border-radius: 999px !important;
  background: #fff !important;
}

@media (max-width: 1100px) {
  .porta-referencia { aspect-ratio: auto; height: 640px; min-height: 640px; }
  .rlc-lab-library__inner { padding: 46px 70px; gap: 36px; }
  .rlc-lab-library__copy h2 { font-size: 44px; }
  .rlc-lab-browser { min-width: 390px; }
  .rlc-lab-features span { font-size: 11px; padding: 8px; }
}

@media (max-width: 767px) {
  .porta-referencia { height: 720px; min-height: 720px; }
  .rlc-lab-slide--image img { object-fit: cover; object-position: center; }
  .rlc-lab-library__inner { padding: 42px 34px 54px; display: block; overflow: auto; }
  .rlc-lab-library__copy { max-width: none; text-align: center; }
  .rlc-lab-eyebrow { margin-bottom: 17px; font-size: 11px; }
  .rlc-lab-library__copy h2 { font-size: 36px; line-height: 1.01; }
  .rlc-lab-library__copy p { font-size: 15px; line-height: 1.45; }
  .rlc-lab-actions { justify-content: center; margin-bottom: 20px; }
  .porta-referencia .rlc-lab-btn { min-height: 46px; padding: 0 17px; font-size: 14px; }
  .rlc-lab-features { display: none; }
  .rlc-lab-browser { width: 100%; min-width: 0; margin: 26px auto 0; border-width: 6px; border-radius: 19px; transform: none; }
  .rlc-lab-browser__screen { height: 180px; }
  .rlc-lab-browser__note { min-height: 62px; padding: 8px 13px; }
  .rlc-lab-browser__note > span { width: 34px; height: 34px; font-size: 20px; }
  .rlc-lab-browser__note strong { font-size: 13px; }
  .rlc-lab-browser__note small { font-size: 9px; }
  html body .porta-referencia button.rlc-lab-arrow {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    margin-top: -21px !important;
    border-radius: 13px !important;
  }
  html body .porta-referencia button.rlc-lab-arrow svg { width: 20px !important; height: 20px !important; }
  html body .porta-referencia button.rlc-lab-arrow--prev { left: 10px !important; }
  html body .porta-referencia button.rlc-lab-arrow--next { right: 10px !important; }
  .rlc-lab-dots { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .porta-referencia__track,
  .rlc-lab-btn,
  .rlc-lab-arrow,
  .rlc-lab-dots button { transition: none !important; }
}
