@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('/assets/fonts/manrope-200.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/robotomono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/robotomono-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

:root {
  --color-tangerine: #f15a24;
  --color-tangerine-text: #c1470f; /* variante escurecida — contraste 5.2:1 para texto pequeno, ver relatório */
  --color-sun-yellow: #ffed8c;
  --color-blush-pink: #ffcccc;
  --color-midnight-navy: #050133;
  --color-coral-wash: #f4a398;
  --color-paper-white: #ffffff;
  --color-ink-black: #000000;
  --color-graphite: #333333;

  --font-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, monospace;

  --radius-buttons: 66px;
  --radius-cards: 0px;
  --page-max-width: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper-white);
  color: var(--color-ink-black);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--color-tangerine-text); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; color: var(--color-tangerine); letter-spacing: 0.03em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.rp6-container { max-width: var(--page-max-width); margin: 0 auto; padding: 0 20px; }
.rp6-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.rp6-header { position: sticky; top: 0; z-index: 40; background: var(--color-paper-white); }
.rp6-header__inner { max-width: var(--page-max-width); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.rp6-logo { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; color: var(--color-tangerine); text-decoration: none; }
.rp6-logo span { color: var(--color-ink-black); }
.rp6-nav { display: flex; gap: 24px; }
.rp6-nav__link { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-ink-black); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.rp6-nav__link:hover, .rp6-nav__link--active { border-bottom-color: var(--color-tangerine); }
.rp6-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0; }
.rp6-burger span { display: block; width: 24px; height: 2px; background: var(--color-tangerine); }

@media (max-width: 780px) {
  .rp6-nav { position: fixed; inset: 64px 0 0 0; background: var(--color-paper-white); flex-direction: column; padding: 24px 20px; gap: 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
  .rp6-nav--open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .rp6-burger { display: flex; }
}

/* ---------- Buttons ---------- */
.rp6-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 12px 34px; border-radius: var(--radius-buttons);
  background: transparent; color: var(--color-tangerine-text); border: 2px solid var(--color-tangerine);
  text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.rp6-btn:hover, .rp6-btn:focus-visible { background: var(--color-tangerine); color: #fff; transform: translateY(-1px); }
.rp6-btn:focus-visible { outline: 3px solid var(--color-midnight-navy); outline-offset: 3px; }
.rp6-btn--outline { color: var(--color-midnight-navy); border-color: var(--color-midnight-navy); }
.rp6-btn--outline:hover { background: var(--color-midnight-navy); color: #fff; }
.rp6-btn--ghost { border-color: var(--color-graphite); color: var(--color-graphite); }
.rp6-ghostlink { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-tangerine-text); text-decoration: none; border-bottom: 2px solid var(--color-tangerine); padding-bottom: 2px; }
.rp6-ghostlink:hover { color: var(--color-ink-black); border-bottom-color: var(--color-ink-black); }

/* ---------- Hero (split) ---------- */
.rp6-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.rp6-hero__left { background: var(--color-sun-yellow); display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 60px 48px; }
.rp6-hero__right { background: var(--color-blush-pink); position: relative; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rp6-hero__right img { width: 100%; }
.rp6-hero__caption { position: absolute; bottom: 16px; left: 16px; font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; color: var(--color-tangerine-text); background: rgba(255,255,255,.85); padding: 4px 10px; }
.rp6-eyebrow { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-tangerine-text); margin: 0; }
.rp6-hero__title { font-weight: 200; font-size: clamp(38px, 6vw, 72px); letter-spacing: 0.03em; line-height: 1; color: var(--color-tangerine); margin: 0; }
.rp6-hero__lead { font-size: 18px; max-width: 46ch; margin: 0; color: var(--color-ink-black); }
/* Hero sits on --color-sun-yellow, which is lighter than the white the tangerine
   text variants were tuned against (see comment on --color-tangerine-text) — on
   yellow they drop under the WCAG threshold. Darken just within the hero. */
.rp6-hero__left .rp6-eyebrow,
.rp6-hero__left .rp6-btn { color: var(--color-midnight-navy); }
.rp6-hero__left .rp6-btn { border-color: var(--color-midnight-navy); }
.rp6-hero__left .rp6-btn:hover, .rp6-hero__left .rp6-btn:focus-visible { background: var(--color-midnight-navy); color: var(--color-sun-yellow); }
.rp6-hero__title { color: #a83c10; }
@media (max-width: 860px) {
  .rp6-hero { grid-template-columns: 1fr; }
  .rp6-hero__left, .rp6-hero__right { padding: 40px 24px; }
}

/* ---------- Sections ---------- */
.rp6-section { padding: 64px 0; }
.rp6-section--yellow { background: var(--color-sun-yellow); }
.rp6-section--pink { background: var(--color-blush-pink); }
.rp6-section--coral { background: var(--color-coral-wash); }
.rp6-heading { font-weight: 700; font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; }
.rp6-lead { font-size: 18px; max-width: 68ch; }
.rp6-caption { font-family: var(--font-mono); font-size: 13px; color: var(--color-graphite); }

.rp6-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rp6-split__media img { width: 100%; }
@media (max-width: 780px) { .rp6-split { grid-template-columns: 1fr; } }

/* ---------- Game cards ---------- */
.rp6-cards { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 32px; }
.rp6-card { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.rp6-card--flip { direction: rtl; }
.rp6-card--flip > * { direction: ltr; }
.rp6-card__media img { width: 100%; border-radius: var(--radius-cards); }
.rp6-card__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--color-tangerine-text); margin: 0 0 6px; }
.rp6-card__title { font-size: 26px; margin: 0 0 8px; }
.rp6-card__title a { color: inherit; text-decoration: none; }
.rp6-card__verdict { color: var(--color-graphite); margin: 0 0 10px; }
.rp6-card__meta { font-size: 14px; margin: 0 0 14px; }
.rp6-rating strong { color: var(--color-ink-black); }
.rp6-rating--none { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--color-graphite); }
@media (max-width: 700px) { .rp6-card, .rp6-card--flip { grid-template-columns: 1fr; direction: ltr; } }

/* ---------- Table ---------- */
.rp6-tablewrap { width: 100%; overflow-x: auto; margin: 24px 0; }
.rp6-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rp6-table caption { text-align: left; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--color-graphite); margin-bottom: 10px; }
.rp6-table th, .rp6-table td { text-align: left; padding: 12px 14px; }
.rp6-table thead th { border-bottom: 2px solid var(--color-tangerine); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.rp6-table tbody tr:nth-child(odd) { background: var(--color-blush-pink); }
.rp6-table--vs th[scope="row"] { font-weight: 700; }

/* ---------- Purchases ---------- */
.rp6-purchases { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.rp6-purchases__item { background: var(--color-paper-white); padding: 20px; }
.rp6-purchases__title { font-weight: 700; margin: 0 0 6px; }
.rp6-purchases__note { color: var(--color-graphite); font-size: 14px; margin: 0 0 12px; }

/* ---------- FAQ ---------- */
.rp6-faq__item { border-bottom: 1px solid rgba(5,1,51,.15); }
.rp6-faq__q { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--color-ink-black); cursor: pointer; display: flex; justify-content: space-between; }
.rp6-faq__q::after { content: '+'; color: var(--color-tangerine); font-size: 22px; }
.rp6-faq__q[aria-expanded="true"]::after { content: '−'; }
.rp6-faq__a { max-height: 0; overflow: hidden; }
.rp6-faq__q[aria-expanded="true"] + .rp6-faq__a { max-height: 800px; padding-bottom: 16px; }

/* ---------- Review page ---------- */
.rp6-crumbs { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--color-graphite); padding: 18px 0 0; }
.rp6-crumbs a { color: var(--color-graphite); text-decoration: none; }
.rp6-crumbs a:hover { color: var(--color-tangerine-text); }
.rp6-crumbs__sep { color: var(--color-tangerine-text); }
.rp6-review__head { padding: 24px 0 32px; }
.rp6-review__head h1 { font-size: clamp(30px, 5vw, 48px); }
.rp6-review__cover { width: 100%; margin-top: 24px; }
.rp6-review__grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding-bottom: 48px; align-items: start; }
.rp6-facts { position: sticky; top: 90px; background: var(--color-blush-pink); padding: 20px; }
dl.rp6-facts > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(5,1,51,.1); font-size: 14px; }
dl.rp6-facts dt { color: var(--color-graphite); }
dl.rp6-facts dd { margin: 0; font-weight: 700; text-align: right; }
.rp6-proscons { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.rp6-proscons__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--color-tangerine-text); margin: 0 0 6px; }
.rp6-proscons ul { margin: 0; padding-left: 18px; font-size: 14px; }
.rp6-review__section { margin-bottom: 32px; }
.rp6-review__section h2 { font-size: 24px; text-transform: none; letter-spacing: 0; }
.rp6-review__shot img { width: 100%; margin: 32px 0; }
@media (max-width: 860px) { .rp6-review__grid { grid-template-columns: 1fr; } .rp6-facts { position: static; } }

.rp6-related { list-style: none; margin: 20px 0 60px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; }
.rp6-related a { text-decoration: none; color: inherit; }
.rp6-related img { width: 100%; margin-bottom: 8px; }
.rp6-related span { font-size: 14px; font-weight: 700; }

/* ---------- Pick / Compare / static pages ---------- */
.rp6-page { padding: 40px 0 64px; }
.rp6-page h1 { font-size: clamp(30px, 5vw, 48px); }
.rp6-prose h2 { font-size: 22px; text-transform: none; letter-spacing: 0; margin-top: 2em; }
.rp6-prose p { max-width: 72ch; }
.rp6-picklist { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.rp6-pickitem { display: grid; grid-template-columns: auto 200px 1fr; gap: 20px; align-items: center; }
.rp6-pickitem__num { font-family: var(--font-mono); font-size: 32px; color: var(--color-tangerine-text); -webkit-text-stroke: 1px var(--color-tangerine); }
.rp6-pickitem__media img { width: 100%; }
.rp6-pickitem__text h2 { text-transform: none; letter-spacing: 0; font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.rp6-pickitem__text h2 a { color: inherit; text-decoration: none; }
@media (max-width: 640px) { .rp6-pickitem { grid-template-columns: 1fr; } }
.rp6-ctarow { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.rp6-contactcard { background: var(--color-blush-pink); padding: 20px; max-width: 40ch; }
.rp6-notfound { text-align: center; padding: 100px 0; }
.rp6-about-teaser { text-align: center; }

/* ---------- Cookie banner ---------- */
.rp6-cookiebar[hidden] { display: none; }
.rp6-cookiebar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; background: var(--color-midnight-navy); color: #fff; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; max-width: 900px; margin: 0 auto; }
.rp6-cookiebar p { margin: 0; font-size: 13px; max-width: 60ch; }
.rp6-cookiebar a { color: var(--color-sun-yellow); }
.rp6-cookiebar__actions { display: flex; gap: 10px; flex-shrink: 0; }
.rp6-cookiebar .rp6-btn { padding: 8px 22px; font-size: 13px; border-color: #fff; color: #fff; }
.rp6-cookiebar .rp6-btn:hover { background: #fff; color: var(--color-midnight-navy); }

/* ---------- Footer ---------- */
.rp6-footer { background: var(--color-midnight-navy); color: #fff; padding: 56px 0 24px; margin-top: 40px; }
.rp6-footer__inner { max-width: var(--page-max-width); margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.rp6-footer__col a, .rp6-footer__col p { display: block; color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; margin-bottom: 8px; }
.rp6-footer__col a:hover { color: var(--color-sun-yellow); }
.rp6-footer__heading { font-family: var(--font-mono); text-transform: uppercase; font-size: 12px; color: var(--color-sun-yellow); margin-bottom: 12px; }
.rp6-logo--footer { margin-bottom: 12px; }
.rp6-logo--footer span { color: #fff; }
.rp6-footer__bottom { max-width: var(--page-max-width); margin: 32px auto 0; padding: 20px 20px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 780px) { .rp6-footer__inner { grid-template-columns: 1fr 1fr; } }

.rp6-top { position: fixed; right: 20px; bottom: 90px; z-index: 45; width: 44px; height: 44px; border-radius: var(--radius-buttons); border: 2px solid var(--color-tangerine); background: #fff; color: var(--color-tangerine-text); font-size: 18px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.rp6-top--visible { opacity: 1; pointer-events: auto; }
.rp6-top:hover { background: var(--color-tangerine); color: #fff; }

/* ---------- Google Play button ---------- */
.rp6-btn--sm { padding: 8px 18px; font-size: 12px; gap: 6px; }
.rp6-btn { gap: 8px; }
.rp6-playicon { flex-shrink: 0; }
.rp6-card__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rp6-facts__cta { margin-top: 18px; }
.rp6-facts__cta .rp6-btn { width: 100%; }

/* ---------- Reveal on scroll (rp6, own thresholds/easing) ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-rp6-reveal] {
    opacity: 0;
    transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1);
    transition-delay: var(--rp6-d, 0ms);
    will-change: transform, opacity;
  }
  [data-rp6-reveal="left"] { transform: translateX(-56px); }
  [data-rp6-reveal="right"] { transform: translateX(56px); }
  [data-rp6-reveal="up"] { transform: translateY(52px); }
  [data-rp6-reveal="scale"] { transform: scale(.9); }
  [data-rp6-reveal].rp6-in { opacity: 1; transform: none; }

  /* Hero on-load "staircase" — pure CSS, fires immediately, not gated by JS/observer.
     Transform-only (no opacity dip): text stays at full, always-compliant contrast
     the instant it paints — automated a11y snapshots taken early after load never
     catch a still-fading/transparent element, only a still-sliding one. */
  .rp6-hero-in {
    opacity: 1;
    transform: translateY(22px);
    animation: rp6-hero-rise .5s cubic-bezier(.16,.8,.3,1) forwards;
    animation-delay: var(--rp6-d, 0s);
  }
  @keyframes rp6-hero-rise { from { transform: translateY(22px); } to { transform: translateY(0); } }

  /* Hero media is the LCP candidate (fetchpriority=high) — animate transform ONLY, never opacity/layout */
  .rp6-hero-media { animation: rp6-hero-media 1.1s cubic-bezier(.16,.8,.3,1) both; }
  @keyframes rp6-hero-media { from { transform: scale(1.08); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  [data-rp6-reveal] { opacity: 1; transform: none; }
  .rp6-hero-in { opacity: 1; }
}
