.rules-hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  padding-top: var(--header-h);
  overflow: hidden;
  z-index: 2;
}

.rules-hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.rules-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) contrast(1.04) brightness(.34);
  transform: scale(1.05);
  will-change: transform;
}

.rules-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 8, .18) 0%, rgba(7, 8, 8, .62) 56%, rgba(7, 8, 8, .96) 100%),
    radial-gradient(circle at 72% 22%, rgba(215, 193, 139, .14), transparent 28%),
    radial-gradient(circle at center, transparent 25%, rgba(7, 8, 8, .42) 72%);
}

.rules-hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 112px;
  max-width: 980px;
}

.rules-hero h1 {
  margin: 18px 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: -.03em;
  max-width: 900px;
}

.rules-hero p {
  max-width: 760px;
  color: #ddd5c8;
  line-height: 1.85;
  font-size: 1.06rem;
}

.rules-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.summary-panel {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(215, 193, 139, .08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}

.summary-label {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.summary-panel strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: .98;
}

.summary-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8
}

.rules-layout-shell {
  padding: 0;
  /* border-top: 1px solid var(--line); */
  /* border-bottom: 1px solid var(--line); */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #0d1010, #090a0a);
}

.rules-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.rules-layout-media {
  min-height: 960px;
  overflow: hidden;
}

.rules-layout-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5) saturate(.8);
}

.rules-layout-copy {
  background: linear-gradient(180deg, rgba(18, 21, 21, .95), rgba(11, 13, 13, .98));
  /* border-left: 1px solid var(--line); */
}

.rules-sticky-copy {
  position: sticky;
  top: 110px;
  padding: 120px 60px;
  max-width: 650px;
}

.turn-flow-stack {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.turn-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.turn-step:hover,
.turn-step.is-active {
  border-color: rgba(215, 193, 139, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  transform: translateY(-2px);
}

.turn-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(215, 193, 139, .22);
  background: rgba(215, 193, 139, .08);
  color: var(--gold-strong);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

.turn-step h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.turn-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8
}

.card-family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card-family {
  /* min-height: 270px; */
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  box-shadow: var(--shadow);
}

.card-family-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
}

.card-family-top {
  margin-top: -2px;
}

.card-family-top span {
  display: inline-block;
  margin-top: 10px;

  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;

  color: var(--gold);
}

.card-family-top strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.card-family p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8
}

.rules-band {
  background:
    radial-gradient(circle at top right, rgba(215, 193, 139, .08), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, 0));
}

.rules-band-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

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

.zone-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(215, 193, 139, .06), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}

.zone-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 8, 8, .42);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-strong);
}

.zone-card h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 600;
  line-height: .98;
}

.zone-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8
}

.rules-faq-shell {
  display: grid;
  gap: 14px;
}

.rule-item {
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rule-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.rule-trigger span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.rule-trigger strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  font-size: 1.2rem;
  transition: transform .25s ease;
}

.rule-item.is-open .rule-trigger strong {
  transform: rotate(45deg)
}

.rule-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}

.rule-item.is-open .rule-content {
  grid-template-rows: 1fr
}

.rule-content p {
  overflow: hidden;
  margin: 0;
  padding: 0 26px 26px;
  color: var(--muted);
  line-height: 1.85;
}

@media (max-width: 1180px) {

  .rules-summary-grid,
  .card-family-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .rules-band-grid,
  .rules-layout-grid {
    grid-template-columns: 1fr
  }

  .rules-layout-media {
    min-height: 560px
  }

  .rules-layout-copy {
    border-left: 0;
    border-top: 1px solid var(--line)
  }

  .rules-sticky-copy {
    position: relative;
    top: auto;
    max-width: none;
    padding: 86px 24px
  }
}

@media (max-width: 760px) {
  .rules-hero-copy {
    padding-bottom: 72px
  }

  .rules-hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.3rem)
  }

  .rules-summary-grid,
  .card-family-grid,
  .zone-grid {
    grid-template-columns: 1fr
  }

  .summary-panel,
  .card-family,
  .zone-card {
    padding: 22px
  }

  .turn-step {
    grid-template-columns: 1fr;
    padding: 18px
  }

  .turn-step-index {
    width: 48px;
    min-width: 48px;
    height: 48px
  }

  .rule-trigger {
    padding: 20px 20px
  }

  .rule-trigger span {
    font-size: 1.45rem
  }

  .rule-content p {
    padding: 0 20px 20px
  }
}

/* Additions for cinematic onboarding page */

.brand-logo,
.footer-logo {
  object-fit: contain;
}

.cinematic-hero .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.onboarding-overview .rules-summary-grid {
  margin-top: 36px;
}

.identity-card-row {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.identity-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.identity-card img {
  width: 86px;
  aspect-ratio: 5/7;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
}

.identity-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
}

.identity-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.preparation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.prep-panel {
  min-height: 260px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(215, 193, 139, .08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}

.prep-panel h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: .98;
}

.prep-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.card-family-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

.consequence-band {
  /* border-top: 1px solid var(--line); */
  /* border-bottom: 1px solid var(--line); */
  background:
    radial-gradient(circle at 20% 20%, rgba(215, 193, 139, .08), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(130, 34, 34, .12), transparent 26%),
    linear-gradient(180deg, #0d1010, #070808);
}

.consequence-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.consequence-copy h2 {
  max-width: 760px;
}

.consequence-copy p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 28px;
}

.consequence-card-stack {
  position: relative;
  min-height: 560px;
}

.consequence-card {
  position: absolute;
  width: min(250px, 18vw);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .10);
  object-fit: cover;
}

.consequence-card--left {
  left: 4%;
  top: 150px;
  transform: rotate(-13deg) scale(.95);
  z-index: 1;
}

.consequence-card--center {
  left: 50%;
  top: 30px;
  transform: translateX(-50%) rotate(2deg) scale(1.06);
  z-index: 3;
}

.consequence-card--right {
  right: 4%;
  top: 150px;
  transform: rotate(13deg) scale(.95);
  z-index: 2;
}

.manual-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(215, 193, 139, .10), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: var(--shadow);
}

.manual-panel h2 {
  margin: 10px 0 14px;
  max-width: 820px;
}

.manual-panel p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1180px) {

  .preparation-grid,
  .card-family-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .consequence-grid {
    grid-template-columns: 1fr;
  }

  .consequence-card-stack {
    min-height: 480px;
  }

  .consequence-card {
    width: min(230px, 28vw);
  }
}

@media (max-width: 760px) {

  .preparation-grid,
  .card-family-grid--wide {
    grid-template-columns: 1fr;
  }

  .identity-card {
    grid-template-columns: 72px 1fr;
  }

  .identity-card img {
    width: 72px;
  }

  .manual-panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .consequence-card-stack {
    min-height: 390px;
  }

  .consequence-card {
    width: 130px;
  }

  .consequence-card--left {
    left: 0;
    top: 130px;
  }

  .consequence-card--center {
    top: 30px;
  }

  .consequence-card--right {
    right: 0;
    top: 130px;
  }
}

.preparation-grid--with-images {
  align-items: stretch;
}

.prep-panel--image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.prep-panel--image img {
  width: 118px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.prep-panel--image h3 {
  margin: 10px 0 10px;
}

.prep-panel--image img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.turn-step--image {
  grid-template-columns: 72px auto 1fr;
  align-items: center;
}

.turn-step--image>img {
  width: 72px;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

.card-family {
  position: relative;
  overflow: hidden;
}

.card-family::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 72px;
  height: 100px;
  border-radius: 12px;
  /* background: rgba(255, 255, 255, .04); */
  /* border: 1px solid rgba(255, 255, 255, .08); */
  opacity: .35;
}

@media (max-width: 760px) {

  .prep-panel--image,
  .turn-step--image {
    grid-template-columns: 1fr;
  }

  .prep-panel--image img,
  .turn-step--image>img {
    width: 96px;
  }
}


/* =========================================
SECTION TYPOGRAPHY STANDARD
========================================= */

.section-head h2,
.rules-sticky-copy h2,
.section-copy h2,
.consequence-copy h2,
.manual-panel h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 2.2vw, 2.6rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -.02em;
  max-width: 680px;
  margin: 8px 0 16px;
}

.section-head p,
.rules-sticky-copy>p,
.section-copy>p,
.consequence-copy>p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 760px;
}

.rules-layout-shell--reverse .rules-layout-grid {
  grid-template-columns: 1fr .9fr;
}

.rules-layout-shell--reverse .rules-layout-media {
  order: 2;
}

.rules-layout-shell--reverse .rules-layout-copy {
  order: 1;
}

.card-family {
  display: flex;
  flex-direction: column;
  /* gap: 18px; */
}

.card-family img {
  width: 100%;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}

.card-family-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.virtue-orbit {
  --size: min(520px, 38vw);
  --orb: 72px;
  --radius: calc((var(--size) / 2) - (var(--orb) / 2));

  position: relative;
  width: var(--size);
  height: var(--size);
  margin-inline: auto;

  border-radius: 50%;
  /* background:
    radial-gradient(circle at center, rgba(215,193,139,.12), transparent 34%),
    radial-gradient(circle at center, rgba(255,255,255,.045), transparent 58%); */
}

.virtue-orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  /* border: 1px solid rgba(215,193,139,.18);
  box-shadow:
    inset 0 0 40px rgba(215,193,139,.08),
    0 0 80px rgba(0,0,0,.35); */
}

.virtue-orb {
  position: absolute;
  top: 50%;
  left: 50%;

  width: var(--orb);
  height: var(--orb);
  object-fit: contain;
  border-radius: 50%;

  filter:
    drop-shadow(0 10px 22px rgba(0,0,0,.42))
    drop-shadow(0 0 18px rgba(49,111,255,.18));
}

/* 14 posições no círculo */
.virtue-orb:nth-child(1)  { transform: translate(-50%, -50%) rotate(0deg) translateY(calc(var(--radius) * -1)) rotate(0deg); }
.virtue-orb:nth-child(2)  { transform: translate(-50%, -50%) rotate(25.714deg) translateY(calc(var(--radius) * -1)) rotate(-25.714deg); }
.virtue-orb:nth-child(3)  { transform: translate(-50%, -50%) rotate(51.428deg) translateY(calc(var(--radius) * -1)) rotate(-51.428deg); }
.virtue-orb:nth-child(4)  { transform: translate(-50%, -50%) rotate(77.142deg) translateY(calc(var(--radius) * -1)) rotate(-77.142deg); }
.virtue-orb:nth-child(5)  { transform: translate(-50%, -50%) rotate(102.856deg) translateY(calc(var(--radius) * -1)) rotate(-102.856deg); }
.virtue-orb:nth-child(6)  { transform: translate(-50%, -50%) rotate(128.57deg) translateY(calc(var(--radius) * -1)) rotate(-128.57deg); }
.virtue-orb:nth-child(7)  { transform: translate(-50%, -50%) rotate(154.284deg) translateY(calc(var(--radius) * -1)) rotate(-154.284deg); }
.virtue-orb:nth-child(8)  { transform: translate(-50%, -50%) rotate(180deg) translateY(calc(var(--radius) * -1)) rotate(-180deg); }
.virtue-orb:nth-child(9)  { transform: translate(-50%, -50%) rotate(205.714deg) translateY(calc(var(--radius) * -1)) rotate(-205.714deg); }
.virtue-orb:nth-child(10) { transform: translate(-50%, -50%) rotate(231.428deg) translateY(calc(var(--radius) * -1)) rotate(-231.428deg); }
.virtue-orb:nth-child(11) { transform: translate(-50%, -50%) rotate(257.142deg) translateY(calc(var(--radius) * -1)) rotate(-257.142deg); }
.virtue-orb:nth-child(12) { transform: translate(-50%, -50%) rotate(282.856deg) translateY(calc(var(--radius) * -1)) rotate(-282.856deg); }
.virtue-orb:nth-child(13) { transform: translate(-50%, -50%) rotate(308.57deg) translateY(calc(var(--radius) * -1)) rotate(-308.57deg); }
.virtue-orb:nth-child(14) { transform: translate(-50%, -50%) rotate(334.284deg) translateY(calc(var(--radius) * -1)) rotate(-334.284deg); }

@media (max-width: 760px) {
  .virtue-orbit {
    --size: 320px;
    --orb: 48px;
  }
}

/* =========================================
TUTORIAL VIDEO CAROUSEL
========================================= */

.media-section {
  position: relative;
}

.content-carousel {
  position: relative;
  overflow: visible;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.media-carousel .carousel-track {
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 44px) / 3);
}

.carousel-track > * {
  scroll-snap-align: start;
  min-width: 0;
}

.media-card {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}

.media-card img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  filter: brightness(.85);
}

.media-copy {
  padding: 18px;
}

.media-copy span {
  font-size: .82rem;
  color: var(--gold);
}

.media-copy h3 {
  margin: 10px 0 0;
  font-size: 1.15rem;
  line-height: 1.35;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(8,8,8,.82);
  color: #d5c18b;
  display: grid;
  place-items: center;
  font-size: 2rem;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background .25s ease, transform .25s ease;
}

.carousel-arrow:hover {
  background: rgba(213,193,139,.12);
}

.carousel-arrow--prev {
  left: -26px;
}

.carousel-arrow--next {
  right: -26px;
}

@media (max-width: 980px) {
  .media-carousel .carousel-track {
    grid-auto-columns: 82vw;
    overflow-x: auto;
  }

  .carousel-arrow {
    display: none;
  }
}