/* Tokens: valores de movesIT/src/theme/index.ts (STYLE-GUIDE.md §2 e §4). Não alterar sem alterar o guia. */
:root {
  --primary: #2196F3;
  --primary-dark: #1565C0;
  --teal: #00D4B2;
  --teal-dark: #009e88;
  --navy: #27496D;
  --amber: #F59E0B;
  --amber-dark: #B45309;
  --red: #d94f4f;
  --background: #F8FAFB;
  --white: #ffffff;
  --gray100: #f1f5f9;
  --gray200: #e8eef2;
  --text: #27496D;
  --text-muted: #6B8298;
  --border: rgba(39, 73, 109, 0.12);
  --shadow: rgba(0, 0, 0, 0.08);
  --danger-soft: #fef3f2;
  --teal-tint: rgba(0, 212, 178, 0.082);   /* teal + '15' */
  --red-tint: rgba(217, 79, 79, 0.082);    /* red  + '15' */
  --primary-tint: rgba(33, 150, 243, 0.082);
  --brand-gradient: linear-gradient(135deg, #2196F3, #00D4B2);
  --hero-gradient: linear-gradient(135deg, #27496D, #00a88d);
  --radius-card: 16px;
  --radius-btn: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--background); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; line-height: 20px; color: var(--text); font-weight: 400;
}
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.noscript { padding: 24px; text-align: center; }

/* Layout fluido: os cabeçalhos e o conteúdo ocupam a largura toda e o texto fica numa coluna centrada.
   --col é a largura da coluna de conteúdo; .wide alarga-a (início, regulamento, agrupamentos). */
.app { --col: 720px; --col-wide: 1040px; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--background); }

/* ---------- Cabeçalhos (§6.1, §6.2) ---------- */
.header { background: var(--primary); color: var(--white); padding: calc(env(safe-area-inset-top) + 8px) 16px 14px; }
.header-row { display: flex; align-items: center; min-height: 44px; }
.header-slot { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--white); }
.header-title { flex: 1; text-align: center; }
.header-title h1 { font-size: 17px; font-weight: 700; letter-spacing: 0.3px; line-height: 22px; }
.header-title p { font-size: 12px; color: rgba(255, 255, 255, 0.8); }

.header-navy { background: var(--navy); padding: calc(env(safe-area-inset-top) + 40px) 16px 0; }
.header-navy .header-row { gap: 12px; }
.close-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); display: flex; align-items: center; justify-content: center; color: var(--white); }
.quiz-name { font-size: 13px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 1px; }
.quiz-xp { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.progress-row { display: flex; gap: 4px; padding: 10px 0 16px; }
.segment { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); }
.segment.done { background: var(--teal); }
.segment.active { background: var(--white); }


/* ---------- Conteúdo ---------- */
.content { flex: 1; width: 100%; padding: 20px max(20px, calc((100% - var(--col)) / 2)); display: flex; flex-direction: column; gap: 16px; }
.content.wide { --col: var(--col-wide); }
.content-center { max-width: 100%; align-items: center; text-align: center; justify-content: center; padding: 24px; }

.card { background: var(--white); border-radius: var(--radius-card); padding: 20px; border: 1px solid var(--border); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12); }
.card-title { font-size: 16.5px; font-weight: 600; color: var(--navy); }
.card-text { font-size: 14px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; line-height: 19px; }
.section-title { font-size: 18px; font-weight: 700; line-height: 26px; }

/* ---------- Botões (§6.4) ---------- */
.btn { display: block; width: 100%; background: var(--primary); color: var(--white); border-radius: var(--radius-btn); padding: 16px; text-align: center; font-size: 15px; font-weight: 700; transition: opacity .12s; }
.btn:active:not(:disabled) { background: var(--primary-dark); }
.btn:disabled { opacity: .45; }
.btn-text { width: 100%; text-align: center; padding: 12px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.pill-row { display: flex; gap: 12px; }
.pill { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--white); border-radius: 999px; padding: 10px 16px; box-shadow: 0 2px 6px var(--shadow); border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--navy); }
.pill:active { opacity: .7; }
.pill-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--gray100); display: flex; align-items: center; justify-content: center; color: var(--primary); flex: none; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Início ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--white);
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 70%);
  padding: calc(env(safe-area-inset-top) + 28px) 20px 64px; border-radius: 0 0 28px 28px;
}
/* manchas decorativas */
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.hero::before { width: 360px; height: 360px; right: -150px; top: -170px; background: radial-gradient(circle, rgba(0, 212, 178, 0.55), rgba(0, 212, 178, 0) 70%); }
.hero::after { width: 300px; height: 300px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%); }
.hero-inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-inner > img { width: 132px; height: auto; margin-bottom: 4px; }
.hero-title { font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -0.3px; }
.destaque { white-space: nowrap; background: linear-gradient(transparent 60%, rgba(0, 212, 178, 0.8) 60%); padding: 0 3px; border-radius: 2px; }
.hero-lead { font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, 0.9); max-width: 460px; }
.hero-note { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.hero-box { display: flex; flex-direction: column; align-items: center; gap: 2px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-card); padding: 14px 24px; }
.hero .btn { margin-top: 6px; }
.btn-light { background: var(--white); color: var(--primary-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn-light:active:not(:disabled) { background: var(--gray100); }
/* Botão principal: cartão branco com a mascote a espreitar e um botão de play que pulsa */
.play-btn {
  position: relative; width: 100%; max-width: 420px; min-height: 76px; margin-top: 34px;
  display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 112px;
  background: var(--white); color: var(--navy); border-radius: 22px; text-align: left;
  box-shadow: 0 12px 28px rgba(9, 45, 92, 0.35), inset 0 -4px 0 rgba(39, 73, 109, 0.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.play-btn:active { transform: translateY(1px) scale(.99); }
.play-mascot { position: absolute; left: 6px; bottom: 0; width: 100px; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.18)); pointer-events: none; }
.play-text { flex: 1; display: flex; flex-direction: column; }
.play-text strong { font-size: 20px; line-height: 24px; font-weight: 800; color: var(--primary-dark); }
.play-text small { font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--text-muted); }
.play-icon { position: relative; width: 52px; height: 52px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; color: var(--white); background: linear-gradient(135deg, var(--teal), var(--primary)); box-shadow: 0 6px 14px rgba(33, 150, 243, 0.45); }
.play-icon .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 2px; }
.play-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--teal); animation: pulsa 1.8s ease-out infinite; }
@keyframes pulsa { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@keyframes acena { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 70% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .play-icon::after { animation: none; opacity: 0; } .play-mascot { animation: none !important; } }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.facts li { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 600; }
.countdown-time { font-size: 30px; line-height: 36px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Horizonte de Matosinhos no fundo do topo. A imagem tem céu branco (as primeiras ~43px)
   e água #5DDFEF nos últimos 23%: o azul desvanece para branco antes dela e a água continua para os lados. */
.hero.com-cena { padding-bottom: 0; --agua: #5DDFEF; --cena-largura: 640px; --agua-extra: 40px; }
.hero-cena {
  margin: 0 -20px; padding-top: 72px; padding-bottom: var(--agua-extra); position: relative;
  background:
    linear-gradient(var(--agua), var(--agua)) bottom / 100% calc(var(--agua-extra) + var(--cena-largura) * 120 / 1815) no-repeat,
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0, #fff 72px) top / 100% 100% no-repeat;
}
.hero-cena img { display: block; width: var(--cena-largura); max-width: none; height: auto; position: relative; left: 50%; transform: translateX(-50%); }
.pill-float { margin-top: -48px; position: relative; z-index: 1; }
.home { gap: 28px; }
.home-section { display: flex; flex-direction: column; gap: 12px; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.step { padding: 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 2px 6px var(--shadow); }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-gradient); color: var(--white); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
.step-title { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--navy); }

.about { display: grid; gap: 16px; }
.about-card { display: flex; flex-direction: column; gap: 10px; box-shadow: 0 2px 6px var(--shadow); }
.solutions { display: flex; flex-direction: column; gap: 8px; }
.solution { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--gray100); }
.solution-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--white); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: none; }
.solution strong { display: block; font-size: 14px; color: var(--navy); }
.solution > div > span { display: block; }
.challenge { position: relative; overflow: hidden; isolation: isolate; border-radius: 20px; padding: 20px; color: var(--white); background: var(--hero-gradient); display: flex; flex-direction: column; gap: 10px; }
.challenge::after { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 178, 0.45), rgba(0, 212, 178, 0) 70%); }
.challenge .label { color: var(--teal); }
.challenge-title { font-size: 18px; line-height: 24px; font-weight: 700; }
.challenge p { color: rgba(255, 255, 255, 0.88); }
.challenge .habits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.habit { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; }
.habit .icon { width: 28px; height: 28px; color: var(--teal); }

.footer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 20px calc(env(safe-area-inset-bottom) + 28px); font-size: 12px; color: var(--text-muted); text-align: center; }
.footer img { width: 96px; height: auto; }

/* ---------- Quiz (§6.5, §6.6, §6.7) ---------- */
.q-meta { display: flex; align-items: center; justify-content: space-between; }
.timer { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--navy); }
.timer.low { color: var(--red); }
.timer-track { height: 6px; border-radius: 3px; background: var(--gray200); overflow: hidden; }
.timer-fill { height: 100%; width: 100%; border-radius: 3px; background: var(--brand-gradient); }
.timer-fill.low { background: var(--red); }
.question { font-size: 18px; font-weight: 700; line-height: 26px; }
.options { display: flex; flex-direction: column; gap: 12px; }
.option { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--white); border-radius: var(--radius-btn); padding: 14px; border: 2px solid var(--border); box-shadow: 0 1px 3px var(--shadow); }
.option:active:not(:disabled) { opacity: .85; }
.option-letter { width: 32px; height: 32px; border-radius: 50%; background: var(--gray100); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex: none; }
.option-text { flex: 1; font-size: 14px; line-height: 20px; }
.option.correct { background: var(--teal-tint); border-color: var(--teal); }
.option.wrong { background: var(--red-tint); border-color: var(--red); }
.option.correct .option-letter { background: var(--teal); color: var(--white); }
.option.wrong .option-letter { background: var(--red); color: var(--white); }
.option.dim { opacity: .6; }
.feedback { border-radius: var(--radius-btn); padding: 14px; }
.feedback.ok { background: var(--teal-tint); }
.feedback.ko { background: var(--danger-soft); }
.feedback-title { font-size: 15px; font-weight: 700; }
.feedback-text { font-size: 13px; line-height: 19px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Resultado (§6.8) ---------- */
.emoji { font-size: 72px; line-height: 1; }
.result-title { font-size: 26px; font-weight: 800; }
.result-sub { font-size: 15px; color: var(--text-muted); }
.result-hero .hero-inner { gap: 8px; }
.result-emoji { font-size: 56px; line-height: 64px; }
.result-hero .result-title { color: var(--white); }
.result-points { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 4px; }
.result-points span { font-size: 56px; line-height: 60px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.result-points small { font-size: 16px; font-weight: 700; color: rgba(255, 255, 255, 0.85); }
.result-dots { display: flex; gap: 8px; margin-top: 6px; }
.result-dots li { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.result-dots li.ok { background: var(--teal); color: var(--navy); }
.result-dots li.ko { background: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); }

.result-grid { margin-top: -48px; }
.result-grid > * { position: relative; z-index: 1; }
.claim { display: flex; flex-direction: column; gap: 10px; text-align: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.claim .btn { margin-top: 4px; }
.claim .btn-text { padding: 8px; }
.claim-motto { color: var(--primary-dark); font-weight: 600; padding-top: 10px; border-top: 1px solid var(--border); }
.result-summary { display: flex; flex-direction: column; gap: 16px; box-shadow: 0 2px 6px var(--shadow); }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--gray100); border-radius: var(--radius-btn); padding: 12px 4px; }
.result-stats > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.result-stats > div + div { border-left: 1px solid var(--border); }
.result-stats strong { font-size: 20px; line-height: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); }
.result-stats span { font-size: 11.5px; line-height: 15px; color: var(--text-muted); }
.result-list { display: flex; flex-direction: column; }
.result-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; }
.result-list li + li { border-top: 1px solid var(--border); }
.result-mark { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; color: var(--white); }
.result-list li.ok .result-mark { background: var(--teal); }
.result-list li.ko .result-mark { background: var(--red); }
.result-q { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result-q p { font-size: 13.5px; line-height: 19px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.result-list li.ok .label { color: var(--teal-dark); }
.result-list li.ko .label { color: var(--red); }
.result-pts { flex: none; min-width: 44px; text-align: right; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.result-list li.ok .result-pts { color: var(--primary); }
.result-list li.ko .result-pts { color: var(--text-muted); }

/* ---------- Agrupamentos e ranking ---------- */
.choice { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--white); border-radius: var(--radius-btn); padding: 14px; border: 2px solid var(--border); box-shadow: 0 1px 3px var(--shadow); font-size: 14px; font-weight: 600; color: var(--navy); }
.choice-name { flex: 1; }
.choice-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--white); flex: none; }
.choice.selected { border-color: var(--primary); background: var(--primary-tint); }
.choice.selected .choice-check { background: var(--primary); border-color: var(--primary); }

.hero-card { border-radius: 20px; padding: 20px; color: var(--white); background: var(--hero-gradient); display: flex; flex-direction: column; gap: 4px; }
.hero-card .label { color: var(--teal); }
.hero-name { font-size: 18px; font-weight: 700; line-height: 24px; }
.hero-sub { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.banner { background: var(--teal-tint); border: 1px solid var(--teal); border-radius: var(--radius-btn); padding: 14px; font-size: 14px; font-weight: 600; color: var(--navy); }

.rank-item { display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: var(--radius-card); padding: 14px; border: 1px solid var(--border); box-shadow: 0 1px 3px var(--shadow); }
.rank-item.mine { border: 2px solid var(--primary); }
.rank-pos { width: 32px; height: 32px; border-radius: 50%; background: var(--gray100); color: var(--text-muted); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.rank-pos.top { background: linear-gradient(135deg, #F59E0B, #B45309); color: var(--white); }
.rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rank-name { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 18px; }
.rank-bar { height: 4px; border-radius: 2px; background: var(--gray200); overflow: hidden; }
.rank-bar > span { display: block; height: 100%; border-radius: 2px; background: var(--brand-gradient); }
.rank-pts { text-align: right; flex: none; }
.rank-pts strong { display: block; font-size: 18px; font-weight: 800; line-height: 22px; font-variant-numeric: tabular-nums; }
.rank-pts span { font-size: 11px; color: var(--text-muted); }

.rules h2 { font-size: 16.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.rules ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--gray200); border-top-color: var(--primary); animation: gira .8s linear infinite; margin: 64px auto 0; }
@keyframes gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2s; } }

/* Modo de teste (/test/<chave>) */
.teste-faixa { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 8px 16px; background: var(--amber); color: var(--navy); font-size: 13px; line-height: 18px; }
.teste-faixa.ko { background: var(--red); color: var(--white); }
.teste-faixa select { font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid rgba(39, 73, 109, 0.3); border-radius: 8px; padding: 2px 6px; }

.spacer { visibility: hidden; }
.error { color: var(--red); min-height: 19px; }
.plain-list { list-style: none; margin: 0; padding: 0; }

/* Cabeçalhos alinhados com a coluna de conteúdo */
.header { padding-left: max(16px, calc((100% - var(--col-wide)) / 2 + 16px)); padding-right: max(16px, calc((100% - var(--col-wide)) / 2 + 16px)); }
.header-navy { padding-left: max(16px, calc((100% - var(--col)) / 2 + 20px)); padding-right: max(16px, calc((100% - var(--col)) / 2 + 20px)); }

@media (hover: hover) {
  .option:hover:not(:disabled), .choice:hover { border-color: var(--primary); }
  .pill:hover { box-shadow: 0 4px 12px var(--shadow); }
  .btn:hover:not(:disabled) { background: var(--primary-dark); }
  .btn.btn-light:hover:not(:disabled) { background: var(--gray100); }
  .play-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(9, 45, 92, 0.42), inset 0 -4px 0 rgba(39, 73, 109, 0.08); }
  .play-btn:hover .play-mascot { animation: acena .6s ease-in-out; }
  .close-btn:hover { background: rgba(255, 255, 255, 0.25); }
}

@media (min-width: 768px) {
  body { font-size: 15px; line-height: 22px; }
  .content { padding-top: 32px; padding-bottom: 48px; gap: 20px; }
  .content-center { --col: 560px; justify-content: flex-start; padding-top: 64px; }
  .hero { padding-top: 48px; padding-bottom: 96px; border-radius: 0 0 40px 40px; }
  .hero::before { width: 620px; height: 620px; right: -200px; top: -300px; }
  .hero::after { width: 520px; height: 520px; left: -200px; bottom: -280px; }
  .hero-inner { gap: 18px; max-width: 820px; }
  .hero.com-cena { --cena-largura: 1040px; --agua-extra: 44px; }
  .hero-cena { padding-top: 72px; }
  /* em ecrãs mais largos do que a imagem, as pontas desvanecem para o céu branco e a água continua por baixo */
  .hero-cena img { -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
  .hero-inner > img { width: 168px; }
  .hero-title { font-size: 46px; line-height: 52px; letter-spacing: -0.6px; }
  .hero-lead { font-size: 18px; line-height: 26px; }
  .hero-note { font-size: 14px; }
  .countdown-time { font-size: 40px; line-height: 46px; }
  .section-title { font-size: 20px; }
  .question { font-size: 22px; line-height: 30px; }
  .option { padding: 16px; }
  .option-text { font-size: 15px; }
  .header-title h1 { font-size: 19px; }

  .btn { max-width: 420px; margin-inline: auto; }
  .card .btn { margin-inline: 0; max-width: none; }

  .home { gap: 40px; }
  .pill-float { width: 100%; max-width: 520px; margin-inline: auto; margin-top: -60px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .step { padding: 20px; }
  .about { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 20px; }
  .challenge { padding: 24px; }
  .challenge-title { font-size: 22px; line-height: 28px; }
  .habit { font-size: 13px; padding: 16px 8px; }

  .result-emoji { font-size: 64px; line-height: 72px; }
  .result-hero .result-title { font-size: 34px; line-height: 40px; }
  .result-points span { font-size: 72px; line-height: 76px; }
  .content.result-grid { --col: 980px; display: grid; grid-template-columns: 5fr 7fr; align-items: start; margin-top: -60px; }
  .claim { padding: 28px 24px; position: sticky; top: 20px; }

  .rules-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; align-content: start; }
  .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .rank-name { font-size: 15px; }
}
