/* ============ Kalori: site ============
 * Linguagem da app: fundo neutro, texto quase preto (#16181D, o mesmo dos
 * botões da app), vermelho Kalori reservado ao CTA principal (descarregar).
 * Tipo de letra do sistema (SF Pro no iPhone), igual à app, sem downloads.
 * Raios: pílula para tudo o que se toca, 24px para superfícies, 14px para
 * superfícies pequenas (ícone, imagens dentro de cartões).
 * ===================================== */
:root {
  color-scheme: light dark;
  --bg: #f6f6f7;
  --surface: #ffffff;
  --surface-2: #eeeef0;
  --ink: #16181d;
  --on-ink: #ffffff;
  --sub: #5e636e;
  --sub-2: #8a8f99;
  --line: rgba(22, 24, 29, 0.09);
  /* vermelho Kalori. O do ícone é #F1444A; o do botão escurece um pouco para
     o texto branco passar AA (4,66:1). */
  --brand: #f1444a;
  --cta: #dc2f37;
  --cta-hover: #c8252d;
  --cta-shadow: 0 10px 28px -10px rgba(220, 47, 55, 0.55);
  --shadow-1:
    0 1px 2px rgba(22, 24, 29, 0.05), 0 6px 18px -8px rgba(22, 24, 29, 0.14);
  --shadow-phone: drop-shadow(0 34px 60px rgba(22, 24, 29, 0.24))
    drop-shadow(0 10px 22px rgba(22, 24, 29, 0.12));
  --r-lg: 24px;
  --r-sm: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* nomes antigos, ainda usados pelos estilos da calculadora e do estado */
  --card: var(--surface);
  --sub2: var(--sub);
  --sub3: var(--sub-2);
  --accent-deep: var(--ink);
  --blue: var(--ink);
  --shadow-card: var(--shadow-1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --surface: #181b21;
    --surface-2: #22262e;
    --ink: #f4f5f7;
    --on-ink: #101216;
    --sub: #a1a1a6;
    --sub-2: #8a8f99;
    --line: rgba(255, 255, 255, 0.09);
    --cta-shadow: 0 10px 30px -12px rgba(241, 68, 74, 0.5);
    --shadow-1:
      0 1px 0 rgba(255, 255, 255, 0.04) inset,
      0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shadow-phone: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.55))
      drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- tipo ---------- */
h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--sub);
  font-weight: 450;
  text-wrap: pretty;
  max-width: 34em;
}
.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 650;
  color: var(--sub);
  letter-spacing: 0.01em;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
  cursor: pointer;
  padding: 16px 28px;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    opacity 0.2s ease;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: var(--cta-shadow);
}
.btn-primary:hover {
  background: var(--cta-hover);
}
.btn-dark {
  background: var(--ink);
  color: var(--on-ink);
}
.btn-dark:hover {
  opacity: 0.86;
}
.btn .apple,
.btn .apple-svg {
  flex: none;
}
.btn .apple {
  font-size: 18px;
  line-height: 1;
  margin-top: -2px;
}
.btn .apple-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-top: -3px;
}
.link-more {
  font-size: 16px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 0.2s;
}
.link-more:hover {
  text-decoration-color: currentColor;
}

/* sensação de toque (igual ao CTA da app: CtaPressable.tsx)
   press-in 60ms -> translateY(3px) scale(1.012,.94); solta 480ms com ressalto */
.btn-press {
  transform: translateY(0) scale(1, 1);
  transform-origin: center;
  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    transform 480ms cubic-bezier(0.22, 2.1, 0.36, 0.92);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.btn-press:active {
  transform: translateY(3px) scale(1.012, 0.94);
  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    transform 60ms cubic-bezier(0.4, 0.6, 0.5, 1);
}
.btn-press:disabled:active,
.btn-press[aria-disabled="true"]:active {
  transform: none;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  height: 58px;
  gap: 8px;
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-right: auto;
  min-width: 0;
}
.nav .brand > img,
.nav .brand .rn-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: none;
}
.nav .brand .was {
  font-size: 12.5px;
  font-weight: 550;
  color: var(--sub);
  letter-spacing: 0;
  white-space: nowrap;
  padding-top: 2px;
}
.nav .links {
  display: flex;
  gap: 2px;
}
.nav .links a {
  font-size: 14px;
  font-weight: 550;
  color: var(--sub);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s;
}
.nav .links a:hover {
  color: var(--ink);
}
.nav .btn {
  padding: 9px 16px;
  font-size: 14px;
  margin-left: 8px;
  box-shadow: none;
}

/* =========================================================
   Momento do novo nome: Repz AI dá lugar a Kalori
   Três tempos em 1,8 s: antecipação, revelação, celebração.
   Só corre com html.rn-play (1x por sessão, sem reduced motion).
   Sem essa classe, o estado final aparece logo: é o estado por omissão.
   Só transform e opacity: nada de layout.
   ========================================================= */
.rn {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.rn-mark {
  position: relative;
  width: 56px;
  height: 56px;
  flex: none;
}
.rn-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rn-new {
  border-radius: var(--r-sm);
  box-shadow: 0 8px 20px -8px rgba(220, 47, 55, 0.55);
}
.rn-old {
  object-fit: contain;
  opacity: 0;
  padding: 2px;
}
.rn-name {
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-size: 22px;
  overflow: hidden;
  padding-bottom: 1px;
}
.rn-name-new {
  display: inline-block;
}
.rn-name-old {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  white-space: nowrap;
  color: var(--sub);
}
.rn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rn-line {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--sub);
  font-weight: 500;
  text-wrap: pretty;
}
.rn-line b {
  color: var(--ink);
  font-weight: 650;
}
.rn-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.rn-burst i {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
}
/* cores da taça do fantasma (alface, tomate, ovo, cenoura, grão) */
.rn-burst i:nth-child(1) {
  background: #6cc24a;
  --x: 44px;
  --y: -30px;
}
.rn-burst i:nth-child(2) {
  background: #f0c53a;
  --x: 12px;
  --y: -50px;
}
.rn-burst i:nth-child(3) {
  background: #f28a2e;
  --x: -30px;
  --y: -42px;
}
.rn-burst i:nth-child(4) {
  background: #e8483f;
  --x: -48px;
  --y: -6px;
}
.rn-burst i:nth-child(5) {
  background: #c9a36b;
  --x: -36px;
  --y: 34px;
}
.rn-burst i:nth-child(6) {
  background: #6cc24a;
  --x: 6px;
  --y: 50px;
}
.rn-burst i:nth-child(7) {
  background: #f0c53a;
  --x: 42px;
  --y: 32px;
}
.rn-burst i:nth-child(8) {
  background: #f28a2e;
  --x: 52px;
  --y: 2px;
  width: 6px;
  height: 6px;
}

@media (prefers-reduced-motion: no-preference) {
  /* 1) antecipação 0 a 0,45 s: o fantasma antigo aparece e encolhe-se */
  .rn-play .rn-old {
    animation: rn-old 1.05s var(--ease-out) both;
  }
  .rn-play .rn-name-old {
    animation: rn-name-old 0.8s ease both;
  }
  /* 2) revelação 0,45 a 1,05 s: entra a Kalori com um pequeno excesso */
  .rn-play .rn-new {
    animation:
      rn-new 0.62s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both,
      rn-pop 0.5s ease-out 1.1s both;
  }
  .rn-play .rn-name-new {
    animation: rn-name-new 0.5s var(--ease-out) 0.62s both;
  }
  /* 3) celebração 1,05 a 1,8 s: migalhas da taça e a frase */
  .rn-play .rn-burst i {
    animation: rn-burst 0.72s cubic-bezier(0.2, 0.7, 0.3, 1) 1.02s both;
  }
  .rn-play .rn-burst i:nth-child(even) {
    animation-delay: 1.08s;
  }
  .rn-play .rn-line {
    animation: rn-line 0.5s var(--ease-out) 1.18s both;
  }
}
@keyframes rn-old {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  12% {
    opacity: 1;
    transform: scale(1.04);
  }
  30% {
    opacity: 1;
    transform: scale(1.06) rotate(-7deg);
  }
  43% {
    opacity: 1;
    transform: scale(0.88) rotate(5deg);
  }
  70% {
    opacity: 0;
    transform: scale(0.35) rotate(24deg) translateY(-6px);
  }
  100% {
    opacity: 0;
    transform: scale(0.35);
  }
}
@keyframes rn-name-old {
  0% {
    opacity: 0;
    transform: translateY(40%);
  }
  15% {
    opacity: 1;
    transform: none;
  }
  55% {
    opacity: 1;
    transform: scaleY(0.92);
    transform-origin: bottom;
  }
  80% {
    opacity: 0;
    transform: translateY(-110%);
  }
  100% {
    opacity: 0;
    transform: translateY(-110%);
  }
}
@keyframes rn-new {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-18deg);
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rn-pop {
  0% {
    transform: none;
  }
  40% {
    transform: scale(1.07);
  }
  100% {
    transform: none;
  }
}
@keyframes rn-name-new {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rn-burst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.4);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--x), var(--y)) scale(1);
  }
}
@keyframes rn-line {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* versão compacta (páginas interiores): marca da nav troca de nome */
.rn-compact {
  gap: 9px;
}
.rn-compact .rn-mark {
  width: 30px;
  height: 30px;
}
.rn-compact .rn-new {
  border-radius: 8px;
  box-shadow: none;
}
.rn-compact .rn-name {
  font-size: 18px;
  line-height: 1.2;
}
.rn-compact .rn-burst i {
  width: 5px;
  height: 5px;
  left: -2.5px;
  top: -2.5px;
}
.rn-compact .rn-burst i:nth-child(odd) {
  --x: 22px;
  --y: -18px;
}
.rn-compact .rn-burst i:nth-child(3) {
  --x: -20px;
  --y: -16px;
}
.rn-compact .rn-burst i:nth-child(5) {
  --x: -18px;
  --y: 18px;
}
.rn-compact .rn-burst i:nth-child(even) {
  --x: 20px;
  --y: 18px;
}
.rn-compact .rn-burst i:nth-child(4) {
  --x: -24px;
  --y: 2px;
}
.rn-compact .rn-burst i:nth-child(6) {
  --x: 2px;
  --y: 24px;
}

/* ---------- moldura iPhone 16 (PNG real) ---------- */
.iphone {
  position: relative;
  width: 300px;
  flex: none;
  aspect-ratio: 934 / 1920;
  filter: var(--shadow-phone);
}
.iphone-screen {
  position: absolute;
  top: 1.93%;
  left: 4.5%;
  right: 4.28%;
  bottom: 1.93%;
  border-radius: 13% / 6.2%;
  overflow: hidden;
  background: #f4f4f5;
}
.iphone-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.app-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 86px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .rn {
  margin-bottom: 26px;
  max-width: 420px;
}
.hero h1 {
  max-width: 13em;
}
.hero .lede {
  margin-top: 16px;
  max-width: 30em;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 26px;
}
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 420px;
  overflow: hidden;
  margin: 0 -20px;
}
/* esbatimento do fundo do telemóvel no mobile (overlay, não mask: mask-image
   com filter no filho deixa de pintar imagens em alguns Chromes) */
.hero-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
  pointer-events: none;
  z-index: 3;
}
.hero-stage .iphone {
  width: 280px;
  margin-top: 6px;
}

/* ---------- secções ---------- */
.section {
  padding: 96px 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 40em;
}
.section-head.center {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

/* scanner: vídeo real da app + três passos */
.scan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.scan-phone {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.scan-phone .iphone {
  width: 280px;
}
.steps {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 22px;
  counter-reset: passo;
}
.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 14px;
  counter-increment: passo;
}
.steps li::before {
  content: counter(passo);
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.015em;
  padding-top: 6px;
}
.steps p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--sub);
}
.honest {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--sub);
  max-width: 32em;
}
.honest b {
  color: var(--ink);
  font-weight: 650;
}

/* funcionalidades: bento com ecrãs reais */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
.tile {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile-copy {
  padding: 24px 24px 0;
}
.tile h3 {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tile p {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--sub);
  max-width: 28em;
}
.tile-shot {
  position: relative;
  margin: 24px auto 0;
  width: min(78%, 300px);
  aspect-ratio: 640 / 820;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--line),
    0 -10px 30px -18px rgba(22, 24, 29, 0.3);
}
.tile-shot img {
  width: 100%;
  height: auto;
}
.tile-big .tile-shot {
  box-shadow: 0 0 0 1px var(--line), 0 -12px 40px -18px rgba(22, 24, 29, 0.35);
}

/* progresso: dois ecrãs, desalinhados */
.phones-duo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
  margin-top: 48px;
}
.phones-duo .iphone {
  width: min(42vw, 290px);
}
.phones-duo .iphone:nth-child(2) {
  margin-top: 56px;
}

/* pro: uma oferta */
.offer {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.offer h2 {
  margin-top: 10px;
}
.offer .lede {
  margin-top: 14px;
}
.offer .cta-row {
  margin-top: 26px;
}
.offer-note {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--sub);
  max-width: 34em;
}
.includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  align-content: start;
  background: var(--bg);
  border-radius: 18px;
  padding: 8px 18px;
}
.includes li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 550;
  line-height: 1.4;
}
.includes li + li {
  border-top: 1px solid var(--line);
}
.includes li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateY(-3px) rotate(-45deg);
}

/* FAQ: acordeão nativo */
.faq-list {
  max-width: 780px;
  margin: 36px auto 0;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  position: relative;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--sub);
  border-bottom: 2px solid var(--sub);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}
.faq-item h3 {
  font: inherit;
  letter-spacing: inherit;
}
.faq-item p {
  padding: 0 22px 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--sub);
  text-wrap: pretty;
}
.faq-item a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CTA final */
.final {
  padding: 88px 0 24px;
  text-align: center;
}
.final .ghost-big {
  width: 132px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 18px 26px rgba(120, 60, 90, 0.22));
}
.final .lede {
  margin: 14px auto 0;
}
.final .btn {
  margin-top: 28px;
}
@media (prefers-reduced-motion: no-preference) {
  .final .ghost-big {
    animation: floaty 5.6s ease-in-out infinite;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------- footer ---------- */
footer {
  padding: 56px 0 32px;
}
footer .foot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
footer .f-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 16px;
}
footer .f-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
footer .f-brand small {
  font-weight: 500;
  font-size: 13px;
  color: var(--sub);
}
footer p,
footer a {
  font-size: 14px;
  color: var(--sub);
  font-weight: 500;
}
footer .f-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer a:hover {
  color: var(--ink);
}
.f-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 16px;
}
.f-legal span {
  color: var(--sub-2);
}

/* ---------- reveals: só com JS (html.js) e sem reduced motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.8s var(--ease-out),
      transform 0.8s var(--ease-out);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
  .js .reveal.d1 {
    transition-delay: 0.08s;
  }
  .js .reveal.d2 {
    transition-delay: 0.16s;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn-press,
  .btn-press:active {
    transition: background 0.2s ease;
    transform: none;
  }
  .faq-item summary::after {
    transition: none;
  }
}

/* ---------- ecrãs maiores ---------- */
@media (min-width: 700px) {
  .wrap {
    padding: 0 32px;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile-big {
    grid-row: span 2;
  }
  .tile-big .tile-shot {
    flex: 1 1 auto;
    width: min(80%, 420px);
    aspect-ratio: auto;
    min-height: 420px;
    margin-top: 0;
  }
  .tile-big .tile-shot img {
    position: absolute;
    top: 0;
    left: 0;
  }
  .tile-big .tile-copy {
    padding: 32px 32px 28px;
  }
  .tile-big h3 {
    font-size: 28px;
  }
  .offer {
    padding: 44px;
  }
}
@media (min-width: 960px) {
  .hero {
    padding-top: 104px;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
  }
  .hero > .wrap {
    width: 100%;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 56px;
  }
  .hero-stage {
    height: auto;
    margin: 0;
    overflow: visible;
    padding-bottom: 40px;
  }
  .hero-stage .iphone {
    width: 350px;
  }
  .hero-stage::after {
    display: none;
  }
  .scan-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
  }
  .scan-phone {
    order: 0;
  }
  .scan-phone .iphone {
    width: 320px;
  }
  .section {
    padding: 128px 0;
  }
  .offer {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    padding: 56px;
    align-items: center;
  }
  .includes {
    padding: 10px 24px;
  }
}
@media (max-width: 899px) {
  .nav .links {
    display: none;
  }
}
@media (max-width: 380px) {
  .nav .brand .was {
    display: none;
  }
  h1 {
    font-size: 34px;
  }
}
