/* DOM CRUZ · ASSINATURAS · TESTE LOCAL
   Camada independente: não altera os estilos originais da equipe. */
html { scroll-padding-top: 92px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.hero-subscription { min-height: min(850px, 100svh); padding-top: 8.5rem; padding-bottom: 5rem; }
.hero-subscription .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 1rem; }
.hero-subscription .hero-copy { min-width: 0; position: relative; z-index: 3; }
.hero-subscription .hero-title { font-size: clamp(4.4rem, 8.3vw, 7.5rem); line-height: .93; }
.hero-subscription .hero-text { max-width: 44ch; }
.hero-subscription .hero-actions { gap: .85rem; }
.hero-subscription .hero-object { width: min(29vw, 355px); }
.hero-subscription .hero-location { margin: 1.5rem 0 0; color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-subscription .scroll-cue { min-height: 32px; bottom: 1.3rem; }
.hero-subscription::before { font-size: clamp(7rem, 19vw, 18rem); }
.main-nav a[href="#planos"] { color: var(--gold-bright); }

/* Uma faixa, sete planos. A rolagem vertical da página permanece livre. */
.plans { padding: clamp(3.5rem, 6vw, 5rem) 1.4rem 3rem; border-bottom: 1px solid var(--line); }
.plans-inner { max-width: var(--container); margin: auto; min-width: 0; }
.plans-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.75rem; }
.plans-heading h2 { margin: 0; font: 400 clamp(3.1rem, 5.6vw, 5rem)/.94 var(--display); text-transform: uppercase; }
.plans-heading h2 span { color: var(--gold-bright); }
.plans-intro { max-width: 39ch; margin: 0; color: var(--muted); font-size: .9rem; }
.plans-intro strong { color: var(--white); font-weight: 600; }
.plans-track {
  --plan-card-width: 320px;
  position: relative; display: flex; gap: 1rem; overflow-x: auto;
  padding: 12px 0 20px; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: var(--gold-dark) transparent;
  touch-action: pan-x pan-y pinch-zoom; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.plans-track.has-controls { scrollbar-width: none; cursor: grab; }
.plans-track.has-controls::-webkit-scrollbar { display: none; }
.plans-track.has-controls::after { content: ""; flex: 0 0 max(0px, calc(100% - var(--plan-card-width) - 1rem)); }
.plans-track.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.plan-card {
  flex: 0 0 var(--plan-card-width); min-width: 0; min-height: 325px;
  display: flex; flex-direction: column; position: relative;
  padding: 1.35rem; scroll-snap-align: start; border: 1px solid #3c3933;
  background: linear-gradient(140deg, rgba(201,164,91,.07), transparent 60%), #171719;
  border-radius: 3px; transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.plan-card::before { content: ""; position: absolute; inset: -1px -1px auto; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); opacity: 0; transition: opacity .3s ease; }
.plan-card.is-active { border-color: var(--gold); background-color: #25211b; transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.2); }
.plan-card.is-active::before, .plan-card:focus-within::before { opacity: 1; }
.plan-card:focus-within { border-color: var(--gold-bright); }
.plan-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; color: #b7b1a5; font-size: .56rem; text-transform: uppercase; letter-spacing: .16em; }
.plan-topline > span:last-child { font: 400 1.7rem/1 var(--display); color: var(--gold); letter-spacing: .02em; }
.plan-tier { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; margin: 0 0 .75rem; color: var(--gold-bright); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.plan-tier span { padding: .2rem .45rem; border: 1px solid var(--line); border-radius: 2px; font-size: .6rem; color: var(--white); }
.plan-card h3 { margin: 0 0 .6rem; font: 400 2.35rem/1 var(--display); letter-spacing: .015em; text-transform: uppercase; overflow-wrap: anywhere; }
.plan-description { margin: 0 0 1.2rem; color: #b9b6af; font-size: .82rem; line-height: 1.55; }
.plan-scope { display: grid; gap: .2rem; margin-top: auto; padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.09); }
.plan-scope > span { color: var(--muted); font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.plan-scope strong { font-size: .77rem; font-weight: 600; }
.plan-action { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding: .6rem .8rem; background: rgba(201,164,91,.08); border: 1px solid rgba(201,164,91,.4); border-radius: 2px; font-size: .72rem; font-weight: 700; letter-spacing: .03em; transition: background .2s ease, color .2s ease; }
.plan-action:hover, .plan-action:focus-visible { background: var(--gold-bright); color: var(--black); }
.plan-card.is-active .plan-action { background: var(--gold); color: var(--black); }
.plans-navigation { display: flex; align-items: center; gap: 1.1rem; margin: .25rem 0 1.75rem; }
.plans-navigation > p { margin: 0 auto 0 0; color: var(--muted); font-size: .67rem; }
.plans-navigation > p span { margin-left: .3rem; color: var(--gold-bright); }
.plans-counter { flex: 0 0 auto; color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.plans-counter b { color: var(--gold-bright); font-weight: 600; }
.plans-progress { flex: 0 1 220px; height: 2px; background: #38342c; overflow: hidden; }
.plans-progress span { display: block; width: 100%; height: 100%; background: var(--gold-bright); transform: scaleX(.142857); transform-origin: left; transition: transform .22s ease; }
.plans-arrows { display: flex; gap: .5rem; }
.plans-arrows button { width: 44px; height: 44px; border: 1px solid var(--line); color: var(--white); background: #171719; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.plans-arrows button:disabled { opacity: .35; cursor: default; }
.plans-arrows button:not(:disabled):hover { color: var(--gold-bright); border-color: var(--gold); }
.plans-nojs { color: var(--muted); font-size: .8rem; }

/* Benefícios compartilhados: sem repetição dentro dos cards. */
.plan-benefits { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.benefits-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .3rem 1rem; }
.benefits-heading .eyebrow { font-size: .61rem; margin: 0; }
.benefits-heading h3 { font-size: .9rem; font-weight: 500; margin: 0; }
.benefits-list { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1.6rem; margin: 1.2rem 0; }
.benefits-list > div + div { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.benefits-list dt { font-size: .85rem; font-weight: 700; margin-bottom: .25rem; color: var(--gold-bright); }
.benefits-list dd { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.plan-payment { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-payment summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .85rem 0; cursor: pointer; list-style: none; font-size: .78rem; color: var(--white); }
.plan-payment summary::-webkit-details-marker { display: none; }
.plan-payment summary span { color: var(--gold-bright); font-size: 1.2rem; transition: transform .2s ease; }
.plan-payment[open] summary span { transform: rotate(45deg); }
.plan-payment > div { max-width: 85ch; padding-bottom: .6rem; }
.plan-payment p { color: var(--muted); font-size: .8rem; margin: 0 0 .8rem; }
.plan-payment strong { color: var(--white); }
.plans-note { margin: 1rem 0 0; color: var(--muted); font-size: .7rem; }
/* O gesto vertical não deve ficar preso nem na faixa antiga de serviços. */
.services-track { touch-action: pan-x pan-y pinch-zoom; }

@media (max-width: 1080px) and (min-width: 761px) {
  .header-inner { gap: 1.15rem; }
  .main-nav { gap: 1rem; }
  .header-cta { display: none; }
}
@media (max-width: 960px) {
  .hero-subscription { min-height: 680px; }
  .hero-subscription .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .hero-subscription .hero-title { font-size: clamp(3.8rem, 8.6vw, 6rem); }
  .hero-subscription .hero-copy { padding-top: 0; }
  .hero-subscription .hero-object { position: relative; width: 100%; right: auto; bottom: auto; opacity: 1; }
  .hero-subscription .hero-wordmark { top: auto; bottom: 1.4rem; left: 30%; width: 60vw; opacity: .08; }
  .plans-intro { max-width: 34ch; font-size: .83rem; }
}
@media (max-width: 760px) {
  .hero-subscription { min-height: 0; padding-top: 7.5rem; padding-bottom: 5rem; }
  .hero-subscription .hero-inner { display: block; }
  .hero-subscription .hero-title { font-size: clamp(3.25rem, 12.5vw, 6rem); }
  .hero-subscription .hero-text { max-width: 37ch; }
  .hero-subscription .hero-copy { padding-right: 0; }
  .hero-subscription .hero-object { width: 150px; margin: 1.5rem 0 -.5rem auto; }
  .hero-subscription .hero-wordmark { width: 84vw; left: 46%; bottom: 3.5rem; }
  .hero-subscription .hero-location { font-size: .6rem; }
  .hero-subscription::before { bottom: 0; }
  .plans-heading { display: block; }
  .plans-intro { max-width: 53ch; margin: 1rem 0 0; }
  .plans-track { --plan-card-width: clamp(244px, 76vw, 320px); }
  .plans-navigation { gap: .7rem; flex-wrap: wrap; }
  .plans-navigation > p { flex: 1 0 calc(100% - 160px); font-size: .62rem; }
  .plans-progress { display: none; }
  .plans-arrows { gap: .35rem; }
  .benefits-heading { display: block; }
  .benefits-heading h3 { margin-top: .5rem; }
  .benefits-list { gap: .85rem; grid-template-columns: 1fr; }
  .benefits-list > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem; }
  .benefits-list > div + div { padding: .7rem 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .benefits-list dt { font-size: .78rem; }
  .benefits-list dd { font-size: .72rem; }
}
@media (max-width: 480px) {
  .hero-subscription .hero-actions { align-items: stretch; gap: .65rem; }
  .hero-subscription .hero-actions .btn { font-size: .74rem; }
  .plans { padding-left: 1.1rem; padding-right: 1.1rem; }
  .plan-card { padding: 1.15rem; }
  .plan-card h3 { font-size: 2.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .plans-track, .services-track { scroll-behavior: auto; }
  .plan-card.is-active { transform: none; }
}
