/* Spec 400: seção "Alfaero no Xbox". Escura por padrão, versão clara no fim (mesmo padrão da SVA). */

.xbx-section { position: relative; isolation: isolate; overflow: hidden; padding: 104px 16px 72px; background: #070a11; color: #f4f5f7; }
.xbx-section *, .xbx-section *::before, .xbx-section *::after { box-sizing: border-box; }
.xbx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 50% at 85% 30%, rgba(237,189,40,.13), transparent 70%),
    radial-gradient(45% 55% at 8% 80%, rgba(56,97,168,.18), transparent 72%);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 10%, #000 88%, transparent); }
.xbx-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }

.xbx-section .xbx-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #edbd28; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.xbx-section h2 { color: #f4f5f7; font-size: clamp(32px, 4.2vw, 54px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; margin: 0; }
.xbx-section h2 span { display: block; color: #edbd28; }
.xbx-section .xbx-intro { margin: 22px 0 0; color: #a6adba; font-size: 17px; line-height: 1.65; }
.xbx-section .xbx-partner { color: #edbd28; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.xbx-section .xbx-partner:hover { color: #f5d264; }
.xbx-section .xbx-partner:focus-visible { outline: 2px solid #edbd28; outline-offset: 2px; border-radius: 2px; }

.xbx-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.xbx-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.xbx-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(237,189,40,.35); background: rgba(237,189,40,.08); color: #edbd28; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.xbx-section .xbx-steps h3 { margin: 2px 0 4px; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; }
.xbx-section .xbx-steps p { margin: 0; color: #a6adba; font-size: 15px; line-height: 1.55; }

.xbx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 32px; }
.xbx-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #edbd28; color: #171308;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.xbx-cta:hover { color: #171308; transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(237,189,40,.6); }
.xbx-cta:focus-visible { outline: 2px solid #edbd28; outline-offset: 3px; }
.xbx-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.xbx-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #c9ced8; font-size: 12.5px; font-weight: 500; white-space: nowrap; }

/* Palco: tela do simulador atrás, tablet com o app na frente */
.xbx-stage { position: relative; padding-bottom: 22%; }
.xbx-screen, .xbx-tablet { margin: 0; }
.xbx-screen { width: 88%; }
.xbx-screen-frame { position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #0b1019;
  border: 6px solid #12161f; box-shadow: 0 0 0 1px rgba(255,255,255,.10), 0 50px 100px -50px rgba(0,0,0,.9); }
.xbx-tablet { position: absolute; right: 0; bottom: 0; width: 58%; }
.xbx-tablet-frame { position: relative; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: #0b1019;
  border: 10px solid #0d1017; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 40px 80px -30px rgba(0,0,0,.95); }
.xbx-screen-frame img, .xbx-tablet-frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s ease; }
.xbx-screen-frame:hover img, .xbx-tablet-frame:hover img { transform: scale(1.02); }
.xbx-section figcaption { margin-top: 10px; color: #8e96a5; font-size: 12.5px; letter-spacing: .02em; }

.xbx-note { max-width: 1240px; margin: 56px auto 0; color: #6f7786; font-size: 11.5px; line-height: 1.6; text-align: center; }
.xbx-section .xbx-note .xbx-partner { color: #c9ced8; }
.xbx-section .xbx-note .xbx-partner:hover { color: #edbd28; }

@media (max-width: 1023px) {
  .xbx-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .xbx-copy { max-width: 680px; }
}
@media (max-width: 640px) {
  .xbx-section { padding: 72px 16px 56px; }
  .xbx-section .xbx-intro { font-size: 16px; }
  .xbx-stage { padding-bottom: 30%; }
  .xbx-screen { width: 100%; }
  .xbx-tablet { width: 66%; }
  .xbx-tablet-frame { border-width: 6px; border-radius: 14px; }
  .xbx-screen figcaption { display: none; }
  .xbx-note { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .xbx-cta, .xbx-screen-frame img, .xbx-tablet-frame img { transition: none; }
}

/* ---------- Versão clara ---------- */
html:not(.dark) .xbx-section { background: #f5f6f8; color: #14181f; }
html:not(.dark) .xbx-bg { background:
    radial-gradient(45% 50% at 85% 30%, rgba(237,189,40,.20), transparent 70%),
    radial-gradient(45% 55% at 8% 80%, rgba(56,97,168,.10), transparent 72%); }
html:not(.dark) .xbx-section .xbx-eyebrow { color: #9a7108; }
html:not(.dark) .xbx-section h2 { color: #14181f; }
html:not(.dark) .xbx-section h2 span { color: #b8860b; }
html:not(.dark) .xbx-section .xbx-partner { color: #8a6508; }
html:not(.dark) .xbx-section .xbx-partner:hover { color: #6b4e05; }
html:not(.dark) .xbx-section .xbx-intro,
html:not(.dark) .xbx-section .xbx-steps p { color: #4d5463; }
html:not(.dark) .xbx-section .xbx-steps h3 { color: #14181f; }
html:not(.dark) .xbx-num { color: #9a7108; border-color: rgba(184,134,11,.35); background: rgba(237,189,40,.14); }
html:not(.dark) .xbx-chips li { color: #4d5463; border-color: rgba(20,24,31,.14); }
html:not(.dark) .xbx-screen-frame { border-color: #1a1f2a; box-shadow: 0 0 0 1px rgba(20,24,31,.10), 0 40px 80px -45px rgba(20,24,31,.55); }
html:not(.dark) .xbx-tablet-frame { box-shadow: 0 0 0 1px rgba(20,24,31,.14), 0 30px 60px -30px rgba(20,24,31,.6); }
html:not(.dark) .xbx-section figcaption { color: #6b7280; }
html:not(.dark) .xbx-note { color: #6b7280; }
html:not(.dark) .xbx-section .xbx-note .xbx-partner { color: #4d5463; }
html:not(.dark) .xbx-section .xbx-note .xbx-partner:hover { color: #8a6508; }
