.orc-page {
  background: var(--bg);
}

.orc-page .page-content {
  padding-top: 0;
}

.kf-section-title {
  max-width: 800px;
  margin-inline: auto;
}

/* HERO */
.orc-hero {
  padding: clamp(58px, 7vw, 96px) 20px clamp(42px, 6vw, 74px);
  background:
    radial-gradient(
      circle at 78% 8%,
      color-mix(in srgb, var(--primary) 10%, transparent) 0%,
      transparent 58%
    ),
    var(--bg);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.orc-hero .kf-container {
  width: min(1160px, 100%);
}

.orc-section .kf-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orc-section .kf-section-title {
  max-width: 16ch;
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

.orc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.orc-hero__copy {
  max-width: 620px;
}

.orc-eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.orc-hero .kf-section-title {
  margin: 0;
  font-size: clamp(2.5rem, 4.55vw, 4.35rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 13.4ch;
  text-align: left;
}

.orc-hero__desc {
  color: var(--muted);
  margin: 1.35rem 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.68;
  max-width: 36rem;
  text-wrap: balance;
}

.orc-hero__footnote {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.orc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
}

.orc-hero .cta-note {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.orc-hero__shot,
.orc-result__shot,
.orc-preview__frame {
  margin: 0;
}

.orc-hero__shot {
  justify-self: end;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 75%, var(--text));
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 26px 70px rgb(15 23 42 / 18%);
}

.orc-hero__shot img,
.orc-preview__frame img,
.orc-result__shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid color-mix(in srgb, var(--border) 75%, var(--text));
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 26px 70px rgb(15 23 42 / 18%);
}

.orc-hero__shot img {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.orc-hero__shot img {
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.orc-hero__shot figcaption,
.orc-preview__frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.orc-preview {
  position: relative;
  margin: 0;
  padding: clamp(46px, 7vw, 80px) 20px;
  background: color-mix(in srgb, var(--card) 76%, var(--bg));
  border-block: 1px solid color-mix(in srgb, var(--border) 76%, transparent);
}

.orc-preview::before {
  content: "";
  position: absolute;
  inset: 8% auto auto 52%;
  width: 34vw;
  height: 34vw;
  max-width: 460px;
  max-height: 460px;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--primary) 10%, transparent),
    transparent 68%
  );
  filter: blur(66px);
  z-index: 0;
  pointer-events: none;
}

.orc-preview .kf-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(980px, 100%);
}

.orc-section-heading {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.orc-section-heading .kf-section-title {
  margin: 0 auto;
  max-width: 13ch;
  color: var(--text);
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.orc-section-heading p:not(.orc-eyebrow) {
  margin: 1rem auto 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: balance;
}

.orc-preview__frame {
  width: min(100%, 760px);
  margin-top: clamp(22px, 4vw, 36px);
}

.export-preview-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.export-preview-trigger::after {
  content: "Ampliar";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 999px;
  background: rgb(15 23 42 / 72%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 720;
  line-height: 1;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.export-preview-trigger:hover::after,
.export-preview-trigger:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.export-preview-trigger:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

.orc-preview__frame img {
  max-height: 760px;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.02);
  cursor: zoom-in;
}

.export-preview-dialog {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
  background: rgb(3 7 18 / 78%);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.export-preview-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}

.export-preview-panel {
  position: relative;
  max-width: min(100%, 1040px);
  max-height: min(92vh, 1120px);
}

.export-preview-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(88vh, 1120px);
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 30px 90px rgb(0 0 0 / 42%);
}

.export-preview-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  background: rgb(15 23 42 / 92%);
  color: #fff;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.export-preview-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.img-modal {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-default);
  z-index: 1200;
}

.img-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-md);
}

/* SECTIONS */
.orc-section {
  margin: clamp(50px, 7vw, 78px) 0;
}

.orc-section .kf-section-title {
  max-width: 22ch;
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  text-align: center;
}

.orc-proof {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  font-weight: 720;
  line-height: 1.22;
  text-align: center;
  text-wrap: balance;
}

/* LIST */
.orc-list {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  width: 100%;
  max-width: 880px;
  justify-content: center;
}

/* CARDS */
.orc-card {
  background: var(--card);
  min-height: 128px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  text-align: left;
  line-height: 1.55;
  font-weight: 650;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    border-color var(--transition-default);
}

.orc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
  border-color: color-mix(in srgb, var(--primary) 26%, var(--border));
}

/* RESULT */
.orc-result {
  margin: clamp(44px, 6vw, 72px) 0;
  padding: 0 20px;
}

.orc-result__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  width: min(1100px, 100%);
}

.orc-result .orc-section-heading {
  margin: 0;
  text-align: left;
}

.orc-result .orc-section-heading .kf-section-title {
  margin: 0;
  max-width: 15ch;
}

.orc-result .orc-section-heading p:not(.orc-eyebrow) {
  margin-inline: 0;
}

.orc-benefits {
  display: grid;
  gap: 10px;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.orc-benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.orc-benefits li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.orc-result__shot img {
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

/* PRICE */
.orc-price {
  text-align: center;
  margin-top: clamp(54px, 8vw, 88px);
  padding: clamp(46px, 7vw, 76px) 20px;
  background: color-mix(in srgb, var(--primary) 5%, var(--card));
  border-block: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.orc-price .kf-container {
  gap: 4px;
}

.orc-price__value {
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  margin: 22px 0 28px;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* UPSELL */
.orc-upsell {
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 3%), rgb(255 255 255 / 1%)),
    color-mix(in srgb, var(--primary) 5%, var(--card));
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}

.orc-upsell h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
}

.orc-upsell p {
  max-width: 56ch;
  margin: 0 auto 26px;
  color: var(--muted);
  line-height: 1.65;
}

.orc-page .kf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: min(100%, 230px);
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    background-color var(--transition-default),
    border-color var(--transition-default),
    color var(--transition-default);
}

.orc-page .kf-btn:hover {
  transform: translateY(-1px);
}

.orc-page .kf-btn--primary {
  background: var(--primary);
  color: var(--ml-on-primary);
  box-shadow: 0 8px 20px rgb(59 130 246 / 25%);
}

.orc-page .kf-btn--primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, white);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 28%, transparent);
}

html.dark .orc-page .kf-btn--primary {
  background: var(--cta-bg);
  border-color: rgb(255 255 255 / 8%);
  color: var(--cta-text);
}

html.dark .orc-page .kf-btn--primary:hover {
  background: var(--cta-bg-hover);
  border-color: rgb(255 255 255 / 12%);
}

.orc-page .kf-btn--light {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.orc-page .ml-container-narrow .kf-btn {
  margin-inline: auto;
}

.orc-page .kf-btn--light:hover {
  background: color-mix(in srgb, var(--primary) 7%, var(--card));
  border-color: color-mix(in srgb, var(--primary) 24%, var(--border));
  box-shadow: var(--shadow-md);
}

.orc-actions .kf-btn--light {
  background: var(--card);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--border));
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.orc-upsell .kf-btn--light {
  text-decoration: none;
  background: rgb(255 255 255 / 4%);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 10px;
  transition: all var(--transition-default);
}

.orc-upsell .kf-btn--light:hover {
  background: rgb(255 255 255 / 8%);
  border-color: rgb(255 255 255 / 20%);
  transform: translateY(-1px);
}

.orc-page :is(.workflow-next, .workflow-chain, .faq-block, .related-tools) {
  margin-top: clamp(1.75rem, 4vw, 3.25rem);
  margin-bottom: 0;
}

.orc-page .workflow-next {
  display: grid;
  justify-items: center;
  text-align: center;
}

.orc-page .workflow-next .btn {
  margin-inline: auto;
}

@media (width <= 900px) {
  .orc-hero__grid,
  .orc-result__grid {
    grid-template-columns: 1fr;
  }

  .orc-hero__copy,
  .orc-hero__shot {
    justify-self: center;
  }

  .orc-hero .kf-section-title,
  .orc-hero__desc,
  .orc-hero .cta-note,
  .orc-result .orc-section-heading {
    text-align: center;
  }

  .orc-hero .kf-section-title {
    margin-inline: auto;
  }

  .orc-actions {
    justify-content: center;
  }

  .orc-result .orc-section-heading .kf-section-title,
  .orc-result .orc-section-heading p:not(.orc-eyebrow) {
    margin-inline: auto;
  }

  .orc-benefits {
    max-width: 560px;
    margin-inline: auto;
    text-align: left;
  }

  .orc-hero__shot {
    width: min(100%, 620px);
  }

  .orc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }
}

@media (width <= 640px) {
  .export-preview-trigger::after {
    opacity: 1;
    transform: none;
  }

  .export-preview-dialog {
    padding: 14px;
  }

  .export-preview-panel,
  .export-preview-image {
    width: 100%;
  }

  .export-preview-close {
    top: 8px;
    right: 8px;
  }

  .orc-hero {
    padding: var(--mobile-hero-padding-start, 38px) var(--mobile-container-padding, 18px) var(--mobile-hero-padding-end, 40px);
  }

  .orc-hero__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
  }

  .orc-hero .kf-section-title {
    font-size: clamp(2.15rem, 10.8vw, 2.85rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
    max-width: 11ch;
  }

  .orc-hero__desc {
    margin: 0.9rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
  }

  .orc-actions {
    display: grid;
    margin-top: 1.2rem;
  }

  .orc-hero__shot img {
    max-height: 430px;
  }

  .orc-hero__shot {
    display: none;
  }

  .orc-hero__footnote,
  .orc-hero .cta-note {
    max-width: 100%;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.45;
    text-wrap: balance;
  }

  .orc-section {
    margin: var(--mobile-section-gap, 34px) 0;
  }

  .orc-section .kf-section-title {
    margin-bottom: 0.25rem;
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    line-height: 1.12;
  }

  .orc-preview {
    padding: 34px var(--mobile-container-padding, 18px);
  }

  .orc-preview::before {
    inset: 12% 0 auto auto;
    width: 70vw;
    height: 70vw;
  }

  .orc-section-heading .kf-section-title {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
    line-height: 1.08;
  }

  .orc-section-heading p:not(.orc-eyebrow) {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .orc-preview__frame {
    margin-top: 1.2rem;
  }

  .orc-preview__frame img {
    max-height: 540px;
    border-radius: 10px;
  }

  .orc-result {
    margin: var(--mobile-section-gap, 34px) 0;
    padding-inline: var(--mobile-container-padding, 18px);
  }

  .orc-result__shot img {
    max-height: 420px;
    border-radius: 10px;
  }

  .orc-list {
    grid-template-columns: 1fr;
    gap: var(--mobile-card-gap, 12px);
    margin-top: 1rem;
  }

  .orc-card {
    min-height: 0;
    padding: var(--mobile-card-padding, 18px);
    text-align: left;
  }

  .orc-proof {
    font-size: clamp(1.08rem, 5vw, 1.32rem);
    line-height: 1.3;
  }

  .orc-upsell {
    padding: var(--mobile-card-padding, 20px);
  }

  .orc-price .kf-container {
    gap: var(--mobile-stack-gap, 0.85rem);
  }

  .orc-price__value {
    margin: 0.45rem 0 0.25rem;
    font-size: clamp(2.25rem, 13vw, 2.85rem);
  }

  .orc-page .kf-btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 18px;
  }

  .orc-page .workflow-next {
    justify-items: stretch;
  }

  .orc-page .workflow-next .btn {
    width: 100%;
    text-align: center;
  }
}
