/* ═══════════════════════════════════════════════════════════════════════════
   AUTH.CSS — Sistema visual das páginas de autenticação.
   Tema claro, alinhado ao restante do site (/user/profile/, /user/wallet/).
   Nenhum resquício do tema escuro do painel administrativo.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Paleta herdada do site */
  --a-bg:        #eef3f9;
  --a-bg-2:      #f7fafd;
  --a-surface:   #ffffff;
  --a-ink:       #0d1a28;
  --a-ink-2:     #1e3048;
  --a-muted:     #64748b;
  --a-muted-2:   #94a3b8;
  --a-line:      rgba(95, 128, 165, 0.14);
  --a-line-2:    rgba(95, 128, 165, 0.22);

  --a-blue:      #0077ff;
  --a-blue-lt:   #4db6ff;
  --a-blue-dk:   #0050e0;
  --a-navy:      #0b1725;
  --a-indigo:    #2563eb;
  --a-teal:      #10b981;
  --a-violet:    #8b5cf6;

  --a-err:       #dc2626;
  --a-err-bg:    rgba(220, 38, 38, 0.07);
  --a-ok:        #059669;
  --a-ok-bg:     rgba(16, 185, 129, 0.08);

  --a-radius:    22px;
  --a-radius-sm: 14px;
  --a-font:      Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --a-shadow:    0 24px 70px rgba(11, 32, 68, 0.13), 0 6px 20px rgba(11, 32, 68, 0.06);
  --a-shadow-sm: 0 4px 16px rgba(11, 32, 68, 0.07);

  --a-ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--a-font);
  color: var(--a-ink);
  background: var(--a-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   CENÁRIO DE FUNDO — camadas com profundidade e parallax
   ═══════════════════════════════════════════════════════════════ */

.a-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1200px;
  perspective-origin: 50% 45%;
  background:
    radial-gradient(1200px 800px at 12% -10%, rgba(77, 182, 255, 0.20), transparent 62%),
    radial-gradient(1000px 700px at 92% 8%,  rgba(139, 92, 246, 0.15), transparent 60%),
    radial-gradient(900px 800px at 50% 108%, rgba(16, 185, 129, 0.13), transparent 62%),
    linear-gradient(178deg, var(--a-bg-2) 0%, var(--a-bg) 55%, #e7eef7 100%);
}

/* Malha técnica sutil — transmite precisão/instituição */
.a-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(95, 128, 165, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 128, 165, 0.075) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: rotateX(58deg) translateZ(-140px) scale(1.9);
  transform-origin: 50% 40%;
  mask-image: radial-gradient(ellipse 62% 52% at 50% 42%, #000 12%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 42%, #000 12%, transparent 76%);
  animation: a-grid-drift 26s linear infinite;
}
@keyframes a-grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 62px 124px, 62px 124px; }
}

/* Auroras que respiram */
.a-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.a-aurora-1 {
  width: 46vmax; height: 46vmax;
  top: -18vmax; left: -14vmax;
  background: radial-gradient(circle at 32% 32%, rgba(77, 182, 255, 0.68), transparent 68%);
  animation: a-float-1 22s ease-in-out infinite;
}
.a-aurora-2 {
  width: 40vmax; height: 40vmax;
  top: 4vmax; right: -16vmax;
  background: radial-gradient(circle at 62% 38%, rgba(139, 92, 246, 0.52), transparent 68%);
  animation: a-float-2 27s ease-in-out infinite;
}
.a-aurora-3 {
  width: 44vmax; height: 44vmax;
  bottom: -22vmax; left: 22%;
  background: radial-gradient(circle at 48% 58%, rgba(16, 185, 129, 0.45), transparent 68%);
  animation: a-float-3 31s ease-in-out infinite;
}
@keyframes a-float-1 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(5vmax, 4vmax, 0) scale(1.13); }
}
@keyframes a-float-2 {
  0%,100% { transform: translate3d(0,0,0) scale(1.06); }
  50%     { transform: translate3d(-6vmax, 5vmax, 0) scale(1); }
}
@keyframes a-float-3 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50%     { transform: translate3d(4vmax, -5vmax, 0) scale(1.16); }
}

/* ── Objetos 3D flutuantes ─────────────────────────────────────── */
.a-objects {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.a-obj {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Cubo 3D real (6 faces) */
.a-cube { width: 84px; height: 84px; animation: a-spin 22s linear infinite; }
.a-cube .f {
  position: absolute;
  width: 84px; height: 84px;
  border: 1.5px solid rgba(0, 119, 255, 0.30);
  background: linear-gradient(135deg, rgba(77, 182, 255, 0.16), rgba(37, 99, 235, 0.07));
  backdrop-filter: blur(2px);
  border-radius: 12px;
}
.a-cube .f1 { transform: translateZ(42px); }
.a-cube .f2 { transform: rotateY(180deg) translateZ(42px); }
.a-cube .f3 { transform: rotateY(90deg)  translateZ(42px); }
.a-cube .f4 { transform: rotateY(-90deg) translateZ(42px); }
.a-cube .f5 { transform: rotateX(90deg)  translateZ(42px); }
.a-cube .f6 { transform: rotateX(-90deg) translateZ(42px); }

@keyframes a-spin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to   { transform: rotateX(360deg) rotateY(360deg); }
}

/* Anéis orbitais */
.a-ring {
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--a-bg-2), var(--a-bg-2)) padding-box,
    linear-gradient(135deg, rgba(77,182,255,0.55), rgba(139,92,246,0.35), transparent 70%) border-box;
  animation: a-orbit 19s ease-in-out infinite;
}
.a-ring::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 119, 255, 0.18);
}
@keyframes a-orbit {
  0%,100% { transform: rotateX(66deg) rotateZ(0deg)   translateY(0); }
  50%     { transform: rotateX(66deg) rotateZ(180deg) translateY(-22px); }
}

/* Losango/prisma achatado */
.a-diamond {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(16,185,129,0.22), rgba(77,182,255,0.10));
  border: 1.5px solid rgba(16, 185, 129, 0.30);
  animation: a-bob 15s ease-in-out infinite;
}
@keyframes a-bob {
  0%,100% { transform: rotate(45deg) translateY(0) scale(1); }
  50%     { transform: rotate(52deg) translateY(-26px) scale(1.07); }
}

/* Partículas discretas */
.a-spark {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0, 119, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.55);
  animation: a-twinkle 5s ease-in-out infinite;
}
@keyframes a-twinkle {
  0%,100% { opacity: 0.18; transform: scale(0.75); }
  50%     { opacity: 0.95; transform: scale(1.35); }
}

/* Posicionamento dos objetos */
.a-p1 { top: 14%;  left: 9%;   }
.a-p2 { top: 66%;  left: 15%;  }
.a-p3 { top: 20%;  right: 11%; }
.a-p4 { top: 71%;  right: 13%; }
.a-p5 { top: 43%;  left: 5%;   }
.a-p6 { top: 8%;   right: 30%; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.a-shell {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 18px 28px;
  min-height: 100svh;
}

.a-stack { width: 100%; max-width: 432px; }

/* ── Marca ── */
.a-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  opacity: 0;
  animation: a-enter 0.85s var(--a-ease) 0.05s forwards;
}
.a-brand img { height: 46px; width: auto; display: block; }

.a-brand-mark {
  width: 62px; height: 62px;
  border-radius: 19px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--a-navy) 0%, var(--a-indigo) 100%);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.30), inset 0 1px 0 rgba(255,255,255,0.18);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Brilho que percorre a marca */
.a-brand-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.42) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: a-sheen 5.5s ease-in-out infinite;
}
@keyframes a-sheen {
  0%, 62% { transform: translateX(-130%); }
  92%,100%{ transform: translateX(130%);  }
}

/* ── Cartão ── */
.a-card {
  position: relative;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--a-radius);
  box-shadow: var(--a-shadow);
  padding: 34px 30px 30px;
  opacity: 0;
  animation: a-card-in 1s var(--a-ease) 0.16s forwards;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Fio de luz no topo do cartão */
.a-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,119,255,0.65), transparent);
}

@keyframes a-card-in {
  from { opacity: 0; transform: translateY(30px) scale(0.965); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes a-enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Elementos que entram em cascata */
.a-in { opacity: 0; animation: a-enter 0.7s var(--a-ease) forwards; }
.a-d1 { animation-delay: 0.30s; }
.a-d2 { animation-delay: 0.38s; }
.a-d3 { animation-delay: 0.46s; }
.a-d4 { animation-delay: 0.54s; }
.a-d5 { animation-delay: 0.62s; }
.a-d6 { animation-delay: 0.70s; }

/* ── Títulos ── */
.a-title {
  margin: 0 0 6px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.7px;
  color: var(--a-ink);
  line-height: 1.15;
}
.a-sub {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--a-muted);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   CAMPOS
   ═══════════════════════════════════════════════════════════════ */

.a-field { margin-bottom: 17px; position: relative; }

.a-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--a-muted);
  margin-bottom: 7px;
  transition: color 0.2s;
}
.a-field:focus-within .a-label { color: var(--a-blue); }

/* Linha do rótulo com o seletor de país à direita */
.a-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.a-label-row .a-label { margin-bottom: 0; }

/* Seletor de país (bandeiras) — troca a máscara entre CPF e SSN */
.a-flags {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  background: rgba(95, 128, 165, 0.08);
  border-radius: 11px;
  border: 1px solid var(--a-line);
}
.a-flag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--a-muted);
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.a-flag:hover { color: var(--a-ink-2); }
.a-flag.active {
  background: #fff;
  color: var(--a-blue-dk);
  box-shadow: 0 2px 7px rgba(11, 32, 68, 0.10);
}
/* Bandeira em SVG (o emoji não renderiza no Windows) */
.a-flag-emoji {
  display: inline-flex;
  line-height: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(11, 32, 68, 0.12);
  transition: transform 0.2s var(--a-ease);
  opacity: 0.62;
}
.a-flag:hover .a-flag-emoji  { opacity: 0.85; }
.a-flag.active .a-flag-emoji { transform: scale(1.06); opacity: 1; }
.a-flag-doc { line-height: 1; }

.a-input-wrap { position: relative; display: flex; align-items: center; }

.a-input {
  width: 100%;
  padding: 15px 16px;
  font-size: 15.5px;
  font-weight: 500;
  font-family: inherit;
  color: var(--a-ink);
  background: rgba(247, 250, 253, 0.85);
  border: 1.5px solid var(--a-line);
  border-radius: var(--a-radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.25s, background 0.2s;
}
.a-input::placeholder { color: var(--a-muted-2); font-weight: 400; }
.a-input:focus {
  border-color: var(--a-blue-lt);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(77, 182, 255, 0.13);
}
.a-input:disabled { opacity: 0.55; cursor: not-allowed; }

/* Prefixo @ que surge quando o usuário digita letras */
.a-prefix {
  position: absolute;
  left: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--a-blue);
  pointer-events: none;
  opacity: 0;
  transform: translateX(-6px) scale(0.8);
  transition: opacity 0.24s var(--a-ease), transform 0.24s var(--a-ease);
}
.a-input-wrap.has-prefix .a-prefix { opacity: 1; transform: translateX(0) scale(1); }
.a-input-wrap.has-prefix .a-input  { padding-left: 33px; }

/* Indicador do modo detectado (documento / usuário) */
.a-mode {
  position: absolute;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  background: rgba(0, 119, 255, 0.10);
  color: var(--a-blue);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s var(--a-ease), transform 0.25s var(--a-ease);
}
.a-mode.show { opacity: 1; transform: translateX(0); }

/* Botão de mostrar/ocultar senha */
.a-eye {
  position: absolute;
  right: 8px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 0;
  background: transparent;
  color: var(--a-muted-2);
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.18s, background 0.18s;
}
.a-eye:hover { color: var(--a-blue); background: rgba(0, 119, 255, 0.08); }
.a-input-wrap:has(.a-eye) .a-input { padding-right: 50px; }

/* Medidor de força da senha */
.a-meter { display: flex; gap: 5px; margin-top: 9px; }
.a-meter i {
  flex: 1; height: 4px; border-radius: 3px;
  background: var(--a-line);
  transition: background 0.35s var(--a-ease);
}
.a-meter.s1 i:nth-child(1) { background: #ef4444; }
.a-meter.s2 i:nth-child(-n+2) { background: #f59e0b; }
.a-meter.s3 i:nth-child(-n+3) { background: #3b82f6; }
.a-meter.s4 i { background: var(--a-teal); }

/* ═══════════════════════════════════════════════════════════════
   BOTÕES
   ═══════════════════════════════════════════════════════════════ */

.a-btn {
  position: relative;
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: var(--a-radius-sm);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.14s, box-shadow 0.25s, filter 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.a-btn-primary {
  background: linear-gradient(135deg, var(--a-navy) 0%, #17357d 48%, var(--a-indigo) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.30), inset 0 1px 0 rgba(255,255,255,0.14);
}
.a-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.40), inset 0 1px 0 rgba(255,255,255,0.14);
}
.a-btn-primary:active { transform: scale(0.985); }

/* Brilho que atravessa o botão no hover */
.a-btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: skewX(-18deg);
  transition: left 0.65s var(--a-ease);
}
.a-btn-primary:hover::after { left: 118%; }

.a-btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--a-ink-2);
  border: 1.5px solid var(--a-line-2);
}
.a-btn-ghost:hover { background: #fff; border-color: var(--a-blue-lt); color: var(--a-blue-dk); }

.a-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; filter: none; }

/* Estado carregando */
.a-btn.loading { color: transparent; pointer-events: none; }
.a-btn.loading::before {
  content: '';
  position: absolute;
  width: 21px; height: 21px;
  border: 2.5px solid rgba(255,255,255,0.32);
  border-top-color: #fff;
  border-radius: 50%;
  animation: a-spin-c 0.65s linear infinite;
}
@keyframes a-spin-c { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════
   LINKS, DIVISOR, ALERTAS
   ═══════════════════════════════════════════════════════════════ */

.a-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--a-blue);
  text-decoration: none;
  transition: color 0.18s;
}
.a-link:hover { color: var(--a-blue-dk); text-decoration: underline; }

.a-row-between {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: -4px 0 20px;
}

.a-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 22px 0 18px;
  color: var(--a-muted-2);
  font-size: 12.5px;
  font-weight: 500;
}
.a-divider::before, .a-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--a-line-2), transparent);
}

.a-alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 15px;
  border-radius: var(--a-radius-sm);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
  animation: a-shake-in 0.5s var(--a-ease);
}
.a-alert svg { flex-shrink: 0; margin-top: 1px; }
.a-alert-err { background: var(--a-err-bg); border: 1px solid rgba(220,38,38,0.20); color: #991b1b; }
.a-alert-ok  { background: var(--a-ok-bg);  border: 1px solid rgba(16,185,129,0.22); color: #065f46; }

@keyframes a-shake-in {
  0%   { opacity: 0; transform: translateY(-8px); }
  60%  { opacity: 1; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   SELOS DE CONFIANÇA
   ═══════════════════════════════════════════════════════════════ */

.a-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  opacity: 0;
  animation: a-enter 0.7s var(--a-ease) 0.8s forwards;
}
.a-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600;
  color: var(--a-muted);
}
.a-trust-item svg { color: var(--a-teal); flex-shrink: 0; }

.a-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
  color: var(--a-muted-2);
  opacity: 0;
  animation: a-enter 0.7s var(--a-ease) 0.9s forwards;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL DE BLOQUEIO
   ═══════════════════════════════════════════════════════════════ */

.a-overlay {
  position: fixed; inset: 0; z-index: 900;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(9, 20, 38, 0.55);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: a-fade 0.32s ease;
}
@keyframes a-fade { from { opacity: 0; } to { opacity: 1; } }

.a-modal {
  width: min(430px, 100%);
  background: #fff;
  border-radius: 26px;
  padding: 34px 30px 28px;
  text-align: center;
  box-shadow: 0 34px 90px rgba(0,0,0,0.30);
  animation: a-pop 0.44s var(--a-ease);
}
@keyframes a-pop {
  from { opacity: 0; transform: scale(0.9) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.a-modal-ico {
  width: 66px; height: 66px; margin: 0 auto 18px;
  border-radius: 21px;
  display: grid; place-items: center;
  background: rgba(220, 38, 38, 0.10);
  color: var(--a-err);
}
.a-modal-eyebrow {
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--a-err); margin-bottom: 7px;
}
.a-modal h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; color: var(--a-ink); }
.a-modal-name { font-size: 14px; font-weight: 600; color: var(--a-muted); margin-bottom: 14px; }
.a-modal p { margin: 0 0 11px; font-size: 14px; color: var(--a-muted); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 560px) {
  .a-shell { padding: 26px 14px 22px; }
  .a-card  { padding: 28px 21px 24px; border-radius: 20px; }
  .a-title { font-size: 22px; }
  .a-brand { margin-bottom: 20px; }
  .a-trust { gap: 13px; }
  .a-trust-item { font-size: 10.5px; }
  /* Menos objetos no celular: mantém fluidez */
  .a-obj.a-p5, .a-obj.a-p6 { display: none; }
  .a-cube { width: 60px; height: 60px; }
  .a-cube .f { width: 60px; height: 60px; }
  .a-cube .f1 { transform: translateZ(30px); }
  .a-cube .f2 { transform: rotateY(180deg) translateZ(30px); }
  .a-cube .f3 { transform: rotateY(90deg)  translateZ(30px); }
  .a-cube .f4 { transform: rotateY(-90deg) translateZ(30px); }
  .a-cube .f5 { transform: rotateX(90deg)  translateZ(30px); }
  .a-cube .f6 { transform: rotateX(-90deg) translateZ(30px); }
}

@media (max-width: 380px) {
  .a-card { padding: 24px 17px 21px; }
  .a-title { font-size: 20px; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .a-brand, .a-card, .a-in, .a-trust, .a-foot { opacity: 1 !important; }
}
