/* PlayStation GTA VI page clone */
:root {
  --ps-blue: #0070d1;
  --ps-blue-dark: #003791;
  --ps-blue-footer: #00439c;
  --ps-orange: #e35205;
  --ps-orange-hover: #c94704;
  --text-dark: #1f1f1f;
  --text-muted: #626262;
  --text-light: #fff;
  --bg-dark: #0d0d0d;
  --bg-card: #1f1f1f;
  --header-h: 64px;
  --sony-h: 36px;
  --font: "SST", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: #000;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
}

/* —— Sony bar —— */
.sony-bar {
  height: var(--sony-h);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
}

.sony-bar__logo {
  width: 68px;
  height: 14px;
  background: url("../assets/sony-logo.svg") no-repeat center / contain;
  display: block;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: var(--header-h);
  border-bottom: 1px solid #e5e5e5;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1440px, 100% - 32px);
  margin-inline: auto;
}

.ps-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  line-height: 0;
}

.ps-logo svg {
  width: 50px;
  height: 50px;
  display: block;
  flex-shrink: 0;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-main__item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #2e2e2e;
  border-radius: 4px;
}

.nav-main__item:hover {
  color: var(--ps-blue);
}

.nav-main__chevron {
  width: 10px;
  height: 10px;
  opacity: 0.7;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-account-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ps-blue);
  white-space: nowrap;
}
.header-account-link:hover {
  text-decoration: underline;
}

.btn-signin {
  background: var(--ps-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-signin:hover {
  background: #005bb0;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #c2c2c2;
  border-radius: 4px;
  height: 40px;
  width: 200px;
  padding: 0 12px;
  gap: 8px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  width: 100%;
  background: transparent;
}

.search-box svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  background: #1a0f24;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1280px, 100% - 48px);
  margin: 0 auto;
  padding: 56px 0 40px;
  display: grid;
  gap: 28px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero__publisher {
  margin-top: 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.platform-badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
}

.edition-picker {
  max-width: 360px;
  margin-top: 8px;
}

.edition-picker__label {
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.edition-card {
  background: rgba(20, 20, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
}

.edition-card__name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.edition-card__price {
  font-size: 28px;
  font-weight: 700;
  margin: 4px 0 8px;
}

.edition-card__note {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.edition-card__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  margin-top: 14px;
}

.btn-preorder {
  flex: 1;
  background: var(--ps-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 999px;
  text-align: center;
  transition: background 0.15s;
}

.btn-preorder:hover {
  background: var(--ps-orange-hover);
}

.btn-wish {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}

.btn-wish:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-wish svg {
  width: 22px;
  height: 22px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: flex-end;
  margin-top: 24px;
  padding-top: 8px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 220px;
}

.feature-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  opacity: 0.95;
}

.ps5-meta h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ps5-meta .feature-item {
  max-width: 280px;
  margin-bottom: 10px;
}

.rating-pending {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  align-self: flex-end;
  padding-bottom: 4px;
}

/* —— Media carousel —— */
.media-section {
  background: linear-gradient(180deg, #1a0f24 0%, #2a1a38 40%, #6b4a78 100%);
  padding: 48px 0 64px;
  position: relative;
}

.carousel {
  position: relative;
  width: min(1100px, 100%);
  margin: 0 auto;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  padding: 0 80px;
}

.carousel__slide {
  flex: 0 0 min(720px, 70vw);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity 0.3s, transform 0.3s;
}

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
}

.carousel__play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
}

.carousel__play-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.yt-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
}

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  z-index: 5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.carousel__nav--prev {
  left: 16px;
}

.carousel__nav--next {
  right: 16px;
}

.carousel__nav svg {
  width: 20px;
  height: 20px;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.carousel__dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.carousel__dot.is-active {
  background: #fff;
}

/* —— Store editions —— */
.store-section {
  background: url("../assets/sunset-bg.jpg") center / cover no-repeat;
  padding: 72px 0 80px;
  text-align: center;
  color: #fff;
  position: relative;
}

.store-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(80, 50, 90, 0.35),
    rgba(200, 140, 150, 0.25)
  );
}

.store-section > * {
  position: relative;
  z-index: 1;
}

.store-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.store-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  max-width: 720px;
  margin: 0 auto 12px;
}

.store-section .editions-label {
  font-size: 28px;
  font-weight: 300;
  margin: 40px 0 28px;
}

.editions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1000px, 100% - 48px);
  margin: 0 auto;
  text-align: left;
}

.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card__art {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.product-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
}

.product-card__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.product-card__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.product-card__list li::before {
  content: "•";
  color: rgba(255, 255, 255, 0.5);
}

.product-card__pricing {
  margin-bottom: 8px;
}
.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.product-card__price {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0;
  color: #4be08a;
}
.price-original {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}
.price-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #111;
  background: #ffd166;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.product-card__note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 18px;
}

.product-card .cta-row {
  margin-top: auto;
  max-width: none;
}

/* —— Expansions —— */
.expansions {
  background: url("../assets/sunset-bg.jpg") center bottom / cover no-repeat;
  padding: 0 0 80px;
  text-align: center;
  color: #fff;
  margin-top: -1px;
}

.expansions h2 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 32px;
}

.expansion-card {
  width: min(280px, 90%);
  margin: 0 auto;
  text-align: left;
}

.expansion-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #222;
}

.expansion-card__tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  text-transform: uppercase;
}

.expansion-card__title {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0;
}

.expansion-card__status {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* —— About —— */
.about {
  position: relative;
  min-height: 520px;
  color: #fff;
  display: flex;
  align-items: center;
  background: #2a1540;
}

.about__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 90%);
  margin: 64px 0 64px max(24px, calc((100% - 1280px) / 2));
  background: rgba(40, 20, 60, 0.82);
  backdrop-filter: blur(8px);
  padding: 36px 40px;
  border-radius: 4px;
}

.about__eyebrow {
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.9;
}

.about__panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 16px;
}

.about__panel p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

/* —— Console features —— */
.features {
  background: #fff;
  padding: 72px 24px 80px;
  text-align: center;
}

.features__badge {
  max-width: 420px;
  margin: 0 auto 28px;
}

.features h2 {
  color: var(--ps-blue);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 300;
  max-width: 900px;
  margin: 0 auto 16px;
  line-height: 1.25;
}

.features__intro {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 15px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 28px;
  width: min(1000px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.feature-block {
  grid-column: span 3;
}

.feature-block:nth-child(n + 3) {
  grid-column: span 2;
}

.feature-block__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: #111;
}

.feature-block h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-block p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 320px;
  margin: 0 auto;
}

.btn-learn {
  display: inline-block;
  background: var(--ps-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 999px;
}

.btn-learn:hover {
  background: #005bb0;
}

/* —— FAQ —— */
.faq {
  background: url("../assets/purple-gradient.jpg") center / cover no-repeat;
  padding: 72px 24px 80px;
  color: #fff;
}

.faq h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  margin-bottom: 36px;
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item__q {
  width: 100%;
  text-align: left;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 40px 20px 0;
  position: relative;
  line-height: 1.4;
}

.faq-item__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-item__q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item__a {
  display: none;
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.faq-item.is-open .faq-item__a {
  display: block;
}

.faq-item__a ul {
  list-style: disc;
  padding-left: 20px;
  margin: 10px 0;
}

.faq-item__a li {
  margin-bottom: 6px;
}

.faq-item__a strong {
  display: block;
  margin-top: 12px;
}

/* —— Reviews —— */
.reviews {
  background: #fff;
  padding: 64px 24px 80px;
}

.reviews h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 32px;
}

.reviews__empty {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-muted);
}

.reviews__empty h3 {
  color: var(--text-dark);
  font-size: 20px;
  margin-bottom: 8px;
}

.reviews__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.reviews__filters select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  min-width: 160px;
}

.btn-login-review {
  display: inline-block;
  margin-top: 16px;
  background: var(--ps-blue);
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
}

/* —— Legal strip —— */
.legal-strip {
  background: #111;
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 24px;
  font-size: 12px;
  line-height: 1.6;
}

.legal-strip .container {
  width: min(1100px, 100%);
}

.legal-strip p + p {
  margin-top: 16px;
}

/* —— Footer —— */
.site-footer {
  background: var(--ps-blue-footer);
  color: #fff;
  padding: 48px 24px 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand svg {
  width: 40px;
  height: 40px;
}

.footer-brand span {
  font-size: 22px;
  font-weight: 600;
}

.breadcrumb {
  font-size: 13px;
  margin-bottom: 36px;
  opacity: 0.9;
}

.breadcrumb span {
  opacity: 0.6;
  margin: 0 6px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.footer-cols h4 {
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-cols a {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.footer-cols a:hover {
  opacity: 1;
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}

.sie-brand {
  display: flex;
  gap: 12px;
  max-width: 720px;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.9;
}

.sie-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f90, #fc0);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #003791;
  font-size: 14px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}

.footer-legal-links a:hover {
  text-decoration: underline;
}

.region-btn {
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
}

/* —— Login popup —— */
.login-popup {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  z-index: 200;
  overflow: hidden;
}

.login-popup.is-hidden {
  display: none;
}

.login-popup__head {
  background: var(--ps-blue-dark);
  color: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-popup__head-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.login-popup__head svg {
  width: 22px;
  height: 22px;
}

.login-popup__close {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  opacity: 0.8;
}

.login-popup__body {
  padding: 16px;
}

.login-popup__body p {
  font-size: 13px;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.45;
}

.login-popup__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.btn-entrar {
  width: 100%;
  background: var(--ps-blue);
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* —— Mobile —— */
@media (max-width: 960px) {
  .nav-main {
    display: none;
  }

  .search-box {
    width: 140px;
  }

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

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

  .feature-block,
  .feature-block:nth-child(n + 3) {
    grid-column: span 1;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .rating-pending {
    margin-left: 0;
  }

  .about__panel {
    margin: 48px auto;
  }

  .carousel__track {
    padding: 0 48px;
  }
}

@media (max-width: 600px) {
  .btn-signin {
    display: none;
  }

  .product-card__list {
    grid-template-columns: 1fr;
  }

  .login-popup {
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/* ============================================================
   Landing: loader de disponibilidade + escassez + captura
   ============================================================ */

/* ---- Overlay de verificação ---- */
.offer-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, #0a1a3a 0%, #05060f 70%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.offer-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.offer-loader__inner {
  width: min(440px, 90vw);
  text-align: center;
  color: #fff;
  padding: 24px;
}
.offer-loader__logo {
  animation: loaderPulse 1.6s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.7; }
}
.offer-loader__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 20px 0 8px;
  letter-spacing: -0.01em;
}
.offer-loader__sub {
  font-size: 0.95rem;
  color: #aebbd6;
  min-height: 1.4em;
  margin-bottom: 24px;
  transition: opacity 0.2s ease;
}
.offer-loader__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.offer-loader__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #0070d1, #4aa3ff);
  box-shadow: 0 0 12px rgba(74, 163, 255, 0.7);
  transition: width 0.25s ease;
}
.offer-loader__pct {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4aa3ff;
}

/* ---- Tag no header ---- */
.header-offer-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--ps-orange);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- Caixa de oferta no hero ---- */
.offer-box {
  background: rgba(10, 12, 24, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px;
  max-width: 460px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.offer-box.is-in {
  opacity: 1;
  transform: none;
}

/* ---- Alerta de escassez ---- */
.stock-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(227, 82, 5, 0.15);
  border: 1px solid rgba(227, 82, 5, 0.5);
  color: #ffb489;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.stock-alert strong {
  color: #ff7a33;
  font-size: 1.15em;
}
.stock-alert__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5a1f;
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: stockPulse 1.4s infinite;
  flex-shrink: 0;
}
@keyframes stockPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

/* ---- Preço ---- */
.offer-box__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.offer-box__old {
  color: #8a93a8;
  text-decoration: line-through;
  font-size: 1rem;
}
.offer-box__now {
  color: #4be08a;
  font-weight: 800;
  font-size: 1.35rem;
}
.offer-box__desc {
  color: #cdd4e4;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.offer-box__desc strong { color: #fff; }

/* ---- Captura de email ---- */
.email-capture__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aebbd6;
  margin-bottom: 8px;
}
.email-capture__row {
  display: flex;
  gap: 10px;
}
.email-capture__input {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.email-capture__input::placeholder { color: #7c869c; }
.email-capture__input:focus { border-color: #4aa3ff; }
.email-capture__input.is-error { border-color: #ff5a4f; }
.email-capture__btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--ps-orange);
  padding: 13px 20px;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}
.email-capture__btn:hover { background: var(--ps-orange-hover); }
.email-capture__btn:active { transform: scale(0.97); }
.email-capture__error {
  color: #ff7a70;
  font-size: 0.82rem;
  margin-top: 8px;
}
.email-capture__hint {
  color: #8a93a8;
  font-size: 0.78rem;
  margin-top: 10px;
}

/* ---- Sucesso ---- */
.email-success {
  text-align: center;
  padding: 8px 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.email-success.is-in { opacity: 1; transform: none; }
.email-success h3 {
  color: #fff;
  font-size: 1.25rem;
  margin: 10px 0 8px;
}
.email-success p {
  color: #cdd4e4;
  font-size: 0.9rem;
}
.email-success strong { color: #4be08a; }

/* ---- CTA final ---- */
.final-cta {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(180deg, #0a1226, #05060f);
  color: #fff;
}
.final-cta h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 12px;
}
.final-cta p {
  color: #aebbd6;
  max-width: 560px;
  margin: 0 auto 26px;
}
.btn-preorder--lg {
  font-size: 1.05rem;
  padding: 16px 34px;
}

@media (max-width: 600px) {
  .header-offer-tag { display: none; }
}

/* ============================================================
   Fluxo de compra em etapas
   ============================================================ */

/* Indicador de etapas */
.steps {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #a8b0c4;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
  min-width: 0;
}
.steps__item > span:first-child {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  color: #e8eef8;
}
.steps__item > span:last-child {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.steps__item.is-active {
  color: #fff;
  border-color: #4aa3ff;
}
.steps__item.is-active > span:first-child {
  background: #4aa3ff;
  color: #051022;
}
.steps__item.is-done {
  color: #7dffb4;
  border-color: #2fbf71;
}
.steps__item.is-done > span:first-child {
  background: #2fbf71;
  color: #04220f;
}

/* Painéis */
.step-panel__title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

/* Opções de edição */
.edition-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.edition-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.edition-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.edition-option__body {
  display: block;
  position: relative;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.edition-option__body::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.2s ease;
}
.edition-option input:checked + .edition-option__body {
  border-color: #4aa3ff;
  background: rgba(74, 163, 255, 0.1);
}
.edition-option input:checked + .edition-option__body::before {
  border-color: #4aa3ff;
  box-shadow: inset 0 0 0 4px #4aa3ff;
}
.edition-option input:focus-visible + .edition-option__body {
  outline: 2px solid #4aa3ff;
  outline-offset: 2px;
}
.edition-option__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #051022;
  background: #ffb020;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.edition-option__name {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.edition-option__desc {
  display: block;
  color: #aebbd6;
  font-size: 0.82rem;
  margin: 2px 0 6px;
}
.edition-option__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.edition-option__pricing .price-badge {
  margin-bottom: 0;
}
.edition-option__price {
  display: inline;
  color: #4be08a;
  font-weight: 800;
  font-size: 1.1rem;
}
.edition-option__pricing .price-original {
  font-size: 0.85rem;
}

/* Botões do fluxo */
.offer-box__btn {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--ps-orange);
  padding: 14px 20px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.offer-box__btn:hover:not(:disabled) { background: var(--ps-orange-hover); }
.offer-box__btn:active:not(:disabled) { transform: scale(0.98); }
.offer-box__btn:disabled { opacity: 0.5; cursor: not-allowed; }
.offer-box__btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #cdd4e4;
}
.offer-box__btn--ghost:hover:not(:disabled) { background: rgba(255, 255, 255, 0.08); }
.step-nav {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.step-nav .offer-box__btn { width: auto; flex: 1; }
.step-nav .offer-box__btn--ghost { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }

/* Campo de email (etapa 2) */
.email-capture__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aebbd6;
  margin-bottom: 8px;
}
.email-capture__input {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}
.email-capture__input::placeholder { color: #7c869c; }
.email-capture__input:focus { border-color: #4aa3ff; }
.email-capture__input.is-error { border-color: #ff5a4f; }
.email-capture__error {
  color: #ff7a70;
  font-size: 0.82rem;
  margin-top: 8px;
}
.email-capture__hint {
  color: #8a93a8;
  font-size: 0.78rem;
  margin: 10px 0 16px;
}

/* Resumo do pedido (etapa 3) */
.order-summary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.order-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.9rem;
  color: #aebbd6;
}
.order-summary__row strong { color: #fff; text-align: right; }
.order-summary__row--total {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 4px;
  padding-top: 12px;
  font-size: 1rem;
}
.order-summary__row--total strong { color: #4be08a; font-size: 1.15rem; }

/* Placeholder de pagamento */
.payment-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #aebbd6;
  margin-bottom: 16px;
}
.payment-placeholder strong { color: #fff; }
.payment-placeholder p { font-size: 0.85rem; line-height: 1.4; }

.payment-secure-note {
  font-size: 0.82rem;
  color: #aebbd6;
  margin-bottom: 12px;
  line-height: 1.4;
}

.payment-element-wrap {
  position: relative;
  min-height: 180px;
  margin-bottom: 14px;
  padding: 4px 2px 8px;
}

#payment-element {
  min-height: 160px;
}

.payment-skeleton {
  display: grid;
  gap: 10px;
  padding: 8px 0 16px;
}
.payment-skeleton[hidden] { display: none; }
.payment-skeleton span {
  display: block;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.14), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: payShimmer 1.2s ease-in-out infinite;
}
.payment-skeleton span:nth-child(2) { width: 70%; }
.payment-skeleton span:nth-child(3) { width: 85%; }

@keyframes payShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.payment-error {
  color: #ff8a80;
  font-size: 0.82rem;
  margin: -6px 0 12px;
  line-height: 1.4;
}

.checkout-banner {
  background: rgba(227, 82, 5, 0.18);
  border: 1px solid rgba(227, 82, 5, 0.45);
  color: #ffe0d0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .step-nav { flex-direction: column; }
  .step-nav .offer-box__btn { width: 100%; }
}
