/* ==========================================================================
   Cyber Limão: estilos
   Cores e medidas ficam nas variáveis abaixo. Todo espaçamento é múltiplo
   de 4px.
   ========================================================================== */

/* Fonte de reserva com medidas próximas da Archivo, para o texto não pular
   quando a fonte do Google termina de carregar. */
@font-face {
  font-family: "Archivo Reserva";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 98.6%;
  ascent-override: 89.25%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}

:root {
  --fundo: #fafafa;
  --card: #ffffff;
  --tinta: #111111;
  --tinta-2: #4b5563;
  --tinta-3: #6b7280;
  --linha: #e5e7eb;
  --limao: #a3e635;
  --limao-selecao: #d9f99d;
  --vermelho: #dc2626;
  --vermelho-escuro: #b91c1c;

  --fonte: "Archivo", "Archivo Reserva", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --raio: 16px;
  --saida: cubic-bezier(0.16, 1, 0.3, 1);

  --borda-esq: max(20px, env(safe-area-inset-left));
  --borda-dir: max(20px, env(safe-area-inset-right));

  color-scheme: light;
  scrollbar-color: #d4d4d8 transparent;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  color: var(--tinta);
  font: 400 1rem/1.5 var(--fonte);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--limao-selecao);
  color: var(--tinta);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
}

/* Elementos escondidos pelo config.js (ex.: fileira de redes desligada) */
[hidden] {
  display: none !important;
}

.oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Coluna ---------- */

.pagina {
  flex: 1 0 auto;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: max(48px, calc(env(safe-area-inset-top) + 24px)) var(--borda-dir) 0 var(--borda-esq);
}

/* ---------- Perfil ---------- */

.perfil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: 20px;
}

/* Anel limão com 3px de respiro; borda num pseudo-elemento porque
   outline só acompanha o círculo a partir do iOS 16.4 */
.avatar::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid var(--limao);
  border-radius: 50%;
}

.avatar__foto {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #d4d4d8;
}

/* O adesivo de fruta colado no anel da foto */
.adesivo {
  position: absolute;
  right: -28px;
  bottom: -6px;
  width: 76px;
  height: 47px;
  transform: rotate(-12deg);
  filter: drop-shadow(0 1px 1px rgb(17 17 17 / 0.18)) drop-shadow(0 3px 6px rgb(17 17 17 / 0.08));
  overflow: visible;
}

.adesivo text {
  fill: var(--tinta);
  font-family: var(--fonte);
  font-stretch: 125%;
}

.adesivo__topo {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.adesivo__nome {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nome {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Área de toque de 48px sem afastar o @ do nome */
.usuario {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin: -4px 0 -12px;
  padding: 0 12px;
  border-radius: 24px;
  color: var(--tinta-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

/* O contorno de foco fica dentro da pílula, sem riscar o nome e a bio */
.usuario:focus-visible {
  outline-offset: -8px;
}

.bio {
  max-width: 34ch;
  margin: 8px 0 0;
  color: var(--tinta-2);
  line-height: 1.45;
  text-wrap: balance;
}

/* ---------- Redes sociais ---------- */

.redes {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.rede {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: var(--card);
  color: var(--tinta);
  transition:
    background-color 150ms var(--saida),
    border-color 150ms var(--saida),
    transform 150ms var(--saida);
}

.rede:focus-visible {
  outline-offset: 0;
}

.rede:active {
  transform: scale(0.92);
}

.rede__icone svg,
.card__icone svg,
.card__seta svg,
.destaque__ir svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rede__icone svg {
  width: 22px;
  height: 22px;
}

/* ---------- Produto em destaque ----------
   Card principal. Estilo h4ck3r espelha a hero do produto (escuro,
   eyebrow amarelo, CTA em gradiente azul→violeta). */

.destaque-area {
  margin-top: 28px;
}

.destaque-area:empty {
  display: none;
}

.destaque {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--raio);
  background: var(--tinta);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(17 17 17 / 0.1), 0 12px 28px -16px rgb(17 17 17 / 0.6);
  transition: transform 150ms var(--saida), box-shadow 150ms var(--saida);
  isolation: isolate;
}

.destaque:active {
  transform: scale(0.98);
  transition-duration: 80ms;
}

.destaque--h4ck3r {
  gap: 0;
  min-height: 320px;
  padding: 0;
  border-radius: 14px;
  background: #0c0c0c;
  box-shadow: 0 16px 48px -20px rgb(75 69 255 / 0.35), 0 8px 24px -12px rgb(0 0 0 / 0.7);
}

.destaque__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.destaque__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.08) brightness(1.05);
}

.destaque__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(12 12 12 / 0.15) 0%, rgb(12 12 12 / 0.35) 28%, rgb(12 12 12 / 0.88) 62%, #0c0c0c 100%);
}

.destaque__corpo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 18px 16px 16px;
}

.destaque__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(12 12 12 / 0.55);
  color: #f0f81d;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.destaque__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #f0f81d;
  box-shadow: 0 0 12px rgb(240 248 29 / 0.55);
  animation: destaque-pulse 1.8s ease-in-out infinite;
}

@keyframes destaque-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.destaque__marca {
  display: flex;
  align-items: center;
  gap: 12px;
}

.destaque--h4ck3r .destaque__marca {
  margin-top: 2px;
}

.destaque__logo {
  display: block;
  width: auto;
  height: 28px;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.55));
}

.destaque__titulo {
  color: #fff;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgb(0 0 0 / 0.65);
  text-wrap: balance;
}

.destaque__sub {
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: pre-line;
  background: linear-gradient(110deg, #fff 8%, #aeddff 48%, #f0f81d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.destaque__prova {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.destaque__cta {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(99deg, #aeddff 10.8%, #7ebdea 30%, #4b45ff);
  box-shadow: 0 12px 36px rgb(75 69 255 / 0.28);
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: destaque-cta-glow 2.8s ease-in-out infinite;
}

.destaque__cta-label {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.destaque__cta-seta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  border-left: 1px solid rgb(255 255 255 / 0.18);
  font-size: 1.1rem;
  line-height: 1;
}

@keyframes destaque-cta-glow {
  0%, 100% { box-shadow: 0 12px 36px rgb(75 69 255 / 0.22); }
  50% { box-shadow: 0 14px 44px rgb(174 221 255 / 0.28); }
}

.destaque__topo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.destaque__icone {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
}

.destaque__nome {
  width: auto;
  height: 16px;
}

.destaque__frase {
  color: rgb(255 255 255 / 0.76);
  font-size: 1rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.destaque__frase strong {
  color: #fff;
  font-weight: 650;
}

.destaque__base {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

/* Etiqueta de oferta: levemente torta, como etiqueta de feira */
/* Mesmo objeto do adesivo da foto: borda branca de corte e fio de tinta por dentro */
.etiqueta {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: var(--limao);
  color: var(--tinta);
  line-height: 1.15;
  transform: rotate(-2deg);
  transform-origin: left center;
  box-shadow: 0 1px 1px rgb(17 17 17 / 0.3), 0 6px 12px -6px rgb(17 17 17 / 0.6);
  transition: transform 200ms var(--saida);
}

.etiqueta::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgb(17 17 17 / 0.45);
  border-radius: 8px;
  pointer-events: none;
}

.etiqueta__antes,
.etiqueta__depois {
  font-size: 0.8125rem;
  font-weight: 600;
}

.etiqueta__valor {
  margin: 1px 0 2px;
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1;
}

.destaque__ir {
  flex: none;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--limao);
  color: var(--tinta);
}

.destaque__ir svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform 150ms var(--saida);
}

/* Moeda com presentes encostada na ponta da etiqueta, inclinada no sentido
   contrário dela, como se estivesse em cima da oferta. */
.etiqueta.etiqueta--com-presente {
  margin-right: 32px;
  padding-right: 44px;
}

.presente {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -32px;
  width: 64px;
  height: 64px;
  margin-top: -32px;
  transform: rotate(8deg);
  pointer-events: none;
}

.presente img {
  display: block;
  width: 100%;
  height: 100%;
  /* Borda branca de corte, como o adesivo da foto, e sombra macia embaixo */
  filter:
    drop-shadow(1.5px 0 0 #fff)
    drop-shadow(-1.5px 0 0 #fff)
    drop-shadow(0 1.5px 0 #fff)
    drop-shadow(0 -1.5px 0 #fff)
    drop-shadow(0 4px 6px rgb(17 17 17 / 0.45));
  transition: transform 250ms var(--saida);
}

.destaque:active .presente img {
  transform: scale(1.12) rotate(4deg);
  transition-duration: 80ms;
}

.destaque__nota {
  margin: 8px 0 0;
  color: var(--tinta-2);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

/* Telas bem estreitas (320px, zoom de tela): card e etiqueta mais justos
   para o valor e a moeda caberem sem quebrar. */
@media (max-width: 374px) {
  .destaque:not(.destaque--h4ck3r) {
    padding: 16px;
  }

  .destaque--h4ck3r {
    min-height: 300px;
  }

  .destaque__titulo {
    font-size: 1.12rem;
  }

  .destaque__corpo {
    padding: 16px 14px 14px;
  }

  .etiqueta {
    padding: 8px 12px;
  }

  .etiqueta__valor {
    font-size: 1.25rem;
  }

  .etiqueta.etiqueta--com-presente {
    margin-right: 26px;
    padding-right: 34px;
  }

  .presente {
    right: -26px;
    width: 52px;
    height: 52px;
    margin-top: -26px;
  }
}

.destaque-area:not(:empty) + .links {
  margin-top: 16px;
}

/* ---------- Cards de link ---------- */

/* Linhas de altura igual: se um título quebrar, os cards brancos crescem
   juntos e nenhum parceiro fica maior que o outro. */
.links {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.links li {
  display: flex;
}

.card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 16px 12px 12px;
  border: 1px solid #C40001;
  border-radius: var(--raio);
  background: var(--card);
  color: var(--tinta);
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(17 17 17 / 0.04), 0 2px 8px rgb(17 17 17 / 0.04);
  transition:
    transform 150ms var(--saida),
    border-color 150ms var(--saida),
    box-shadow 150ms var(--saida);
}

.card:focus-visible {
  border-color: #C40001;
}

.card:active {
  transform: scale(0.98);
  transition-duration: 80ms;
}

.card__icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: background-color 150ms var(--saida);
}

/* Logo de parceiro no lugar do ícone: sem disco limão no hover, para
   não misturar a cor da marca dele com a nossa. */
.card__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.card__logo img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.card__texto {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Linhas de comprimento parecido: título longo fica simétrico no card */
.card__titulo {
  font-weight: 650;
  line-height: 1.3;
  text-wrap: balance;
}

.card__sub {
  color: var(--tinta-2);
  font-size: 0.875rem;
  line-height: 1.35;
}

.card__seta {
  flex: none;
  color: var(--tinta-3);
  transition: transform 150ms var(--saida), color 150ms var(--saida);
}

.card__seta svg {
  width: 20px;
  height: 20px;
}

.card:focus-visible .card__icone {
  background: var(--limao);
}

/* Hover só em aparelhos com mouse, para não "grudar" no toque do celular */
@media (hover: hover) {
  .rede:hover {
    border-color: var(--limao);
    background: var(--limao);
  }

  .usuario:hover {
    color: var(--tinta);
    text-decoration: underline;
  }

  .card:hover {
    transform: translateY(-2px);
    border-color: var(--limao);
    box-shadow: 0 8px 20px -8px rgb(17 17 17 / 0.16), 0 1px 2px rgb(17 17 17 / 0.04);
  }

  .card:hover .card__icone {
    background: var(--limao);
  }

  .card:hover .card__seta {
    color: var(--tinta);
    transform: translate(2px, -2px);
  }

  .card:hover:active {
    transform: translateY(0) scale(0.98);
  }

  .destaque:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgb(17 17 17 / 0.1), 0 18px 32px -16px rgb(17 17 17 / 0.7);
  }

  .destaque--h4ck3r:hover {
    box-shadow: 0 20px 56px -18px rgb(75 69 255 / 0.42), 0 10px 28px -12px rgb(0 0 0 / 0.75);
  }

  .destaque--h4ck3r:hover .destaque__cta {
    filter: brightness(1.06);
  }

  .destaque:hover .etiqueta {
    transform: rotate(-4deg);
  }

  .destaque:hover .destaque__ir svg {
    transform: translate(2px, -2px);
  }

  .destaque:hover .presente img {
    transform: translateY(-4px) rotate(8deg) scale(1.08);
  }

  .destaque:hover:active .presente img {
    transform: translateY(-4px) rotate(4deg) scale(1.12);
    transition-duration: 80ms;
  }

  .destaque:hover:active {
    transform: translateY(0) scale(0.98);
  }

  .cookies__ok:hover {
    background: #000;
  }
}

/* Celulares de tela baixa (iPhone SE e afins): topo mais compacto para o
   card de destaque começar na primeira tela. */
@media (max-height: 700px) {
  .pagina {
    padding-top: max(24px, calc(env(safe-area-inset-top) + 16px));
  }

  .avatar {
    margin-bottom: 16px;
  }

  .redes {
    margin-top: 12px;
  }

  .destaque-area,
  .links {
    margin-top: 16px;
  }
}

.sem-js {
  margin: 28px 0 0;
  text-align: center;
  color: var(--tinta-2);
}

/* ---------- Rodapé legal ---------- */

.rodape {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px var(--borda-dir) max(32px, calc(env(safe-area-inset-bottom) + 16px)) var(--borda-esq);
  color: var(--tinta-2);
  font-size: 0.8125rem;
  line-height: 1.55;
  text-align: center;
}

.js:not(.pronto) .rodape {
  visibility: hidden;
}

.rodape p {
  margin: 0;
  text-wrap: balance;
}

.rodape__aviso {
  max-width: 44ch;
  margin-inline: auto !important;
}

.rodape__aviso[hidden] {
  display: none;
}

.rodape__links {
  margin-top: 12px !important;
  white-space: nowrap;
}

/* Links pequenos, mas com área de toque de 48px: a área extra fica num
   pseudo-elemento, para o contorno de foco abraçar só o texto. */
.rodape a {
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

.rodape a::after {
  content: "";
  position: absolute;
  inset: -14px 0;
}

.rodape a:hover {
  color: var(--tinta);
}

/* ---------- Aviso de cookies ----------
   Fica no fluxo da página, logo abaixo dos cards: nunca cobre um link,
   nem em celular de tela baixa. */

.cookies {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--card);
  color: var(--tinta-2);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.cookies p {
  flex: 1;
  margin: 0;
}

.cookies a {
  position: relative;
  display: inline-block;
  padding: 0 2px;
  color: var(--tinta);
  text-decoration: underline;
}

.cookies a::after {
  content: "";
  position: absolute;
  inset: -15px 0;
}

.cookies__ok {
  flex: none;
  min-width: 64px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--tinta);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Páginas de texto (termos e privacidade) ---------- */

.doc {
  max-width: 640px;
}

.voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-left: -8px;
  padding: 0 12px 0 8px;
  border-radius: 24px;
  color: var(--tinta-2);
  font-weight: 500;
  text-decoration: none;
}

.voltar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voltar:hover {
  color: var(--tinta);
}

.doc h1 {
  margin: 24px 0 4px;
  font-size: 1.875rem;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.doc__data {
  margin: 0 0 32px;
  color: var(--tinta-3);
  font-size: 0.875rem;
}

.doc__provisorio {
  margin: 0 0 32px;
  padding: 12px 16px;
  border: 1px solid var(--linha);
  border-radius: 12px;
  background: var(--card);
  font-size: 0.875rem;
}

.doc h2 {
  margin: 40px 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

:where(.doc) > p,
:where(.doc) li {
  max-width: 68ch;
  color: #1f2937;
}

:where(.doc) > p {
  margin: 0 0 12px;
}

:where(.doc) > ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

:where(.doc) li + li {
  margin-top: 4px;
}

/* ---------- Movimento: cards sobem em cascata, depois o adesivo cola ---------- */

@media (prefers-reduced-motion: no-preference) {
  .destaque-area > *,
  .links li {
    animation: subir 150ms var(--saida) backwards;
    animation-delay: calc(var(--i, 0) * 60ms + 60ms);
  }

  .adesivo {
    animation: colar 420ms cubic-bezier(0.19, 1, 0.22, 1) 320ms both;
  }

  .cookies {
    animation: aparecer 240ms var(--saida) 600ms both;
  }

  /* Os presentes chegam logo depois do adesivo e ficam flutuando devagar */
  .presente {
    animation:
      presente-chega 480ms var(--saida) 760ms backwards,
      flutuar 3s ease-in-out 1300ms infinite alternate;
  }
}

@keyframes presente-chega {
  from {
    opacity: 0;
    transform: translate(-16px, 10px) rotate(-12deg) scale(0.5);
  }
}

@keyframes flutuar {
  to {
    transform: translateY(-3px) rotate(8deg);
  }
}

@keyframes subir {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes colar {
  from {
    opacity: 0;
    transform: translate(8px, -14px) rotate(-30deg) scale(1.4);
  }
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ---------- Lista do topo e card vermelho ----------
   Cards com "topo: true" ficam acima do destaque; "estilo: vermelho" pinta o
   card de vermelho com texto branco (contraste AA: branco sobre #dc2626). */

.links--topo:empty {
  display: none;
}

.links--topo:not(:empty) + .destaque-area {
  margin-top: 16px;
}

/* Borda no azul da marca Caso Megavazamento (#162D3D). */
.card--azul {
  border-color: #162D3D;
}

.card--azul:focus-visible {
  border-color: #162D3D;
}

.card--roxo {
  border-color: #8662B1;
}

.card--roxo:focus-visible {
  border-color: #8662B1;
}

/* CTA LBank: fundo escuro + texto amarelo (referência visual anexada). */
.card--lbank {
  border-color: #111111;
  background: #111111;
  color: #ffda00;
  box-shadow: 0 1px 2px rgb(17 17 17 / 0.12), 0 10px 24px -12px rgb(17 17 17 / 0.55);
}

.card--lbank .card__titulo {
  font-weight: 800;
  color: #ffda00;
}

.card--lbank .card__sub,
.card--lbank .card__seta {
  color: #ffda00;
}

.card--lbank:focus-visible {
  border-color: #ffda00;
  outline-color: #ffda00;
}

.card--vermelho {
  border-color: var(--vermelho);
  background: var(--vermelho);
  color: #fff;
  transition:
    transform 150ms var(--saida),
    background-color 150ms var(--saida),
    border-color 150ms var(--saida),
    box-shadow 150ms var(--saida);
}

.card--vermelho .card__sub,
.card--vermelho .card__seta {
  color: #fff;
}

.card--vermelho:focus-visible {
  border-color: var(--vermelho-escuro);
}

.card--vermelho:focus-visible .card__icone {
  background: rgb(255 255 255 / 0.18);
}

@media (hover: hover) {
  .card--azul:hover {
    border-color: #162D3D;
  }

  .card--roxo:hover {
    border-color: #8662B1;
  }

  .card--lbank:hover {
    border-color: #ffda00;
    background: #1a1a1a;
    box-shadow: 0 10px 26px -12px rgb(255 218 0 / 0.35), 0 1px 2px rgb(17 17 17 / 0.2);
  }

  .card--lbank:hover .card__seta {
    color: #ffe44d;
  }

  .card--vermelho:hover {
    border-color: var(--vermelho-escuro);
    background: var(--vermelho-escuro);
  }

  .card--vermelho:hover .card__icone {
    background: rgb(255 255 255 / 0.18);
  }

  .card--vermelho:hover .card__seta {
    color: #fff;
  }
}

/* Movimento reduzido: nada anda nem pula, nem no hover ou no toque */
@media (prefers-reduced-motion: reduce) {
  .presente img {
    transition: none;
    transform: none !important;
  }

  .destaque,
  .etiqueta,
  .card,
  .card__seta,
  .destaque__ir svg,
  .rede {
    transition: none;
  }

  .destaque__eyebrow::before,
  .destaque__cta {
    animation: none;
  }
}

/* ---------- Formulário de proposta ---------- */

body.proposta-aberta {
  overflow: hidden;
}

button.destaque {
  width: 100%;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dialog-proposta {
  width: min(100% - 32px, 560px);
  max-width: 560px;
  max-height: min(100dvh - 32px, 860px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--linha);
  border-radius: 20px;
  background: var(--fundo);
  color: var(--tinta);
  box-shadow: 0 24px 64px rgb(17 17 17 / 0.24);
  font: inherit;
}

.dialog-proposta::backdrop {
  background: rgb(17 17 17 / 0.64);
}

.dialog-proposta__conteudo {
  padding: 28px;
}

.dialog-proposta__cabecalho {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.dialog-proposta__cabecalho h2,
.proposta-sucesso h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.dialog-proposta__cabecalho p {
  margin: 8px 0 0;
  color: var(--tinta-2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.dialog-proposta__fechar {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--linha);
  border-radius: 10px;
  background: var(--card);
  color: var(--tinta);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.dialog-proposta__campos {
  display: grid;
  gap: 16px;
}

.campo {
  display: grid;
  gap: 6px;
  color: var(--tinta);
  font-size: 0.9375rem;
  font-weight: 600;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #9ca3af;
  border-radius: 10px;
  background: var(--card);
  color: var(--tinta);
  font: 400 1rem/1.4 var(--fonte);
}

.campo textarea {
  min-height: 126px;
  resize: vertical;
}

.campo input::placeholder,
.campo textarea::placeholder {
  color: var(--tinta-3);
  opacity: 1;
}

.campo input:focus-visible,
.campo select:focus-visible,
.campo textarea:focus-visible,
.dialog-proposta button:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 2px;
}

.campo__ajuda {
  color: var(--tinta-2);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.campo__contador {
  justify-self: end;
  color: var(--tinta-2);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}

.proposta-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.proposta-status {
  min-height: 1.5em;
  margin: 16px 0 0;
  color: var(--vermelho-escuro);
  font-size: 0.9375rem;
  font-weight: 600;
}

.dialog-proposta__acoes {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.botao-proposta {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--tinta);
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.botao-proposta:disabled,
.dialog-proposta__fechar:disabled {
  cursor: wait;
  opacity: 0.62;
}

.proposta-sucesso h3 {
  margin-bottom: 24px;
  font-size: 1.25rem;
}

.proposta-sucesso .botao-proposta {
  display: block;
  margin-left: auto;
}

@media (max-width: 520px) {
  .dialog-proposta {
    width: calc(100% - var(--borda-esq) - var(--borda-dir));
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
    border-radius: 16px;
  }

  .dialog-proposta__conteudo {
    padding: 22px 18px max(22px, env(safe-area-inset-bottom));
  }

  .dialog-proposta__cabecalho h2 {
    font-size: 1.375rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .dialog-proposta[open] {
    animation: proposta-entrar 180ms var(--saida) both;
  }
}

@keyframes proposta-entrar {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
}

